Lines Matching refs:oemlock
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 = IOemLock::getService(GetParam()); in SetUp()
31 ASSERT_NE(oemlock, nullptr); in SetUp()
36 sp<IOemLock> oemlock; member
47 const auto ret = oemlock->getName([&](OemLockStatus s, hidl_string n) { in TEST_P()
67 const auto ret = oemlock->isOemUnlockAllowedByDevice([&](OemLockStatus s, bool a) { in TEST_P()
92 const auto get_ret = oemlock->isOemUnlockAllowedByDevice(getAllowedCallback); in TEST_P()
98 const auto set_ret = oemlock->setOemUnlockAllowedByDevice(!originallyAllowed); in TEST_P()
101 const auto check_set_ret = oemlock->isOemUnlockAllowedByDevice(getAllowedCallback); in TEST_P()
107 const auto restore_ret = oemlock->setOemUnlockAllowedByDevice(originallyAllowed); in TEST_P()
110 const auto check_restore_ret = oemlock->isOemUnlockAllowedByDevice(getAllowedCallback); in TEST_P()
124 const auto ret = oemlock->isOemUnlockAllowedByCarrier([&](OemLockStatus s, bool a) { in TEST_P()
154 const auto get_ret = oemlock->isOemUnlockAllowedByCarrier(getAllowedCallback); in TEST_P()
165 const auto set_ret = oemlock->setOemUnlockAllowedByCarrier(!originallyAllowed, noSignature); in TEST_P()
168 const auto check_set_ret = oemlock->isOemUnlockAllowedByCarrier(getAllowedCallback); in TEST_P()
182 const auto restore_ret = oemlock->setOemUnlockAllowedByCarrier(originallyAllowed, noSignature); in TEST_P()
185 const auto check_restore_ret = oemlock->isOemUnlockAllowedByCarrier(getAllowedCallback); in TEST_P()