Home
last modified time | relevance | path

Searched refs:fid (Results 1 – 5 of 5) sorted by relevance

/art/runtime/
Djni_internal.h38 static inline ArtField* DecodeArtField(jfieldID fid) { in DecodeArtField() argument
39 return reinterpret_cast<ArtField*>(fid); in DecodeArtField()
Dcheck_jni.cc340 bool CheckInstanceFieldID(ScopedObjectAccess& soa, jobject java_object, jfieldID fid) in CheckInstanceFieldID() argument
355 ArtField* f = CheckFieldID(fid); in CheckInstanceFieldID()
432 bool CheckStaticFieldID(ScopedObjectAccess& soa, jclass java_class, jfieldID fid) in CheckStaticFieldID() argument
435 ArtField* f = CheckFieldID(fid); in CheckStaticFieldID()
440 AbortF("static jfieldID %p not valid for class %s", fid, in CheckStaticFieldID()
745 bool CheckFieldAccess(ScopedObjectAccess& soa, jobject obj, jfieldID fid, bool is_static, in CheckFieldAccess() argument
748 if (is_static && !CheckStaticFieldID(soa, down_cast<jclass>(obj), fid)) { in CheckFieldAccess()
751 if (!is_static && !CheckInstanceFieldID(soa, obj, fid)) { in CheckFieldAccess()
754 ArtField* field = jni::DecodeArtField(fid); in CheckFieldAccess()
758 field->IsStatic() ? "static" : "non-static", field->PrettyField().c_str(), fid); in CheckFieldAccess()
[all …]
Djni_internal.cc509 static jobject ToReflectedField(JNIEnv* env, jclass, jfieldID fid, jboolean) { in ToReflectedField() argument
510 CHECK_NON_NULL_ARGUMENT(fid); in ToReflectedField()
512 ArtField* f = jni::DecodeArtField(fid); in ToReflectedField()
1343 static jobject GetObjectField(JNIEnv* env, jobject obj, jfieldID fid) { in GetObjectField() argument
1345 CHECK_NON_NULL_ARGUMENT(fid); in GetObjectField()
1347 ArtField* f = jni::DecodeArtField(fid); in GetObjectField()
1353 static jobject GetStaticObjectField(JNIEnv* env, jclass, jfieldID fid) { in GetStaticObjectField() argument
1354 CHECK_NON_NULL_ARGUMENT(fid); in GetStaticObjectField()
1356 ArtField* f = jni::DecodeArtField(fid); in GetStaticObjectField()
1361 static void SetObjectField(JNIEnv* env, jobject java_object, jfieldID fid, jobject java_value) { in SetObjectField() argument
[all …]
Dwell_known_classes.cc176 jfieldID fid = is_static ? env->GetStaticFieldID(c, name, signature) : in CacheField() local
178 if (fid == nullptr) { in CacheField()
188 return fid; in CacheField()
/art/tools/hiddenapi/
Dhiddenapi.cc145 const DexFile::FieldId& fid = GetFieldId(); in GetApiEntry() local
146 ss << klass_.GetDexFile().GetFieldName(fid) << ":" in GetApiEntry()
147 << klass_.GetDexFile().GetFieldTypeDescriptor(fid); in GetApiEntry()