Searched refs:mMockVehicle (Results 1 – 3 of 3) sorted by relevance
/packages/services/Car/cpp/security/vehicle_binding_util/tests/ |
D | VehicleBindingUtilTest.cpp | 112 ON_CALL(*mMockVehicle, createHalPropValue(_)).WillByDefault([](int32_t propId) { in SetUp() 116 ON_CALL(*mMockVehicle, createHalPropValue(_, _)) in SetUp() 126 EXPECT_CALL(*mMockVehicle, getPropConfigs(expectedProps)) in setMockVhalPropertySupported() 136 EXPECT_CALL(*mMockVehicle, getValue(_, _)) in setMockVhalPropertyValue() 165 std::shared_ptr<MockVehicle> mMockVehicle = std::make_shared<MockVehicle>(); member in android::automotive::security::__anon228954f00111::VehicleBindingUtilTests 175 EXPECT_CALL(*mMockVehicle, getPropConfigs(expectedProps)) in TEST_F() 182 setVehicleBindingSeed(mMockVehicle, mMockExecutor, mMockCsrng)); in TEST_F() 190 EXPECT_EQ(BindingStatus::ERROR, setVehicleBindingSeed(mMockVehicle, mMockExecutor, mMockCsrng)); in TEST_F() 197 EXPECT_CALL(*mMockVehicle, getValue(_, _)) in TEST_F() 204 EXPECT_EQ(BindingStatus::ERROR, setVehicleBindingSeed(mMockVehicle, mMockExecutor, mMockCsrng)); in TEST_F() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | ICarImplTest.java | 97 @Mock private VehicleStub mMockVehicle; field in ICarImplTest 200 when(mMockVehicle.getHalPropValueBuilder()).thenReturn( in testNoShardedPreferencesAccessedBeforeUserZeroUnlock() 204 .setVehicle(mMockVehicle) in testNoShardedPreferencesAccessedBeforeUserZeroUnlock()
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | WatchdogProcessServiceTest.cpp | 181 mMockVehicle = SharedRefBase::make<MockVehicle>(); in SetUp() 182 mMockVhalClient = std::make_shared<MockVhalClient>(mMockVehicle); in SetUp() 197 mMockVehicle.reset(); in TearDown() 321 std::shared_ptr<MockVehicle> mMockVehicle; member in android::automotive::watchdog::WatchdogProcessServiceTest 396 EXPECT_CALL(*mMockVehicle, unsubscribe(_, propIds)) in TEST_F()
|