Home
last modified time | relevance | path

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

12

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/
DJsonToken.cs60 return new JsonToken(TokenType.Name, stringValue: name); in Name()
65 return new JsonToken(TokenType.StringValue, stringValue: value); in Value()
94 private readonly string stringValue; field in Google.Protobuf.JsonToken
98 internal string StringValue { get { return stringValue; } }
101 private JsonToken(TokenType type, string stringValue = null, double numberValue = 0) in JsonToken() argument
104 this.stringValue = stringValue; in JsonToken()
119 hash = hash * 31 + stringValue == null ? 0 : stringValue.GetHashCode(); in GetHashCode()
136 return "name (" + stringValue + ")"; in ToString()
138 return "value (" + stringValue + ")"; in ToString()
163 …return other.type == type && other.stringValue == stringValue && other.numberValue.Equals(numberVa… in Equals()
DJsonTokenizer.cs224 string stringValue = ReadString(); in NextImpl()
228 return JsonToken.Name(stringValue); in NextImpl()
233 return JsonToken.Value(stringValue); in NextImpl()
/frameworks/base/core/tests/coretests/src/android/util/
DTimestampedValueTest.java55 TimestampedValue<String> stringValue = new TimestampedValue<>(1000, "Hello"); in testParceling() local
58 TimestampedValue.writeToParcel(parcel, stringValue); in testParceling()
64 assertEquals(stringValue, stringValueCopy); in testParceling()
72 TimestampedValue<String> stringValue = new TimestampedValue<>(1000, "Hello"); in testParceling_valueClassOk() local
75 TimestampedValue.writeToParcel(parcel, stringValue); in testParceling_valueClassOk()
81 assertEquals(stringValue, stringValueCopy); in testParceling_valueClassOk()
89 TimestampedValue<String> stringValue = new TimestampedValue<>(1000, "Hello"); in testParceling_valueClassIncompatible() local
92 TimestampedValue.writeToParcel(parcel, stringValue); in testParceling_valueClassIncompatible()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java269 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 /*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/
DExifInterfaceTest.java121 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/
DDhcpErrorEventTest.kt54 val stringValue = DhcpErrorEvent(intValue).toString() in testToString() constant
56 stringValue), in testToString()
57 stringValue.contains(it.name)) in testToString()
DValidationProbeEventTest.kt74 val stringValue = ValidationProbeEvent.getProbeName(intValue) in testGetProbeName() constant
75 assertEquals(it.name, stringValue) in testGetProbeName()
/frameworks/av/media/libstagefright/foundation/
DAMessage.cpp102 delete item->u.stringValue; in freeItemValue()
299 item->u.stringValue = new AString(s, len < 0 ? strlen(s) : len); in BASIC_TYPE()
347 *value = *item->u.stringValue; in findString()
487 to->u.stringValue = in dup()
488 new AString(*from->u.stringValue); in dup()
592 item.u.stringValue->c_str()); in debugString()
704 const char *stringValue = parcel.readCString(); in FromParcel() local
705 if (stringValue == NULL) { in FromParcel()
712 item->u.stringValue = new AString(stringValue); in FromParcel()
794 parcel->writeCString(item.u.stringValue->c_str()); in writeToParcel()
[all …]
/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()
550 jstring stringValue = NULL; in setObjectPropertyValue() local
556 stringValue = env->NewStringUTF((const char *)buffer); in setObjectPropertyValue()
562 (jint)handle, (jint)property, longValue, stringValue); in setObjectPropertyValue()
563 if (stringValue) in setObjectPropertyValue()
564 env->DeleteLocalRef(stringValue); in setObjectPropertyValue()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRetryManager.java439 private Pair<Boolean, Integer> parseNonNegativeInt(String name, String stringValue) { in parseNonNegativeInt() argument
443 value = Integer.parseInt(stringValue); in parseNonNegativeInt()
446 Rlog.e(LOG_TAG, name + " bad value: " + stringValue, e); in parseNonNegativeInt()
450 log("parseNonNetativeInt: " + name + ", " + stringValue + ", " in parseNonNegativeInt()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/google/protobuf/
DStruct.pbobjc.m129 @dynamic stringValue;
137 NSString *stringValue;
168 .name = "stringValue",
172 .offset = (uint32_t)offsetof(GPBValue__storage_, stringValue),
DStruct.pbobjc.h129 @property(nonatomic, readwrite, copy, null_resettable) NSString *stringValue;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/
DExtension.java424 String stringValue = (String) value; in writeSingularData() local
425 output.writeStringNoTag(stringValue); in writeSingularData()
676 String stringValue = (String) value; in computeSingularSerializedSize() local
677 return CodedOutputByteBufferNano.computeStringSize(fieldNumber, stringValue); in computeSingularSerializedSize()
DCodedOutputByteBufferNano.java1170 String stringValue = (String) value; in writeField() local
1171 writeString(number, stringValue); in writeField()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyEventLogger.java214 stringList.stringValue = array; in stringArrayValueToBytes()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/third_party/jsoncpp/
Djsoncpp.cpp2729 case stringValue: in Value()
2770 initBasic(stringValue, true); in Value()
2775 initBasic(stringValue, true); in Value()
2781 initBasic(stringValue, true); in Value()
2787 initBasic(stringValue); in Value()
2793 initBasic(stringValue, true); in Value()
2816 case stringValue: in Value()
2863 case stringValue: in ~Value()
2926 case stringValue: in operator <()
2982 case stringValue: in operator ==()
[all …]
/frameworks/av/media/codec2/tests/
DC2Param_test.cpp2345 …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/
DVtsHalStatsV1_0TargetTest.cpp152 tmp.stringValue("test"); in TEST_F()
/frameworks/hardware/interfaces/stats/1.0/test_client/
DStatsClient.cpp173 tmp.stringValue("test"); in main()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java695 long intValue, String stringValue) { in setObjectProperty() argument
698 return renameFile(handle, stringValue); in setObjectProperty()
742 private int setDeviceProperty(int property, long intValue, String stringValue) { in setDeviceProperty() argument
748 e.putString(Integer.toString(property), stringValue); in setDeviceProperty() local
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAMessage.h285 AString *stringValue; member
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java401 String stringValue = value.getValue(); in resolveThemeAttribute() local
402 if (!stringValue.isEmpty()) { in resolveThemeAttribute()
403 if (stringValue.charAt(0) == '#') { in resolveThemeAttribute()
407 else if (stringValue.charAt(0) == '@') { in resolveThemeAttribute()
420 outValue.string = stringValue; in resolveThemeAttribute()
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.cpp232 case VendorAtom::Value::hidl_discriminator::stringValue: in LogEvent()
234 Value(vendorAtom.values[i].stringValue()))); in LogEvent()

12