Home
last modified time | relevance | path

Searched refs:kAccPublic (Results 1 – 19 of 19) sorted by relevance

/art/libdexfile/dex/
Dmodifiers.h26 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;
Ddex_file_verifier_test.cc415 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 …]
Dmodifiers.cc25 if ((access_flags & kAccPublic) != 0) { in PrettyJavaAccessFlags()
Ddex_file_verifier.cc118 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/
Dmethod_handles_lookup.cc35 static constexpr uint32_t kAllModes = kAccPublic | kAccPrivate | kAccProtected | kAccStatic; in Create()
Dclass-inl.h1177 if (member_flags & kAccPublic) { in CanAccessMember()
Dclass.h249 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic()
Dclass.cc645 if ((access_flags & (kAccPublic | kAccProtected)) != 0) { in IsInheritedMethod()
/art/tools/hiddenapi/
Dhiddenapi_test.cc230 return GetFieldHiddenFlags("ifield", kAccPublic, FindClass("LMain;", dex_file), dex_file); in GetIFieldHiddenFlags()
244 kAccPublic, in GetSMethodHiddenFlags()
252 kAccPublic, in GetINMethodHiddenFlags()
Dhiddenapi.cc131 inline bool IsPublic() const { return HasAccessFlags(kAccPublic); } in IsPublic()
173 return HasAccessFlags(kAccPublic) || HasAccessFlags(kAccProtected); in IsPublicOrProtected()
/art/runtime/
Dart_field.h67 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic()
Dart_method.h133 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic()
Dreflection.cc999 if ((access_flags & kAccPublic) != 0) { in VerifyAccess()
Dclass_linker_test.cc119 EXPECT_EQ(kAccPublic | kAccFinal | kAccAbstract | kAccVerificationAttempted, in AssertPrimitiveClass()
/art/runtime/native/
Djava_lang_Class.cc156 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/
Ddexdump.cc212 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/
Ddexlayout.cc114 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/
Delf_debug_info_writer.h388 if (access_flags & kAccPublic) { in Write()
/art/runtime/verifier/
Dverifier_deps.cc95 kAccPublic | kAccPrivate | kAccProtected | kAccStatic | kAccInterface;