Home
last modified time | relevance | path

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

1234567891011

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DExpectableTestCase.java77 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/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/domain/interactor/
DShadeInteractorLegacyImplTest.kt60 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 …]
DShadeInteractorImplTest.kt99 val actual by collectLastValue(underTest.isShadeEnabled) in isShadeEnabled_matchesDisableFlagsRepo() constant
115 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_deviceNotProvisioned_false() constant
128 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_userNotSetupAndSimpleUserSwitcher_false() constant
144 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_shadeNotEnabled_false() constant
159 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_quickSettingsNotEnabled_false() constant
176 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_dozing_false() constant
193 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_userSetup_true() constant
210 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_notSimpleUserSwitcher_true() constant
226 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_respondsToDozingUpdates() constant
254 val actual by collectLastValue(underTest.isExpandToQsEnabled) in isExpandToQsEnabled_respondsToDisableUpdates() constant
[all …]
DPrivacyChipInteractorTest.kt69 val actual by collectLastValue(underTest.isChipVisible) in isChipVisible_updates() constant
92 val actual by collectLastValue(underTest.isChipEnabled) in isChipEnabled_noIndicationEnabled() constant
103 val actual by collectLastValue(underTest.isChipEnabled) in isChipEnabled_micCameraIndicationEnabled() constant
114 val actual by collectLastValue(underTest.isChipEnabled) in isChipEnabled_locationIndicationEnabled() constant
125 val actual by collectLastValue(underTest.isChipEnabled) in isChipEnabled_allIndicationEnabled() constant
DShadeBackActionInteractorImplTest.kt72 val actual by collectLastValue(sceneInteractor.currentScene) in animateCollapseQs_notOnQs() constant
84 val actual by collectLastValue(sceneInteractor.currentScene) in animateCollapseQs_fullyCollapse_entered() constant
95 val actual by collectLastValue(sceneInteractor.currentScene) in animateCollapseQs_fullyCollapse_locked() constant
105 val actual by collectLastValue(sceneInteractor.currentScene) in animateCollapseQs_notFullyCollapse() constant
124 val actual by collectLastValue(sceneInteractor.currentScene) in setScene() constant
DShadeAnimationInteractorSceneContainerImplTest.kt50 val actual by collectLastValue(underTest.isAnyCloseAnimationRunning) in isAnyCloseAnimationRunning_qsToShade() constant
74 val actual by collectLastValue(underTest.isAnyCloseAnimationRunning) in isAnyCloseAnimationRunning_qsToGone_userInputNotOngoing() constant
98 val actual by collectLastValue(underTest.isAnyCloseAnimationRunning) in isAnyCloseAnimationRunning_qsToGone_userInputOngoing() constant
/frameworks/base/test-runner/src/android/test/
DMoreAsserts.java46 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/
DAssert.java62 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/minikin/tests/unittest/
DGreedyLineBreakerTest.cpp277 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 …]
DOptimalLineBreakerTest.cpp180 auto actual = doLineBreak(textBuffer, strategy, frequency, lang, lineWidth, in expectBreak() local
191 auto actual = doLineBreak(textBuffer, strategy, frequency, lang, lineWidth, in expectBreak() local
863 const auto actual = in TEST_F() local
882 const auto actual = in TEST_F() local
913 const auto actual = in TEST_F() local
931 const auto actual = in TEST_F() local
1015 auto actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F() local
1057 auto actual = doLineBreak(textBuf, *measured, HIGH_QUALITY, NO_HYPHENATION, LINE_WIDTH); in TEST_F() local
1221 const auto actual = doLineBreak(LINE_WIDTH); in TEST_F() local
1238 const auto actual = doLineBreak(LINE_WIDTH); in TEST_F() local
[all …]
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/test/
Dtest_macros.h16 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/
DBubbleXmlHelperTest.kt78 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/
DContentProtectionUtilsTest.java51 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/packages/SystemUI/tests/src/com/android/systemui/animation/
DTextInterpolatorTest.kt98 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/packages/SystemUI/tests/src/com/android/systemui/notetask/quickaffordance/
DNoteTaskQuickAffordanceConfigTest.kt140 val actual by collectLastValue(underTest.lockScreenState) in createLockScreenStateVisible() constant
161 val actual by collectLastValue(underTest.lockScreenState) in lockScreenState_stylusUsed_userUnlocked_isSelected_noDefaultNotesAppSet_shouldEmitHidden() constant
171 val actual by collectLastValue(underTest.lockScreenState) in <lambda>() constant
181 val actual by collectLastValue(underTest.lockScreenState) in <lambda>() constant
191 val actual by collectLastValue(underTest.lockScreenState) in <lambda>() constant
201 val actual by collectLastValue(underTest.lockScreenState) in <lambda>() constant
211 val actual by collectLastValue(underTest.lockScreenState) in <lambda>() constant
221 val actual by collectLastValue(underTest.lockScreenState) in <lambda>() constant
231 val actual by collectLastValue(underTest.lockScreenState) in <lambda>() constant
241 val actual by collectLastValue(underTest.lockScreenState) in <lambda>() constant
[all …]
/frameworks/base/tools/aapt2/java/
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 …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/shade/data/repository/
DPrivacyChipRepositoryTest.kt75 val actual by collectLastValue(underTest.isSafetyCenterEnabled) in isSafetyCenterEnabled_startEnabled() constant
86 val actual by collectLastValue(underTest.isSafetyCenterEnabled) in isSafetyCenterEnabled_startDisabled() constant
94 val actual by collectLastValue(underTest.isSafetyCenterEnabled) in isSafetyCenterEnabled_updates() constant
114 val actual by collectLastValue(underTest.privacyItems) in privacyItems_updates() constant
139 val actual by collectLastValue(underTest.isMicCameraIndicationEnabled) in isMicCameraIndicationEnabled_updates() constant
156 val actual by collectLastValue(underTest.isLocationIndicationEnabled) in isLocationIndicationEnabled_updates() constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/domain/interactor/
DLightsOutInteractorTest.kt39 val actual by collectLastValue(interactor.isLowProfile(DISPLAY_ID)) in <lambda>() constant
49 val actual by collectLastValue(interactor.isLowProfile(DISPLAY_ID)) in isLowProfile_lightsOutTransparentStatusBarMode_true() constant
58 val actual by collectLastValue(interactor.isLowProfile(DISPLAY_ID)) in <lambda>() constant
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DArchiveTest.java100 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/tests/src/com/android/systemui/bluetooth/qsdialog/
DAudioSharingInteractorTest.kt86 val actual by collectLastValue(audioSharingInteractor.audioSharingButtonStateUpdate) in testButtonStateUpdate_bluetoothOff_returnGone() constant
95 val actual by collectLastValue(audioSharingInteractor.audioSharingButtonStateUpdate) in testButtonStateUpdate_noDevice_returnGone() constant
108 val actual by collectLastValue(audioSharingInteractor.audioSharingButtonStateUpdate) in testButtonStateUpdate_isBroadcasting_returnSharingAudio() constant
135 val actual by collectLastValue(audioSharingInteractor.audioSharingButtonStateUpdate) in testButtonStateUpdate_hasSource_returnGone() constant
158 val actual by collectLastValue(audioSharingInteractor.audioSharingButtonStateUpdate) in testButtonStateUpdate_hasActiveDevice_returnAudioSharing() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/domain/interactor/
DCustomTileMapperTest.kt67 val actual = in stateHasPendingBinding() constant
86 val actual = in stateActive() constant
104 val actual = in stateInactive() constant
122 val actual = in stateUnavailable() constant
141 val actual = in tileWithChevron() constant
160 val actual = in defaultIconFallback() constant
179 val actual = in failedToLoadIconTileIsInactive() constant
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/analytics/
DServiceStateAnalyticsProviderTest.java308 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/tests/src/com/android/systemui/notetask/
DNoteTaskInfoResolverTest.kt72 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/
DGrowingArrayUtilsTest.java125 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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/
DNotificationTargetsHelperTest.kt40 val actual = in notificationTargetsHelper() constant
62 val actual = in targetsForMiddleNotificationInGroup() constant
84 val actual = in targetsForLastNotificationInGroup() constant

1234567891011