/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/ |
H A D | BrightnessEventTest.java | 71 String expectedString = in testToStringWorksAsExpected() local 77 assertEquals(expectedString, actualString); in testToStringWorksAsExpected() 85 String expectedString = "idle_curve "; in testFlagsToString() local 86 assertEquals(expectedString, actualString); in testFlagsToString() 96 String expectedString = "idle_curve low_power_mode "; in testFlagsToString_multipleFlags() local 97 assertEquals(expectedString, actualString); in testFlagsToString_multipleFlags()
|
H A D | BrightnessReasonTest.java | 55 String expectedString = "doze [ low_pwr ]"; in toStringGeneratesExpectedString() local 56 assertEquals(actualString, expectedString); in toStringGeneratesExpectedString()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabaseLocaleTest.java | 113 String expectedString = new String(new int[] {0xFE000}, 0, 1); in testHoge() local 114 mDatabase.execSQL("INSERT INTO test(id, data) VALUES(1, '" + expectedString + "')"); in testHoge() 120 assertEquals(expectedString.length(), actualString.length()); in testHoge() 121 for (int i = 0; i < expectedString.length(); i++) { in testHoge() 122 assertEquals((int)expectedString.charAt(i), (int)actualString.charAt(i)); in testHoge() 124 assertEquals(expectedString, actualString); in testHoge()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/content/ |
H A D | AssetTest.java | 37 String expectedString = "OneTwoThreeFourFiveSixSevenEightNineTen"; in verifyTextAsset() local 45 + " expected " + expectedString.charAt(curIndex) in verifyTextAsset() 47 buffer[i], expectedString.charAt(curIndex)); in verifyTextAsset()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/ |
H A D | TileAdapterDelegateTest.java | 108 String expectedString = mContext.getString(POSITION_STRING_ID, position); in testStateDescriptionHasPositionForCurrentTile() local 111 assertThat(mInfo.getStateDescription()).isEqualTo(expectedString); in testStateDescriptionHasPositionForCurrentTile() 135 String expectedString = mContext.getString(R.string.accessibility_qs_edit_tile_add_action); in testClickAddAction() local 138 assertThat(action.getLabel().toString()).contains(expectedString); in testClickAddAction() 150 String expectedString = mContext.getString( in testClickRemoveAction() local 154 assertThat(action.getLabel().toString()).contains(expectedString); in testClickRemoveAction()
|
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
H A D | HbmEventTest.java | 52 String expectedString = "HbmEvent: {startTimeMillis:" + mStartTimeMillis in toStringGeneratesExpectedString() local 55 assertEquals(actualString, expectedString); in toStringGeneratesExpectedString()
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/ |
H A D | StringUtilTest.java | 117 final SpannableStringBuilder expectedString = (SpannableStringBuilder) charSequence; in testFormatElapsedTime_onlyContainsMinute_hasTtsSpan() local 118 final TtsSpan[] ttsSpans = expectedString.getSpans(0, expectedString.length(), in testFormatElapsedTime_onlyContainsMinute_hasTtsSpan()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/text/format/ |
H A D | FormatterTest.java | 273 String expectedString, long expectedRounded) { in checkFormatBytes() argument 275 expectedString, expectedRounded); in checkFormatBytes() 279 String expectedString, long expectedRounded) { in checkFormatBytes() argument 282 assertEquals(expectedString, r.value); in checkFormatBytes()
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/app/ |
H A D | ResourcesPerfTest.java | 236 final String expectedString = Integer.toHexString(expectedInteger); in getIdentifier() local 237 final String entryName = "i_am_color_" + expectedString; in getIdentifier()
|
/aosp14/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | FileRotatorTest.java | 430 final String expectedString = Arrays.toString(expected); 432 fail("expected: " + expectedString + " but was: " + actualString);
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/inputmethod/ |
H A D | BaseInputConnectionTest.java | 775 String expectedString, in verifySpannableString() argument 779 verifyContentEquals(text, expectedString); in verifySpannableString()
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | ValidateNotificationPeopleTest.java | 454 String expectedString = Arrays.toString(expected); in assertStringArrayEquals() local 456 assertEquals(message + ": arrays differ", expectedString, resultString); in assertStringArrayEquals()
|
/aosp14/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
H A D | AccessPointTest.java | 468 String expectedString = mContext.getString(R.string.speed_label_very_fast) + " / " 470 assertThat(ap.getSummary()).isEqualTo(expectedString); 505 String expectedString = 510 .isEqualTo(expectedString);
|