Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_media_MediaScanner.cpp207 jstring mimeTypeStr; in setMimeType() local
208 if ((mimeTypeStr = mEnv->NewStringUTF(mimeType)) == NULL) { in setMimeType()
213 mEnv->CallVoidMethod(mClient, mSetMimeTypeMethodID, mimeTypeStr); in setMimeType()
215 mEnv->DeleteLocalRef(mimeTypeStr); in setMimeType()
291 const char *mimeTypeStr = in android_media_MediaScanner_processFile() local
293 if (mimeType && mimeTypeStr == NULL) { // Out of memory in android_media_MediaScanner_processFile()
300 MediaScanResult result = mp->processFile(pathStr, mimeTypeStr, myClient); in android_media_MediaScanner_processFile()
306 env->ReleaseStringUTFChars(mimeType, mimeTypeStr); in android_media_MediaScanner_processFile()