Lines Matching refs:mEnv
114 : mEnv(env), in MyMediaScannerClient()
147 mEnv->DeleteGlobalRef(mClient); in ~MyMediaScannerClient()
157 if ((pathStr = mEnv->NewStringUTF(path)) == NULL) { in scanFile()
158 mEnv->ExceptionClear(); in scanFile()
162 mEnv->CallVoidMethod(mClient, mScanFileMethodID, pathStr, lastModified, in scanFile()
165 mEnv->DeleteLocalRef(pathStr); in scanFile()
166 return checkAndClearExceptionFromCallback(mEnv, "scanFile"); in scanFile()
173 if ((nameStr = mEnv->NewStringUTF(name)) == NULL) { in handleStringTag()
174 mEnv->ExceptionClear(); in handleStringTag()
190 valueStr = mEnv->NewStringUTF(value); in handleStringTag()
193 mEnv->DeleteLocalRef(nameStr); in handleStringTag()
194 mEnv->ExceptionClear(); in handleStringTag()
198 mEnv->CallVoidMethod( in handleStringTag()
201 mEnv->DeleteLocalRef(nameStr); in handleStringTag()
202 mEnv->DeleteLocalRef(valueStr); in handleStringTag()
203 return checkAndClearExceptionFromCallback(mEnv, "handleStringTag"); in handleStringTag()
210 if ((mimeTypeStr = mEnv->NewStringUTF(mimeType)) == NULL) { in setMimeType()
211 mEnv->ExceptionClear(); in setMimeType()
215 mEnv->CallVoidMethod(mClient, mSetMimeTypeMethodID, mimeTypeStr); in setMimeType()
217 mEnv->DeleteLocalRef(mimeTypeStr); in setMimeType()
218 return checkAndClearExceptionFromCallback(mEnv, "setMimeType"); in setMimeType()
222 JNIEnv *mEnv; member in MyMediaScannerClient