/frameworks/base/core/tests/coretests/src/android/os/ |
D | TimestampedValueTest.java | 53 TimestampedValue<String> stringValue = new TimestampedValue<>(1000, "Hello"); in testParceling() local 56 parcel.writeParcelable(stringValue, 0); in testParceling() 62 assertEquals(stringValue, stringValueCopy); in testParceling() 70 TimestampedValue<String> stringValue = new TimestampedValue<>(1000, "Hello"); in testParceling_valueClassOk() local 73 parcel.writeParcelable(stringValue, 0); in testParceling_valueClassOk() 79 assertEquals(stringValue, stringValueCopy); in testParceling_valueClassOk()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | ResourceHelper.java | 269 String stringValue = value.getValue(); in getXmlBlockParser() local 270 if (RenderResources.REFERENCE_NULL.equals(stringValue)) { in getXmlBlockParser() 287 parser = ParserFactory.create(stringValue); in getXmlBlockParser() 309 String stringValue = value.getValue(); in getDrawable() local 310 if (RenderResources.REFERENCE_NULL.equals(stringValue)) { in getDrawable() 314 String lowerCaseValue = stringValue.toLowerCase(); in getDrawable() 317 int color = getColor(stringValue); in getDrawable() 332 return getNinePatchDrawable(density, value.isFramework(), stringValue, context); in getDrawable() 336 "Failed to load " + stringValue, e, null, null /*data*/); in getDrawable() 352 Bridge.getLog().error(null, "Cyclic dependency in " + stringValue, null, in getDrawable() [all …]
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | ExifInterfaceTest.java | 121 String stringValue = typedArray.getString(index); in getString() local 122 if (stringValue == null || stringValue.equals("")) { in getString() 125 return stringValue.trim(); in getString() 251 String stringValue = exifInterface.getAttribute(tag); in assertStringTag() local 252 if (stringValue != null) { in assertStringTag() 253 stringValue = stringValue.trim(); in assertStringTag() 255 stringValue = (stringValue == "") ? null : stringValue; in assertStringTag() 257 assertEquals(expectedValue, stringValue); in assertStringTag()
|
/frameworks/base/tests/net/common/java/android/net/metrics/ |
D | DhcpErrorEventTest.kt | 54 val stringValue = DhcpErrorEvent(intValue).toString() in testToString() constant 56 stringValue), in testToString() 57 stringValue.contains(it.name)) in testToString()
|
D | ValidationProbeEventTest.kt | 67 val stringValue = ValidationProbeEvent.getProbeName(intValue) in testGetProbeName() constant 68 assertEquals(it.name, stringValue) in testGetProbeName()
|
/frameworks/base/apex/statsd/framework/test/src/android/os/ |
D | StatsDimensionsValueTest.java | 33 String stringValue = "Hello"; in testConversionFromStructuredParcel() local 56 sdvp.tupleValue[0].stringValue = stringValue; in testConversionFromStructuredParcel() 85 assertThat(sdvChildren.get(0).getStringValue()).isEqualTo(stringValue); in testConversionFromStructuredParcel()
|
/frameworks/av/media/libstagefright/foundation/ |
D | AMessage.cpp | 105 delete item->u.stringValue; in freeItemValue() 302 item->u.stringValue = new AString(s, len < 0 ? strlen(s) : len); in BASIC_TYPE() 350 *value = *item->u.stringValue; in findString() 490 to->u.stringValue = in dup() 491 new AString(*from->u.stringValue); in dup() 595 item.u.stringValue->c_str()); in debugString() 708 const char *stringValue = parcel.readCString(); in FromParcel() local 709 if (stringValue == NULL) { in FromParcel() 716 item->u.stringValue = new AString(stringValue); in FromParcel() 798 parcel->writeCString(item.u.stringValue->c_str()); in writeToParcel() [all …]
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | SettingsStatsUtil.java | 165 String stringValue = ""; in createStatsEvent() local 171 .writeString(stringValue) in createStatsEvent() 193 stringValue = value; in createStatsEvent() 202 .writeString(stringValue) in createStatsEvent()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileIntentFilter.java | 114 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/ |
D | Camera2SurfaceViewTestCase.java | 786 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/ |
D | android_mtp_MtpDatabase.cpp | 446 jstring stringValue = (jstring)env->GetObjectArrayElement(stringValuesArray, 0); in getObjectPropertyValue() local 447 const char* str = (stringValue ? env->GetStringUTFChars(stringValue, NULL) : NULL); in getObjectPropertyValue() 448 if (stringValue) { in getObjectPropertyValue() 450 env->ReleaseStringUTFChars(stringValue, str); in getObjectPropertyValue() 454 env->DeleteLocalRef(stringValue); in getObjectPropertyValue() 545 jstring stringValue = NULL; in setObjectPropertyValue() local 551 stringValue = env->NewStringUTF((const char *)buffer); in setObjectPropertyValue() 557 (jint)handle, (jint)property, longValue, stringValue); in setObjectPropertyValue() 558 if (stringValue) in setObjectPropertyValue() 559 env->DeleteLocalRef(stringValue); in setObjectPropertyValue() [all …]
|
/frameworks/base/apex/statsd/aidl/android/os/ |
D | StatsDimensionsValueParcel.aidl | 15 String stringValue;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RetryManager.java | 441 private Pair<Boolean, Integer> parseNonNegativeInt(String name, String stringValue) { in parseNonNegativeInt() argument 445 value = Integer.parseInt(stringValue); in parseNonNegativeInt() 448 Rlog.e(LOG_TAG, name + " bad value: " + stringValue, e); in parseNonNegativeInt() 452 log("parseNonNetativeInt: " + name + ", " + stringValue + ", " in parseNonNegativeInt()
|
/frameworks/base/apex/statsd/framework/java/android/os/ |
D | StatsDimensionsValue.java | 112 return mInner.stringValue; in getStringValue() 240 sb.append(mInner.stringValue); in toString()
|
/frameworks/native/services/stats/ |
D | StatsHal.cpp | 138 case VendorAtom::Value::hidl_discriminator::stringValue: in reportVendorAtom() 139 AStatsEvent_writeString(event, vendorAtom.values[i].stringValue().c_str()); in reportVendorAtom()
|
/frameworks/base/services/core/java/com/android/server/integrity/parser/ |
D | RuleBinaryParser.java | 176 String stringValue = getStringValue(bitInputStream, valueSize, isHashedValue); in parseAtomicFormula() local 177 return new AtomicFormula.StringAtomicFormula(key, stringValue, isHashedValue); in parseAtomicFormula()
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 416 String stringValue = value.getValue(); in resolveThemeAttribute() local 417 if (!stringValue.isEmpty()) { in resolveThemeAttribute() 418 if (stringValue.charAt(0) == '#') { in resolveThemeAttribute() 419 outValue.data = ResourceHelper.getColor(stringValue); in resolveThemeAttribute() 420 switch (stringValue.length()) { in resolveThemeAttribute() 434 else if (stringValue.charAt(0) == '@') { in resolveThemeAttribute() 437 else if ("true".equals(stringValue) || "false".equals(stringValue)) { in resolveThemeAttribute() 439 outValue.data = "true".equals(stringValue) ? 1 : 0; in resolveThemeAttribute() 451 outValue.string = stringValue; in resolveThemeAttribute()
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyEventLogger.java | 214 stringList.stringValue = array; in stringArrayValueToBytes()
|
/frameworks/av/media/codec2/tests/ |
D | C2Param_test.cpp | 2345 …std::unique_ptr<StringSetting> stringValue = StringSetting::AllocUnique(6, C2ConstMemoryBlock<char… in TEST_F() local 2346 stringValue = StringSetting::AllocUnique(6, initValue); in TEST_F() 2347 … static_assert(std::is_same<decltype(stringValue->m.value), char[]>::value, "should be char[]"); in TEST_F() 2348 EXPECT_EQ(0, memcmp(stringValue->m.value, "ABCD\0", 6)); in TEST_F() 2349 EXPECT_EQ(6u, stringValue->flexCount()); in TEST_F() 2350 std::vector<C2FieldDescriptor> fields = stringValue->FieldList(); in TEST_F() 2356 stringValue = StringSetting::AllocUnique(3, C2ConstMemoryBlock<char>(initValue)); in TEST_F() 2357 EXPECT_EQ(0, memcmp(stringValue->m.value, "AB", 3)); in TEST_F() 2358 EXPECT_EQ(3u, stringValue->flexCount()); in TEST_F() 2360 stringValue = StringSetting::AllocUnique(11, "initValue"); in TEST_F() [all …]
|
/frameworks/hardware/interfaces/stats/1.0/vts/functional/ |
D | VtsHalStatsV1_0TargetTest.cpp | 139 tmp.stringValue("test"); in TEST_P()
|
/frameworks/hardware/interfaces/stats/1.0/test_client/ |
D | StatsClient.cpp | 173 tmp.stringValue("test"); in main()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 707 long intValue, String stringValue) { in setObjectProperty() argument 710 return renameFile(handle, stringValue); in setObjectProperty() 755 private int setDeviceProperty(int property, long intValue, String stringValue) { in setDeviceProperty() argument 761 e.putString(Integer.toString(property), stringValue); in setDeviceProperty() local
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | AMessage.h | 287 AString *stringValue; member
|
/frameworks/av/drm/libmediadrm/ |
D | DrmMetricsConsumer.cpp | 174 bundle->putString(name, String16(value.stringValue.c_str())); in SetValue()
|
/frameworks/base/cmds/statsd/src/ |
D | HashableDimensionKey.cpp | 82 child.stringValue = dim.mValue.str_value; in populateStatsDimensionsValueParcelChildren()
|