Searched refs:Domain (Results 1 – 9 of 9) sorted by relevance
/art/libartbase/base/ |
D | hiddenapi_domain.h | 27 enum class Domain : char { enum 33 inline bool IsDomainMoreTrustedThan(Domain domainA, Domain domainB) { in IsDomainMoreTrustedThan()
|
/art/runtime/ |
D | hidden_api.h | 91 Domain GetDomain() const { return domain_; } in GetDomain() 92 bool IsApplicationDomain() const { return domain_ == Domain::kApplication; } in IsApplicationDomain() 105 static Domain ComputeDomain(bool is_trusted) { in ComputeDomain() 106 return is_trusted ? Domain::kCorePlatform : Domain::kApplication; in ComputeDomain() 109 static Domain ComputeDomain(ObjPtr<mirror::ClassLoader> class_loader, const DexFile* dex_file) { in ComputeDomain() 117 static Domain ComputeDomain(ObjPtr<mirror::Class> klass, const DexFile* dex_file) in ComputeDomain() 120 Domain domain = ComputeDomain(klass->GetClassLoader(), dex_file); in ComputeDomain() 122 if (domain == Domain::kApplication && in ComputeDomain() 142 const Domain domain_; 447 case Domain::kApplication: { in ShouldDenyAccessToMember() [all …]
|
D | hidden_api_test.cc | 104 hiddenapi::Domain expected_domain, in CheckAllDexFilesInDomain() 193 void TestLocation(const std::string& location, hiddenapi::Domain expected_domain) { in TestLocation() 622 TestLocation(data_location_path, hiddenapi::Domain::kApplication); in TEST_F() 629 TestLocation(system_location_path, hiddenapi::Domain::kApplication); in TEST_F() 637 TestLocation(system_ext_location_path, hiddenapi::Domain::kApplication); in TEST_F() 646 TestLocation(system_ext_location_path, hiddenapi::Domain::kApplication); in TEST_F() 654 TestLocation(system_framework_location_path, hiddenapi::Domain::kPlatform); in TEST_F() 662 TestLocation(system_ext_framework_location_path, hiddenapi::Domain::kPlatform); in TEST_F() 673 TestLocation(system_ext_framework_location_path, hiddenapi::Domain::kPlatform); in TEST_F() 680 TestLocation(data_multi_location_path, hiddenapi::Domain::kApplication); in TEST_F() [all …]
|
D | hidden_api.cc | 95 static Domain DetermineDomainFromLocation(const std::string& dex_location, in DetermineDomainFromLocation() 104 return Domain::kCorePlatform; in DetermineDomainFromLocation() 108 return Domain::kPlatform; in DetermineDomainFromLocation() 113 return Domain::kPlatform; in DetermineDomainFromLocation() 117 return Domain::kPlatform; in DetermineDomainFromLocation() 126 return Domain::kPlatform; in DetermineDomainFromLocation() 129 return Domain::kApplication; in DetermineDomainFromLocation() 133 Domain dex_domain = DetermineDomainFromLocation(dex_file.GetLocation(), class_loader); in InitializeDexFileDomain()
|
D | oat_file_assistant_test.cc | 1587 EXPECT_EQ(dex_files_first[0]->GetHiddenapiDomain(), hiddenapi::Domain::kPlatform); in TEST_F() 1618 EXPECT_EQ(dex_files_second[0]->GetHiddenapiDomain(), hiddenapi::Domain::kPlatform); in TEST_F()
|
/art/test/674-hiddenapi/ |
D | hiddenapi.cc | 50 (is_core_platform == JNI_FALSE) ? hiddenapi::Domain::kPlatform in Java_Main_setDexDomain() 51 : hiddenapi::Domain::kCorePlatform); in Java_Main_setDexDomain()
|
/art/libdexfile/dex/ |
D | dex_file.h | 51 enum class Domain : char; 788 hiddenapi::Domain GetHiddenapiDomain() const { return hiddenapi_domain_; } in GetHiddenapiDomain() 789 void SetHiddenapiDomain(hiddenapi::Domain value) const { hiddenapi_domain_ = value; } in SetHiddenapiDomain() 906 mutable hiddenapi::Domain hiddenapi_domain_;
|
D | dex_file.cc | 127 hiddenapi_domain_(hiddenapi::Domain::kApplication) { in DexFile()
|
/art/runtime/native/ |
D | dalvik_system_DexFile.cc | 912 const_cast<DexFile*>(dex_file)->SetHiddenapiDomain(hiddenapi::Domain::kCorePlatform); in DexFile_setTrusted()
|