Lines Matching refs:allowed
56 bool allowed; in TEST_P() local
58 const auto ret = oemlock->isOemUnlockAllowedByDevice(&allowed); in TEST_P()
68 bool allowed; in TEST_P() local
71 const auto get_ret = oemlock->isOemUnlockAllowedByDevice(&allowed); in TEST_P()
73 const bool originallyAllowed = allowed; in TEST_P()
79 const auto check_set_ret = oemlock->isOemUnlockAllowedByDevice(&allowed); in TEST_P()
81 ASSERT_EQ(allowed, !originallyAllowed); in TEST_P()
87 const auto check_restore_ret = oemlock->isOemUnlockAllowedByDevice(&allowed); in TEST_P()
89 ASSERT_EQ(allowed, originallyAllowed); in TEST_P()
96 bool allowed; in TEST_P() local
98 const auto ret = oemlock->isOemUnlockAllowedByCarrier(&allowed); in TEST_P()
113 bool allowed; in TEST_P() local
117 const auto get_ret = oemlock->isOemUnlockAllowedByCarrier(&allowed); in TEST_P()
119 const bool originallyAllowed = allowed; in TEST_P()
132 const auto check_set_ret = oemlock->isOemUnlockAllowedByCarrier(&allowed); in TEST_P()
137 ASSERT_EQ(allowed, originallyAllowed); in TEST_P()
142 ASSERT_EQ(allowed, !originallyAllowed); in TEST_P()
149 const auto check_restore_ret = oemlock->isOemUnlockAllowedByCarrier(&allowed); in TEST_P()
151 ASSERT_EQ(allowed, originallyAllowed); in TEST_P()