Home
last modified time | relevance | path

Searched defs:actual (Results 1 – 25 of 177) sorted by relevance

12345678

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
H A DExpectableTestCase.java77 ComparableT actual) { in expectThat()
85 protected final Subject expectThat(Object actual) { in expectThat()
90 protected final ClassSubject expectThat(Class<?> actual) { in expectThat()
94 protected final ThrowableSubject expectThat(Throwable actual) { in expectThat()
98 protected final LongSubject expectThat(Long actual) { in expectThat()
102 protected final DoubleSubject expectThat(Double actual) { in expectThat()
106 protected final FloatSubject expectThat(Float actual) { in expectThat()
110 protected final IntegerSubject expectThat(Integer actual) { in expectThat()
114 protected final BooleanSubject expectThat(Boolean actual) { in expectThat()
118 protected final StringSubject expectThat(String actual) { in expectThat()
[all …]
/aosp14/frameworks/base/test-base/src/junit/framework/
H A DAssert.java73 static public void assertEquals(Object expected, Object actual) { in assertEquals()
90 static public void assertEquals(String expected, String actual) { in assertEquals()
126 static public void assertEquals(float expected, float actual, float delta) { in assertEquals()
139 static public void assertEquals(long expected, long actual) { in assertEquals()
152 static public void assertEquals(boolean expected, boolean actual) { in assertEquals()
165 static public void assertEquals(byte expected, byte actual) { in assertEquals()
178 static public void assertEquals(char expected, char actual) { in assertEquals()
191 static public void assertEquals(short expected, short actual) { in assertEquals()
204 static public void assertEquals(int expected, int actual) { in assertEquals()
252 static public void assertSame(Object expected, Object actual) { in assertSame()
[all …]
H A DComparisonCompactor.java19 public ComparisonCompactor(int contextLength, String expected, String actual) { in ComparisonCompactor()
34 String actual= compactString(fActual); in compact() local
81 private static String format(String message, Object expected, Object actual) { in format()
/aosp14/frameworks/base/test-runner/src/android/test/
H A DMoreAsserts.java67 String message, Object unexpected, Object actual) { in assertNotEqual()
87 String message, byte[] expected, byte[] actual) { in assertEquals()
113 String message, int[] expected, int[] actual) { in assertEquals()
139 String message, long[] expected, long[] actual) { in assertEquals()
265 String expectedRegex, String actual) { in assertMatchesRegex()
293 String expectedRegex, String actual) { in assertContainsRegex()
316 String expectedRegex, String actual) { in assertNotMatchesRegex()
339 String expectedRegex, String actual) { in assertNotContainsRegex()
361 Iterable<?> actual, Object... expected) { in assertContentsInOrder()
528 String message, int expected, int actual) { in failWrongLength()
[all …]
/aosp14/system/core/libcutils/
H A Dtrace-dev_test.cpp56 std::string actual; in TEST_F() local
70 std::string actual; in TEST_F() local
93 std::string actual; in TEST_F() local
105 std::string actual; in TEST_F() local
119 std::string actual; in TEST_F() local
142 std::string actual; in TEST_F() local
154 std::string actual; in TEST_F() local
168 std::string actual; in TEST_F() local
191 std::string actual; in TEST_F() local
520 std::string actual; in TEST_F() local
[all …]
/aosp14/frameworks/base/core/tests/coretests/src/android/view/contentprotection/
H A DContentProtectionUtilsTest.java55 String actual = ContentProtectionUtils.getEventText(EVENT); in event_getEventText_null() local
65 String actual = ContentProtectionUtils.getEventText(event); in event_getEventText_notNull() local
72 String actual = ContentProtectionUtils.getViewNodeText(EVENT); in event_getViewNodeText_null() local
82 String actual = ContentProtectionUtils.getViewNodeText(event); in event_getViewNodeText_notNull() local
89 String actual = ContentProtectionUtils.getViewNodeText(VIEW_NODE); in viewNode_getViewNodeText_null() local
96 String actual = ContentProtectionUtils.getViewNodeText(VIEW_NODE_WITH_TEXT); in viewNode_getViewNodeText_notNull() local
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/data/repository/
H A DShadeInteractorTest.kt152 val actual by collectLastValue(underTest.isShadeEnabled) regex
168 val actual by collectLastValue(underTest.isExpandToQsEnabled) regex
181 val actual by collectLastValue(underTest.isExpandToQsEnabled) regex
197 val actual by collectLastValue(underTest.isExpandToQsEnabled) regex
212 val actual by collectLastValue(underTest.isExpandToQsEnabled) regex
229 val actual by collectLastValue(underTest.isExpandToQsEnabled) regex
246 val actual by collectLastValue(underTest.isExpandToQsEnabled) regex
263 val actual by collectLastValue(underTest.isExpandToQsEnabled) regex
279 val actual by collectLastValue(underTest.isExpandToQsEnabled) regex
307 val actual by collectLastValue(underTest.isExpandToQsEnabled) regex
[all …]
/aosp14/frameworks/base/tools/aapt2/java/
H A DProguardRules_test.cpp61 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local
95 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local
111 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local
129 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local
149 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local
165 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local
184 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local
215 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local
237 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local
279 std::string actual = GetKeepSetString(set, /** minimal_rules */ false); local
[all …]
H A DManifestClassGenerator_test.cpp42 std::string actual; local
95 std::string actual; local
146 std::string actual; local
189 std::string actual; local
204 std::string actual; local
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DArchiveTest.java95 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray(mUm, SIZE, true)); in testRecordAndRead() local
109 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray(mUm, SIZE, true)); in testCrossUser() local
129 List<StatusBarNotification> actual = Arrays.asList( in testRecordAndRead_overLimit() local
150 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray(mUm, SIZE, true)); in testDoesNotRecordIfHistoryDisabled() local
171 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray(mUm, SIZE, true)); in testRemovesEntriesWhenHistoryDisabled() local
196 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray(mUm, SIZE, true)); in testRemoveChannelNotifications() local
246 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray(mUm, SIZE, true)); in testRemoveChannelNotifications_concurrently() local
H A DGlobalSortKeyComparatorTest.java76 List<NotificationRecord> actual = new ArrayList<>(); in testComparator() local
106 List<NotificationRecord> actual = new ArrayList<>(); in testNoCrash_leftNull() local
136 List<NotificationRecord> actual = new ArrayList<>(); in testNoCrash_rightNull() local
H A DScheduleCalendarTest.java85 GregorianCalendar actual = new GregorianCalendar(); in testGetNextChangeTime_startToday() local
112 GregorianCalendar actual = new GregorianCalendar(); in testGetNextChangeTime_endToday() local
140 GregorianCalendar actual = new GregorianCalendar(); in testGetNextChangeTime_startTomorrow() local
168 GregorianCalendar actual = new GregorianCalendar(); in testGetNextChangeTime_endTomorrow() local
205 GregorianCalendar actual = new GregorianCalendar(TimeZone.getTimeZone("America/New_York")); in testGetNextChangeTime_startTomorrowInDaylight() local
243 GregorianCalendar actual = new GregorianCalendar(TimeZone.getTimeZone("America/New_York")); in testGetNextChangeTime_startTomorrowWhenTodayIsDaylight() local
281 GregorianCalendar actual = new GregorianCalendar(TimeZone.getTimeZone("America/New_York")); in testGetNextChangeTime_startTomorrowWhenTodayIsDaylightBackward() local
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
H A DTextInterpolatorTest.kt98 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) regex
116 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) regex
137 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) regex
161 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) regex
179 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) regex
199 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) regex
221 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) regex
244 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) regex
269 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) regex
294 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) regex
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/quickaffordance/
H A DNoteTaskQuickAffordanceConfigTest.kt143 val actual by collectLastValue(underTest.lockScreenState) regex
164 val actual by collectLastValue(underTest.lockScreenState) regex
177 val actual by collectLastValue(underTest.lockScreenState) regex
190 val actual by collectLastValue(underTest.lockScreenState) regex
200 val actual by collectLastValue(underTest.lockScreenState) regex
210 val actual by collectLastValue(underTest.lockScreenState) regex
220 val actual by collectLastValue(underTest.lockScreenState) regex
230 val actual by collectLastValue(underTest.lockScreenState) regex
240 val actual by collectLastValue(underTest.lockScreenState) regex
250 val actual by collectLastValue(underTest.lockScreenState) regex
[all …]
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/storage/
H A DBubbleXmlHelperTest.kt78 val actual = it.toString() regex
101 val actual = readXml(ByteArrayInputStream(src.toByteArray(Charsets.UTF_8))) regex
116 val actual = readXml(ByteArrayInputStream(src.toByteArray(Charsets.UTF_8))) regex
143 val actual = readXml(ByteArrayInputStream(src.toByteArray(Charsets.UTF_8))) regex
167 val actual = readXml(ByteArrayInputStream(src.toByteArray(Charsets.UTF_8))) regex
190 val actual = readXml(ByteArrayInputStream(src.toByteArray(Charsets.UTF_8))) regex
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/tare/
H A DTareTestUtils.java28 static void assertLedgersEqual(Ledger expected, Ledger actual) { in assertLedgersEqual()
52 static void assertSparseLongArraysEqual(SparseLongArray expected, SparseLongArray actual) { in assertSparseLongArraysEqual()
66 static void assertRewardBucketsEqual(Ledger.RewardBucket expected, Ledger.RewardBucket actual) { in assertRewardBucketsEqual()
76 static void assertTransactionsEqual(Ledger.Transaction expected, Ledger.Transaction actual) { in assertTransactionsEqual()
/aosp14/frameworks/base/libs/androidfw/tests/
H A DCursorWindow_test.cpp167 auto actual = w->getFieldSlotValueString(field, &size); in TEST() local
173 auto actual = w->getFieldSlotValueString(field, &size); in TEST() local
236 auto actual = w->getFieldSlotValueBlob(field, &actualSize); in TEST() local
251 auto actual = w->getFieldSlotValueBlob(field, &actualSize); in TEST() local
323 auto actual = w->getFieldSlotValueBlob(field, &actualSize); in TEST() local
333 auto actual = w->getFieldSlotValueBlob(field, &actualSize); in TEST() local
378 auto actual = w->getFieldSlotValueBlob(field, &actualSize); in TEST() local
387 auto actual = w->getFieldSlotValueBlob(field, &actualSize); in TEST() local
/aosp14/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DAssertHelpers.java137 public static <T> void assertArrayContains(String message, T[] actual, T checkVals) { in assertArrayContains()
149 public static void assertArrayContains(String message, int[] actual, int checkVals) { in assertArrayContains()
161 public static <T> T assertArrayContainsAnyOf(String message, T[] actual, T[] checkVals) { in assertArrayContainsAnyOf()
173 public static int assertArrayContainsAnyOf(String message, int[] actual, int[] checkVals) { in assertArrayContainsAnyOf()
185 public static <T> T assertCollectionContainsAnyOf(String message, Collection<T> actual, in assertCollectionContainsAnyOf()
H A DCameraErrorCollector.java147 public <T> boolean expectEquals(String msg, T expected, T actual) { in expectEquals()
169 public <T> boolean expectNotEquals(String msg, T expected, T actual) { in expectNotEquals()
189 public <T> boolean expectEquals(String msg, T[] expected, T[] actual) { in expectEquals()
214 public <T> boolean expectNotEquals(String msg, T[] expected, T[] actual) { in expectNotEquals()
237 T actual) { in expectGreater()
265 T actual) { in expectLess()
279 T actual) { in expectLessOrEqual()
441 MeteringRectangle[] expected, MeteringRectangle[] actual, in expectMeteringRegionsAreSimilar()
494 public boolean expectRectsAreSimilar(String msg, Rect expected, Rect actual, in expectRectsAreSimilar()
541 public boolean expectSizesAreSimilar(String msg, Size expected, Size actual, in expectSizesAreSimilar()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
H A DNoteTaskInfoResolverTest.kt72 val actual = underTest.resolveInfo(user = context.user) regex
95 val actual = underTest.resolveInfo(user = context.user) regex
109 val actual = underTest.resolveInfo(user = context.user) regex
/aosp14/frameworks/base/tools/aapt2/
H A DResourceUtils_test.cpp45 ResourceNameRef actual; in TEST() local
63 ResourceNameRef actual; in TEST() local
73 ResourceNameRef actual; in TEST() local
83 ResourceNameRef actual; in TEST() local
93 ResourceNameRef actual; in TEST() local
103 ResourceNameRef actual; in TEST() local
129 ResourceNameRef actual; in TEST() local
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/cpu/
H A DCpuMonitorServiceTest.java223 List<CpuAvailabilityInfo> actual = mCpuAvailabilityInfoCaptor.getAllValues(); in testReceiveCpuAvailabilityCallbackOnAddingFirstCallback() local
247 List<CpuAvailabilityInfo> actual = mCpuAvailabilityInfoCaptor.getAllValues(); in testReceiveCpuAvailabilityCallbackOnAddingMultipleCallbacks() local
279 List<CpuAvailabilityInfo> actual = mCpuAvailabilityInfoCaptor.getAllValues(); in testCrossCpuAvailabilityThresholdsWithSingleCallback() local
327 List<CpuAvailabilityInfo> actual = mCpuAvailabilityInfoCaptor.getAllValues(); in testCrossCpuAvailabilityThresholdsWithMultipleCallbacks() local
400 List<CpuAvailabilityInfo> actual = mCpuAvailabilityInfoCaptor.getAllValues(); in testCrossCpuAvailabilityThresholdsWithOfflineCores() local
479 List<CpuAvailabilityInfo> actual = mCpuAvailabilityInfoCaptor.getAllValues(); in testReceiveCpuAvailabilityCallbacksOnExecutorThread() local
522 List<CpuAvailabilityInfo> actual = mCpuAvailabilityInfoCaptor.getAllValues(); in testDuplicateAddCpuAvailabilityCallback() local
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DHexDumpTest.java93 String actual = toHexString(bytes, offset, len); in testToHexString_offsetLength() local
95 assertEquals(toHexString(subBytes), actual); in testToHexString_offsetLength() local
154 private static void assertBytesEqual(byte[] expected, byte[] actual) { in assertBytesEqual()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationTargetsHelperTest.kt40 val actual = regex
62 val actual = regex
84 val actual = regex
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/contentcapture/
H A DContentCaptureManagerServiceTest.java186 ContentCaptureOptions actual = in getOptions_contentCaptureDisabled_contentProtectionDisabled() local
202 ContentCaptureOptions actual = in getOptions_contentCaptureDisabled_contentProtectionEnabled() local
220 ContentCaptureOptions actual = in getOptions_contentCaptureEnabled_contentProtectionDisabled() local
242 ContentCaptureOptions actual = in getOptions_contentCaptureEnabled_contentProtectionEnabled() local

12345678