Searched refs:jstr (Results 1 – 3 of 3) sorted by relevance
406 jstring jstr = (jstring)env->GetObjectField(metadata, field_mediaId); in getSongInfoFromJavaObj() local407 if (jstr != nullptr) { in getSongInfoFromJavaObj()408 const char* value = env->GetStringUTFChars(jstr, nullptr); in getSongInfoFromJavaObj()410 env->ReleaseStringUTFChars(jstr, value); in getSongInfoFromJavaObj()411 env->DeleteLocalRef(jstr); in getSongInfoFromJavaObj()414 jstr = (jstring)env->GetObjectField(metadata, field_title); in getSongInfoFromJavaObj()415 if (jstr != nullptr) { in getSongInfoFromJavaObj()416 const char* value = env->GetStringUTFChars(jstr, nullptr); in getSongInfoFromJavaObj()419 env->ReleaseStringUTFChars(jstr, value); in getSongInfoFromJavaObj()420 env->DeleteLocalRef(jstr); in getSongInfoFromJavaObj()[all …]
59 static std::string JStringToString(JNIEnv *env, jstring jstr) { in JStringToString() argument60 if (jstr == nullptr) { in JStringToString()63 const char *cstring = env->GetStringUTFChars(jstr, nullptr); in JStringToString()66 env->ReleaseStringUTFChars(jstr, cstring); in JStringToString()
1dictionary=main:lv,locale=lv,description=Latviešu,date=1393228136, ...