/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | HidlVehicleStubUnitTest.java | 160 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 …]
|
D | AidlVehicleStubUnitTest.java | 202 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/ |
D | HidlVehicleStub.java | 154 public HalPropConfig[] getAllPropConfigs() throws RemoteException { in getAllPropConfigs() method in HidlVehicleStub 163 return vehiclePropConfigsToHalPropConfigs(mHidlVehicle.getAllPropConfigs()); in getAllPropConfigs() 169 return vehiclePropConfigsToHalPropConfigs(mHidlVehicle.getAllPropConfigs()); in getAllPropConfigs()
|
D | VehicleStub.java | 324 public abstract HalPropConfig[] getAllPropConfigs() in getAllPropConfigs() method in VehicleStub
|
D | AidlVehicleStub.java | 266 public HalPropConfig[] getAllPropConfigs() in getAllPropConfigs() method in AidlVehicleStub 270 mAidlVehicle.getAllPropConfigs(), /* keepSharedMemory= */ false); in getAllPropConfigs()
|
D | CarShellCommand.java | 4145 HalPropConfig[] configs = mHal.getAllPropConfigs();
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | MockVehicle.h | 35 MOCK_METHOD(ndk::ScopedAStatus, getAllPropConfigs,
|
D | MockVhalClient.h | 72 getAllPropConfigs, (), (override));
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/fakevhal/ |
D | FakeVehicleStubUnitTest.java | 166 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/ |
D | HidlVhalClient.cpp | 170 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()
|
D | AidlVhalClient.cpp | 195 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/ |
D | HidlVhalClient.h | 72 VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> getAllPropConfigs() override;
|
D | IVhalClient.h | 325 virtual VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> getAllPropConfigs() = 0;
|
D | AidlVhalClient.h | 87 VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>> getAllPropConfigs() override;
|
/packages/services/Car/cpp/vhal/client/test/ |
D | HidlVhalClientTest.cpp | 51 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()
|
D | AidlVhalClientTest.cpp | 76 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/ |
D | VehicleHalTest.java | 181 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/ |
D | VehicleBindingUtilTest.cpp | 89 MOCK_METHOD(VhalClientResult<std::vector<std::unique_ptr<IHalPropConfig>>>, getAllPropConfigs,
|
/packages/services/Car/tests/carservice_test/src/com/android/car/hal/test/ |
D | HidlMockedVehicleHal.java | 168 public ArrayList<VehiclePropConfig> getAllPropConfigs() { in getAllPropConfigs() method in HidlMockedVehicleHal
|
D | AidlMockedVehicleHal.java | 194 public VehiclePropConfigs getAllPropConfigs() throws RemoteException { in getAllPropConfigs() method in AidlMockedVehicleHal
|
/packages/services/Car/service/src/com/android/car/hal/fakevhal/ |
D | FakeVehicleStub.java | 308 public HalPropConfig[] getAllPropConfigs() { in getAllPropConfigs() method in FakeVehicleStub 729 HalPropConfig[] realVehiclePropConfigs = mRealVehicle.getAllPropConfigs(); in overrideConfigsForSpecialProp()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VehicleHal.java | 326 configs = getAllPropConfigs(); in fetchAllPropConfigs() 1325 public HalPropConfig[] getAllPropConfigs() throws RemoteException, ServiceSpecificException { in getAllPropConfigs() method in VehicleHal 1326 return mVehicleStub.getAllPropConfigs(); in getAllPropConfigs()
|