Home
last modified time | relevance | path

Searched refs:TestApi (Results 1 – 3 of 3) sorted by relevance

/art/runtime/
Dhidden_api_test.cc383 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Sdk()), false); in TEST_F()
385 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Unsupported()), false); in TEST_F()
387 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::MaxTargetR()), true); in TEST_F()
389 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::MaxTargetQ()), true); in TEST_F()
391 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::MaxTargetP()), true); in TEST_F()
393 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::MaxTargetO()), true); in TEST_F()
395 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Blocked()), true); in TEST_F()
401 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Sdk()), false); in TEST_F()
403 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Unsupported()), false); in TEST_F()
405 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::MaxTargetR()), false); in TEST_F()
[all …]
/art/libartbase/base/
Dhiddenapi_flags.h212 static ApiList TestApi() { return ApiList(DomainApi::kTestApi); } in TestApi() function
/art/tools/hiddenapi/
Dhiddenapi_test.cc715 ASSERT_EQ(hiddenapi::ApiList::TestApi() in TEST_F()