Home
last modified time | relevance | path

Searched refs:member (Results 1 – 22 of 22) sorted by relevance

/art/tools/class2greylist/src/com/android/class2greylist/
DAnnotatedMemberContext.java30 public final FieldOrMethod member; field in AnnotatedMemberContext
36 FieldOrMethod member, in AnnotatedMemberContext() argument
39 this.member = member; in AnnotatedMemberContext()
46 getClassDescriptor(), member.getName(), member.getSignature()); in getMemberDescriptor()
54 definingClass.getClassName(), member.getName()) in reportError()
DAnnotationVisitor.java75 private void visitMember(FieldOrMethod member, String signatureFormatString) { in visitMember() argument
76 mStatus.debug("Visit member %s : %s", member.getName(), member.getSignature()); in visitMember()
78 (JavaClass) mDescendingVisitor.predecessor(), member, in visitMember()
80 AnnotationEntry[] annotationEntries = member.getAnnotationEntries(); in visitMember()
DUnsupportedAppUsageAnnotationHandler.java70 member -> !(member.isBridgeMethod && publicApis.contains(member.signature)), in UnsupportedAppUsageAnnotationHandler()
91 FieldOrMethod member = memberContext.member; in handleAnnotation() local
92 isBridgeMethod = (member instanceof Method) && in handleAnnotation()
93 (member.getAccessFlags() & Const.ACC_BRIDGE) != 0; in handleAnnotation()
DMemberDumpingVisitor.java42 private void visitMember(FieldOrMethod member, String signatureFormatString) { in visitMember() argument
44 (JavaClass) mDescendingVisitor.predecessor(), member, in visitMember()
DCovariantReturnTypeHandler.java58 if (!(context.member instanceof Method)) { in handleAnnotation()
74 String typeSignature = context.member.getSignature(); in handleAnnotation()
83 context.getClassDescriptor(), context.member.getName(), typeSignature); in handleAnnotation()
/art/runtime/
Dhidden_api.h215 uint32_t GetDexFlags(T* member) REQUIRES_SHARED(Locks::mutator_lock_);
220 bool HandleCorePlatformApiViolation(T* member,
227 bool ShouldDenyAccessToMemberImpl(T* member, ApiList api_list, AccessMethod access_method)
262 ALWAYS_INLINE inline uint32_t CreateRuntimeFlags(const ClassAccessor::BaseItem& member) { in CreateRuntimeFlags() argument
263 return detail::CreateRuntimeFlags_Impl(member.GetHiddenapiFlags()); in CreateRuntimeFlags()
268 ALWAYS_INLINE inline uint32_t CreateRuntimeFlags(T* member) REQUIRES_SHARED(Locks::mutator_lock_) { in CreateRuntimeFlags() argument
269 return detail::CreateRuntimeFlags_Impl(detail::GetDexFlags(member)); in CreateRuntimeFlags()
395 inline bool ShouldDenyAccessToMember(T* member, in ShouldDenyAccessToMember() argument
399 DCHECK(member != nullptr); in ShouldDenyAccessToMember()
404 const uint32_t runtime_flags = GetRuntimeFlags(member); in ShouldDenyAccessToMember()
[all …]
Dhidden_api.cc349 static ALWAYS_INLINE void MaybeUpdateAccessFlags(Runtime* runtime, T* member, uint32_t flag) in MaybeUpdateAccessFlags() argument
355 if (CanUpdateRuntimeFlags(member) && in MaybeUpdateAccessFlags()
358 member->SetAccessFlags(member->GetAccessFlags() | flag); in MaybeUpdateAccessFlags()
388 uint32_t GetDexFlags(T* member) REQUIRES_SHARED(Locks::mutator_lock_) { in GetDexFlags() argument
394 ObjPtr<mirror::Class> declaring_class = member->GetDeclaringClass(); in GetDexFlags()
417 uint32_t member_index = GetMemberDexIndex(member); in GetDexFlags()
435 MemberSignature member_signature(member); in GetDexFlags()
447 << Dumpable<MemberSignature>(MemberSignature(member)); in GetDexFlags()
452 bool HandleCorePlatformApiViolation(T* member, in HandleCorePlatformApiViolation() argument
461 << Dumpable<MemberSignature>(MemberSignature(member)) in HandleCorePlatformApiViolation()
[all …]
/art/test/031-class-attributes/
Dexpected.txt37member classes: [3] class ClassAttrs$PublicInnerClass, class ClassAttrs$PublicMemberClass, interfa…
63 member classes: [0]
89 member classes: [0]
115 member classes: [0]
141 member classes: [0]
167 member classes: [0]
193 member classes: [0]
219member classes: [2] class java.util.AbstractMap$SimpleEntry, class java.util.AbstractMap$SimpleImm…
/art/test/485-checker-dce-loop-update/
Dinfo.txt2 live blocks outside the loop they had been a member of.
/art/tools/hiddenapi/
Dhiddenapi.cc412 auto compare_member = [&](const DexMember& member) { in ForEachMatchingMember() argument
414 if (member == other) { in ForEachMatchingMember()
416 fn(member); in ForEachMatchingMember()
460 bool IsMemberVisible(const DexMember& member) { in IsMemberVisible() argument
461 if (!member.IsPublicOrProtected()) { in IsMemberVisible()
464 } else if (member.GetDeclaringClass().IsPublic()) { in IsMemberVisible()
467 } else if (member.IsConstructor()) { in IsMemberVisible()
477 HierarchyClass* klass = FindClass(member.GetDeclaringClass().GetDescriptor()); in IsMemberVisible()
480 klass->ForEachSubClass([&visible, &member](HierarchyClass* subclass) { in IsMemberVisible()
481 if (subclass->HasMatchingMember(member)) { in IsMemberVisible()
[all …]
DREADME.md40 Second bit is encoded differently for each given type of class member as there
/art/sigchainlib/
Dsigchain_test.cc47 static int sigismember64(sigset64_t* set, int member) { in sigismember64() argument
48 return sigismember(set, member); in sigismember64()
/art/test/031-class-attributes/jasmin/
DClassAttrs$1.j33 .inner class static inner ClassAttrs$1 ; <anonymous> <not a member>
/art/runtime/native/
Djava_lang_Class.cc140 ALWAYS_INLINE static bool ShouldDenyAccessToMember(T* member, Thread* self) in ShouldDenyAccessToMember() argument
142 return hiddenapi::ShouldDenyAccessToMember(member, in ShouldDenyAccessToMember()
154 T* member) in IsDiscoverable() argument
156 if (public_only && ((member->GetAccessFlags() & kAccPublic) == 0)) { in IsDiscoverable()
161 member, access_context, hiddenapi::AccessMethod::kNone); in IsDiscoverable()
/art/tools/class2greylist/test/src/com/android/class2greylist/
DUnsupportedAppUsageAnnotationHandlerTest.java463 member -> !member.isBridgeMethod, // exclude bridge methods in testVolatileField()
/art/dexdump/
Ddexdump.cc1673 const char* member; in dumpMethodHandle() local
1679 member = pDexFile->GetMethodName(method_id); in dumpMethodHandle()
1684 member = pDexFile->GetFieldName(field_id); in dumpMethodHandle()
1693 member = "?"; in dumpMethodHandle()
1700 fprintf(gOutFile, " target : %s %s\n", declaring_class, member); in dumpMethodHandle()
1706 fprintf(gOutFile, " target_member=\"%s\"\n", member); in dumpMethodHandle()
/art/runtime/interpreter/mterp/
DREADME.txt46 values, structure sizes, and struct member offsets. The format is fairly
/art/build/
DAndroid.bp53 "-modernize-use-default-member-init",
/art/libdexfile/dex/
Ddex_file_verifier.cc1918 auto fn_member = [&](const ClassAccessor::BaseItem& member, const char* member_type) { in CheckIntraHiddenapiClassData() argument
1925 ptr_, data_end, member_type, member.GetIndex()); in CheckIntraHiddenapiClassData()
1931 decoded_flags, member_type, member.GetIndex()); in CheckIntraHiddenapiClassData()
/art/runtime/interpreter/
Dunstarted_runtime.cc195 static ALWAYS_INLINE bool ShouldDenyAccessToMember(T* member, ShadowFrame* frame) in ShouldDenyAccessToMember() argument
199 return hiddenapi::ShouldDenyAccessToMember(member, in ShouldDenyAccessToMember()
/art/runtime/jni/
Djni_internal.cc88 ALWAYS_INLINE static bool ShouldDenyAccessToMember(T* member, Thread* self) in ShouldDenyAccessToMember() argument
91 member, in ShouldDenyAccessToMember()
/art/test/
DAndroid.bp964 // to export as a member of a module_exports.