Home
last modified time | relevance | path

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

/packages/services/Car/cpp/security/vehicle_binding_util/tests/
DVehicleBindingUtilTest.cpp150 EXPECT_CALL(mMockCsrng, fill(NotNull(), SEED_BYTE_SIZE)) in setTestRandomness()
167 MockCsrng mMockCsrng; member in android::automotive::security::__anon228954f00111::VehicleBindingUtilTests
182 setVehicleBindingSeed(mMockVehicle, mMockExecutor, mMockCsrng)); in TEST_F()
189 EXPECT_CALL(mMockCsrng, fill(_, SEED_BYTE_SIZE)).WillOnce(Return(false)); in TEST_F()
190 EXPECT_EQ(BindingStatus::ERROR, setVehicleBindingSeed(mMockVehicle, mMockExecutor, mMockCsrng)); in TEST_F()
204 EXPECT_EQ(BindingStatus::ERROR, setVehicleBindingSeed(mMockVehicle, mMockExecutor, mMockCsrng)); in TEST_F()
218 EXPECT_EQ(BindingStatus::ERROR, setVehicleBindingSeed(mMockVehicle, mMockExecutor, mMockCsrng)); in TEST_F()
238 EXPECT_EQ(BindingStatus::OK, setVehicleBindingSeed(mMockVehicle, mMockExecutor, mMockCsrng)); in TEST_F()
246 EXPECT_EQ(BindingStatus::OK, setVehicleBindingSeed(mMockVehicle, mMockExecutor, mMockCsrng)); in TEST_F()
254 EXPECT_EQ(BindingStatus::ERROR, setVehicleBindingSeed(mMockVehicle, mMockExecutor, mMockCsrng)); in TEST_F()
[all …]