Home
last modified time | relevance | path

Searched refs:GetAccessFlags (Results 1 – 25 of 53) 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.h51 uint32_t GetAccessFlags() const { in GetAccessFlags() function
60 return (GetAccessFlags() & kAccFinal) != 0; in IsFinal()
72 return GetAccessFlags() & kAccNative; in MemberIsNative()
76 return GetAccessFlags() & kAccFinal; in MemberIsFinal()
124 return (GetAccessFlags() & kAccStatic) != 0 ? kStatic : kDirect; in GetDirectMethodInvokeType()
128 DCHECK_EQ(GetAccessFlags() & kAccStatic, 0U); in GetVirtualMethodInvokeType()
131 } else if ((GetAccessFlags() & kAccConstructor) != 0) { in GetVirtualMethodInvokeType()
/art/runtime/
Dart_method.h111 uint32_t GetAccessFlags() { in GetAccessFlags() function
131 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic()
136 return (GetAccessFlags() & kAccPrivate) != 0; in IsPrivate()
141 return (GetAccessFlags() & kAccStatic) != 0; in IsStatic()
146 return (GetAccessFlags() & kAccConstructor) != 0; in IsConstructor()
156 return IsDirect(GetAccessFlags()); in IsDirect()
167 return (GetAccessFlags() & synchonized) != 0; in IsSynchronized()
171 return (GetAccessFlags() & kAccFinal) != 0; in IsFinal()
175 return (GetAccessFlags() & kAccIntrinsic) != 0; in IsIntrinsic()
187 return (GetAccessFlags() & kAccIntrinsicBits) >> kAccFlagsShift; in GetIntrinsic()
[all …]
Dart_field.h55 uint32_t GetAccessFlags() REQUIRES_SHARED(Locks::mutator_lock_) { in GetAccessFlags() function
68 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic()
72 return (GetAccessFlags() & kAccStatic) != 0; in IsStatic()
76 return (GetAccessFlags() & kAccFinal) != 0; in IsFinal()
180 return (GetAccessFlags() & kAccVolatile) != 0; in IsVolatile()
Dart_method.cc695 uint32_t new_value = (GetAccessFlags() & ~kAccIntrinsicBits) | kAccIntrinsic | intrinsic_bits; in SetIntrinsic()
697 uint32_t java_flags = (GetAccessFlags() & kAccJavaFlagsMask); in SetIntrinsic()
713 DCHECK_EQ(java_flags, (GetAccessFlags() & kAccJavaFlagsMask)); in SetIntrinsic()
748 SetAccessFlags(GetAccessFlags() | hiddenapi_runtime_flags); in SetNotIntrinsic()
Dhidden_api.h270 return field->GetAccessFlags() & kAccHiddenapiBits; in GetRuntimeFlags()
365 return method->GetAccessFlags() & kAccHiddenapiBits; in GetRuntimeFlags()
/art/runtime/mirror/
Dfield.h47 uint32_t GetAccessFlags() REQUIRES_SHARED(Locks::mutator_lock_) { in GetAccessFlags() function
52 return (GetAccessFlags() & kAccStatic) != 0; in IsStatic()
56 return (GetAccessFlags() & kAccFinal) != 0; in IsFinal()
60 return (GetAccessFlags() & kAccVolatile) != 0; in IsVolatile()
Dexecutable.cc32 SetField32<kTransactionActive>(AccessFlagsOffset(), method->GetAccessFlags()); in CreateFromArtMethod()
Dclass.h178 ALWAYS_INLINE uint32_t GetAccessFlags() REQUIRES_SHARED(Locks::mutator_lock_) { in GetAccessFlags() function
199 return (GetAccessFlags() & kAccEnum) != 0; in IsEnum()
205 return (GetAccessFlags<kVerifyFlags>() & kAccInterface) != 0; in IsInterface()
210 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic()
215 return (GetAccessFlags() & kAccFinal) != 0; in IsFinal()
219 return (GetAccessFlags() & kAccClassIsFinalizable) != 0; in IsFinalizable()
223 return (GetAccessFlags() & kAccSkipHiddenapiChecks) != 0; in ShouldSkipHiddenApiChecks()
227 uint32_t flags = GetAccessFlags(); in SetSkipHiddenApiChecks()
270 return (GetAccessFlags<kVerifyFlags>() & kAccAbstract) != 0; in IsAbstract()
275 return (GetAccessFlags() & kAccAnnotation) != 0; in IsAnnotation()
[all …]
Dfield-inl.h91 ret->SetAccessFlags<kTransactionActive>(field->GetAccessFlags()); in CreateFromArtField()
/art/runtime/verifier/
Dverifier_deps.h164 bool IsResolved() const { return GetAccessFlags() != kUnresolvedMarker; } in IsResolved()
166 uint16_t GetAccessFlags() const { return std::get<1>(*this); } in GetAccessFlags() function
176 bool IsResolved() const { return GetAccessFlags() != kUnresolvedMarker; } in IsResolved()
178 uint16_t GetAccessFlags() const { return std::get<1>(*this); } in GetAccessFlags() function
191 bool IsResolved() const { return GetAccessFlags() != kUnresolvedMarker; } in IsResolved()
193 uint16_t GetAccessFlags() const { return std::get<1>(*this); } in GetAccessFlags() function
280 static uint16_t GetAccessFlags(Ptr element)
Dverifier_deps.cc98 uint16_t VerifierDeps::GetAccessFlags(Ptr element) { in GetAccessFlags() function in art::verifier::VerifierDeps
103 uint16_t access_flags = Low16Bits(element->GetAccessFlags()) & kAccVdexAccessFlags; in GetAccessFlags()
310 dex_deps->classes_.emplace(ClassResolution(type_idx, GetAccessFlags(klass))); in AddClassResolution()
329 GetAccessFlags(field), in AddFieldResolution()
351 GetAccessFlags(method), in AddMethodResolution()
866 << " with access flags " << std::hex << entry.GetAccessFlags() << std::dec in Dump()
883 << ", and have the access flags " << std::hex << entry.GetAccessFlags() << std::dec in Dump()
901 << ", have the access flags " << std::hex << method.GetAccessFlags() << std::dec in Dump()
998 } else if (entry.GetAccessFlags() != GetAccessFlags(cls.Get())) { in VerifyClasses()
1000 + " (expected=" + ToHex(entry.GetAccessFlags()) in VerifyClasses()
[all …]
Dclass_verifier.cc150 method.GetAccessFlags(), in VerifyClass()
/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.cc630 class_def->GetAccessFlags(), class_def->GetAccessFlags()); in DumpClassDef()
1354 if (options_.exports_only_ && (class_def->GetAccessFlags() & kAccPublic) == 0) { in DumpClass()
1407 char* access_str = CreateAccessFlagStr(class_def->GetAccessFlags(), kAccessForClass); in DumpClass()
1416 class_def->GetAccessFlags(), access_str); in DumpClass()
1429 QuotedBool((class_def->GetAccessFlags() & kAccInterface) != 0)); in DumpClass()
1431 QuotedBool((class_def->GetAccessFlags() & kAccAbstract) != 0)); in DumpClass()
1432 fprintf(out_file_, " static=%s\n", QuotedBool((class_def->GetAccessFlags() & kAccStatic) != 0)); in DumpClass()
1433 fprintf(out_file_, " final=%s\n", QuotedBool((class_def->GetAccessFlags() & kAccFinal) != 0)); in DumpClass()
1435 fprintf(out_file_, " visibility=%s\n", QuotedVisibility(class_def->GetAccessFlags())); in DumpClass()
1465 (*static_fields)[i].GetAccessFlags(), in DumpClass()
[all …]
/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()
1295 entry.GetDexTypeIndex(), entry.GetAccessFlags() - 1)); in TEST_F()
1333 entry.GetAccessFlags() - 1, in TEST_F()
1346 entry.GetAccessFlags(), in TEST_F()
1388 entry.GetAccessFlags() - 1, in TEST_F()
1402 entry.GetAccessFlags(), in TEST_F()
/art/compiler/driver/
Ddex_compilation_unit.h83 uint32_t GetAccessFlags() const { in GetAccessFlags() function
/art/openjdkjvmti/
Dti_field.cc162 uint32_t modifiers = art_field->GetAccessFlags() & 0xFFFF; in GetFieldModifiers()
184 uint32_t modifiers = art_field->GetAccessFlags(); in IsFieldSynthetic()
Dti_breakpoint.cc63 << "Flags are: 0x" << std::hex << m->GetAccessFlags(); in Breakpoint()
/art/profman/
Dboot_image_profile.cc82 const uint32_t flags = method.GetAccessFlags(); in GenerateBootImageProfile()
/art/compiler/
Dcommon_compiler_test.cc188 compiled_method = compiler->JniCompile(method->GetAccessFlags(), in CompileMethod()
197 method->GetAccessFlags(), in CompileMethod()
/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()
586 uint32_t modifiers = m.GetAccessFlags(); in Class_getDeclaredMethodsUnchecked()
601 uint32_t modifiers = m.GetAccessFlags(); in Class_getDeclaredMethodsUnchecked()
846 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/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 uint32_t HasAccessFlags(uint32_t mask) const { return (GetAccessFlags() & mask) == mask; } in HasAccessFlags()
/art/dexlist/
Ddexlist.cc149 method.GetAccessFlags(), in dumpClass()

123