diff options
Diffstat (limited to 'car-lib/src')
-rw-r--r-- | car-lib/src/android/car/ICar.aidl | 14 | ||||
-rw-r--r-- | car-lib/src/android/car/ICarBluetoothUserService.aidl | 1 |
2 files changed, 9 insertions, 6 deletions
diff --git a/car-lib/src/android/car/ICar.aidl b/car-lib/src/android/car/ICar.aidl index 1510438fc3..9f8c367aec 100644 --- a/car-lib/src/android/car/ICar.aidl +++ b/car-lib/src/android/car/ICar.aidl @@ -16,12 +16,14 @@ package android.car; -import android.content.Intent; - -import android.car.ICarConnectionListener; - /** @hide */ interface ICar { - IBinder getCarService(in String serviceName) = 0; - int getCarConnectionType() = 1; + /** + * IBinder is ICarServiceHelper but passed as IBinder due to aidl hidden. + * Only this method is oneway as it is called from system server. + * This should be the 1st method. Do not change the order. + */ + oneway void setCarServiceHelper(in IBinder helper) = 0; + IBinder getCarService(in String serviceName) = 1; + int getCarConnectionType() = 2; } diff --git a/car-lib/src/android/car/ICarBluetoothUserService.aidl b/car-lib/src/android/car/ICarBluetoothUserService.aidl index b1f7a39c23..a906a3c2b4 100644 --- a/car-lib/src/android/car/ICarBluetoothUserService.aidl +++ b/car-lib/src/android/car/ICarBluetoothUserService.aidl @@ -24,4 +24,5 @@ interface ICarBluetoothUserService { void closeBluetoothConnectionProxy(); boolean isBluetoothConnectionProxyAvailable(in int profile); void bluetoothConnectToProfile(in int profile, in BluetoothDevice device); + void setProfilePriority(in int profile, in BluetoothDevice device, in int priority); } |