Home
last modified time | relevance | path

Searched refs:mAidlVehicle (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DAidlVehicleStubUnitTest.java110 private IVehicle mAidlVehicle; field in AidlVehicleStubUnitTest
140 when(mAidlVehicle.asBinder()).thenReturn(mAidlBinder); in setUp()
142 mAidlVehicleStub = new AidlVehicleStub(mAidlVehicle, mHandlerThread); in setUp()
202 when(mAidlVehicle.getAllPropConfigs()).thenReturn(aidlConfigs); in testGetAllProdConfigsAidlSmallData()
231 when(mAidlVehicle.getAllPropConfigs()).thenReturn(aidlConfigs); in testGetAllPropConfigsAidlLargeData()
254 verify(mAidlVehicle).subscribe((IVehicleCallback) client, options, in testSubscribeAidl()
265 verify(mAidlVehicle).unsubscribe((IVehicleCallback) client, new int[]{TEST_PROP}); in testUnsubscribeAidl()
283 }).when(mAidlVehicle).getValues(any(), any()); in testGetAidlSmallData()
320 }).when(mAidlVehicle).getValues(any(), any()); in testGetAidlLargeData()
347 }).when(mAidlVehicle).getValues(any(), any()); in testGetAidlError()
[all …]
/packages/services/Car/service/src/com/android/car/
DAidlVehicleStub.java99 private final IVehicle mAidlVehicle; field in AidlVehicleStub
165 mAidlVehicle = aidlVehicle; in AidlVehicleStub()
215 return mAidlVehicle != null; in isValid()
227 return mAidlVehicle.asBinder().getInterfaceDescriptor(); in getInterfaceDescriptor()
242 mAidlVehicle.asBinder().linkToDeath(recipient, /*flag=*/ 0); in linkToDeath()
255 mAidlVehicle.asBinder().unlinkToDeath(recipient, /*flag=*/ 0); in unlinkToDeath()
270 mAidlVehicle.getAllPropConfigs(), /* keepSharedMemory= */ false); in getAllPropConfigs()
361 mAidlVehicle.asBinder().dump(fd, args.toArray(new String[args.size()])); in dump()
642 mAidlVehicle.subscribe(this, options, /* maxSharedMemoryFileCount= */ 2); in subscribe()
647 mAidlVehicle.unsubscribe(this, new int[]{prop}); in unsubscribe()
[all …]