/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | Matrix_ScaleToFitTest.java | 34 assertEquals(ScaleToFit.FILL,ScaleToFit.valueOf("FILL")); in testValueOf() 35 assertEquals( ScaleToFit.START,ScaleToFit.valueOf("START")); in testValueOf() 36 assertEquals( ScaleToFit.CENTER,ScaleToFit.valueOf("CENTER")); in testValueOf() 37 assertEquals(ScaleToFit.END,ScaleToFit.valueOf("END") ); in testValueOf() 41 assertEquals(ScaleToFit.FILL, ScaleToFit.valueOf(ScaleToFit.class, in testValueOf2() 43 assertEquals(ScaleToFit.START, ScaleToFit.valueOf(ScaleToFit.class, in testValueOf2() 45 assertEquals(ScaleToFit.CENTER, ScaleToFit.valueOf(ScaleToFit.class, in testValueOf2() 48 .valueOf(ScaleToFit.class, "END")); in testValueOf2()
|
D | Region_OpTest.java | 26 assertEquals(Op.DIFFERENCE, Op.valueOf("DIFFERENCE")); in testValueOf() 27 assertEquals(Op.INTERSECT, Op.valueOf("INTERSECT")); in testValueOf() 28 assertEquals(Op.UNION, Op.valueOf("UNION")); in testValueOf() 29 assertEquals(Op.XOR, Op.valueOf("XOR")); in testValueOf() 30 assertEquals(Op.REVERSE_DIFFERENCE, Op.valueOf("REVERSE_DIFFERENCE")); in testValueOf() 31 assertEquals(Op.REPLACE, Op.valueOf("REPLACE")); in testValueOf()
|
D | Path_FillTypeTest.java | 26 assertEquals(FillType.WINDING, FillType.valueOf("WINDING")); in testValueOf() 27 assertEquals(FillType.EVEN_ODD, FillType.valueOf("EVEN_ODD")); in testValueOf() 28 assertEquals(FillType.INVERSE_WINDING, FillType.valueOf("INVERSE_WINDING")); in testValueOf() 29 assertEquals(FillType.INVERSE_EVEN_ODD, FillType.valueOf("INVERSE_EVEN_ODD")); in testValueOf()
|
D | BlurMaskFilter_BlurTest.java | 25 assertEquals(Blur.NORMAL, Blur.valueOf("NORMAL")); in testValueOf() 26 assertEquals(Blur.SOLID, Blur.valueOf("SOLID")); in testValueOf() 27 assertEquals(Blur.OUTER, Blur.valueOf("OUTER")); in testValueOf() 28 assertEquals(Blur.INNER, Blur.valueOf("INNER")); in testValueOf()
|
D | Bitmap_ConfigTest.java | 25 assertEquals(Config.ALPHA_8, Config.valueOf("ALPHA_8")); in testValueOf() 26 assertEquals(Config.RGB_565, Config.valueOf("RGB_565")); in testValueOf() 27 assertEquals(Config.ARGB_4444, Config.valueOf("ARGB_4444")); in testValueOf() 28 assertEquals(Config.ARGB_8888, Config.valueOf("ARGB_8888")); in testValueOf()
|
D | Shader_TileModeTest.java | 26 assertEquals(TileMode.CLAMP, TileMode.valueOf("CLAMP")); in testValueOf() 27 assertEquals(TileMode.MIRROR, TileMode.valueOf("MIRROR")); in testValueOf() 28 assertEquals(TileMode.REPEAT, TileMode.valueOf("REPEAT")); in testValueOf()
|
D | Interpolator_ResultTest.java | 27 assertEquals(Result.FREEZE_START, Result.valueOf("FREEZE_START")); in testValueOf() 28 assertEquals(Result.FREEZE_END, Result.valueOf("FREEZE_END")); in testValueOf() 29 assertEquals(Result.NORMAL, Result.valueOf("NORMAL")); in testValueOf()
|
D | PathDashPathEffect_StyleTest.java | 27 assertEquals(Style.TRANSLATE, Style.valueOf("TRANSLATE")); in testValueOf() 28 assertEquals(Style.ROTATE, Style.valueOf("ROTATE")); in testValueOf() 29 assertEquals(Style.MORPH, Style.valueOf("MORPH")); in testValueOf()
|
D | Paint_CapTest.java | 27 assertEquals(Cap.BUTT, Cap.valueOf("BUTT")); in testValueOf() 28 assertEquals(Cap.ROUND, Cap.valueOf("ROUND")); in testValueOf() 29 assertEquals(Cap.SQUARE, Cap.valueOf("SQUARE")); in testValueOf()
|
D | Paint_AlignTest.java | 26 assertEquals(Align.LEFT, Align.valueOf("LEFT")); in testValueOf() 27 assertEquals(Align.CENTER, Align.valueOf("CENTER")); in testValueOf() 28 assertEquals(Align.RIGHT, Align.valueOf("RIGHT")); in testValueOf()
|
D | Paint_JoinTest.java | 26 assertEquals(Join.BEVEL, Join.valueOf("BEVEL")); in testValueOf() 27 assertEquals(Join.MITER, Join.valueOf("MITER")); in testValueOf() 28 assertEquals(Join.ROUND, Join.valueOf("ROUND")); in testValueOf()
|
D | Paint_StyleTest.java | 26 assertEquals(Style.FILL, Style.valueOf("FILL")); in testValueOf() 27 assertEquals(Style.STROKE, Style.valueOf("STROKE")); in testValueOf() 28 assertEquals(Style.FILL_AND_STROKE, Style.valueOf("FILL_AND_STROKE")); in testValueOf()
|
D | Bitmap_CompressFormatTest.java | 28 assertEquals(CompressFormat.JPEG, CompressFormat.valueOf("JPEG")); in testValueOf() 29 assertEquals(CompressFormat.PNG, CompressFormat.valueOf("PNG")); in testValueOf() 30 assertEquals(CompressFormat.WEBP, CompressFormat.valueOf("WEBP")); in testValueOf()
|
D | Canvas_VertexModeTest.java | 28 assertEquals(VertexMode.TRIANGLES, VertexMode.valueOf("TRIANGLES")); in testValueOf() 29 assertEquals(VertexMode.TRIANGLE_STRIP, VertexMode.valueOf("TRIANGLE_STRIP")); in testValueOf() 30 assertEquals(VertexMode.TRIANGLE_FAN, VertexMode.valueOf("TRIANGLE_FAN")); in testValueOf()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | NetworkInfo_DetailedStateTest.java | 26 assertEquals(DetailedState.AUTHENTICATING, DetailedState.valueOf("AUTHENTICATING")); in testValueOf() 27 assertEquals(DetailedState.CONNECTED, DetailedState.valueOf("CONNECTED")); in testValueOf() 28 assertEquals(DetailedState.CONNECTING, DetailedState.valueOf("CONNECTING")); in testValueOf() 29 assertEquals(DetailedState.DISCONNECTED, DetailedState.valueOf("DISCONNECTED")); in testValueOf() 30 assertEquals(DetailedState.DISCONNECTING, DetailedState.valueOf("DISCONNECTING")); in testValueOf() 31 assertEquals(DetailedState.FAILED, DetailedState.valueOf("FAILED")); in testValueOf() 32 assertEquals(DetailedState.IDLE, DetailedState.valueOf("IDLE")); in testValueOf() 33 assertEquals(DetailedState.OBTAINING_IPADDR, DetailedState.valueOf("OBTAINING_IPADDR")); in testValueOf() 34 assertEquals(DetailedState.SCANNING, DetailedState.valueOf("SCANNING")); in testValueOf() 35 assertEquals(DetailedState.SUSPENDED, DetailedState.valueOf("SUSPENDED")); in testValueOf()
|
D | NetworkInfo_StateTest.java | 25 assertEquals(State.CONNECTED, State.valueOf("CONNECTED")); in testValueOf() 26 assertEquals(State.CONNECTING, State.valueOf("CONNECTING")); in testValueOf() 27 assertEquals(State.DISCONNECTED, State.valueOf("DISCONNECTED")); in testValueOf() 28 assertEquals(State.DISCONNECTING, State.valueOf("DISCONNECTING")); in testValueOf() 29 assertEquals(State.SUSPENDED, State.valueOf("SUSPENDED")); in testValueOf() 30 assertEquals(State.UNKNOWN, State.valueOf("UNKNOWN")); in testValueOf()
|
D | LocalSocketAddress_NamespaceTest.java | 25 assertEquals(Namespace.ABSTRACT, Namespace.valueOf("ABSTRACT")); in testValueOf() 26 assertEquals(Namespace.RESERVED, Namespace.valueOf("RESERVED")); in testValueOf() 27 assertEquals(Namespace.FILESYSTEM, Namespace.valueOf("FILESYSTEM")); in testValueOf()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | IntentFilter_AuthorityEntryTest.java | 34 mAuthorityEntry = new AuthorityEntry(mHost, String.valueOf(mPort)); in setUp() 38 mAuthorityEntry = new AuthorityEntry(mHost, String.valueOf(mPort)); in testConstructor() 43 mAuthorityEntry = new AuthorityEntry(mWildHost, String.valueOf(mPort)); in testConstructor() 46 assertEquals(Integer.valueOf(mPort).intValue(), mAuthorityEntry.getPort()); in testConstructor() 50 assertEquals(Integer.valueOf(mPort).intValue(), mAuthorityEntry.getPort()); in testAuthorityEntryProperties() 60 mAuthorityEntry = new IntentFilter.AuthorityEntry(mWildHost, String.valueOf(-1)); in testMatch() 63 mAuthorityEntry = new IntentFilter.AuthorityEntry(mHost, String.valueOf(-1)); in testMatch() 67 mAuthorityEntry = new AuthorityEntry(mHost, String.valueOf(-1)); in testMatch() 71 mAuthorityEntry = new AuthorityEntry(mHost, String.valueOf(mPort)); in testMatch() 75 mAuthorityEntry = new AuthorityEntry(mHost, String.valueOf(-1)); in testMatch()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TimePickerTest.java | 105 mTimePicker.setCurrentHour(Integer.valueOf(initialHour)); in testSetOnTimeChangedListener() 106 mTimePicker.setCurrentMinute(Integer.valueOf(initialMinute)); in testSetOnTimeChangedListener() 112 mTimePicker.setCurrentHour(Integer.valueOf(initialHour)); in testSetOnTimeChangedListener() 115 mTimePicker.setCurrentHour(Integer.valueOf(initialHour + 1)); in testSetOnTimeChangedListener() 146 assertEquals(Integer.valueOf(0), mTimePicker.getCurrentHour()); in testAccessCurrentHour() 149 assertEquals(Integer.valueOf(12), mTimePicker.getCurrentHour()); in testAccessCurrentHour() 152 assertEquals(Integer.valueOf(13), mTimePicker.getCurrentHour()); in testAccessCurrentHour() 155 assertEquals(Integer.valueOf(23), mTimePicker.getCurrentHour()); in testAccessCurrentHour() 161 assertEquals(Integer.valueOf(0), mTimePicker.getCurrentHour()); in testAccessCurrentHour() 164 assertEquals(Integer.valueOf(13), mTimePicker.getCurrentHour()); in testAccessCurrentHour() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | SamplerTest.java | 124 assertEquals(Value.NEAREST, Value.valueOf("NEAREST")); in testSamplerValue() 125 assertEquals(Value.LINEAR, Value.valueOf("LINEAR")); in testSamplerValue() 126 assertEquals(Value.LINEAR_MIP_LINEAR, Value.valueOf("LINEAR_MIP_LINEAR")); in testSamplerValue() 127 assertEquals(Value.LINEAR_MIP_NEAREST, Value.valueOf("LINEAR_MIP_NEAREST")); in testSamplerValue() 128 assertEquals(Value.WRAP, Value.valueOf("WRAP")); in testSamplerValue() 129 assertEquals(Value.CLAMP, Value.valueOf("CLAMP")); in testSamplerValue() 130 assertEquals(Value.MIRRORED_REPEAT, Value.valueOf("MIRRORED_REPEAT")); in testSamplerValue()
|
D | ElementTest.java | 436 assertEquals(DataType.FLOAT_16, DataType.valueOf("FLOAT_16")); in testDataType() 437 assertEquals(DataType.FLOAT_32, DataType.valueOf("FLOAT_32")); in testDataType() 438 assertEquals(DataType.FLOAT_64, DataType.valueOf("FLOAT_64")); in testDataType() 439 assertEquals(DataType.SIGNED_8, DataType.valueOf("SIGNED_8")); in testDataType() 440 assertEquals(DataType.SIGNED_16, DataType.valueOf("SIGNED_16")); in testDataType() 441 assertEquals(DataType.SIGNED_32, DataType.valueOf("SIGNED_32")); in testDataType() 442 assertEquals(DataType.SIGNED_64, DataType.valueOf("SIGNED_64")); in testDataType() 443 assertEquals(DataType.UNSIGNED_8, DataType.valueOf("UNSIGNED_8")); in testDataType() 444 assertEquals(DataType.UNSIGNED_16, DataType.valueOf("UNSIGNED_16")); in testDataType() 445 assertEquals(DataType.UNSIGNED_32, DataType.valueOf("UNSIGNED_32")); in testDataType() [all …]
|
D | TypeTest.java | 177 assertEquals(Type.CubemapFace.NEGATIVE_X, Type.CubemapFace.valueOf("NEGATIVE_X")); in testTypeCubemapFace() 178 assertEquals(Type.CubemapFace.NEGATIVE_Y, Type.CubemapFace.valueOf("NEGATIVE_Y")); in testTypeCubemapFace() 179 assertEquals(Type.CubemapFace.NEGATIVE_Z, Type.CubemapFace.valueOf("NEGATIVE_Z")); in testTypeCubemapFace() 180 assertEquals(Type.CubemapFace.POSITIVE_X, Type.CubemapFace.valueOf("POSITIVE_X")); in testTypeCubemapFace() 181 assertEquals(Type.CubemapFace.POSITIVE_Y, Type.CubemapFace.valueOf("POSITIVE_Y")); in testTypeCubemapFace() 182 assertEquals(Type.CubemapFace.POSITIVE_Z, Type.CubemapFace.valueOf("POSITIVE_Z")); in testTypeCubemapFace() 184 assertEquals(Type.CubemapFace.POSITVE_X, Type.CubemapFace.valueOf("POSITVE_X")); in testTypeCubemapFace() 185 assertEquals(Type.CubemapFace.POSITVE_Y, Type.CubemapFace.valueOf("POSITVE_Y")); in testTypeCubemapFace() 186 assertEquals(Type.CubemapFace.POSITVE_Z, Type.CubemapFace.valueOf("POSITVE_Z")); in testTypeCubemapFace()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SpannedStringTest.java | 35 SpannedString spanned = SpannedString.valueOf(text); in testValueOf() 39 assertSame(spanned, SpannedString.valueOf(spanned)); in testValueOf() 42 SpannedString.valueOf(null); in testValueOf()
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
D | NsdManagerTest.java | 151 if (DBG) Log.d(TAG, callbackName + " failed with " + String.valueOf(errorCode)); in setEvent() 186 if (DBG) Log.d(TAG, "Waiting for " + callbackName + ", id=" + String.valueOf(mWaitId)); in waitForCallback() 197 if (DBG) Log.d(TAG, "exiting wait id=" + String.valueOf(mWaitId)); in waitForCallback() 207 if (DBG) Log.d(TAG, "timed out waiting id=" + String.valueOf(mWaitId)); in waitForCallback() 216 if (DBG) Log.d(TAG, "Waiting for a bit, id=" + String.valueOf(mWaitId)); in waitForNewEvents() 248 mServiceName = mServiceName + String.valueOf(rand.nextInt(10)); in setUp() 279 if (DBG) Log.d(TAG, "Port = " + String.valueOf(localPort)); in runTest() 323 if (DBG) Log.d(TAG, "id = " + String.valueOf(mWaitId) + ": ServiceName = " + in runTest() 353 if (DBG) Log.d(TAG, "id = " + String.valueOf(mWaitId) + ": Port = " + in runTest() 354 String.valueOf(lastEvent.mInfo.getPort())); in runTest() [all …]
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TextMethodUtils.java | 36 Assert.assertEquals(String.valueOf(expected), String.valueOf(actual)); in assertEquals()
|