/frameworks/base/libs/utils/ |
D | PropertyMap.cpp | 79 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/ |
D | WspTypeDecoder.java | 202 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 …]
|
D | RetryManager.java | 342 private Pair<Boolean, Integer> parseNonNegativeInt(String name, String stringValue) { in parseNonNegativeInt() argument 346 value = Integer.parseInt(stringValue); in parseNonNegativeInt() 349 Log.e(LOG_TAG, name + " bad value: " + stringValue, e); in parseNonNegativeInt() 352 if (DBG) log("parseNonNetativeInt: " + name + ", " + stringValue + ", " in parseNonNegativeInt()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 168 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/base/media/libstagefright/foundation/ |
D | AMessage.cpp | 70 delete item->u.stringValue; in freeItem() 157 item->u.stringValue = new AString(s, len < 0 ? strlen(s) : len); in BASIC_TYPE() 191 *value = *item->u.stringValue; in findString() 270 to->u.stringValue = in dup() 271 new AString(*from->u.stringValue); in dup() 374 item.u.stringValue->c_str()); in debugString() 459 item->u.stringValue = new AString(parcel.readCString()); in FromParcel() 526 parcel->writeCString(item.u.stringValue->c_str()); in writeToParcel()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDatabase.cpp | 428 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/include/media/stagefright/foundation/ |
D | AMessage.h | 126 AString *stringValue; member
|
/frameworks/base/tools/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 769 String stringValue = value.getValue(); in getDrawable() local 770 if (stringValue == null || RenderResources.REFERENCE_NULL.equals(stringValue)) { in getDrawable()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 637 long intValue, String stringValue) { in setObjectProperty() argument 640 return renameFile(handle, stringValue); in setObjectProperty() 677 private int setDeviceProperty(int property, long intValue, String stringValue) { in setDeviceProperty() argument 683 e.putString(Integer.toString(property), stringValue); in setDeviceProperty() local
|