Searched refs:valueStr (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/com/android/internal/os/ |
D | ChildZygoteInit.java | 57 String valueStr = arg.substring(arg.indexOf('=') + 1); in parseIntFromArg() local 59 value = Integer.parseInt(valueStr); in parseIntFromArg() 62 + valueStr, e); in parseIntFromArg()
|
/frameworks/av/media/libstagefright/ |
D | VideoRenderQualityTracker.cpp | 54 std::string valueStr = (*getServerConfigurableFlagFn)("media_native", flagName, in getServerConfigurableFlag() local 56 switch (android::base::ParseBool(valueStr)) { in getServerConfigurableFlag() 61 valueStr.c_str()); in getServerConfigurableFlag() 72 std::string valueStr = (*getServerConfigurableFlagFn)("media_native", flagName, defaultStr); in getServerConfigurableFlag() local 73 if (!android::base::ParseInt(valueStr.c_str(), value) || valueStr.size() == 0) { in getServerConfigurableFlag() 75 valueStr.c_str()); in getServerConfigurableFlag() 92 std::string valueStr = (*getServerConfigurableFlagFn)("media_native", flagName, sstr.str()); in getServerConfigurableFlag() local 93 if (valueStr.size() == 0) { in getServerConfigurableFlag() 98 const char *p = valueStr.c_str(); in getServerConfigurableFlag() 99 const char *last = p + valueStr.size(); in getServerConfigurableFlag() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_Streams.cpp | 137 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()
|
D | android_mtp_MtpDatabase.cpp | 766 const char *valueStr = (value ? env->GetStringUTFChars(value, NULL) : NULL); in getObjectPropertyList() local 767 if (valueStr) { in getObjectPropertyList() 768 packet.putString(valueStr); in getObjectPropertyList() 769 env->ReleaseStringUTFChars(value, valueStr); in getObjectPropertyList()
|
/frameworks/base/core/jni/ |
D | android_database_CursorWindow.cpp | 464 const char* valueStr = env->GetStringUTFChars(valueObj, NULL); in nativePutString() local 465 if (!valueStr) { in nativePutString() 469 status_t status = window->putString(row, column, valueStr, sizeIncludingNull); in nativePutString() 470 env->ReleaseStringUTFChars(valueObj, valueStr); in nativePutString()
|
/frameworks/base/services/core/java/com/android/server/ |
D | BootReceiver.java | 656 private static void logTronShutdownMetric(String metricName, String valueStr) { in logTronShutdownMetric() argument 659 value = Integer.parseInt(valueStr); in logTronShutdownMetric() 661 Slog.e(TAG, "Cannot parse metric " + metricName + " int value - " + valueStr); in logTronShutdownMetric()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ThermalManagerService.java | 829 String valueStr = getNextArg(); in runInjectTemperature() local 830 if (valueStr != null) value = Float.parseFloat(valueStr); in runInjectTemperature()
|