Home
last modified time | relevance | path

Searched refs:valueStr (Results 1 – 8 of 8) 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_Streams.cpp137 const char* valueStr = env->GetStringUTFChars(value, NULL); in ConvertKeyValueArraysToKeyedVector() local
138 if (!valueStr) { // OutOfMemoryError in ConvertKeyValueArraysToKeyedVector()
143 keyedVector->add(String8(keyStr), String8(valueStr)); in ConvertKeyValueArraysToKeyedVector()
146 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/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/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java187 String valueStr = parentShell.getNextArgRequired(); in onCommand() local
188 if (VDBG) Log.v(TAG, "onCommand: valueStr='" + valueStr + "'"); in onCommand()
191 value = Integer.valueOf(valueStr); in onCommand()
193 pw.println("Can't convert value to integer -- '" + valueStr + "'"); in onCommand()
202 String valueStr = parentShell.getNextArgRequired(); in onCommand() local
206 + valueStr + "'"); in onCommand()
220 value = Integer.valueOf(valueStr); in onCommand()
222 pw.println("Can't convert value to integer -- '" + valueStr + "'"); in onCommand()
DWifiAwareStateManager.java282 String valueStr = parentShell.getNextArgRequired(); in onCommand() local
285 value = Integer.valueOf(valueStr); in onCommand()
287 pw_err.println("Can't convert value to integer -- '" + valueStr + "'"); in onCommand()
/frameworks/base/core/java/com/android/server/
DBootReceiver.java495 private static void logTronShutdownMetric(String metricName, String valueStr) { in logTronShutdownMetric() argument
498 value = Integer.parseInt(valueStr); in logTronShutdownMetric()
500 Slog.e(TAG, "Cannot parse metric " + metricName + " int value - " + valueStr); in logTronShutdownMetric()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttServiceImpl.java154 String valueStr = getNextArgRequired(); in onCommand() local
162 mControlParams.put(name, Integer.valueOf(valueStr)); in onCommand()
165 pw.println("Can't convert value to integer -- '" + valueStr + "'"); in onCommand()