Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/om/cts/
DFabricatedOverlayTest.java138 () -> overlay.setResourceValue("color/demo", TypedValue.TYPE_STRING, Color.WHITE, in setResourceValue_forIntType_colorAsStringType_shouldFail()
178 TypedValue.TYPE_STRING, in setResourceValue_forStringType_forNotExistString_shouldBeValid()
189 "string/demo", TypedValue.TYPE_STRING, "I am string for port", "port"); in setResourceValue_forStringType_withConfigurations_shouldBeValid()
191 "string/demo", TypedValue.TYPE_STRING, "I am string for land", "land"); in setResourceValue_forStringType_withConfigurations_shouldBeValid()
201 () -> overlay.setResourceValue("string/demo", TypedValue.TYPE_STRING, null, in setResourceValue_forStringType_nullString_shouldFail()
272 overlay.setResourceValue("string/demo1", TypedValue.TYPE_STRING, "white", in setResourceValue_multipleEntries_shouldSucceed()
274 overlay.setResourceValue("string/demo2", TypedValue.TYPE_STRING, "black", in setResourceValue_multipleEntries_shouldSucceed()
DFabricatedOverlayFacilitator.java65 overlay.setResourceValue(TARGET_STRING_RES, TypedValue.TYPE_STRING, "HELLO", in prepare()
/cts/tests/media/jni/
DNativeMediaCommon.cpp163 static const int TYPE_STRING = 4; in deSerializeMediaFormat() local
204 } else if (valueType == TYPE_STRING) { in deSerializeMediaFormat()
/cts/tests/tests/content/src/android/content/res/cts/
DTypedArrayTest.java144 assertEquals(TypedValue.TYPE_STRING, t.getType(R.styleable.style1_type8)); in testGetType()
149 assertEquals(TypedValue.TYPE_STRING, t.getType(R.styleable.style1_type13)); in testGetType()
150 assertEquals(TypedValue.TYPE_STRING, t.getType(R.styleable.style1_type14)); in testGetType()
152 assertEquals(TypedValue.TYPE_STRING, t.getType(R.styleable.style1_type16)); in testGetType()
DPrimitiveTest.java109 assertEquals(TypedValue.TYPE_STRING, v.type); in tryString()
DResources_ThemeTest.java110 assertEquals(TypedValue.TYPE_STRING, ta.getType(0)); in testObtainStyledAttributesWithInlineStringInTheme()
DResourcesTest.java1006 assertEquals(TypedValue.TYPE_STRING, v.type); in tryString()
/cts/tests/tests/media/muxer/src/android/media/muxer/cts/
DNativeMuxerTest.java331 case MediaFormat.TYPE_STRING: in compareFormats()
386 case MediaFormat.TYPE_STRING: in compareFormats()
/cts/tests/tests/content/src/android/content/res/loader/cts/
DResourcesProviderTest.java259 TARGET_STRING_RES, TypedValue.TYPE_STRING, "HELLO", null /* configuration */); in loaderOverlay_applyMultipleOverlays_shouldHaveUnionResult()
/cts/tests/media/common/src/android/mediav2/common/cts/
DEncoderConfigParams.java267 } else if (valueTypeForKey == MediaFormat.TYPE_STRING) { in serializeMediaFormat()
/cts/tests/tests/graphics/src/android/graphics/cts/
DColorTest.java311 assertEquals("CSLs should be strings", TypedValue.TYPE_STRING, value.type); in resourceColor()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaFormatTest.java237 testSingleKeyRemoval(format, "string", MediaFormat.TYPE_STRING); in testStringValue()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt11752 field public static final int TYPE_STRING = 6; // 0x6
23778 field public static final int TYPE_STRING = 4; // 0x4
50436 field public static final int TYPE_STRING = 3; // 0x3