diff options
author | Keun-young Park <keunyoung@google.com> | 2017-06-05 11:04:50 -0700 |
---|---|---|
committer | Keun-young Park <keunyoung@google.com> | 2017-06-05 14:01:04 -0700 |
commit | aab47cd81c75e4fe4a486a665f61287d83f79967 (patch) | |
tree | 4c298e14740e8126b7c9dd53e82ae612928f1174 /car-lib/src/android | |
parent | 95eb50596c41bfa13dc920944a7a535bfa432576 (diff) | |
download | Car-aab47cd81c75e4fe4a486a665f61287d83f79967.tar.gz |
add skeleton for CarServiceHelperService support
- CarServiceHelperService is system server side companion for car service
and it launches car service and provides ICarServiceHelper interface.
- Remove BootReceiver as CarServiceHelper is launching car service
bug: 62342376
Test: confirm boot-up
Change-Id: Ieae18dffe054eceb0e7840aba4e09769dae40687
Diffstat (limited to 'car-lib/src/android')
-rw-r--r-- | car-lib/src/android/car/ICar.aidl | 14 |
1 files changed, 8 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; } |