Home
last modified time | relevance | path

Searched refs:getAllPropConfigs (Results 1 – 22 of 22) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DHidlVehicleStubUnitTest.java160 when(mHidlVehicle.getAllPropConfigs()).thenReturn(hidlConfigs); in testGetAllPropConfigsHidl()
162 HalPropConfig[] configs = mHidlVehicleStub.getAllPropConfigs(); in testGetAllPropConfigsHidl()
211 HalPropConfig[] configs = mHidlVehicleStub.getAllPropConfigs(); in testGetAllPropConfigsHidlMultipleRequests()
227 verify(mHidlVehicle, never()).getAllPropConfigs(); in testGetAllPropConfigsHidlMultipleRequests()
246 assertThrows(IllegalArgumentException.class, () -> mHidlVehicleStub.getAllPropConfigs()); in testGetAllPropConfigsHidlMultipleRequestsNoConfig()
247 verify(mHidlVehicle, never()).getAllPropConfigs(); in testGetAllPropConfigsHidlMultipleRequestsNoConfig()
263 assertThrows(IllegalArgumentException.class, () -> mHidlVehicleStub.getAllPropConfigs()); in testGetAllPropConfigsHidlMultipleRequestsInvalidConfig()
264 verify(mHidlVehicle, never()).getAllPropConfigs(); in testGetAllPropConfigsHidlMultipleRequestsInvalidConfig()
285 assertThrows(ServiceSpecificException.class, () -> mHidlVehicleStub.getAllPropConfigs()); in testGetAllPropConfigsHidlMultipleRequestsGetValueInvalidArg()
286 verify(mHidlVehicle, never()).getAllPropConfigs(); in testGetAllPropConfigsHidlMultipleRequestsGetValueInvalidArg()
[all …]
DAidlVehicleStubUnitTest.java202 when(mAidlVehicle.getAllPropConfigs()).thenReturn(aidlConfigs); in testGetAllProdConfigsAidlSmallData()
204 HalPropConfig[] configs = mAidlVehicleStub.getAllPropConfigs(); in testGetAllProdConfigsAidlSmallData()
231 when(mAidlVehicle.getAllPropConfigs()).thenReturn(aidlConfigs); in testGetAllPropConfigsAidlLargeData()
233 HalPropConfig[] configs = mAidlVehicleStub.getAllPropConfigs(); in testGetAllPropConfigsAidlLargeData()
/packages/services/Car/service/src/com/android/car/
DHidlVehicleStub.java154 public HalPropConfig[] getAllPropConfigs() throws RemoteException { in getAllPropConfigs() method in HidlVehicleStub
163 return vehiclePropConfigsToHalPropConfigs(mHidlVehicle.getAllPropConfigs()); in getAllPropConfigs()
169 return vehiclePropConfigsToHalPropConfigs(mHidlVehicle.getAllPropConfigs()); in getAllPropConfigs()
DVehicleStub.java324 public abstract HalPropConfig[] getAllPropConfigs() in getAllPropConfigs() method in VehicleStub
DAidlVehicleStub.java266 public HalPropConfig[] getAllPropConfigs() in getAllPropConfigs() method in AidlVehicleStub
270 mAidlVehicle.getAllPropConfigs(), /* keepSharedMemory= */ false); in getAllPropConfigs()
DCarShellCommand.java4145 HalPropConfig[] configs = mHal.getAllPropConfigs();
/packages/services/Car/cpp/watchdog/server/tests/
DMockVehicle.h35 MOCK_METHOD(ndk::ScopedAStatus, getAllPropConfigs,
DMockVhalClient.h72 getAllPropConfigs, (), (override));
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/
DFakeVehicleStubUnitTest.java166 when(mMockRealVehicleStub.getAllPropConfigs()).thenReturn(new HalPropConfig[0]); in setup()
174 HalPropConfig[] allPropConfig = fakeVehicleStub.getAllPropConfigs(); in testGetAllPropConfigsWithoutCustomConfig()
196 HalPropConfig[] allPropConfig = fakeVehicleStub.getAllPropConfigs(); in testGetAllPropConfigsWithCustomConfigHasExistingPropId()
216 HalPropConfig[] allPropConfig = fakeVehicleStub.getAllPropConfigs(); in testGetAllPropConfigsWithCustomConfigHasNonExistingPropId()
222 new FakeVhalConfigParser(), new ArrayList<>()).getAllPropConfigs().length + 1); in testGetAllPropConfigsWithCustomConfigHasNonExistingPropId()
229 when(mMockRealVehicleStub.getAllPropConfigs()).thenReturn(new HalPropConfig[]{ in testGetAllPropConfigsWithSpecialProp()
235 HalPropConfig propConfig = getPropConfigByPropId(fakeVehicleStub.getAllPropConfigs(), in testGetAllPropConfigsWithSpecialProp()
238 verify(mMockRealVehicleStub, atLeastOnce()).getAllPropConfigs(); in testGetAllPropConfigsWithSpecialProp()
263 HalPropConfig[] allPropConfig = fakeVehicleStub.getAllPropConfigs(); in testNoCustomFile()
/packages/services/Car/cpp/vhal/client/src/
DHidlVhalClient.cpp170 VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> HidlVhalClient::getAllPropConfigs() { in getAllPropConfigs() function in android::frameworks::automotive::vhal::HidlVhalClient
172 auto result = mHal->getAllPropConfigs([&halPropConfigs]( in getAllPropConfigs()
DAidlVhalClient.cpp195 VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> AidlVhalClient::getAllPropConfigs() { in getAllPropConfigs() function in android::frameworks::automotive::vhal::AidlVhalClient
197 if (ScopedAStatus status = mHal->getAllPropConfigs(&configs); !status.isOk()) { in getAllPropConfigs()
/packages/services/Car/cpp/vhal/client/include/
DHidlVhalClient.h72 VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> getAllPropConfigs() override;
DIVhalClient.h325 virtual VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> getAllPropConfigs() = 0;
DAidlVhalClient.h87 VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> getAllPropConfigs() override;
/packages/services/Car/cpp/vhal/client/test/
DHidlVhalClientTest.cpp51 Return<void> getAllPropConfigs(IVehicle::getAllPropConfigs_cb callback) override { in getAllPropConfigs() function in android::frameworks::automotive::vhal::hidl_test::MockVhal
341 auto result = getClient()->getAllPropConfigs(); in TEST_F()
DAidlVhalClientTest.cpp76 ScopedAStatus getAllPropConfigs(VehiclePropConfigs* returnConfigs) override { in getAllPropConfigs() function in android::frameworks::automotive::vhal::aidl_test::MockVhal
828 auto result = getClient()->getAllPropConfigs(); in TEST_F()
865 auto result = getClient()->getAllPropConfigs(); in TEST_F()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DVehicleHalTest.java181 when(mVehicle.getAllPropConfigs()).thenReturn(halPropConfigs); in initVehicleHal()
441 verify(mVehicle, times(1)).getAllPropConfigs();
463 when(mVehicle.getAllPropConfigs()).thenReturn(new HalPropConfig[0]);
507 when(mVehicle.getAllPropConfigs()).thenReturn(null);
535 when(mVehicle.getAllPropConfigs()).thenThrow(new RemoteException());
1387 when(mVehicle.getAllPropConfigs()).thenReturn(halPropConfigs);
/packages/services/Car/cpp/security/vehicle_binding_util/tests/
DVehicleBindingUtilTest.cpp89 MOCK_METHOD(VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>>, getAllPropConfigs,
/packages/services/Car/tests/carservice_test/src/com/android/car/hal/test/
DHidlMockedVehicleHal.java168 public ArrayList<VehiclePropConfig> getAllPropConfigs() { in getAllPropConfigs() method in HidlMockedVehicleHal
DAidlMockedVehicleHal.java194 public VehiclePropConfigs getAllPropConfigs() throws RemoteException { in getAllPropConfigs() method in AidlMockedVehicleHal
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVehicleStub.java308 public HalPropConfig[] getAllPropConfigs() { in getAllPropConfigs() method in FakeVehicleStub
729 HalPropConfig[] realVehiclePropConfigs = mRealVehicle.getAllPropConfigs(); in overrideConfigsForSpecialProp()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java326 configs = getAllPropConfigs(); in fetchAllPropConfigs()
1325 public HalPropConfig[] getAllPropConfigs() throws RemoteException, ServiceSpecificException { in getAllPropConfigs() method in VehicleHal
1326 return mVehicleStub.getAllPropConfigs(); in getAllPropConfigs()