| /frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
| D | ExpectableTestCase.java | 77 ComparableT actual) { in expectThat() 81 protected final BigDecimalSubject expectThat(BigDecimal 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() [all …]
|
| /frameworks/base/test-runner/src/android/test/ |
| D | MoreAsserts.java | 46 public static void assertAssignableFrom(Class<?> expected, Object actual) { in assertAssignableFrom() 55 public static void assertAssignableFrom(Class<?> expected, Class<?> actual) { in assertAssignableFrom() 67 String message, Object unexpected, Object actual) { in assertNotEqual() 77 public static void assertNotEqual(Object unexpected, Object actual) { in assertNotEqual() 87 String message, byte[] expected, byte[] actual) { in assertEquals() 103 public static void assertEquals(byte[] expected, byte[] actual) { in assertEquals() 113 String message, int[] expected, int[] actual) { in assertEquals() 129 public static void assertEquals(int[] expected, int[] actual) { in assertEquals() 139 String message, long[] expected, long[] actual) { in assertEquals() 155 public static void assertEquals(long[] expected, long[] actual) { in assertEquals() [all …]
|
| /frameworks/base/test-base/src/junit/framework/ |
| D | Assert.java | 62 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() 73 static public void assertEquals(Object expected, Object actual) { in assertEquals() 79 static public void assertEquals(String message, String expected, String actual) { in assertEquals() 90 static public void assertEquals(String expected, String actual) { in assertEquals() 98 static public void assertEquals(String message, double expected, double actual, double delta) { in assertEquals() 108 static public void assertEquals(double expected, double actual, double delta) { in assertEquals() 116 static public void assertEquals(String message, float expected, float actual, float delta) { in assertEquals() 126 static public void assertEquals(float expected, float actual, float delta) { in assertEquals() 133 static public void assertEquals(String message, long expected, long actual) { in assertEquals() 139 static public void assertEquals(long expected, long actual) { in assertEquals() [all …]
|
| D | ComparisonCompactor.java | 19 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()
|
| /frameworks/minikin/tests/unittest/ |
| D | GreedyLineBreakerTest.cpp | 138 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 149 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 163 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 179 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 195 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 212 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 229 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 248 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 269 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 292 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local [all …]
|
| D | OptimalLineBreakerTest.cpp | 102 auto actual = doLineBreak(textBuffer, strategy, frequency, lang, lineWidth, in expectBreak() local 113 auto actual = doLineBreak(textBuffer, strategy, frequency, lang, lineWidth, in expectBreak() local 764 const auto actual = in TEST_F() local 783 const auto actual = in TEST_F() local 814 const auto actual = in TEST_F() local 832 const auto actual = in TEST_F() local 916 auto actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F() local 958 auto actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F() local 1122 const auto actual = doLineBreak(LINE_WIDTH); in TEST_F() local 1139 const auto actual = doLineBreak(LINE_WIDTH); in TEST_F() local [all …]
|
| /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/data/repository/ |
| D | ShadeInteractorTest.kt | 152 val actual by collectLastValue(underTest.isShadeEnabled) in isShadeEnabled_matchesDisableFlagsRepo() constant 168 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_deviceNotProvisioned_false() constant 181 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_userNotSetupAndSimpleUserSwitcher_false() constant 197 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_shadeNotEnabled_false() constant 212 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_quickSettingsNotEnabled_false() constant 229 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_dozing_false() constant 246 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_userSetup_true() constant 263 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_notSimpleUserSwitcher_true() constant 279 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_respondsToDozingUpdates() constant 307 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_respondsToDisableUpdates() constant [all …]
|
| /frameworks/native/libs/vr/libdvrcommon/include/private/dvr/test/ |
| D | test_macros.h | 16 const A& expected, const B& actual, const T& tolerance) { in CmpArrayLikeFloatEq() 34 const A& expected, const B& actual, const T& tolerance) { in CmpMatrixLikeFloatEq() 54 const A& expected, const B& actual, const T& tolerance) { in CmpArrayLikeFloatNe() 72 const A& expected, const B& actual, const T& tolerance) { in CmpMatrixLikeFloatNe() 92 #define EXPECT_VEC3_NEAR(expected, actual, tol) \ argument 96 #define EXPECT_VEC3_NOT_NEAR(expected, actual, tol) \ argument 100 #define EXPECT_QUAT_NEAR(expected, actual, tol) \ argument 104 #define EXPECT_QUAT_NOT_NEAR(expected, actual, tol) \ argument 108 #define EXPECT_MAT4_NEAR(expected, actual, tol) \ argument 112 #define EXPECT_MAT4_NOT_NEAR(expected, actual, tol) \ argument [all …]
|
| /frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/storage/ |
| D | BubbleXmlHelperTest.kt | 78 val actual = it.toString() in testWriteXml() constant 101 val actual = readXml(ByteArrayInputStream(src.toByteArray(Charsets.UTF_8))) in testReadXml() constant 116 val actual = readXml(ByteArrayInputStream(src.toByteArray(Charsets.UTF_8))) in testUpgradeFromV0DropsPreviousData() constant 143 val actual = readXml(ByteArrayInputStream(src.toByteArray(Charsets.UTF_8))) in testReadXMLWithoutTaskId() constant 167 val actual = readXml(ByteArrayInputStream(src.toByteArray(Charsets.UTF_8))) in testXMLWithoutLocusToLocus() constant 190 val actual = readXml(ByteArrayInputStream(src.toByteArray(Charsets.UTF_8))) in testUpgradeToV2SavesPreviousData() constant
|
| /frameworks/base/core/tests/coretests/src/android/view/contentprotection/ |
| D | ContentProtectionUtilsTest.java | 55 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
|
| /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/quickaffordance/ |
| D | NoteTaskQuickAffordanceConfigTest.kt | 143 val actual by collectLastValue(underTest.lockScreenState) in createLockScreenStateVisible() constant 164 val actual by collectLastValue(underTest.lockScreenState) in lockScreenState_stylusUsed_userUnlocked_isSelected_noDefaultNotesAppSet_shouldEmitHidden() constant 177 val actual by collectLastValue(underTest.lockScreenState) in <lambda>() constant 190 val actual by collectLastValue(underTest.lockScreenState) in <lambda>() constant 200 val actual by collectLastValue(underTest.lockScreenState) in <lambda>() constant 210 val actual by collectLastValue(underTest.lockScreenState) in <lambda>() constant 220 val actual by collectLastValue(underTest.lockScreenState) in <lambda>() constant 230 val actual by collectLastValue(underTest.lockScreenState) in lockScreenState_stylusUsed_userUnlocked_customSelections_shouldEmitVisible() constant 240 val actual by collectLastValue(underTest.lockScreenState) in <lambda>() constant 250 val actual by collectLastValue(underTest.lockScreenState) in <lambda>() constant [all …]
|
| /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/ |
| D | TextInterpolatorTest.kt | 98 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testStartState() constant 116 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testEndState() constant 137 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testMiddleState() constant 161 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testRebase() constant 179 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testBidi_LTR() constant 199 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testBidi_RTL() constant 221 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testGlyphCallback_Empty() constant 244 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testGlyphCallback_Xcoordinate() constant 269 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testGlyphCallback_Ycoordinate() constant 294 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testGlyphCallback_TextSize() constant [all …]
|
| /frameworks/base/tools/aapt2/java/ |
| D | ProguardRules_test.cpp | 61 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 …]
|
| D | ManifestClassGenerator_test.cpp | 42 std::string actual; local 95 std::string actual; local 146 std::string actual; local 189 std::string actual; local 204 std::string actual; local
|
| /frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
| D | ArchiveTest.java | 95 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
|
| D | GlobalSortKeyComparatorTest.java | 76 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
|
| /frameworks/base/services/tests/mockingservicestests/src/com/android/server/tare/ |
| D | TareTestUtils.java | 28 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()
|
| /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/ |
| D | NoteTaskInfoResolverTest.kt | 72 val actual = underTest.resolveInfo(user = context.user) in resolveInfo_shouldReturnInfo() constant 95 val actual = underTest.resolveInfo(user = context.user) in resolveInfo_packageManagerThrowsException_shouldReturnInfoWithZeroUid() constant 109 val actual = underTest.resolveInfo(user = context.user) in resolveInfo_noRoleHolderIsSet_shouldReturnNull() constant
|
| /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
| D | NotificationTargetsHelperTest.kt | 40 val actual = in notificationTargetsHelper() constant 62 val actual = in targetsForMiddleNotificationInGroup() constant 84 val actual = in targetsForLastNotificationInGroup() constant
|
| /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/coroutine/ |
| D | CoroutineResultTest.kt | 36 val actual = suspendRunCatching { "Placeholder" } in <lambda>() constant 43 val actual = suspendRunCatching { throw Exception() } in <lambda>() constant
|
| /frameworks/base/libs/androidfw/tests/ |
| D | CursorWindow_test.cpp | 167 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
|
| /frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
| D | AssertHelpers.java | 137 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()
|
| /frameworks/base/tools/aapt2/ |
| D | ResourceUtils_test.cpp | 45 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
|
| /frameworks/base/services/tests/mockingservicestests/src/com/android/server/cpu/ |
| D | CpuMonitorServiceTest.java | 223 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
|
| /frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
| D | HexDumpTest.java | 93 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()
|