Home
last modified time | relevance | path

Searched refs:GetActionFromAccessFlags (Results 1 – 2 of 2) sorted by relevance

/art/runtime/
Dhidden_api_test.cc26 using hiddenapi::GetActionFromAccessFlags;
92 ASSERT_EQ(GetActionFromAccessFlags(HiddenApiAccessFlags::kWhitelist), hiddenapi::kAllow); in TEST_F()
93 ASSERT_EQ(GetActionFromAccessFlags(HiddenApiAccessFlags::kLightGreylist), hiddenapi::kAllow); in TEST_F()
94 ASSERT_EQ(GetActionFromAccessFlags(HiddenApiAccessFlags::kDarkGreylist), hiddenapi::kAllow); in TEST_F()
95 ASSERT_EQ(GetActionFromAccessFlags(HiddenApiAccessFlags::kBlacklist), hiddenapi::kAllow); in TEST_F()
98 ASSERT_EQ(GetActionFromAccessFlags(HiddenApiAccessFlags::kWhitelist), in TEST_F()
100 ASSERT_EQ(GetActionFromAccessFlags(HiddenApiAccessFlags::kLightGreylist), in TEST_F()
102 ASSERT_EQ(GetActionFromAccessFlags(HiddenApiAccessFlags::kDarkGreylist), in TEST_F()
104 ASSERT_EQ(GetActionFromAccessFlags(HiddenApiAccessFlags::kBlacklist), in TEST_F()
108 ASSERT_EQ(GetActionFromAccessFlags(HiddenApiAccessFlags::kWhitelist), in TEST_F()
[all …]
Dhidden_api.h71 inline Action GetActionFromAccessFlags(HiddenApiAccessFlags::ApiList api_list) { in GetActionFromAccessFlags() function
213 Action action = GetActionFromAccessFlags(member->GetHiddenApiAccessFlags()); in GetMemberAction()