Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/foundation/
DParsedMessage.cpp64 AString stringValue; in findInt32() local
66 if (!findString(name, &stringValue)) { in findInt32()
71 *value = strtol(stringValue.c_str(), &end, 10); in findInt32()
73 if (end == stringValue.c_str() || *end != '\0') { in findInt32()
284 AString stringValue; in GetInt32Attribute() local
285 if (!GetAttribute(s, key, &stringValue)) { in GetInt32Attribute()
291 *value = strtol(stringValue.c_str(), &end, 10); in GetInt32Attribute()
293 if (end == stringValue.c_str() || *end != '\0') { in GetInt32Attribute()
DAMessage.cpp79 delete item->u.stringValue; in freeItemValue()
228 item->u.stringValue = new AString(s, len < 0 ? strlen(s) : len); in BASIC_TYPE()
276 *value = *item->u.stringValue; in findString()
373 to->u.stringValue = in dup()
374 new AString(*from->u.stringValue); in dup()
478 item.u.stringValue->c_str()); in debugString()
578 item->u.stringValue = new AString(parcel.readCString()); in FromParcel()
645 parcel->writeCString(item.u.stringValue->c_str()); in writeToParcel()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java172 String stringValue = value.getValue(); in getDrawable() local
173 if (RenderResources.REFERENCE_NULL.equals(stringValue)) { in getDrawable()
177 String lowerCaseValue = stringValue.toLowerCase(); in getDrawable()
187 File file = new File(stringValue); in getDrawable()
192 stringValue, context); in getDrawable()
203 File f = new File(stringValue); in getDrawable()
219 Bridge.getLog().error(null, "Failed to parse file " + stringValue, in getDrawable()
224 String.format("File %s does not exist (or is not a file)", stringValue), in getDrawable()
230 File bmpFile = new File(stringValue); in getDrawable()
233 Bitmap bitmap = Bridge.getCachedBitmap(stringValue, in getDrawable()
[all …]
/frameworks/base/cmds/bootanimation/
DAudioPlayer.cpp86 char stringValue[MAX_LINE_LENGTH]; in setMixerValue() local
105 if (sscanf(values, "%s", stringValue) == 1) { in setMixerValue()
106 if (mixer_ctl_set_enum_by_string(ctl, stringValue) != 0) { in setMixerValue()
107 ALOGE("mixer_ctl_set_enum_by_string failed for %s %%s", name, stringValue); in setMixerValue()
110 ALOGE("Could not parse %s as enum for %d", stringValue, name); in setMixerValue()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileIntentFilter.java122 String stringValue = getStringFromXml(parser, attribute, null); in getIntFromXml() local
123 if (stringValue != null) { in getIntFromXml()
124 return Integer.parseInt(stringValue); in getIntFromXml()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRetryManager.java396 private Pair<Boolean, Integer> parseNonNegativeInt(String name, String stringValue) { in parseNonNegativeInt() argument
400 value = Integer.parseInt(stringValue); in parseNonNegativeInt()
403 Rlog.e(LOG_TAG, name + " bad value: " + stringValue, e); in parseNonNegativeInt()
406 if (VDBG) log("parseNonNetativeInt: " + name + ", " + stringValue + ", " in parseNonNegativeInt()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp435 jstring stringValue = (jstring)env->GetObjectArrayElement(stringValuesArray, 0); in getObjectPropertyValue() local
436 const char* str = (stringValue ? env->GetStringUTFChars(stringValue, NULL) : NULL); in getObjectPropertyValue()
437 if (stringValue) { in getObjectPropertyValue()
439 env->ReleaseStringUTFChars(stringValue, str); in getObjectPropertyValue()
443 env->DeleteLocalRef(stringValue); in getObjectPropertyValue()
481 jstring stringValue = NULL; in setObjectPropertyValue() local
512 stringValue = env->NewStringUTF((const char *)buffer); in setObjectPropertyValue()
521 (jint)handle, (jint)property, longValue, stringValue); in setObjectPropertyValue()
522 if (stringValue) in setObjectPropertyValue()
523 env->DeleteLocalRef(stringValue); in setObjectPropertyValue()
[all …]
/frameworks/av/include/media/stagefright/foundation/
DAMessage.h136 AString *stringValue; member
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java860 long intValue, String stringValue) { in setObjectProperty() argument
863 return renameFile(handle, stringValue); in setObjectProperty()
902 private int setDeviceProperty(int property, long intValue, String stringValue) { in setDeviceProperty() argument
908 e.putString(Integer.toString(property), stringValue); in setDeviceProperty() local
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerService.java898 String stringValue = (String) value; in doWriteStateLocked() local
902 serializer.attribute(null, ATTR_VALUE, stringValue); in doWriteStateLocked()