Lines Matching refs:pathStr
154 jstring pathStr; in scanFile() local
155 if ((pathStr = mEnv->NewStringUTF(path)) == NULL) { in scanFile()
160 mEnv->CallVoidMethod(mClient, mScanFileMethodID, pathStr, lastModified, in scanFile()
163 mEnv->DeleteLocalRef(pathStr); in scanFile()
254 const char *pathStr = env->GetStringUTFChars(path, NULL); in android_media_MediaScanner_processDirectory() local
255 if (pathStr == NULL) { // Out of memory in android_media_MediaScanner_processDirectory()
260 MediaScanResult result = mp->processDirectory(pathStr, myClient); in android_media_MediaScanner_processDirectory()
262 ALOGE("An error occurred while scanning directory '%s'.", pathStr); in android_media_MediaScanner_processDirectory()
264 env->ReleaseStringUTFChars(path, pathStr); in android_media_MediaScanner_processDirectory()
286 const char *pathStr = env->GetStringUTFChars(path, NULL); in android_media_MediaScanner_processFile() local
287 if (pathStr == NULL) { // Out of memory in android_media_MediaScanner_processFile()
295 env->ReleaseStringUTFChars(path, pathStr); in android_media_MediaScanner_processFile()
300 MediaScanResult result = mp->processFile(pathStr, mimeTypeStr, myClient); in android_media_MediaScanner_processFile()
302 ALOGE("An error occurred while scanning file '%s'.", pathStr); in android_media_MediaScanner_processFile()
304 env->ReleaseStringUTFChars(path, pathStr); in android_media_MediaScanner_processFile()