Searched refs:BindingStatus (Results 1 – 4 of 4) sorted by relevance
/packages/services/Car/cpp/security/vehicle_binding_util/src/ |
D | VehicleBindingUtil.cpp | 71 BindingStatus setSeedVhalProperty(std::shared_ptr<IVhalClient> vehicle, in setSeedVhalProperty() 80 return BindingStatus::ERROR; in setSeedVhalProperty() 83 return BindingStatus::OK; in setSeedVhalProperty() 86 BindingStatus getSeedVhalProperty(std::shared_ptr<IVhalClient> vehicle, in getSeedVhalProperty() 93 BindingStatus status = BindingStatus::ERROR; in getSeedVhalProperty() 98 status = BindingStatus::OK; in getSeedVhalProperty() 103 BindingStatus sendSeedToVold(const Executor& executor, const std::vector<uint8_t>& seed) { in sendSeedToVold() 114 return BindingStatus::ERROR; in sendSeedToVold() 116 return BindingStatus::OK; in sendSeedToVold() 155 BindingStatus setVehicleBindingSeed(std::shared_ptr<IVhalClient> vehicle, const Executor& executor, in setVehicleBindingSeed() [all …]
|
D | main.cpp | 34 using ::android::automotive::security::BindingStatus; 62 return static_cast<int>(BindingStatus::WAIT_VHAL_TIMEOUT); in setBinding() 66 if (status != BindingStatus::OK) { in setBinding()
|
D | VehicleBindingUtil.h | 35 enum class BindingStatus { enum 91 BindingStatus setVehicleBindingSeed(
|
/packages/services/Car/cpp/security/vehicle_binding_util/tests/ |
D | VehicleBindingUtilTest.cpp | 181 EXPECT_EQ(BindingStatus::NOT_SUPPORTED, 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() 263 EXPECT_EQ(BindingStatus::ERROR, setVehicleBindingSeed(mMockVehicle, mMockExecutor, mMockCsrng)); in TEST_F()
|