Home | History | Annotate | Download | only in vm

Lines Matching full:jobj

279      * object type, "jobj" is the object we're trying to assign into it.
283 void checkFieldTypeForSet(jobject jobj, jfieldID fieldID, PrimitiveType prim, bool isStatic) {
292 if ((field->signature[0] == 'L' || field->signature[0] == '[') && jobj != NULL) {
294 Object* obj = dvmDecodeIndirectRef(self(), jobj);
296 * If jobj is a weak global ref whose referent has been cleared,
302 mFunctionName, indirectRefKindName(jobj), jobj);
339 * Assumes "jobj" has already been validated.
341 void checkInstanceFieldID(jobject jobj, jfieldID fieldID) {
344 Object* obj = dvmDecodeIndirectRef(self(), jobj);
346 ALOGW("JNI ERROR: %s on invalid reference (%p)", mFunctionName, jobj);
452 * Verify that "methodID" is appropriate for "jobj".
458 void checkVirtualMethod(jobject jobj, jmethodID methodID) {
461 Object* obj = dvmDecodeIndirectRef(self(), jobj);
778 * Verify that "jobj" is a valid object, and that it's an object that JNI
783 void checkObject(jobject jobj) {
784 if (jobj == NULL) {
791 if (dvmGetJNIRefType(self(), jobj) == JNIInvalidRefType) {
792 ALOGW("JNI WARNING: %p is not a valid JNI reference (%s)", jobj, mFunctionName);
795 Object* obj = dvmDecodeIndirectRef(self(), jobj);
798 jobj, mFunctionName);
803 jobj, obj, mFunctionName);
952 * Verify that "jobj" is a valid non-NULL object reference, and points to
958 void checkInstance(jobject jobj, ClassObject* expectedClass, const char* argName) {
959 if (jobj == NULL) {
969 Object* obj = dvmDecodeIndirectRef(self(), jobj);
972 argName, indirectRefKindName(jobj), jobj, mFunctionName);