/aosp12/art/runtime/ |
H A D | hidden_api_test.cc | 327 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Sdk()), 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() 349 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::MaxTargetR()), false); in TEST_F() 357 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Blocked()), false); in TEST_F() 363 ShouldDenyAccess(hiddenapi::ApiList::TestApi() | hiddenapi::ApiList::Sdk()), false); in TEST_F() [all …]
|
/aosp12/build/soong/sdk/ |
H A D | bootclasspath_fragment_sdk_test.go | 188 .intermediates/mybootclasspathfragment/android_common/modular-hiddenapi/stub-flags.csv -> hiddenapi… 190 .intermediates/mybootclasspathfragment/android_common/modular-hiddenapi/metadata.csv -> hiddenapi/m… 191 .intermediates/mybootclasspathfragment/android_common/modular-hiddenapi/index.csv -> hiddenapi/inde… 192 .intermediates/mybootclasspathfragment/android_common/modular-hiddenapi/all-flags.csv -> hiddenapi/… 499 .intermediates/mybootclasspathfragment/android_common/modular-hiddenapi/metadata.csv -> hiddenapi/m… 500 .intermediates/mybootclasspathfragment/android_common/modular-hiddenapi/index.csv -> hiddenapi/inde… 520 out/soong/hiddenapi/hiddenapi-stub-flags.txt 527 snapshot/hiddenapi/metadata.csv 533 snapshot/hiddenapi/index.csv 765 .intermediates/mybootclasspathfragment/android_common/modular-hiddenapi/metadata.csv -> hiddenapi/m… [all …]
|
/aosp12/art/tools/veridex/ |
H A D | api_list_filter.h | 30 std::set<hiddenapi::ApiList> exclude_set; in ApiListFilter() 40 hiddenapi::ApiList list = hiddenapi::ApiList::FromName(name); in ApiListFilter() 49 lists_.push_back(hiddenapi::ApiList()); in ApiListFilter() 51 for (size_t i = 0; i < hiddenapi::ApiList::kValueCount; ++i) { in ApiListFilter() 52 hiddenapi::ApiList list = hiddenapi::ApiList(i); in ApiListFilter() 59 bool Matches(hiddenapi::ApiList list) const { in Matches() 69 std::vector<hiddenapi::ApiList> lists_;
|
H A D | hidden_api.h | 46 hiddenapi::ApiList GetApiList(const std::string& name) const { in GetApiList() 48 return (it == api_list_.end()) ? hiddenapi::ApiList() : it->second; in GetApiList() 95 void AddSignatureToApiList(const std::string& signature, hiddenapi::ApiList membership); 106 std::map<std::string, hiddenapi::ApiList> api_list_; 115 uint32_t api_counts[hiddenapi::ApiList::kValueSize] = {};
|
H A D | hidden_api.cc | 36 hiddenapi::ApiList membership; in HiddenApi() 37 bool success = hiddenapi::ApiList::FromNames(values.begin() + 1, values.end(), &membership); in HiddenApi() 60 void HiddenApi::AddSignatureToApiList(const std::string& signature, hiddenapi::ApiList membership) { in AddSignatureToApiList()
|
H A D | appcompat.sh | 25 -e ${SCRIPT_DIR}/hiddenapi-flags.csv && \ 30 --api-flags=${SCRIPT_DIR}/hiddenapi-flags.csv \
|
/aosp12/art/tools/hiddenapi/ |
H A D | hiddenapi_test.cc | 174 hiddenapi::ApiList GetFieldHiddenFlags(const char* name, in GetFieldHiddenFlags() 182 return hiddenapi::ApiList::Sdk(); in GetFieldHiddenFlags() 191 return hiddenapi::ApiList(field.GetHiddenapiFlags()); in GetFieldHiddenFlags() 200 hiddenapi::ApiList GetMethodHiddenFlags(const char* name, in GetMethodHiddenFlags() 209 return hiddenapi::ApiList::Sdk(); in GetMethodHiddenFlags() 220 return hiddenapi::ApiList(method.GetHiddenapiFlags()); in GetMethodHiddenFlags() 229 hiddenapi::ApiList GetIFieldHiddenFlags(const DexFile& dex_file) { in GetIFieldHiddenFlags() 233 hiddenapi::ApiList GetSFieldHiddenFlags(const DexFile& dex_file) { in GetSFieldHiddenFlags() 237 hiddenapi::ApiList GetIMethodHiddenFlags(const DexFile& dex_file) { in GetIMethodHiddenFlags() 701 ASSERT_EQ(hiddenapi::ApiList::CorePlatformApi() | in TEST_F() [all …]
|
H A D | Android.bp | 27 name: "hiddenapi-defaults", 32 "hiddenapi.cc", 48 name: "hiddenapi", 50 "hiddenapi-defaults", 69 "hiddenapi-defaults",
|
/aosp12/frameworks/base/boot/ |
H A D | Android.bp | 107 "hiddenapi/hiddenapi-unsupported.txt", 113 "hiddenapi/hiddenapi-max-target-r-loprio.txt", 116 "hiddenapi/hiddenapi-max-target-q.txt", 119 "hiddenapi/hiddenapi-max-target-p.txt", 122 "hiddenapi/hiddenapi-max-target-o.txt", 125 "hiddenapi/hiddenapi-unsupported-packages.txt", 132 tag: "hiddenapi-flags.csv", 136 tag: "hiddenapi-index.csv", 140 tag: "hiddenapi-metadata.csv", 142 dest: "hiddenapi-unsupported.csv",
|
/aosp12/art/build/boot/ |
H A D | Android.bp | 74 blocked: ["hiddenapi/hiddenapi-blocked.txt"], 75 max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.txt"], 76 unsupported_packages: ["hiddenapi/hiddenapi-unsupported-packages.txt"],
|
/aosp12/packages/modules/Wifi/apex/ |
H A D | Android.bp | 98 max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.txt"], 99 max_target_r_low_priority: ["hiddenapi/hiddenapi-max-target-r-low-priority.txt"], 100 unsupported: ["hiddenapi/hiddenapi-unsupported.txt"],
|
/aosp12/build/soong/java/ |
H A D | platform_bootclasspath_test.go | 327 …out/soong/.intermediates/foo-hiddenapi-annotations/android_common/javac/foo-hiddenapi-annotations.… 337 …out/soong/.intermediates/myplatform-bootclasspath/android_common/hiddenapi-monolithic/annotation-f… 338 out/soong/hiddenapi/hiddenapi-stub-flags.txt 347 …out/soong/.intermediates/myplatform-bootclasspath/android_common/hiddenapi-monolithic/metadata-fro… 356 …out/soong/.intermediates/myplatform-bootclasspath/android_common/hiddenapi-monolithic/index-from-c…
|
/aosp12/art/runtime/native/ |
H A D | dalvik_system_ZygoteHooks.cc | 312 hiddenapi::EnforcementPolicy api_enforcement_policy = hiddenapi::EnforcementPolicy::kDisabled; in ZygoteHooks_nativePostForkChild() 326 api_enforcement_policy = hiddenapi::EnforcementPolicyFromInt( in ZygoteHooks_nativePostForkChild() 331 runtime->SetTestApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kDisabled); in ZygoteHooks_nativePostForkChild() 333 runtime->SetTestApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in ZygoteHooks_nativePostForkChild() 401 bool do_hidden_api_checks = api_enforcement_policy != hiddenapi::EnforcementPolicy::kDisabled; in ZygoteHooks_nativePostForkChild() 408 if (api_enforcement_policy != hiddenapi::EnforcementPolicy::kDisabled && in ZygoteHooks_nativePostForkChild()
|
/aosp12/frameworks/base/boot/hiddenapi/ |
H A D | OWNERS | 1 # compat-team@ for changes to hiddenapi files 5 per-file hiddenapi-* = bdc@google.com, narayan@google.com
|
/aosp12/packages/modules/Connectivity/Tethering/apex/ |
H A D | Android.bp | 95 max_target_o_low_priority: ["hiddenapi/hiddenapi-max-target-o-low-priority.txt"], 96 unsupported: ["hiddenapi/hiddenapi-unsupported.txt"],
|
/aosp12/packages/modules/RuntimeI18n/apex/hiddenapi/ |
H A D | OWNERS | 1 # soong-team@ as the hiddenapi files are tightly coupled with Soong 4 # compat-team@ for changes to hiddenapi files
|
/aosp12/packages/modules/Wifi/apex/hiddenapi/ |
H A D | OWNERS | 1 # soong-team@ as the hiddenapi files are tightly coupled with Soong 4 # compat-team@ for changes to hiddenapi files
|
/aosp12/art/build/boot/hiddenapi/ |
H A D | OWNERS | 1 # soong-team@ as the hiddenapi files are tightly coupled with Soong 4 # compat-team@ for changes to hiddenapi files
|
/aosp12/frameworks/av/apex/hiddenapi/ |
H A D | OWNERS | 1 # soong-team@ as the hiddenapi files are tightly coupled with Soong 4 # compat-team@ for changes to hiddenapi files
|
/aosp12/packages/providers/MediaProvider/apex/hiddenapi/ |
H A D | OWNERS | 1 # soong-team@ as the hiddenapi files are tightly coupled with Soong 4 # compat-team@ for changes to hiddenapi files
|
/aosp12/packages/modules/StatsD/apex/hiddenapi/ |
H A D | OWNERS | 5 # soong-team@ as the hiddenapi files are tightly coupled with Soong 8 # compat-team@ for changes to hiddenapi files
|
/aosp12/packages/modules/Connectivity/Tethering/apex/hiddenapi/ |
H A D | OWNERS | 5 # soong-team@ as the hiddenapi files are tightly coupled with Soong 8 # compat-team@ for changes to hiddenapi files
|
/aosp12/packages/apps/DocumentsUI/ |
H A D | PREUPLOAD.cfg | 6 hidden_api_txt_checksorted_hook = ${REPO_ROOT}/frameworks/base/tools/hiddenapi/checksorted_sha.sh $… 8 hidden_api_txt_exclude_hook = ${REPO_ROOT}/frameworks/base/tools/hiddenapi/exclude.sh ${PREUPLOAD_C…
|
/aosp12/art/test/674-hiddenapi/ |
H A D | hiddenapi.cc | 37 runtime->SetHiddenApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in Java_Main_init() 38 runtime->SetCorePlatformApiEnforcementPolicy(hiddenapi::EnforcementPolicy::kEnabled); in Java_Main_init() 40 static_cast<uint32_t>(hiddenapi::ApiList::MaxTargetO().GetMaxAllowedSdkVersion())); in Java_Main_init() 50 (is_core_platform == JNI_FALSE) ? hiddenapi::Domain::kPlatform in Java_Main_setDexDomain() 51 : hiddenapi::Domain::kCorePlatform); in Java_Main_setDexDomain()
|
/aosp12/frameworks/base/ |
H A D | PREUPLOAD.cfg | 25 hidden_api_txt_checksorted_hook = ${REPO_ROOT}/tools/platform-compat/hiddenapi/checksorted_sha.sh $… 27 hidden_api_txt_exclude_hook = ${REPO_ROOT}/frameworks/base/tools/hiddenapi/exclude.sh ${PREUPLOAD_C…
|