Searched refs:kAccPublic (Results 1 – 21 of 21) sorted by relevance
/art/libdexfile/dex/ |
D | modifiers.h | 26 static constexpr uint32_t kAccPublic = 0x0001; // class, field, method, ic variable 125 static constexpr uint32_t kAccValidFieldFlags = kAccPublic | kAccPrivate | kAccProtected | 129 static constexpr uint32_t kAccValidMethodFlags = kAccPublic | kAccPrivate | kAccProtected | 138 static constexpr uint32_t kAccValidClassFlags = kAccPublic | kAccFinal | kAccSuper | 145 static constexpr uint32_t kAccValidInterfaceFlags = kAccPublic | kAccInterface | 148 static constexpr uint32_t kAccVisibilityFlags = kAccPublic | kAccPrivate | kAccProtected;
|
D | dex_file_verifier_test.cc | 415 kAccPublic, in TEST_F() 428 ApplyMaskToMethodFlags(dex_file, "<init>", ~kAccPublic); in TEST_F() 441 ((i & 4) != 0 ? kAccPublic : 0); in TEST_F() 449 ApplyMaskToMethodFlags(dex_file, "<init>", ~kAccPublic); in TEST_F() 465 ApplyMaskToMethodFlags(dex_file, "<init>", ~kAccPublic); in TEST_F() 482 ApplyMaskToMethodFlags(dex_file, "<init>", ~kAccPublic); in TEST_F() 558 if (((GetMethodFlags(dex_file, kMethods[i]) & kAccPublic) != 0) && in TEST_F() 577 ((j & 4) != 0 ? kAccPublic : 0); in TEST_F() 585 ApplyMaskToMethodFlags(dex_file, kMethods[i], ~kAccPublic); in TEST_F() 598 kAccPublic | in TEST_F() [all …]
|
D | modifiers.cc | 25 if ((access_flags & kAccPublic) != 0) { in PrettyJavaAccessFlags()
|
D | dex_file_verifier.cc | 118 static_assert(IsPowerOfTwo(kAccPublic), "kAccPublic not marked as power of two"); in CheckAtMostOneOfPublicProtectedPrivate() 121 return IsPowerOfTwo(flags & (kAccPublic | kAccProtected | kAccPrivate)); in CheckAtMostOneOfPublicProtectedPrivate() 3347 constexpr uint32_t kFieldAccessFlags = kAccPublic | in CheckFieldAccessFlags() 3369 constexpr uint32_t kPublicFinalStatic = kAccPublic | kAccFinal | kAccStatic; in CheckFieldAccessFlags() 3479 constexpr uint32_t kMethodAccessFlags = kAccPublic | in CheckMethodAccessFlags() 3550 uint32_t desired_flags = (kAccPublic | kAccStatic); in CheckMethodAccessFlags() 3613 if ((method_access_flags & (kAccPublic | kAccAbstract)) != (kAccPublic | kAccAbstract)) { in CheckMethodAccessFlags() 3643 kAccPrivate | kAccProtected | kAccPublic | kAccStrict | kAccVarargs | kAccSynthetic; in CheckMethodAccessFlags()
|
/art/runtime/mirror/ |
D | method_handles_lookup.cc | 35 static constexpr uint32_t kAllModes = kAccPublic | kAccPrivate | kAccProtected | kAccStatic; in Create()
|
D | class-inl.h | 1177 if (member_flags & kAccPublic) { in CanAccessMember()
|
D | class.h | 249 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic()
|
D | class.cc | 645 if ((access_flags & (kAccPublic | kAccProtected)) != 0) { in IsInheritedMethod()
|
/art/tools/hiddenapi/ |
D | hiddenapi_test.cc | 230 return GetFieldHiddenFlags("ifield", kAccPublic, FindClass("LMain;", dex_file), dex_file); in GetIFieldHiddenFlags() 244 kAccPublic, in GetSMethodHiddenFlags() 252 kAccPublic, in GetINMethodHiddenFlags()
|
D | hiddenapi.cc | 131 inline bool IsPublic() const { return HasAccessFlags(kAccPublic); } in IsPublic() 173 return HasAccessFlags(kAccPublic) || HasAccessFlags(kAccProtected); in IsPublicOrProtected()
|
/art/runtime/ |
D | art_field.h | 67 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic()
|
D | art_method.h | 133 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic()
|
D | reflection.cc | 999 if ((access_flags & kAccPublic) != 0) { in VerifyAccess()
|
D | class_linker.cc | 4241 kAccPublic | kAccFinal | kAccAbstract | kAccVerificationAttempted); in CreatePrimitiveClass() 4963 kAccClassIsProxy | kAccPublic | kAccFinal | kAccVerificationAttempted); in CreateProxyClass() 4995 interfaces_sfield.SetAccessFlags(kAccStatic | kAccPublic | kAccFinal); in CreateProxyClass() 5001 throws_sfield.SetAccessFlags(kAccStatic | kAccPublic | kAccFinal); in CreateProxyClass() 5183 kAccPublic | in CreateProxyConstructor()
|
D | class_linker_test.cc | 119 EXPECT_EQ(kAccPublic | kAccFinal | kAccAbstract | kAccVerificationAttempted, in AssertPrimitiveClass()
|
/art/runtime/native/ |
D | java_lang_Class.cc | 156 if (public_only && ((member->GetAccessFlags() & kAccPublic) == 0)) { in IsDiscoverable() 447 if ((result != nullptr) && (result->GetAccessFlags() & kAccPublic)) { in GetPublicFieldRecursive() 463 DCHECK(result->GetAccessFlags() & kAccPublic); in GetPublicFieldRecursive()
|
/art/dexdump/ |
D | dexdump.cc | 212 if (accessFlags & kAccPublic) { in quotedVisibility() 1221 if (gOptions.exportsOnly && (flags & (kAccPublic | kAccProtected)) == 0) { in dumpMethod() 1339 if (gOptions.exportsOnly && (flags & (kAccPublic | kAccProtected)) == 0) { in dumpField() 1415 if (gOptions.exportsOnly && (pClassDef.access_flags_ & kAccPublic) == 0) { in dumpClass()
|
/art/dexlayout/ |
D | dexlayout.cc | 114 if (access_flags & kAccPublic) { in QuotedVisibility() 1166 if (options_.exports_only_ && (flags & (kAccPublic | kAccProtected)) == 0) { in DumpMethod() 1286 if (options_.exports_only_ && (flags & (kAccPublic | kAccProtected)) == 0) { in DumpSField() 1355 if (options_.exports_only_ && (class_def->GetAccessFlags() & kAccPublic) == 0) { in DumpClass()
|
/art/compiler/debug/ |
D | elf_debug_info_writer.h | 388 if (access_flags & kAccPublic) { in Write()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 95 kAccPublic | kAccPrivate | kAccProtected | kAccStatic | kAccInterface;
|
D | method_verifier.cc | 938 (((method_access_flags_ & kAccPublic) == 0) ? 0 : 1) + in Verify() 975 uint32_t kRequired = kAccPublic; in Verify() 1016 uint32_t access_flag_options = kAccPublic; in Verify()
|