Home
last modified time | relevance | path

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

/art/runtime/
Dhidden_api_test.cc327 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Sdk()), false); in TEST_F()
329 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Unsupported()), false); in TEST_F()
331 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::MaxTargetR()), true); in TEST_F()
333 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::MaxTargetQ()), true); in TEST_F()
335 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::MaxTargetP()), true); in TEST_F()
337 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::MaxTargetO()), true); in TEST_F()
339 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Blocked()), true); in TEST_F()
345 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Sdk()), false); in TEST_F()
347 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Unsupported()), false); in TEST_F()
349 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::MaxTargetR()), false); in TEST_F()
[all …]
/art/libartbase/base/
Dhiddenapi_flags.h208 static ApiList TestApi() { return ApiList(DomainApi::kTestApi); } in TestApi() function
/art/tools/hiddenapi/
Dhiddenapi_test.cc713 ASSERT_EQ(hiddenapi::ApiList::TestApi() in TEST_F()