Lines Matching refs:hal

80     OemLock hal{mockService};  in TEST()  local
81 hal.getName([](OemLockStatus status, const hidl_string& name) { in TEST()
116 OemLock hal{mockService}; in TEST() local
117 ASSERT_THAT(hal.setOemUnlockAllowedByCarrier(true, makeSignature(version, nonce, token)), in TEST()
126 OemLock hal{mockService}; in TEST() local
127 ASSERT_THAT(hal.setOemUnlockAllowedByCarrier(true, makeSignature(1, 2, {3, 4, 5})), in TEST()
136 OemLock hal{mockService}; in TEST() local
137 ASSERT_THAT(hal.setOemUnlockAllowedByCarrier(true, makeSignature(1, 2, {3, 4, 5})), in TEST()
143 OemLock hal{mockService}; in TEST() local
144 ASSERT_THAT(hal.setOemUnlockAllowedByCarrier(true, hidl_vec<uint8_t>{}), in TEST()
150 OemLock hal{mockService}; in TEST() local
151 ASSERT_THAT(hal.setOemUnlockAllowedByCarrier(false, hidl_vec<uint8_t>{}), in TEST()
168 OemLock hal{mockService}; in TEST() local
169 hal.isOemUnlockAllowedByCarrier([](OemLockStatus status, bool allowed) { in TEST()
183 OemLock hal{mockService}; in TEST() local
184 hal.isOemUnlockAllowedByCarrier([](OemLockStatus status, bool allowed) { in TEST()
198 OemLock hal{mockService}; in TEST() local
199 hal.isOemUnlockAllowedByCarrier([](OemLockStatus status, bool allowed) { in TEST()
210 OemLock hal{mockService}; in TEST() local
211 hal.isOemUnlockAllowedByCarrier([](OemLockStatus status, bool allowed) { in TEST()
231 OemLock hal{mockService}; in TEST() local
232 ASSERT_THAT(hal.setOemUnlockAllowedByDevice(true), Eq(OemLockStatus::OK)); in TEST()
243 OemLock hal{mockService}; in TEST() local
244 ASSERT_THAT(hal.setOemUnlockAllowedByDevice(false), Eq(OemLockStatus::OK)); in TEST()
252 OemLock hal{mockService}; in TEST() local
253 ASSERT_THAT(hal.setOemUnlockAllowedByDevice(true), Eq(OemLockStatus::FAILED)); in TEST()
265 OemLock hal{mockService}; in TEST() local
266 hal.isOemUnlockAllowedByDevice([](OemLockStatus status, bool allowed) { in TEST()
280 OemLock hal{mockService}; in TEST() local
281 hal.isOemUnlockAllowedByDevice([](OemLockStatus status, bool allowed) { in TEST()
295 OemLock hal{mockService}; in TEST() local
296 hal.isOemUnlockAllowedByDevice([](OemLockStatus status, bool allowed) { in TEST()
307 OemLock hal{mockService}; in TEST() local
308 hal.isOemUnlockAllowedByDevice([](OemLockStatus status, bool allowed) { in TEST()