/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
D | ImageProcessingTest.java | 96 public void runTest(TestAction ta, String testName) { in runTest() method in ImageProcessingTest 118 runTest(ta, TestName.LEVELS_VEC3_RELAXED.name()); in testLevelsVec3Relaxed() 125 runTest(ta, TestName.LEVELS_VEC4_RELAXED.name()); in testLevelsVec4Relaxed() 132 runTest(ta, TestName.LEVELS_VEC3_FULL.name()); in testLevelsVec3Full() 139 runTest(ta, TestName.LEVELS_VEC4_FULL.name()); in testLevelsVec4Full() 146 runTest(ta, TestName.BLUR_RADIUS_25.name()); in testBlurRadius25() 153 runTest(ta, TestName.INTRINSIC_BLUE_RADIUS_25.name()); in testIntrinsicBlurRadius25() 160 runTest(ta, TestName.GREYSCALE.name()); in testGreyscale() 167 runTest(ta, TestName.GRAIN.name()); in testGrain() 174 runTest(ta, TestName.FISHEYE_FULL.name()); in testFisheyeFull() [all …]
|
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
D | ImageProcessingTest.java | 109 public void runTest(TestAction ta, String testName) { in runTest() method in ImageProcessingTest 153 runTest(ta, TestName.LEVELS_VEC3_RELAXED.name()); in testLevelsVec3Relaxed() 160 runTest(ta, TestName.LEVELS_VEC4_RELAXED.name()); in testLevelsVec4Relaxed() 167 runTest(ta, TestName.LEVELS_VEC3_FULL.name()); in testLevelsVec3Full() 174 runTest(ta, TestName.LEVELS_VEC4_FULL.name()); in testLevelsVec4Full() 181 runTest(ta, TestName.BLUR_RADIUS_25.name()); in testBlurRadius25() 188 runTest(ta, TestName.INTRINSIC_BLUR_RADIUS_25.name()); in testIntrinsicBlurRadius25() 195 runTest(ta, TestName.GREYSCALE.name()); in testGreyscale() 202 runTest(ta, TestName.GRAIN.name()); in testGrain() 209 runTest(ta, TestName.FISHEYE_FULL.name()); in testFisheyeFull() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/graphics/ |
D | ImageLoaderTest.kt | 25 import kotlinx.coroutines.test.runTest 63 testScope.runTest { assertThat(imageLoader.loadDrawable(ImageLoader.Res(-1))).isNull() } in invalidResource_drawable_returnsNull() 67 testScope.runTest { assertThat(imageLoader.loadBitmap(ImageLoader.Res(-1))).isNull() } in invalidResource_bitmap_returnsNull() 71 testScope.runTest { in invalidUri_returnsNull() 77 testScope.runTest { in invalidFile_returnsNull() 83 testScope.runTest { in invalidIcon_loadDrawable_returnsNull() 89 testScope.runTest { in invalidIcon_loadSize_returnsNull() 96 testScope.runTest { in invalidIS_returnsNull() 107 testScope.runTest { in validBitmapResource_loadDrawable_returnsBitmapDrawable() 127 testScope.runTest { in validBitmapResource_loadBitmap_returnsBitmapDrawable() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/domain/interactor/ |
D | MobileIconsInteractorTest.kt | 50 import kotlinx.coroutines.test.runTest 116 testScope.runTest { in filteredSubscriptions_default() 125 testScope.runTest { in filteredSubscriptions_moreThanTwo_doesNotFilter() 136 testScope.runTest { in filteredSubscriptions_nonOpportunistic_updatesWithMultipleSubs() 146 testScope.runTest { in filteredSubscriptions_opportunistic_differentGroups_doesNotFilter() 157 testScope.runTest { in filteredSubscriptions_opportunistic_nonGrouped_doesNotFilter() 174 testScope.runTest { in filteredSubscriptions_opportunistic_grouped_configFalse_showsActive_3() 194 testScope.runTest { in filteredSubscriptions_opportunistic_grouped_configFalse_showsActive_4() 214 testScope.runTest { in filteredSubscriptions_oneOpportunistic_grouped_configTrue_showsPrimary_active_1() 235 testScope.runTest { in filteredSubscriptions_oneOpportunistic_grouped_configTrue_showsPrimary_nonActive_1() [all …]
|
D | MobileIconInteractorTest.kt | 52 import kotlinx.coroutines.test.runTest 89 testScope.runTest { in gsm_usesGsmLevel() 104 testScope.runTest { in gsm_alwaysShowCdmaTrue_stillUsesGsmLevel() 120 testScope.runTest { in notGsm_level_default_unknown() 132 testScope.runTest { in notGsm_alwaysShowCdmaTrue_usesCdmaLevel() 148 testScope.runTest { in notGsm_alwaysShowCdmaFalse_usesPrimaryLevel() 164 testScope.runTest { in numberOfLevels_comesFromRepo_whenApplicable() 182 testScope.runTest { in inflateSignalStrength_arbitrarilyAddsOneToTheReportedLevel() 198 testScope.runTest { in networkSlice_configOn_hasPrioritizedCaps_showsSlice() 209 testScope.runTest { in networkSlice_configOn_noPrioritizedCaps_noSlice() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/ |
D | NotificationListViewModelTest.kt | 55 import kotlinx.coroutines.test.runTest 106 testScope.runTest { in isImportantForAccessibility_falseWhenNoNotifs() 121 testScope.runTest { in isImportantForAccessibility_trueWhenNotifs() 136 testScope.runTest { in isImportantForAccessibility_trueWhenNotKeyguard() 151 testScope.runTest { in shouldIncludeEmptyShadeView_trueWhenNoNotifs() 164 testScope.runTest { in shouldIncludeEmptyShadeView_falseWhenNotifs() 177 testScope.runTest { in shouldIncludeEmptyShadeView_falseWhenQsExpandedDefault() 192 testScope.runTest { in shouldIncludeEmptyShadeView_trueWhenQsExpandedInSplitShade() 211 testScope.runTest { in shouldIncludeEmptyShadeView_trueWhenLockedShade() 226 testScope.runTest { in shouldIncludeEmptyShadeView_falseWhenKeyguard() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/haptics/slider/ |
D | SliderStateProducerTest.kt | 24 import kotlinx.coroutines.test.runTest 36 fun onStartTrackingTouch_noProgress_trackingTouchEventProduced() = runTest { in <lambda>() 45 fun onStopTrackingTouch_noProgress_StoppedTrackingTouchEventProduced() = runTest { in <lambda>() 54 fun onStartTrackingProgram_noProgress_trackingTouchEventProduced() = runTest { in <lambda>() 63 fun onStopTrackingProgram_noProgress_StoppedTrackingTouchEventProduced() = runTest { in <lambda>() 72 fun onProgressChangeByUser_changeByUserEventProduced() = runTest { in <lambda>() 82 fun onProgressChangeByProgram_changeByProgramEventProduced() = runTest { in <lambda>() 92 fun onStartTrackingTouch_afterProgress_trackingTouchEventProduced() = runTest { in onStartTrackingTouch_afterProgress_trackingTouchEventProduced() 103 fun onStopTrackingTouch_afterProgress_stopTrackingTouchEventProduced() = runTest { in <lambda>() 114 fun onStartTrackingProgram_afterProgress_trackingProgramEventProduced() = runTest { in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/domain/interactor/ |
D | HeadsUpNotificationInteractorTest.kt | 42 import kotlinx.coroutines.test.runTest 68 testScope.runTest { in hasPinnedRows_emptyList_false() 76 testScope.runTest { in hasPinnedRows_noPinnedRows_false() 92 testScope.runTest { in hasPinnedRows_hasPinnedRows_true() 108 testScope.runTest { in hasPinnedRows_rowGetsPinned_true() 130 testScope.runTest { in hasPinnedRows_rowGetsUnPinned_false() 152 testScope.runTest { in pinnedRows_noRows_isEmpty() 160 testScope.runTest { in pinnedRows_noPinnedRows_isEmpty() 176 testScope.runTest { in pinnedRows_hasPinnedRows_containsPinnedRows() 194 testScope.runTest { in pinnedRows_rowGetsPinned_containsPinnedRows() [all …]
|
D | ActiveNotificationsInteractorTest.kt | 33 import kotlinx.coroutines.test.runTest 48 testScope.runTest { in testAllNotificationsCount() 60 testScope.runTest { in areAnyNotificationsPresent_isTrue() 72 testScope.runTest { in areAnyNotificationsPresent_isFalse() 84 testScope.runTest { in testActiveNotificationRanks_sizeMatches() 96 testScope.runTest { in clearableNotifications_whenHasClearableAlertingNotifs() 114 testScope.runTest { in hasClearableNotifications_whenHasClearableSilentNotifs() 132 testScope.runTest { in testHasClearableNotifications_whenHasNoNotifs() 150 testScope.runTest { in hasClearableAlertingNotifications_whenHasClearableSilentNotifs() 168 testScope.runTest { in hasClearableAlertingNotifications_whenHasNoClearableNotifs() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/haptics/slider/ |
D | SliderStateTrackerTest.kt | 27 import kotlinx.coroutines.test.runTest 53 fun initializeSliderTracker_startsTracking() = runTest { in initializeSliderTracker_startsTracking() 62 fun stopTracking_onAnyState_resetsToIdle() = runTest { in <lambda>() 81 fun initializeSliderTracker_isIdle() = runTest { in <lambda>() 91 fun startsTrackingTouch_onIdle_entersWaitState() = runTest { in <lambda>() 108 fun waitCompletes_onWait_movesToHandleAcquired() = runTest { in <lambda>() 128 fun impreciseTouch_onWait_movesToHandleAcquired() = runTest { in <lambda>() 153 fun trackJump_onWait_movesToJumpTrackLocationSelected() = runTest { in <lambda>() 177 fun upperBookendSelection_onWait_movesToBookendSelected() = runTest { in <lambda>() 199 fun lowerBookendSelection_onWait_movesToBookendSelected() = runTest { in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/data/repository/ |
D | ShadeRepositoryImplTest.kt | 26 import kotlinx.coroutines.test.runTest 48 testScope.runTest { in updateQsExpansion() 63 testScope.runTest { in updateDragDownAmount() 78 testScope.runTest { in updateLegacyShadeExpansion() 93 testScope.runTest { in updateLegacyShadeTracking() 102 testScope.runTest { in updateLegacyLockscreenShadeTracking() 111 testScope.runTest { in updateLegacyQsTracking() 120 testScope.runTest { in updateLegacyExpandedOrAwaitingInputTransfer() 129 testScope.runTest { in updateUdfpsTransitionToFullShadeProgress() 144 testScope.runTest { in updateLegacyIsQsExpanded() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/domain/interactor/ |
D | NotificationIconsInteractorTest.kt | 28 import com.android.systemui.runTest 90 testComponent.runTest { in filteredEntrySet() 97 testComponent.runTest { in filteredEntrySet_noExpandedBubbles() 105 testComponent.runTest { in filteredEntrySet_noAmbient() 115 testComponent.runTest { in filteredEntrySet_noLowPriority() 122 testComponent.runTest { in filteredEntrySet_noDismissed() 129 testComponent.runTest { in filteredEntrySet_noRepliedMessages() 139 testComponent.runTest { in filteredEntrySet_noPulsing_notifsNotFullyHidden() 147 testComponent.runTest { in filteredEntrySet_noPulsing_notifsFullyHidden() 197 testComponent.runTest { in filteredEntrySet_noExpandedBubbles() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyboard/shortcut/ui/viewmodel/ |
D | ShortcutHelperViewModelTest.kt | 35 import kotlinx.coroutines.test.runTest 57 testScope.runTest { in shouldShow_falseByDefault() 65 testScope.runTest { in shouldShow_trueAfterShowRequested() 75 testScope.runTest { in shouldShow_trueAfterToggleRequested() 85 testScope.runTest { in shouldShow_falseAfterToggleTwice() 96 testScope.runTest { in shouldShow_falseAfterViewClosed() 107 testScope.runTest { in shouldShow_falseAfterCloseSystemDialogs() 118 testScope.runTest { in shouldShow_doesNotEmitDuplicateValues() 135 testScope.runTest { in shouldShow_emitsLatestValueToNewSubscribers() 146 testScope.runTest { in sysUiStateFlag_disabledByDefault() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/ |
D | UserTileSpecRepositoryTest.kt | 19 import kotlinx.coroutines.test.runTest 62 testScope.runTest { in emptySetting_usesDefaultValue() 69 testScope.runTest { in changeInSettings_valueDoesntChange() 81 testScope.runTest { in changeInSettings_settingIsRestored() 92 testScope.runTest { in invalidTilesAreNotPresent() 103 testScope.runTest { in noValidTiles_defaultSet() 125 testScope.runTest { in addTileAtEnd() 139 testScope.runTest { in addTileAtPosition() 153 testScope.runTest { in addInvalidTile_noop() 167 testScope.runTest { in addTileAtPosition_tooLarge_addedAtEnd() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/data/repository/ |
D | DisplayRepositoryTest.kt | 39 import kotlinx.coroutines.test.runTest in <lambda>() 81 testScope.runTest { in <lambda>() 91 testScope.runTest { in <lambda>() 103 testScope.runTest { in <lambda>() 111 innerScope.runTest { in <lambda>() 131 testScope.runTest { in <lambda>() 142 testScope.runTest { in <lambda>() 159 testScope.runTest { in <lambda>() 175 testScope.runTest { in <lambda>() 185 testScope.runTest { in <lambda>() [all …]
|
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/ |
D | BlasTest.java | 97 public void runTest(TestAction ta, String testName) { in runTest() method in BlasTest 117 runTest(ta, TestName.SGEMM_SMALL.name()); in testSGEMMSmall() 124 runTest(ta, TestName.SGEMM_MEDIUM.name()); in testSGEMMedium() 131 runTest(ta, TestName.SGEMM_LARGE.name()); in testSGEMMLarge() 138 runTest(ta, TestName.BNNM_SMALL.name()); in testBNNMSmall() 145 runTest(ta, TestName.BNNM_MEDIUM.name()); in testBNNMMMedium() 152 runTest(ta, TestName.BNNM_LARGE.name()); in testBNNMLarge() 159 runTest(ta, TestName.SGEMM_GoogLeNet.name()); in testSGEMMGoogLeNet() 166 runTest(ta, TestName.BNNM_GoogLeNet.name()); in testBNNMGoogLeNet() 173 runTest(ta, TestName.SGEMM_GoogLeNet_Padded.name()); in testSGEMMGoogLeNetPadded() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/authentication/domain/interactor/ |
D | AuthenticationInteractorTest.kt | 45 import kotlinx.coroutines.test.runTest in <lambda>() 65 testScope.runTest { in <lambda>() 79 testScope.runTest { in <lambda>() 91 testScope.runTest { in <lambda>() 99 testScope.runTest { in <lambda>() 107 testScope.runTest { in <lambda>() 114 testScope.runTest { in <lambda>() 126 testScope.runTest { in <lambda>() 140 testScope.runTest { in <lambda>() 148 testScope.runTest { in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/domain/interactor/ |
D | ConnectedDisplayInteractorTest.kt | 50 import kotlinx.coroutines.test.runTest in <lambda>() 85 testScope.runTest { in <lambda>() 95 testScope.runTest { in <lambda>() 105 testScope.runTest { in <lambda>() 115 testScope.runTest { in <lambda>() 125 testScope.runTest { in <lambda>() 137 testScope.runTest { in <lambda>() 149 testScope.runTest { in <lambda>() 165 testScope.runTest { in <lambda>() 177 testScope.runTest { in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/prod/ |
D | WifiRepositoryImplTest.kt | 57 import kotlinx.coroutines.test.runTest 114 testScope.runTest { in wifiPickerTrackerCreation_scansDisabled() 123 testScope.runTest { in isWifiEnabled_enabled_true() 134 testScope.runTest { in isWifiEnabled_enabling_false() 145 testScope.runTest { in isWifiEnabled_disabling_true() 156 testScope.runTest { in isWifiEnabled_disabled_false() 167 testScope.runTest { in isWifiEnabled_respondsToUpdates() 184 testScope.runTest { assertThat(underTest.isWifiDefault.value).isFalse() } in isWifiDefault_initiallyGetsDefault() 188 testScope.runTest { in isWifiDefault_wifiNetwork_isTrue() 201 testScope.runTest { in isWifiDefault_carrierMerged_isTrue() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/util/kotlin/ |
D | BooleanFlowOperatorsTest.kt | 33 import kotlinx.coroutines.test.runTest 47 testScope.runTest { in and_allTrue_returnsTrue() 54 testScope.runTest { in and_anyFalse_returnsFalse() 61 testScope.runTest { in and_allFalse_returnsFalse() 68 testScope.runTest { in and_onlyEmitsWhenValueChanges() 83 testScope.runTest { in or_allTrue_returnsTrue() 90 testScope.runTest { in or_anyTrue_returnsTrue() 97 testScope.runTest { in or_allFalse_returnsFalse() 104 testScope.runTest { in or_onlyEmitsWhenValueChanges() 118 testScope.runTest { in not_true_returnsFalse() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/util/ |
D | ScopedUnfoldTransitionProgressProviderTest.kt | 35 import kotlinx.coroutines.test.runTest in <lambda>() 57 testScope.runTest { in <lambda>() 77 testScope.runTest { in <lambda>() 92 testScope.runTest { in <lambda>() 116 testScope.runTest { scopedProvider.setReadyToHandleTransition(true) } in <lambda>() 121 testScope.runTest { in <lambda>() 132 testScope.runTest { in <lambda>() 141 testScope.runTest { in <lambda>() 152 testScope.runTest { in <lambda>() 162 testScope.runTest { in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/data/repository/ |
D | CustomTileRepositoryTest.kt | 41 import kotlinx.coroutines.test.runTest 64 testScope.runTest { in persistableTileIsRestoredForUser() 79 testScope.runTest { in notPersistableTileIsNotRestored() 93 testScope.runTest { in emptyPersistedStateIsHandled() 106 testScope.runTest { in updatingWithPersistableTilePersists() 118 testScope.runTest { in updatingWithNotPersistableTileDoesntPersist() 129 testScope.runTest { in updateWithTileEmits() 141 testScope.runTest { in updatingPeristableWithDefaultsPersists() 153 testScope.runTest { in updatingNotPersistableWithDefaultsDoesntPersist() 164 testScope.runTest { in updatingPeristableWithErrorDefaultsDoesntPersist() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/deviceentry/data/repository/ |
D | DeviceEntryFaceAuthRepositoryTest.kt | 100 import kotlinx.coroutines.test.runTest 245 testScope.runTest { in faceAuthRunsAndProvidesAuthStatusUpdates() 279 testScope.runTest { in faceAuthDoesNotRunWhileItIsAlreadyRunning() 295 testScope.runTest { in faceLockoutStatusIsPropagated() 317 testScope.runTest { in faceDetectionSupportIsTheCorrectValue() 351 testScope.runTest { in cancelStopsFaceAuthentication() 367 fun cancelInvokedWithoutFaceAuthRunningIsANoop() = testScope.runTest { underTest.cancel() } in <lambda>() 371 testScope.runTest { in faceDetectionRunsAndPropagatesDetectionStatus() 392 testScope.runTest { in faceDetectDoesNotRunIfDetectionIsNotSupported() 407 testScope.runTest { in faceAuthShouldWaitAndRunIfTriggeredWhileCancelling() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | BigPictureIconManagerTest.kt | 38 import kotlinx.coroutines.test.runTest 105 testScope.runTest { in onIconUpdated_supportedType_placeholderLoaded() 117 testScope.runTest { in onIconUpdated_unsupportedType_fullImageLoaded() 129 testScope.runTest { in onIconUpdated_withNull_drawableIsNull() 139 testScope.runTest { in onIconUpdated_invalidIcon_drawableIsNull() 149 testScope.runTest { in onIconUpdated_consumerAlreadySet_newConsumerIsUpdatedWithPlaceholder() 168 testScope.runTest { in onIconUpdated_consumerAlreadySet_newConsumerIsUpdatedWithFullImage() 190 testScope.runTest { in onIconUpdated_iconAlreadySet_loadsNewIcon() 206 testScope.runTest { in onIconUpdated_iconAlreadySetForTheSameIcon_loadsIconAgain() 224 testScope.runTest { in onIconUpdated_iconAlreadySetForUnsupportedIcon_loadsNewIcon() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/satellite/domain/interactor/ |
D | DeviceBasedSatelliteInteractorTest.kt | 39 import kotlinx.coroutines.test.runTest 76 testScope.runTest { in isSatelliteAllowed_falseWhenNotAllowed() 89 testScope.runTest { in isSatelliteAllowed_trueWhenAllowed() 102 testScope.runTest { in isSatelliteAllowed_offWhenFlagIsOff() 127 testScope.runTest { in connectionState_matchesRepositoryValue() 150 testScope.runTest { in connectionState_offWhenFeatureIsDisabled() 187 testScope.runTest { in signalStrength_matchesRepo() 206 testScope.runTest { in signalStrength_zeroWhenDisabled() 238 testScope.runTest { in areAllConnectionsOutOfService_noConnections_noDeviceEmergencyCalls_yes() 253 testScope.runTest { in areAllConnectionsOutOfService_noConnections_deviceEmergencyCalls_yes() [all …]
|