/frameworks/base/services/jni/ |
H A D | com_android_server_SerialService.cpp | 39 const char *pathStr = env->GetStringUTFChars(path, NULL); local 41 int fd = open(pathStr, O_RDWR | O_NOCTTY); 43 ALOGE("could not open %s", pathStr); 44 env->ReleaseStringUTFChars(path, pathStr); 47 env->ReleaseStringUTFChars(path, pathStr);
|
/frameworks/base/core/jni/ |
H A D | android_server_Watchdog.cpp | 55 static void dumpKernelStacks(JNIEnv* env, jobject clazz, jstring pathStr) { argument 60 if (!pathStr) { 65 const char *path = env->GetStringUTFChars(pathStr, NULL); 97 env->ReleaseStringUTFChars(pathStr, path);
|
H A D | android_os_FileUtils.cpp | 64 const char *pathStr = env->GetStringUTFChars(path, NULL); local 68 int fd = open(pathStr, O_RDONLY); 75 env->ReleaseStringUTFChars(path, pathStr);
|
H A D | android_media_JetPlayer.cpp | 141 const char *pathStr = env->GetStringUTFChars(path, NULL); local 142 if (pathStr == NULL) { // Out of memory 147 ALOGV("android_media_JetPlayer_openFile(): trying to open %s", pathStr ); 148 EAS_RESULT result = lpJet->loadFromFile(pathStr); 149 env->ReleaseStringUTFChars(path, pathStr);
|
H A D | android_app_NativeActivity.cpp | 609 const char* pathStr = env->GetStringUTFChars(path, NULL); local 612 void* handle = dlopen(pathStr, RTLD_LAZY); 614 env->ReleaseStringUTFChars(path, pathStr);
|
H A D | android_database_SQLiteConnection.cpp | 111 static jint nativeOpen(JNIEnv* env, jclass clazz, jstring pathStr, jint openFlags, argument 122 const char* pathChars = env->GetStringUTFChars(pathStr, NULL); 124 env->ReleaseStringUTFChars(pathStr, pathChars);
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaScanner.cpp | 106 jstring pathStr; local 107 if ((pathStr = mEnv->NewStringUTF(path)) == NULL) { 112 mEnv->CallVoidMethod(mClient, mScanFileMethodID, pathStr, lastModified, 115 mEnv->DeleteLocalRef(pathStr); 209 const char *pathStr = env->GetStringUTFChars(path, NULL); local 210 if (pathStr == NULL) { // Out of memory 215 MediaScanResult result = mp->processDirectory(pathStr, myClient); 217 ALOGE("An error occurred while scanning directory '%s'.", pathStr); 219 env->ReleaseStringUTFChars(path, pathStr); 241 const char *pathStr local [all...] |
H A D | android_mtp_MtpServer.cpp | 134 const char *pathStr = env->GetStringUTFChars(path, NULL); local 135 if (pathStr != NULL) { 138 MtpStorage* storage = new MtpStorage(storageID, pathStr, descriptionStr, 141 env->ReleaseStringUTFChars(path, pathStr); 144 env->ReleaseStringUTFChars(path, pathStr);
|
H A D | android_media_MediaMetadataRetriever.cpp | 108 String8 pathStr(tmp); 113 if (strncmp("mem://", pathStr.string(), 6) == 0) { 128 pathStr.string(), headersVector.size() > 0 ? &headersVector : NULL),
|
H A D | android_mtp_MtpDatabase.cpp | 227 jstring pathStr = env->NewStringUTF(path); local 229 pathStr, (jint)format, (jint)parent, (jint)storage, 232 if (pathStr) 233 env->DeleteLocalRef(pathStr); 241 jstring pathStr = env->NewStringUTF(path); local 242 env->CallVoidMethod(mDatabase, method_endSendObject, pathStr, 245 if (pathStr) 246 env->DeleteLocalRef(pathStr);
|
H A D | android_media_MediaPlayer.cpp | 200 String8 pathStr(tmp); 213 pathStr,
|