Searched refs:originallyAllowed (Results 1 – 2 of 2) sorted by relevance
/hardware/interfaces/oemlock/aidl/vts/ |
D | VtsHalOemLockTargetTest.cpp | 73 const bool originallyAllowed = allowed; in TEST_P() local 76 const auto set_ret = oemlock->setOemUnlockAllowedByDevice(!originallyAllowed); in TEST_P() 81 ASSERT_EQ(allowed, !originallyAllowed); in TEST_P() 84 const auto restore_ret = oemlock->setOemUnlockAllowedByDevice(originallyAllowed); in TEST_P() 89 ASSERT_EQ(allowed, originallyAllowed); in TEST_P() 119 const bool originallyAllowed = allowed; in TEST_P() local 121 if (originallyAllowed) { in TEST_P() 127 …const auto set_ret = oemlock->setOemUnlockAllowedByCarrier(!originallyAllowed, noSignature, &secur… in TEST_P() 137 ASSERT_EQ(allowed, originallyAllowed); in TEST_P() 142 ASSERT_EQ(allowed, !originallyAllowed); in TEST_P() [all …]
|
/hardware/interfaces/oemlock/1.0/vts/functional/ |
D | VtsHalOemLockV1_0TargetTest.cpp | 95 const bool originallyAllowed = allowed; in TEST_P() local 98 const auto set_ret = oemlock->setOemUnlockAllowedByDevice(!originallyAllowed); in TEST_P() 104 ASSERT_EQ(allowed, !originallyAllowed); in TEST_P() 107 const auto restore_ret = oemlock->setOemUnlockAllowedByDevice(originallyAllowed); in TEST_P() 113 ASSERT_EQ(allowed, originallyAllowed); in TEST_P() 157 const bool originallyAllowed = allowed; in TEST_P() local 159 if (originallyAllowed) { in TEST_P() 165 const auto set_ret = oemlock->setOemUnlockAllowedByCarrier(!originallyAllowed, noSignature); in TEST_P() 174 ASSERT_EQ(allowed, originallyAllowed); in TEST_P() 179 ASSERT_EQ(allowed, !originallyAllowed); in TEST_P() [all …]
|