Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DHidlVehicleStubUnitTest.java96 private IVehicle mHidlVehicle; field in HidlVehicleStubUnitTest
108 mHidlVehicleStub = new HidlVehicleStub(mHidlVehicle); in setUp()
117 verify(mHidlVehicle).interfaceDescriptor(); in testGetInterfaceDescriptorHidl()
126 verify(mHidlVehicle).linkToDeath(recipient, 0); in testLinkToDeathHidl()
135 verify(mHidlVehicle).unlinkToDeath(recipient); in testUnlinkToDeathHidl()
141 doThrow(new RemoteException()).when(mHidlVehicle).unlinkToDeath(recipient); in testUnlinkToDeathRemoteException()
158 }).when(mHidlVehicle).getPropConfigs( in testGetAllPropConfigsHidl()
160 when(mHidlVehicle.getAllPropConfigs()).thenReturn(hidlConfigs); in testGetAllPropConfigsHidl()
196 }).when(mHidlVehicle).get(eq(requestPropValue), any()); in testGetAllPropConfigsHidlMultipleRequests()
209 }).when(mHidlVehicle).getPropConfigs(any(), any()); in testGetAllPropConfigsHidlMultipleRequests()
[all …]
/packages/services/Car/service/src/com/android/car/
DHidlVehicleStub.java62 private final IVehicle mHidlVehicle; field in HidlVehicleStub
72 mHidlVehicle = hidlVehicle; in HidlVehicleStub()
101 return mHidlVehicle != null; in isValid()
113 return mHidlVehicle.interfaceDescriptor(); in getInterfaceDescriptor()
128 mHidlVehicle.linkToDeath(recipient, /* cookie= */ 0); in linkToDeath()
142 mHidlVehicle.unlinkToDeath(recipient); in unlinkToDeath()
163 return vehiclePropConfigsToHalPropConfigs(mHidlVehicle.getAllPropConfigs()); in getAllPropConfigs()
169 return vehiclePropConfigsToHalPropConfigs(mHidlVehicle.getAllPropConfigs()); in getAllPropConfigs()
212 mHidlVehicle.get( in get()
330 int status = mHidlVehicle.set(hidlPropValue); in set()
[all …]