Home
last modified time | relevance | path

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

/frameworks/native/libs/utils/
DPropertyMap.cpp79 String8 stringValue; in tryGetProperty() local
80 if (! tryGetProperty(key, stringValue) || stringValue.length() == 0) { in tryGetProperty()
85 int value = strtol(stringValue.string(), & end, 10); in tryGetProperty()
88 key.string(), stringValue.string()); in tryGetProperty()
96 String8 stringValue; in tryGetProperty() local
97 if (! tryGetProperty(key, stringValue) || stringValue.length() == 0) { in tryGetProperty()
102 float value = strtof(stringValue.string(), & end); in tryGetProperty()
105 key.string(), stringValue.string()); in tryGetProperty()
/frameworks/base/telephony/java/com/android/internal/telephony/
DWspTypeDecoder.java202 String stringValue; field in WspTypeDecoder
226 stringValue = new String(wspData, startIndex + 1, dataLength - 2); in decodeTextString()
228 stringValue = new String(wspData, startIndex, dataLength - 1); in decodeTextString()
248 stringValue = new String(wspData, startIndex, dataLength - 1); in decodeTokenText()
371 stringValue = null; in decodeExtensionMedia()
380 stringValue = new String(wspData, startIndex, dataLength - 1); in decodeExtensionMedia()
396 stringValue = null;
432 stringValue = null;
435 String mimeType = stringValue;
440 stringValue = mimeType;
[all …]
DRetryManager.java355 private Pair<Boolean, Integer> parseNonNegativeInt(String name, String stringValue) { in parseNonNegativeInt() argument
359 value = Integer.parseInt(stringValue); in parseNonNegativeInt()
362 Log.e(LOG_TAG, name + " bad value: " + stringValue, e); in parseNonNegativeInt()
365 if (VDBG) log("parseNonNetativeInt: " + name + ", " + stringValue + ", " in parseNonNegativeInt()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java168 String stringValue = value.getValue(); in getDrawable() local
169 if (RenderResources.REFERENCE_NULL.equals(stringValue)) { in getDrawable()
173 String lowerCaseValue = stringValue.toLowerCase(); in getDrawable()
183 File file = new File(stringValue); in getDrawable()
188 stringValue, context); in getDrawable()
199 File f = new File(stringValue); in getDrawable()
215 Bridge.getLog().error(null, "Failed to parse file " + stringValue, in getDrawable()
220 String.format("File %s does not exist (or is not a file)", stringValue), in getDrawable()
226 File bmpFile = new File(stringValue); in getDrawable()
229 Bitmap bitmap = Bridge.getCachedBitmap(stringValue, in getDrawable()
[all …]
/frameworks/av/media/libstagefright/foundation/
DAMessage.cpp71 delete item->u.stringValue; in freeItem()
159 item->u.stringValue = new AString(s, len < 0 ? strlen(s) : len); in BASIC_TYPE()
202 *value = *item->u.stringValue; in findString()
290 to->u.stringValue = in dup()
291 new AString(*from->u.stringValue); in dup()
395 item.u.stringValue->c_str()); in debugString()
484 item->u.stringValue = new AString(parcel.readCString()); in FromParcel()
551 parcel->writeCString(item.u.stringValue->c_str()); in writeToParcel()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp428 jstring stringValue = (jstring)env->GetObjectArrayElement(stringValuesArray, 0); in getObjectPropertyValue() local
429 if (stringValue) { in getObjectPropertyValue()
430 const char* str = env->GetStringUTFChars(stringValue, NULL); in getObjectPropertyValue()
435 env->ReleaseStringUTFChars(stringValue, str); in getObjectPropertyValue()
476 jstring stringValue = NULL; in setObjectPropertyValue() local
507 stringValue = env->NewStringUTF((const char *)buffer); in setObjectPropertyValue()
516 (jint)handle, (jint)property, longValue, stringValue); in setObjectPropertyValue()
517 if (stringValue) in setObjectPropertyValue()
518 env->DeleteLocalRef(stringValue); in setObjectPropertyValue()
599 jstring stringValue = NULL; in setDevicePropertyValue() local
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/
DBridgeTypedArray.java777 String stringValue = value.getValue(); in getDrawable() local
778 if (stringValue == null || RenderResources.REFERENCE_NULL.equals(stringValue)) { in getDrawable()
/frameworks/av/include/media/stagefright/foundation/
DAMessage.h133 AString *stringValue; member
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java782 long intValue, String stringValue) { in setObjectProperty() argument
785 return renameFile(handle, stringValue); in setObjectProperty()
822 private int setDeviceProperty(int property, long intValue, String stringValue) { in setDeviceProperty() argument
828 e.putString(Integer.toString(property), stringValue); in setDeviceProperty() local