/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-junit/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 …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/ |
D | ShadeInteractorLegacyImplTest.kt | 60 val actual by collectLastValue(underTest.shadeExpansion) in fullShadeExpansionWhenShadeLocked() constant 71 val actual by collectLastValue(underTest.shadeExpansion) in fullShadeExpansionWhenStatusBarStateIsNotShadeLocked() constant 85 val actual by collectLastValue(underTest.shadeExpansion) in shadeExpansionWhenInSplitShadeAndQsExpanded() constant 102 val actual by collectLastValue(underTest.shadeExpansion) in shadeExpansionWhenNotInSplitShadeAndQsPartiallyExpanded() constant 118 val actual by collectLastValue(underTest.shadeExpansion) in shadeExpansionWhenNotInSplitShadeAndQsFullyExpanded() constant 134 val actual by collectLastValue(underTest.shadeExpansion) in shadeExpansionWhenNotInSplitShadeAndQsPartlyExpanded() constant 150 val actual by collectLastValue(underTest.shadeExpansion) in shadeExpansionWhenNotInSplitShadeAndQsCollapsed() constant 166 val actual by collectLastValue(underTest.isUserInteractingWithShade) in userInteractingWithShade_shadeDraggedUpAndDown() constant 222 val actual by collectLastValue(underTest.isUserInteractingWithShade) in userInteractingWithShade_shadeExpanded() constant 257 val actual by collectLastValue(underTest.isUserInteractingWithShade) in userInteractingWithShade_shadePartiallyExpanded() constant [all …]
|
D | ShadeInteractorImplTest.kt | 95 val actual by collectLastValue(underTest.isShadeEnabled) in isShadeEnabled_matchesDisableFlagsRepo() constant 111 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_deviceNotProvisioned_false() constant 124 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_userNotSetupAndSimpleUserSwitcher_false() constant 138 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_shadeNotEnabled_false() constant 151 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_quickSettingsNotEnabled_false() constant 165 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_dozing_false() constant 179 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_userSetup_true() constant 193 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_notSimpleUserSwitcher_true() constant 206 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_respondsToDozingUpdates() constant 231 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_respondsToDisableUpdates() constant [all …]
|
D | ShadeBackActionInteractorImplTest.kt | 70 val actual by collectLastValue(sceneInteractor.currentScene) in animateCollapseQs_notOnQs() constant 82 val actual by collectLastValue(sceneInteractor.currentScene) in animateCollapseQs_fullyCollapse_entered() constant 93 val actual by collectLastValue(sceneInteractor.currentScene) in animateCollapseQs_fullyCollapse_locked() constant 103 val actual by collectLastValue(sceneInteractor.currentScene) in animateCollapseQs_notFullyCollapse() constant 122 val actual by collectLastValue(sceneInteractor.currentScene) in setScene() constant
|
D | PrivacyChipInteractorTest.kt | 67 val actual by collectLastValue(underTest.isChipVisible) in isChipVisible_updates() constant 90 val actual by collectLastValue(underTest.isChipEnabled) in isChipEnabled_noIndicationEnabled() constant 101 val actual by collectLastValue(underTest.isChipEnabled) in isChipEnabled_micCameraIndicationEnabled() constant 112 val actual by collectLastValue(underTest.isChipEnabled) in isChipEnabled_locationIndicationEnabled() constant 123 val actual by collectLastValue(underTest.isChipEnabled) in isChipEnabled_allIndicationEnabled() constant
|
D | ShadeAnimationInteractorSceneContainerImplTest.kt | 48 val actual by collectLastValue(underTest.isAnyCloseAnimationRunning) in isAnyCloseAnimationRunning_qsToShade() constant 72 val actual by collectLastValue(underTest.isAnyCloseAnimationRunning) in isAnyCloseAnimationRunning_qsToGone_userInputNotOngoing() constant 96 val actual by collectLastValue(underTest.isAnyCloseAnimationRunning) in isAnyCloseAnimationRunning_qsToGone_userInputOngoing() constant 129 val actual by collectLastValue(underTest.isAnyFlingAnimationRunning) in isAnyFlingAnimationRunning() constant
|
/frameworks/minikin/tests/unittest/ |
D | GreedyLineBreakerTest.cpp | 277 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 288 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 302 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 318 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 334 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 351 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 368 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 387 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 408 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local 431 const auto actual = doLineBreak(textBuf, NO_HYPHEN, LINE_WIDTH); in TEST_F() local [all …]
|
D | OptimalLineBreakerTest.cpp | 181 auto actual = doLineBreak(textBuffer, strategy, frequency, lang, lineWidth, in expectBreak() local 192 auto actual = doLineBreak(textBuffer, strategy, frequency, lang, lineWidth, in expectBreak() local 864 const auto actual = in TEST_F() local 883 const auto actual = in TEST_F() local 914 const auto actual = in TEST_F() local 932 const auto actual = in TEST_F() local 1016 auto actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F() local 1058 auto actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F() local 1222 const auto actual = doLineBreak(LINE_WIDTH); in TEST_F() local 1239 const auto actual = doLineBreak(LINE_WIDTH); in TEST_F() local [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/quickaffordance/ |
D | NoteTaskQuickAffordanceConfigTest.kt | 150 val actual by collectLastValue(underTest.lockScreenState) in createLockScreenStateVisible() constant 166 val actual by collectLastValue(underTest.lockScreenState) in lockScreenState_stylusUnused_userLocked_customizationDisabled_notesLockScreenShortcutSelected_shouldEmitHidden() constant 182 val actual by collectLastValue(underTest.lockScreenState) in lockScreenState_stylusUnused_userLocked_customizationEnabled_notesLockScreenShortcutNotSelected_shouldEmitHidden() constant 198 val actual by collectLastValue(underTest.lockScreenState) in lockScreenState_stylusUnused_userLocked_customizationEnabled_notesLockScreenShortcutSelected_shouldEmitHidden() constant 214 val actual by collectLastValue(underTest.lockScreenState) in lockScreenState_stylusUnused_userUnlocked_customizationDisabled_notesLockScreenShortcutNotSelected_shouldEmitHidden() constant 230 val actual by collectLastValue(underTest.lockScreenState) in lockScreenState_stylusUnused_userUnlocked_customizationDisabled_notesLockScreenShortcutSelected_shouldEmitHidden() constant 246 val actual by collectLastValue(underTest.lockScreenState) in lockScreenState_stylusUnused_userUnlocked_customizationEnabled_notesLockScreenShortcutNotSelected_shouldEmitHidden() constant 262 val actual by collectLastValue(underTest.lockScreenState) in lockScreenState_stylusUnused_userUnlocked_customizationEnabled_notesLockScreenShortcutSelected_shouldEmitVisible() constant 278 val actual by collectLastValue(underTest.lockScreenState) in lockScreenState_stylusUsed_userLocked_customizationDisabled_notesLockScreenShortcutNotSelected_shouldEmitHidden() constant 294 val actual by collectLastValue(underTest.lockScreenState) in lockScreenState_stylusUsed_userLocked_customizationDisabled_notesLockScreenShortcutSelected_shouldEmitHidden() constant [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/packages/SystemUI/tests/src/com/android/systemui/animation/ |
D | TextInterpolatorTest.kt | 102 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testStartState() constant 120 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testEndState() constant 141 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testMiddleState() constant 165 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testRebase() constant 183 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testBidi_LTR() constant 204 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testBidi_RTL() constant 225 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testGlyphCallback_Empty() constant 248 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testGlyphCallback_Xcoordinate() constant 273 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testGlyphCallback_Ycoordinate() constant 298 val actual = interp.toBitmap(BMP_WIDTH, BMP_HEIGHT) in testGlyphCallback_TextSize() constant [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/contentprotection/ |
D | ContentProtectionUtilsTest.java | 51 String actual = ContentProtectionUtils.getEventTextLower(createEvent()); in getEventTextLower_null() local 58 String actual = ContentProtectionUtils.getEventTextLower(createEventWithText()); in getEventTextLower_notNull() local 65 String actual = ContentProtectionUtils.getViewNodeTextLower(new ViewNode()); in getViewNodeTextLower_null() local 72 String actual = ContentProtectionUtils.getViewNodeTextLower(createViewNodeWithText()); in getViewNodeTextLower_notNull() local 79 String actual = ContentProtectionUtils.getHintTextLower(new ViewNode()); in getHintTextLower_null() local 86 String actual = ContentProtectionUtils.getHintTextLower(createViewNodeWithHint()); in getHintTextLower_notNull() local
|
/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 …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationTargetsHelperTest.kt | 43 val actual = in <lambda>() constant 65 val actual = in <lambda>() constant 87 val actual = in <lambda>() constant 109 val actual = in <lambda>() constant 130 val actual = in <lambda>() constant 153 val actual = in <lambda>() constant 183 val actual = in <lambda>() constant 207 val actual = in <lambda>() constant
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/data/repository/ |
D | PrivacyChipRepositoryTest.kt | 73 val actual by collectLastValue(underTest.isSafetyCenterEnabled) in isSafetyCenterEnabled_startEnabled() constant 84 val actual by collectLastValue(underTest.isSafetyCenterEnabled) in isSafetyCenterEnabled_startDisabled() constant 92 val actual by collectLastValue(underTest.isSafetyCenterEnabled) in isSafetyCenterEnabled_updates() constant 112 val actual by collectLastValue(underTest.privacyItems) in privacyItems_updates() constant 137 val actual by collectLastValue(underTest.isMicCameraIndicationEnabled) in isMicCameraIndicationEnabled_updates() constant 154 val actual by collectLastValue(underTest.isLocationIndicationEnabled) in isLocationIndicationEnabled_updates() constant
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/ui/mapper/ |
D | CustomTileMapperTest.kt | 66 val actual = in stateHasPendingBinding() constant 82 val actual = in stateActive() constant 97 val actual = in stateInactive() constant 113 val actual = in stateUnavailable() constant 132 val actual = in tileWithChevron() constant 148 val actual = in defaultIconFallback() constant 167 val actual = in failedToLoadIconTileIsUnavailable() constant 193 val actual = underTest.map(customTileQsTileConfig, createModel()) in nullUserContextDoesNotCauseExceptionReturnsNullIconAndUnavailableState() constant
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/ |
D | AudioSharingButtonViewModelTest.kt | 85 val actual by in testButtonStateUpdate_bluetoothOff_returnGone() constant 98 val actual by in testButtonStateUpdate_noDevice_returnGone() constant 111 val actual by in testButtonStateUpdate_isBroadcasting_returnSharingAudio() constant 134 val actual by in testButtonStateUpdate_hasSource_returnGone() constant 157 val actual by in testButtonStateUpdate_hasActiveDevice_returnAudioSharing() constant
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ArchiveTest.java | 100 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray(mUm, SIZE, true)); in testRecordAndRead() local 114 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray(mUm, SIZE, true)); in testCrossUser() local 134 List<StatusBarNotification> actual = Arrays.asList( in testRecordAndRead_overLimit() local 155 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray(mUm, SIZE, true)); in testDoesNotRecordIfHistoryDisabled() local 176 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray(mUm, SIZE, true)); in testRemovesEntriesWhenHistoryDisabled() local 201 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray(mUm, SIZE, true)); in testRemoveChannelNotifications() local 251 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray(mUm, SIZE, true)); in testRemoveChannelNotifications_concurrently() local 276 List<StatusBarNotification> actual = Arrays.asList(mArchive.getArray(mUm, SIZE, true)); in testRemoveNotificationsByPackage() local
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/domain/interactor/ |
D | LightsOutInteractorTest.kt | 42 val actual by collectLastValue(interactor.isLowProfile(DISPLAY_ID)!!) in <lambda>() constant 52 val actual by collectLastValue(interactor.isLowProfile(DISPLAY_ID)!!) in isLowProfile_lightsOutTransparentStatusBarMode_true() constant 61 val actual by collectLastValue(interactor.isLowProfile(DISPLAY_ID)!!) in <lambda>() constant
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/ |
D | NotificationLoggerViewModelTest.kt | 78 val actual by collectLastValue(underTest.isLockscreenOrShadeInteractive) in <lambda>() constant 90 val actual by collectLastValue(underTest.isLockscreenOrShadeInteractive) in <lambda>() constant 102 val actual by collectLastValue(underTest.isLockscreenOrShadeInteractive) in <lambda>() constant 114 val actual by collectLastValue(underTest.isLockscreenOrShadeInteractive) in <lambda>() constant 126 val actual by collectLastValue(underTest.isLockscreenOrShadeInteractive) in <lambda>() constant 138 val actual by collectLastValue(underTest.isLockscreenOrShadeInteractive) in <lambda>() constant 150 val actual by collectLastValue(underTest.isLockscreenOrShadeInteractive) in <lambda>() constant
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/analytics/ |
D | ServiceStateAnalyticsProviderTest.java | 308 ArrayList<String> actual = mServiceStateAnalyticsProvider.aggregate(); in testTotalUpTimeThroughAggregate() local 321 ArrayList<String> actual = mServiceStateAnalyticsProvider.aggregate(); in testTotalUpTimeWhenCursorNullThroughAggregate() local 335 ArrayList<String> actual = mServiceStateAnalyticsProvider.aggregate(); in testTotalUpTimeWhenCursorInvalidThroughAggregate() local 359 ArrayList<String> actual = mServiceStateAnalyticsProvider.aggregate(); in testOutOfServiceDurationThroughAggregate() local 382 ArrayList<String> actual = mServiceStateAnalyticsProvider.aggregate(); in testOutOfServiceDurationWhenCursorNullThroughAggregate() local 403 ArrayList<String> actual = mServiceStateAnalyticsProvider.aggregate(); in testOutOfServiceDurationWhenCursorInvalidThroughAggregate() local 468 ArrayList<String> actual = mServiceStateAnalyticsProvider.aggregate(); in testOutOfServiceDurationByReasonWhenValid() local 497 ArrayList<String> actual = mServiceStateAnalyticsProvider.aggregate(); in testOutOfServiceDurationByReasonWhenNoDataInCursor() local 522 ArrayList<String> actual = mServiceStateAnalyticsProvider.aggregate(); in testOutOfServiceDurationByReasonWhenReasonIndexInvalid() local 547 ArrayList<String> actual = mServiceStateAnalyticsProvider.aggregate(); in testOutOfServiceDurationByReasonWhenTimeIndexInvalid() local [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/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/core/tests/coretests/src/com/android/internal/util/ |
D | GrowingArrayUtilsTest.java | 125 private <T> void assertArrayEqualsPrefix(T[] expected, T[] actual) { in assertArrayEqualsPrefix() 129 private void assertArrayEqualsPrefix(int[] expected, int[] actual) { in assertArrayEqualsPrefix() 133 private void assertArrayEqualsPrefix(long[] expected, long[] actual) { in assertArrayEqualsPrefix() 137 private void assertArrayEqualsPrefix(boolean[] expected, boolean[] actual) { in assertArrayEqualsPrefix()
|