Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Dmodifiers.h26 static constexpr uint32_t kAccPublic = 0x0001; // class, field, method, ic variable
133 static constexpr uint32_t kAccValidFieldFlags = kAccPublic | kAccPrivate | kAccProtected |
137 static constexpr uint32_t kAccValidMethodFlags = kAccPublic | kAccPrivate | kAccProtected |
146 static constexpr uint32_t kAccValidClassFlags = kAccPublic | kAccFinal | kAccSuper |
153 static constexpr uint32_t kAccValidInterfaceFlags = kAccPublic | kAccInterface |
156 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()
3342 constexpr uint32_t kFieldAccessFlags = kAccPublic | in CheckFieldAccessFlags()
3364 constexpr uint32_t kPublicFinalStatic = kAccPublic | kAccFinal | kAccStatic; in CheckFieldAccessFlags()
3474 constexpr uint32_t kMethodAccessFlags = kAccPublic | in CheckMethodAccessFlags()
3545 uint32_t desired_flags = (kAccPublic | kAccStatic); in CheckMethodAccessFlags()
3608 if ((method_access_flags & (kAccPublic | kAccAbstract)) != (kAccPublic | kAccAbstract)) { in CheckMethodAccessFlags()
3638 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.h251 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic()
Dclass.cc614 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.cc144 inline bool IsPublic() const { return HasAccessFlags(kAccPublic); } in IsPublic()
186 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.cc1021 if ((access_flags & kAccPublic) != 0) { in VerifyAccess()
Dclass_linker.cc4161 kAccPublic | kAccFinal | kAccAbstract | kAccVerificationAttempted); in CreatePrimitiveClass()
4918 kAccClassIsProxy | kAccPublic | kAccFinal | kAccVerificationAttempted); in CreateProxyClass()
4950 interfaces_sfield.SetAccessFlags(kAccStatic | kAccPublic | kAccFinal); in CreateProxyClass()
4956 throws_sfield.SetAccessFlags(kAccStatic | kAccPublic | kAccFinal); in CreateProxyClass()
5140 kAccPublic | in CreateProxyConstructor()
Dclass_linker_test.cc119 EXPECT_EQ(kAccPublic | kAccFinal | kAccAbstract | kAccVerificationAttempted, in AssertPrimitiveClass()
/art/runtime/native/
Djava_lang_Class.cc158 if (public_only && ((member->GetAccessFlags() & kAccPublic) == 0)) { in IsDiscoverable()
449 if ((result != nullptr) && (result->GetAccessFlags() & kAccPublic)) { in GetPublicFieldRecursive()
465 DCHECK(result->GetAccessFlags() & kAccPublic); in GetPublicFieldRecursive()
/art/dexdump/
Ddexdump.cc215 if (accessFlags & kAccPublic) { in quotedVisibility()
1260 if (gOptions.exportsOnly && (flags & (kAccPublic | kAccProtected)) == 0) { in dumpMethod()
1381 if (gOptions.exportsOnly && (flags & (kAccPublic | kAccProtected)) == 0) { in dumpField()
1457 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()
1289 if (options_.exports_only_ && (flags & (kAccPublic | kAccProtected)) == 0) { in DumpSField()
1358 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/
Dmethod_verifier.cc920 (((method_access_flags_ & kAccPublic) == 0) ? 0 : 1) + in Verify()
990 uint32_t kRequired = kAccPublic; in Verify()
1031 uint32_t access_flag_options = kAccPublic; in Verify()
/art/compiler/optimizing/
Dinstruction_builder.cc2487 (outer_class_def.access_flags_ & kAccPublic) == 0) { in LoadClassNeedsAccessCheck()