Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DChildZygoteInit.java57 String valueStr = arg.substring(arg.indexOf('=') + 1); in parseIntFromArg() local
59 value = Integer.parseInt(valueStr); in parseIntFromArg()
62 + valueStr, e); in parseIntFromArg()
/frameworks/base/media/jni/
Dandroid_media_MediaScanner.cpp172 jstring nameStr, valueStr; in handleStringTag() local
190 valueStr = mEnv->NewStringUTF(value); in handleStringTag()
192 if (valueStr == NULL) { in handleStringTag()
199 mClient, mHandleStringTagMethodID, nameStr, valueStr); in handleStringTag()
202 mEnv->DeleteLocalRef(valueStr); in handleStringTag()
Dandroid_media_Streams.cpp198 const char* valueStr = env->GetStringUTFChars(value, NULL); in ConvertKeyValueArraysToKeyedVector() local
199 if (!valueStr) { // OutOfMemoryError in ConvertKeyValueArraysToKeyedVector()
204 keyedVector->add(String8(keyStr), String8(valueStr)); in ConvertKeyValueArraysToKeyedVector()
207 env->ReleaseStringUTFChars(value, valueStr); in ConvertKeyValueArraysToKeyedVector()
Dandroid_mtp_MtpDatabase.cpp708 const char *valueStr = (value ? env->GetStringUTFChars(value, NULL) : NULL); in getObjectPropertyList() local
709 if (valueStr) { in getObjectPropertyList()
710 packet.putString(valueStr); in getObjectPropertyList()
711 env->ReleaseStringUTFChars(value, valueStr); in getObjectPropertyList()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java165 String valueStr = parentShell.getNextArgRequired(); in onCommand() local
166 if (VDBG) Log.v(TAG, "onCommand: valueStr='" + valueStr + "'"); in onCommand()
169 value = Integer.valueOf(valueStr); in onCommand()
171 pw.println("Can't convert value to integer -- '" + valueStr + "'"); in onCommand()
180 String valueStr = parentShell.getNextArgRequired(); in onCommand() local
184 + valueStr + "'"); in onCommand()
198 value = Integer.valueOf(valueStr); in onCommand()
200 pw.println("Can't convert value to integer -- '" + valueStr + "'"); in onCommand()
DWifiAwareStateManager.java275 String valueStr = parentShell.getNextArgRequired(); in onCommand() local
276 if (VDBG) Log.v(TAG, "onCommand: valueStr='" + valueStr + "'"); in onCommand()
279 value = Integer.valueOf(valueStr); in onCommand()
281 pw_err.println("Can't convert value to integer -- '" + valueStr + "'"); in onCommand()
/frameworks/base/core/jni/
Dandroid_database_CursorWindow.cpp456 const char* valueStr = env->GetStringUTFChars(valueObj, NULL); in nativePutString() local
457 if (!valueStr) { in nativePutString()
461 status_t status = window->putString(row, column, valueStr, sizeIncludingNull); in nativePutString()
462 env->ReleaseStringUTFChars(valueObj, valueStr); in nativePutString()
/frameworks/base/core/java/com/android/server/
DBootReceiver.java453 private static void logTronShutdownMetric(String metricName, String valueStr) { in logTronShutdownMetric() argument
456 value = Integer.parseInt(valueStr); in logTronShutdownMetric()
458 Slog.e(TAG, "Cannot parse metric " + metricName + " int value - " + valueStr); in logTronShutdownMetric()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttServiceImpl.java157 String valueStr = getNextArgRequired(); in onCommand() local
165 mControlParams.put(name, Integer.valueOf(valueStr)); in onCommand()
168 pw.println("Can't convert value to integer -- '" + valueStr + "'"); in onCommand()