Lines Matching refs:ShouldDenyAccess

93   bool ShouldDenyAccess(hiddenapi::ApiList list) REQUIRES_SHARED(Locks::mutator_lock_) {  in ShouldDenyAccess()  function in art::HiddenApiTest
125 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Whitelist()), false); in TEST_F()
126 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Greylist()), false); in TEST_F()
127 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxQ()), false); in TEST_F()
128 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxP()), false); in TEST_F()
129 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxO()), false); in TEST_F()
130 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Blacklist()), false); in TEST_F()
137 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Whitelist()), false); in TEST_F()
138 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Greylist()), false); in TEST_F()
139 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxQ()), false); in TEST_F()
140 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxP()), false); in TEST_F()
141 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxO()), false); in TEST_F()
142 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Blacklist()), true); in TEST_F()
149 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Whitelist()), false); in TEST_F()
150 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Greylist()), false); in TEST_F()
151 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxQ()), false); in TEST_F()
152 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxP()), false); in TEST_F()
153 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxO()), true); in TEST_F()
154 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Blacklist()), true); in TEST_F()
156 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Whitelist()), false); in TEST_F()
157 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Greylist()), false); in TEST_F()
158 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxQ()), true); in TEST_F()
159 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxP()), false); in TEST_F()
160 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxO()), true); in TEST_F()
161 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Blacklist()), true); in TEST_F()
168 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Whitelist()), false); in TEST_F()
169 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Greylist()), false); in TEST_F()
170 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxQ()), false); in TEST_F()
171 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxP()), true); in TEST_F()
172 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxO()), true); in TEST_F()
173 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Blacklist()), true); in TEST_F()
180 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Whitelist()), false); in TEST_F()
181 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Greylist()), false); in TEST_F()
182 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxQ()), true); in TEST_F()
183 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxP()), true); in TEST_F()
184 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::GreylistMaxO()), true); in TEST_F()
185 ASSERT_EQ(ShouldDenyAccess(hiddenapi::ApiList::Blacklist()), true); in TEST_F()
198 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Whitelist()), false); in TEST_F()
200 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Greylist()), false); in TEST_F()
202 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::GreylistMaxQ()), true); in TEST_F()
204 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::GreylistMaxP()), true); in TEST_F()
206 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::GreylistMaxO()), true); in TEST_F()
208 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Blacklist()), true); in TEST_F()
213 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Whitelist()), false); in TEST_F()
215 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Greylist()), false); in TEST_F()
217 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::GreylistMaxQ()), false); in TEST_F()
219 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::GreylistMaxP()), false); in TEST_F()
221 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::GreylistMaxO()), false); in TEST_F()
223 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Blacklist()), false); in TEST_F()