Home
last modified time | relevance | path

Searched refs:GetAccessFlags (Results 1 – 25 of 52) sorted by relevance

123

/art/libdexfile/dex/
Dclass_accessor_test.cc50 EXPECT_EQ(field.GetAccessFlags(), field_it->GetAccessFlags()); in TEST_F()
58 EXPECT_EQ(field.GetAccessFlags(), field_it->GetAccessFlags()); in TEST_F()
60 EXPECT_EQ(field.GetAccessFlags(), instance_field_it->GetAccessFlags()); in TEST_F()
69 EXPECT_EQ(method.GetAccessFlags(), method_it->GetAccessFlags()); in TEST_F()
78 EXPECT_EQ(method.GetAccessFlags(), method_it->GetAccessFlags()); in TEST_F()
Dclass_accessor.h52 uint32_t GetAccessFlags() const { in GetAccessFlags() function
61 return (GetAccessFlags() & kAccFinal) != 0; in IsFinal()
73 return GetAccessFlags() & kAccNative; in MemberIsNative()
77 return GetAccessFlags() & kAccFinal; in MemberIsFinal()
125 return (GetAccessFlags() & kAccStatic) != 0 ? kStatic : kDirect; in GetDirectMethodInvokeType()
129 DCHECK_EQ(GetAccessFlags() & kAccStatic, 0U); in GetVirtualMethodInvokeType()
132 } else if ((GetAccessFlags() & kAccConstructor) != 0) { in GetVirtualMethodInvokeType()
/art/runtime/
Dart_method.h113 uint32_t GetAccessFlags() const { in GetAccessFlags() function
133 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic()
138 return (GetAccessFlags() & kAccPrivate) != 0; in IsPrivate()
143 return (GetAccessFlags() & kAccStatic) != 0; in IsStatic()
148 return (GetAccessFlags() & kAccConstructor) != 0; in IsConstructor()
158 return IsDirect(GetAccessFlags()); in IsDirect()
169 return (GetAccessFlags() & synchonized) != 0; in IsSynchronized()
173 return (GetAccessFlags() & kAccFinal) != 0; in IsFinal()
177 return (GetAccessFlags() & kAccIntrinsic) != 0; in IsIntrinsic()
189 return (GetAccessFlags() & kAccIntrinsicBits) >> kAccFlagsShift; in GetIntrinsic()
[all …]
Dart_field.h54 uint32_t GetAccessFlags() REQUIRES_SHARED(Locks::mutator_lock_) { in GetAccessFlags() function
67 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic()
71 return (GetAccessFlags() & kAccStatic) != 0; in IsStatic()
75 return (GetAccessFlags() & kAccFinal) != 0; in IsFinal()
79 return (GetAccessFlags() & kAccPrivate) != 0; in IsPrivate()
187 return (GetAccessFlags() & kAccVolatile) != 0; in IsVolatile()
Dhidden_api.h275 return field->GetAccessFlags() & kAccHiddenapiBits; in GetRuntimeFlags()
379 return method->GetAccessFlags() & kAccHiddenapiBits; in GetRuntimeFlags()
Dart_method.cc691 uint32_t new_value = (GetAccessFlags() & ~kAccIntrinsicBits) | kAccIntrinsic | intrinsic_bits; in SetIntrinsic()
693 uint32_t java_flags = (GetAccessFlags() & kAccJavaFlagsMask); in SetIntrinsic()
709 DCHECK_EQ(java_flags, (GetAccessFlags() & kAccJavaFlagsMask)); in SetIntrinsic()
744 SetAccessFlags(GetAccessFlags() | hiddenapi_runtime_flags); in SetNotIntrinsic()
Dhidden_api.cc150 const uint32_t access_flags = field->GetAccessFlags(); in InitializeCorePlatformApiPrivateFields()
358 member->SetAccessFlags(member->GetAccessFlags() | flag); in MaybeUpdateAccessFlags()
/art/runtime/mirror/
Dfield.h48 uint32_t GetAccessFlags() REQUIRES_SHARED(Locks::mutator_lock_) { in GetAccessFlags() function
53 return (GetAccessFlags() & kAccStatic) != 0; in IsStatic()
57 return (GetAccessFlags() & kAccFinal) != 0; in IsFinal()
61 return (GetAccessFlags() & kAccVolatile) != 0; in IsVolatile()
Dexecutable.cc36 AccessFlagsOffset(), method->GetAccessFlags()); in InitializeFromArtMethod()
Dclass.h213 ALWAYS_INLINE uint32_t GetAccessFlags() REQUIRES_SHARED(Locks::mutator_lock_) { in GetAccessFlags() function
238 return (GetAccessFlags() & kAccEnum) != 0; in IsEnum()
244 return (GetAccessFlags<kVerifyFlags>() & kAccInterface) != 0; in IsInterface()
249 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic()
254 return (GetAccessFlags() & kAccFinal) != 0; in IsFinal()
258 return (GetAccessFlags() & kAccClassIsFinalizable) != 0; in IsFinalizable()
262 return (GetAccessFlags() & kAccSkipHiddenapiChecks) != 0; in ShouldSkipHiddenApiChecks()
266 uint32_t flags = GetAccessFlags(); in SetSkipHiddenApiChecks()
309 return (GetAccessFlags<kVerifyFlags>() & kAccAbstract) != 0; in IsAbstract()
314 return (GetAccessFlags() & kAccAnnotation) != 0; in IsAnnotation()
[all …]
Dfield.cc88 field->GetAccessFlags()); in CreateFromArtField()
/art/runtime/verifier/
Dverifier_deps.h166 bool IsResolved() const { return GetAccessFlags() != kUnresolvedMarker; } in IsResolved()
168 uint16_t GetAccessFlags() const { return std::get<1>(*this); } in GetAccessFlags() function
178 bool IsResolved() const { return GetAccessFlags() != kUnresolvedMarker; } in IsResolved()
180 uint16_t GetAccessFlags() const { return std::get<1>(*this); } in GetAccessFlags() function
193 bool IsResolved() const { return GetAccessFlags() != kUnresolvedMarker; } in IsResolved()
195 uint16_t GetAccessFlags() const { return std::get<1>(*this); } in GetAccessFlags() function
283 static uint16_t GetAccessFlags(Ptr element)
Dverifier_deps.cc95 uint16_t VerifierDeps::GetAccessFlags(Ptr element) { in GetAccessFlags() function in art::verifier::VerifierDeps
100 uint16_t access_flags = Low16Bits(element->GetAccessFlags()) & kAccVdexAccessFlags; in GetAccessFlags()
307 dex_deps->classes_.emplace(ClassResolution(type_idx, GetAccessFlags(klass))); in AddClassResolution()
326 GetAccessFlags(field), in AddFieldResolution()
348 GetAccessFlags(method), in AddMethodResolution()
932 << " with access flags " << std::hex << entry.GetAccessFlags() << std::dec in Dump()
949 << ", and have the access flags " << std::hex << entry.GetAccessFlags() << std::dec in Dump()
967 << ", have the access flags " << std::hex << method.GetAccessFlags() << std::dec in Dump()
1064 } else if (entry.GetAccessFlags() != GetAccessFlags(cls.Get())) { in VerifyClasses()
1066 + " (expected=" + ToHex(entry.GetAccessFlags()) in VerifyClasses()
[all …]
/art/dexlayout/
Ddex_verify.cc234 if (orig->GetAccessFlags() != output->GetAccessFlags()) { in VerifyClassDef()
239 orig->GetAccessFlags(), in VerifyClassDef()
240 output->GetAccessFlags()); in VerifyClassDef()
794 if (orig_field->GetAccessFlags() != output_field->GetAccessFlags()) { in VerifyFields()
798 orig_field->GetAccessFlags(), in VerifyFields()
799 output_field->GetAccessFlags()); in VerifyFields()
827 if (orig_method->GetAccessFlags() != output_method->GetAccessFlags()) { in VerifyMethods()
831 orig_method->GetAccessFlags(), in VerifyMethods()
832 output_method->GetAccessFlags()); in VerifyMethods()
Ddexlayout.cc631 class_def->GetAccessFlags(), class_def->GetAccessFlags()); in DumpClassDef()
1358 if (options_.exports_only_ && (class_def->GetAccessFlags() & kAccPublic) == 0) { in DumpClass()
1411 char* access_str = CreateAccessFlagStr(class_def->GetAccessFlags(), kAccessForClass); in DumpClass()
1420 class_def->GetAccessFlags(), access_str); in DumpClass()
1433 QuotedBool((class_def->GetAccessFlags() & kAccInterface) != 0)); in DumpClass()
1435 QuotedBool((class_def->GetAccessFlags() & kAccAbstract) != 0)); in DumpClass()
1436 fprintf(out_file_, " static=%s\n", QuotedBool((class_def->GetAccessFlags() & kAccStatic) != 0)); in DumpClass()
1437 fprintf(out_file_, " final=%s\n", QuotedBool((class_def->GetAccessFlags() & kAccFinal) != 0)); in DumpClass()
1439 fprintf(out_file_, " visibility=%s\n", QuotedVisibility(class_def->GetAccessFlags())); in DumpClass()
1469 (*static_fields)[i].GetAccessFlags(), in DumpClass()
[all …]
/art/compiler/driver/
Ddex_compilation_unit.h83 uint32_t GetAccessFlags() const { in GetAccessFlags() function
/art/dex2oat/
Dverifier_deps_test.cc176 method.GetAccessFlags(), in VerifyMethod()
313 std::string actual_access_flags = PrettyJavaAccessFlags(entry.GetAccessFlags()); in HasClass()
359 std::string actual_access_flags = PrettyJavaAccessFlags(entry.GetAccessFlags()); in HasField()
411 std::string actual_access_flags = PrettyJavaAccessFlags(entry.GetAccessFlags()); in HasMethod()
1301 entry.GetDexTypeIndex(), entry.GetAccessFlags() - 1)); in TEST_F()
1339 entry.GetAccessFlags() - 1, in TEST_F()
1352 entry.GetAccessFlags(), in TEST_F()
1394 entry.GetAccessFlags() - 1, in TEST_F()
1408 entry.GetAccessFlags(), in TEST_F()
/art/compiler/
Dcommon_compiler_test.cc201 compiled_method = compiler->JniCompile(method->GetAccessFlags(), in CompileMethod()
210 method->GetAccessFlags(), in CompileMethod()
/art/openjdkjvmti/
Dti_field.cc243 uint32_t modifiers = art_field->GetAccessFlags() & 0xFFFF; in GetFieldModifiers()
265 uint32_t modifiers = art_field->GetAccessFlags(); in IsFieldSynthetic()
Dti_breakpoint.cc126 << "Flags are: 0x" << std::hex << m->GetAccessFlags(); in Breakpoint()
/art/tools/hiddenapi/
Dhiddenapi.cc146 uint32_t GetAccessFlags() const { return GetClassDef().access_flags_; } in GetAccessFlags() function in art::hiddenapi::DexClass
147 bool HasAccessFlags(uint32_t mask) const { return (GetAccessFlags() & mask) == mask; } in HasAccessFlags()
199 inline uint32_t GetAccessFlags() const { return item_.GetAccessFlags(); } in GetAccessFlags() function in art::hiddenapi::DexMember
200 inline bool HasAccessFlags(uint32_t mask) const { return (GetAccessFlags() & mask) == mask; } in HasAccessFlags()
/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()
641 uint32_t modifiers = m.GetAccessFlags(); in Class_getDeclaredMethodsUnchecked()
656 uint32_t modifiers = m.GetAccessFlags(); in Class_getDeclaredMethodsUnchecked()
952 constructor->GetAccessFlags(), in Class_newInstance()
Djava_lang_reflect_Field.cc51 PrettyJavaAccessFlags(field->GetAccessFlags()).c_str(), in VerifyFieldAccess()
61 field->GetAccessFlags(), in VerifyFieldAccess()
67 PrettyJavaAccessFlags(field->GetAccessFlags()).c_str(), in VerifyFieldAccess()
/art/dexlist/
Ddexlist.cc149 method.GetAccessFlags(), in dumpClass()
/art/profman/
Dboot_image_profile.cc134 uint32_t flags = it.GetAccessFlags(); in MaybeIsClassClean()

123