Searched refs:hiddenapi (Results 1 – 20 of 20) sorted by relevance
/art/tools/hiddenapi/ |
D | Android.bp | 18 name: "hiddenapi-defaults", 23 "hiddenapi.cc", 38 name: "hiddenapi", 39 defaults: ["hiddenapi-defaults"], 50 "hiddenapi-defaults",
|
D | hiddenapi.cc | 373 art::HiddenApi hiddenapi; in main() local 376 hiddenapi.ParseArgs(argc, argv); in main() 377 return hiddenapi.ProcessDexFiles() ? EXIT_SUCCESS : EXIT_FAILURE; in main()
|
/art/tools/veridex/ |
D | appcompat.sh | 48 --blacklist=${PACKAGING}/hiddenapi-blacklist.txt \ 49 --light-greylist=${PACKAGING}/hiddenapi-light-greylist.txt \ 50 --dark-greylist=${PACKAGING}/hiddenapi-dark-greylist.txt \
|
D | Android.mk | 33 ${TARGET_OUT_COMMON_INTERMEDIATES}/PACKAGING/hiddenapi-light-greylist.txt \ 34 ${TARGET_OUT_COMMON_INTERMEDIATES}/PACKAGING/hiddenapi-dark-greylist.txt \ 35 ${TARGET_OUT_COMMON_INTERMEDIATES}/PACKAGING/hiddenapi-blacklist.txt
|
/art/runtime/ |
D | hidden_api_test.cc | 25 using hiddenapi::detail::MemberSignature; 26 using hiddenapi::GetActionFromAccessFlags; 91 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kNoChecks); in TEST_F() 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() 97 runtime_->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kJustWarn); in TEST_F() 99 hiddenapi::kAllow); in TEST_F() 101 hiddenapi::kAllowButWarn); in TEST_F() [all …]
|
D | hidden_api.h | 29 namespace hiddenapi {
|
D | hidden_api.cc | 34 namespace hiddenapi { namespace
|
D | well_known_classes.cc | 291 hiddenapi::ScopedHiddenApiEnforcementPolicySetting hiddenapi_exemption( in Init() 292 hiddenapi::EnforcementPolicy::kNoChecks); in Init()
|
D | oat_file_assistant_test.cc | 1420 hiddenapi::ScopedHiddenApiEnforcementPolicySetting hiddenapi_exemption( in TEST_F() 1421 hiddenapi::EnforcementPolicy::kNoChecks); in TEST_F() 1440 hiddenapi::ScopedHiddenApiEnforcementPolicySetting hiddenapi_exemption( in TEST_F() 1441 hiddenapi::EnforcementPolicy::kBlacklistOnly); in TEST_F()
|
D | jni_internal.cc | 84 return hiddenapi::IsCallerTrusted(GetCallingClass(self, /* num_frames */ 1)); in IsCallerTrusted() 90 hiddenapi::Action action = hiddenapi::GetMemberAction( in ShouldBlockAccessToMember() 91 member, self, IsCallerTrusted, hiddenapi::kJNI); in ShouldBlockAccessToMember() 92 if (action != hiddenapi::kAllow) { in ShouldBlockAccessToMember() 93 hiddenapi::NotifyHiddenApiListener(member); in ShouldBlockAccessToMember() 96 return action == hiddenapi::kDeny; in ShouldBlockAccessToMember()
|
D | runtime.cc | 271 hidden_api_policy_(hiddenapi::EnforcementPolicy::kNoChecks), in Runtime() 1219 ? hiddenapi::EnforcementPolicy::kDarkGreyAndBlackList in Init() 1220 : hiddenapi::EnforcementPolicy::kNoChecks; in Init()
|
D | oat_file_assistant.cc | 827 if (runtime->GetHiddenApiEnforcementPolicy() != hiddenapi::EnforcementPolicy::kNoChecks) { in Dex2Oat()
|
/art/runtime/native/ |
D | dalvik_system_ZygoteHooks.cc | 295 hiddenapi::EnforcementPolicy api_enforcement_policy = hiddenapi::EnforcementPolicy::kNoChecks; in ZygoteHooks_nativePostForkChild() 308 api_enforcement_policy = hiddenapi::EnforcementPolicyFromInt( in ZygoteHooks_nativePostForkChild() 362 bool do_hidden_api_checks = api_enforcement_policy != hiddenapi::EnforcementPolicy::kNoChecks; in ZygoteHooks_nativePostForkChild() 369 if (api_enforcement_policy != hiddenapi::EnforcementPolicy::kNoChecks && in ZygoteHooks_nativePostForkChild()
|
D | java_lang_Class.cc | 102 hiddenapi::IsCallerTrusted(visitor.caller->GetDeclaringClass()); in IsCallerTrusted() 109 hiddenapi::EnforcementPolicy policy = Runtime::Current()->GetHiddenApiEnforcementPolicy(); in ShouldEnforceHiddenApi() 110 return policy != hiddenapi::EnforcementPolicy::kNoChecks && !IsCallerTrusted(self); in ShouldEnforceHiddenApi() 118 hiddenapi::Action action = hiddenapi::GetMemberAction( in ShouldBlockAccessToMember() 119 member, self, IsCallerTrusted, hiddenapi::kReflection); in ShouldBlockAccessToMember() 120 if (action != hiddenapi::kAllow) { in ShouldBlockAccessToMember() 121 hiddenapi::NotifyHiddenApiListener(member); in ShouldBlockAccessToMember() 124 return action == hiddenapi::kDeny; in ShouldBlockAccessToMember() 140 return hiddenapi::GetMemberAction(member, in IsDiscoverable() 143 hiddenapi::kNone) in IsDiscoverable() [all …]
|
/art/ |
D | Android.bp | 54 "tools/hiddenapi",
|
D | Android.mk | 439 define build-art-hiddenapi 442 …touch ${TARGET_OUT_COMMON_INTERMEDIATES}/PACKAGING/hiddenapi-{blacklist,dark-greylist,light-greyli… 446 $(eval $(call build-art-hiddenapi))
|
/art/test/ |
D | Android.run-test.mk | 24 $(HOST_OUT_EXECUTABLES)/hiddenapi \
|
D | Android.bp | 441 "674-hiddenapi/hiddenapi.cc",
|
/art/test/674-hiddenapi/ |
D | hiddenapi.cc | 31 runtime->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kBlacklistOnly); in Java_Main_init()
|
/art/runtime/interpreter/ |
D | unstarted_runtime.cc | 185 constexpr hiddenapi::AccessMethod access_method = hiddenapi::kReflection; in ShouldBlockAccessToMember() 186 return hiddenapi::GetMemberAction( in ShouldBlockAccessToMember() 190 access_method) == hiddenapi::kDeny; in ShouldBlockAccessToMember()
|