Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Dmodifiers.h24 static constexpr uint32_t kAccPublic = 0x0001; // class, field, method, ic variable
114 static constexpr uint32_t kAccValidFieldFlags = kAccPublic | kAccPrivate | kAccProtected |
118 static constexpr uint32_t kAccValidMethodFlags = kAccPublic | kAccPrivate | kAccProtected |
127 static constexpr uint32_t kAccValidClassFlags = kAccPublic | kAccFinal | kAccSuper |
134 static constexpr uint32_t kAccValidInterfaceFlags = kAccPublic | kAccInterface |
137 static constexpr uint32_t kAccVisibilityFlags = kAccPublic | kAccPrivate | kAccProtected;
Ddex_file_verifier_test.cc413 kAccPublic, in TEST_F()
426 ApplyMaskToMethodFlags(dex_file, "<init>", ~kAccPublic); in TEST_F()
439 ((i & 4) != 0 ? kAccPublic : 0); in TEST_F()
447 ApplyMaskToMethodFlags(dex_file, "<init>", ~kAccPublic); in TEST_F()
463 ApplyMaskToMethodFlags(dex_file, "<init>", ~kAccPublic); in TEST_F()
480 ApplyMaskToMethodFlags(dex_file, "<init>", ~kAccPublic); in TEST_F()
556 if (((GetMethodFlags(dex_file, kMethods[i]) & kAccPublic) != 0) && in TEST_F()
575 ((j & 4) != 0 ? kAccPublic : 0); in TEST_F()
583 ApplyMaskToMethodFlags(dex_file, kMethods[i], ~kAccPublic); in TEST_F()
596 kAccPublic | in TEST_F()
[all …]
Dmodifiers.cc25 if ((access_flags & kAccPublic) != 0) { in PrettyJavaAccessFlags()
Ddex_file_verifier.cc3044 static_assert(IsPowerOfTwo(kAccPublic), "kAccPublic not marked as power of two"); in CheckAtMostOneOfPublicProtectedPrivate()
3047 return IsPowerOfTwo(flags & (kAccPublic | kAccProtected | kAccPrivate)); in CheckAtMostOneOfPublicProtectedPrivate()
3140 constexpr uint32_t kFieldAccessFlags = kAccPublic | in CheckFieldAccessFlags()
3162 constexpr uint32_t kPublicFinalStatic = kAccPublic | kAccFinal | kAccStatic; in CheckFieldAccessFlags()
3272 constexpr uint32_t kMethodAccessFlags = kAccPublic | in CheckMethodAccessFlags()
3343 uint32_t desired_flags = (kAccPublic | kAccStatic); in CheckMethodAccessFlags()
3406 if ((method_access_flags & (kAccPublic | kAccAbstract)) != (kAccPublic | kAccAbstract)) { in CheckMethodAccessFlags()
3436 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.h1150 if (member_flags & kAccPublic) { in CanAccessMember()
Dclass.h210 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic()
Dclass.cc524 if ((access_flags & (kAccPublic | kAccProtected)) != 0) { in IsInheritedMethod()
/art/tools/hiddenapi/
Dhiddenapi_test.cc231 return GetFieldHiddenFlags("ifield", kAccPublic, FindClass("LMain;", dex_file), dex_file); in GetIFieldHiddenFlags()
245 kAccPublic, in GetSMethodHiddenFlags()
253 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.h68 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic()
Dart_method.h131 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic()
Dreflection.cc957 if ((access_flags & kAccPublic) != 0) { in VerifyAccess()
Dclass_linker.cc4075 h_class->SetAccessFlags(kAccPublic | kAccFinal | kAccAbstract); in CreatePrimitiveClass()
4863 temp_klass->SetAccessFlags(kAccClassIsProxy | kAccPublic | kAccFinal | kAccVerificationAttempted); in CreateProxyClass()
4895 interfaces_sfield.SetAccessFlags(kAccStatic | kAccPublic | kAccFinal); in CreateProxyClass()
4901 throws_sfield.SetAccessFlags(kAccStatic | kAccPublic | kAccFinal); in CreateProxyClass()
5037 kAccPublic | in CreateProxyConstructor()
Dclass_linker_test.cc119 EXPECT_EQ(kAccPublic | kAccFinal | kAccAbstract | kAccVerificationAttempted, in AssertPrimitiveClass()
/art/runtime/native/
Djava_lang_Class.cc139 if (public_only && ((member->GetAccessFlags() & kAccPublic) == 0)) { in IsDiscoverable()
410 if ((result != nullptr) && (result->GetAccessFlags() & kAccPublic)) { in GetPublicFieldRecursive()
426 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.cc113 if (access_flags & kAccPublic) { in QuotedVisibility()
1165 if (options_.exports_only_ && (flags & (kAccPublic | kAccProtected)) == 0) { in DumpMethod()
1285 if (options_.exports_only_ && (flags & (kAccPublic | kAccProtected)) == 0) { in DumpSField()
1354 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;
Dmethod_verifier.cc778 (((method_access_flags_ & kAccPublic) == 0) ? 0 : 1) + in Verify()
815 uint32_t kRequired = kAccPublic; in Verify()
856 uint32_t access_flag_options = kAccPublic; in Verify()