Home
last modified time | relevance | path

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

/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/vo/
DNotBindableVo.java33 public NotBindableVo(String stringValue) { in NotBindableVo() argument
34 this.mStringValue = stringValue; in NotBindableVo()
37 public NotBindableVo(int intValue, String stringValue) { in NotBindableVo() argument
39 this.mStringValue = stringValue; in NotBindableVo()
60 public void setStringValue(String stringValue) { in setStringValue() argument
61 this.mStringValue = stringValue; in setStringValue()
/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.cpp101 delete item->u.stringValue; in freeItemValue()
277 item->u.stringValue = new AString(s, len < 0 ? strlen(s) : len); in BASIC_TYPE()
325 *value = *item->u.stringValue; in findString()
465 to->u.stringValue = in dup()
466 new AString(*from->u.stringValue); in dup()
570 item.u.stringValue->c_str()); in debugString()
682 const char *stringValue = parcel.readCString(); in FromParcel() local
683 if (stringValue == NULL) { in FromParcel()
690 item->u.stringValue = new AString(stringValue); in FromParcel()
772 parcel->writeCString(item.u.stringValue->c_str()); in writeToParcel()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java275 String stringValue = value.getValue(); in getDrawable() local
276 if (RenderResources.REFERENCE_NULL.equals(stringValue)) { in getDrawable()
280 String lowerCaseValue = stringValue.toLowerCase(); in getDrawable()
290 File file = new File(stringValue); in getDrawable()
295 stringValue, context); in getDrawable()
306 File f = new File(stringValue); in getDrawable()
322 Bridge.getLog().error(null, "Failed to parse file " + stringValue, in getDrawable()
327 String.format("File %s does not exist (or is not a file)", stringValue), in getDrawable()
333 File bmpFile = new File(stringValue); in getDrawable()
336 Bitmap bitmap = Bridge.getCachedBitmap(stringValue, in getDrawable()
[all …]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java121 String stringValue = typedArray.getString(index); in getString() local
122 if (stringValue == null || stringValue.equals("")) { in getString()
125 return stringValue.trim(); in getString()
252 String stringValue = exifInterface.getAttribute(tag); in assertStringTag() local
253 if (stringValue != null) { in assertStringTag()
254 stringValue = stringValue.trim(); in assertStringTag()
257 assertEquals(expectedValue, stringValue); in assertStringTag()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileIntentFilter.java114 String stringValue = getStringFromXml(parser, attribute, null); in getIntFromXml() local
115 if (stringValue != null) { in getIntFromXml()
116 return Integer.parseInt(stringValue); in getIntFromXml()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DCamera2SurfaceViewTestCase.java786 String stringValue = getArguments().getString(key); in getArgumentsAsNumber() local
787 if (stringValue != null) { in getArgumentsAsNumber()
789 return NumberFormat.getInstance().parse(stringValue); in getArgumentsAsNumber()
791 Log.w(TAG, "Unable to parse arg " + key + " with value " + stringValue in getArgumentsAsNumber()
799 String stringValue = getArguments().getString(key); in getArgumentsAsBoolean() local
800 if (stringValue != null) { in getArgumentsAsBoolean()
802 return Boolean.parseBoolean(stringValue); in getArgumentsAsBoolean()
804 Log.w(TAG, "Unable to parse arg " + key + " with value " + stringValue in getArgumentsAsBoolean()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp451 jstring stringValue = (jstring)env->GetObjectArrayElement(stringValuesArray, 0); in getObjectPropertyValue() local
452 const char* str = (stringValue ? env->GetStringUTFChars(stringValue, NULL) : NULL); in getObjectPropertyValue()
453 if (stringValue) { in getObjectPropertyValue()
455 env->ReleaseStringUTFChars(stringValue, str); in getObjectPropertyValue()
459 env->DeleteLocalRef(stringValue); in getObjectPropertyValue()
554 jstring stringValue = NULL; in setObjectPropertyValue() local
560 stringValue = env->NewStringUTF((const char *)buffer); in setObjectPropertyValue()
566 (jint)handle, (jint)property, longValue, stringValue); in setObjectPropertyValue()
567 if (stringValue) in setObjectPropertyValue()
568 env->DeleteLocalRef(stringValue); in setObjectPropertyValue()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRetryManager.java395 private Pair<Boolean, Integer> parseNonNegativeInt(String name, String stringValue) { in parseNonNegativeInt() argument
399 value = Integer.parseInt(stringValue); in parseNonNegativeInt()
402 Rlog.e(LOG_TAG, name + " bad value: " + stringValue, e); in parseNonNegativeInt()
406 log("parseNonNetativeInt: " + name + ", " + stringValue + ", " in parseNonNegativeInt()
/frameworks/av/include/media/stagefright/foundation/
DAMessage.h210 AString *stringValue; member
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java837 long intValue, String stringValue) { in setObjectProperty() argument
840 return renameFile(handle, stringValue); in setObjectProperty()
879 private int setDeviceProperty(int property, long intValue, String stringValue) { in setDeviceProperty() argument
885 e.putString(Integer.toString(property), stringValue); in setDeviceProperty() local
/frameworks/base/tools/aapt2/
DResourceParser.cpp553 if (String* stringValue = valueCast<String>(outResource->value.get())) { in parseString() local
554 stringValue->setTranslateable(translateable); in parseString()
557 if (!util::verifyJavaStringFormat(*stringValue->value)) { in parseString()
570 } else if (StyledString* stringValue = valueCast<StyledString>(outResource->value.get())) { in parseString() local
571 stringValue->setTranslateable(translateable); in parseString()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DPrintSpoolerService.java1029 String stringValue = (String) value; in doWriteStateLocked() local
1033 serializer.attribute(null, ATTR_VALUE, stringValue); in doWriteStateLocked()