Lines Matching refs:oemlock
17 #include <android/hardware/oemlock/1.0/IOemLock.h>
21 using ::android::hardware::oemlock::V1_0::IOemLock;
22 using ::android::hardware::oemlock::V1_0::OemLockStatus;
23 using ::android::hardware::oemlock::V1_0::OemLockSecureStatus;
30 oemlock = ::testing::VtsHalHidlTargetTestBase::getService<IOemLock>();
31 ASSERT_NE(oemlock, nullptr);
36 sp<IOemLock> oemlock;
47 const auto ret = oemlock->getName([&](OemLockStatus s, hidl_string n) {
67 const auto ret = oemlock->isOemUnlockAllowedByDevice([&](OemLockStatus s, bool a) {
92 const auto get_ret = oemlock->isOemUnlockAllowedByDevice(getAllowedCallback);
98 const auto set_ret = oemlock->setOemUnlockAllowedByDevice(!originallyAllowed);
101 const auto check_set_ret = oemlock->isOemUnlockAllowedByDevice(getAllowedCallback);
107 const auto restore_ret = oemlock->setOemUnlockAllowedByDevice(originallyAllowed);
110 const auto check_restore_ret = oemlock->isOemUnlockAllowedByDevice(getAllowedCallback);
124 const auto ret = oemlock->isOemUnlockAllowedByCarrier([&](OemLockStatus s, bool a) {
154 const auto get_ret = oemlock->isOemUnlockAllowedByCarrier(getAllowedCallback);
165 const auto set_ret = oemlock->setOemUnlockAllowedByCarrier(!originallyAllowed, noSignature);
168 const auto check_set_ret = oemlock->isOemUnlockAllowedByCarrier(getAllowedCallback);
182 const auto restore_ret = oemlock->setOemUnlockAllowedByCarrier(originallyAllowed, noSignature);
185 const auto check_restore_ret = oemlock->isOemUnlockAllowedByCarrier(getAllowedCallback);