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