/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/domain/interactor/ |
D | NotificationIconsInteractorTest.kt | 74 val testComponent: TestComponent = in create() constant in com.android.systemui.statusbar.notification.icon.domain.interactor.NotificationIconsInteractorTest 80 testComponent.apply { in create() 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() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/domain/interactor/ |
D | ZenModeInteractorTest.kt | 56 private val testComponent: TestComponent = in create() constant in com.android.systemui.statusbar.policy.domain.interactor.ZenModeInteractorTest 61 testComponent.runTest { in create() 72 testComponent.runTest { in testIsZenModeEnabled_alarms() 83 testComponent.runTest { in testIsZenModeEnabled_importantInterruptions() 94 testComponent.runTest { in testIsZenModeEnabled_noInterruptions() 105 testComponent.runTest { in testIsZenModeEnabled_unknown() 116 testComponent.runTest { in testAreNotificationsHiddenInShade_noPolicy() 128 testComponent.runTest { in testAreNotificationsHiddenInShade_zenOffShadeSuppressed() 140 testComponent.runTest { in testAreNotificationsHiddenInShade_zenOnShadeNotSuppressed() 152 testComponent.runTest { in testAreNotificationsHiddenInShade_zenOnShadeSuppressed()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/ui/viewmodel/ |
D | NotificationIconContainerAlwaysOnDisplayViewModelTest.kt | 92 private val testComponent: TestComponent = in create() constant in com.android.systemui.statusbar.notification.icon.ui.viewmodel.NotificationIconContainerAlwaysOnDisplayViewModelTest 109 testComponent.apply { in setup() 123 testComponent.runTest { in animationsEnabled_isFalse_whenDeviceAsleepAndNotPulsing() 146 testComponent.runTest { in animationsEnabled_isTrue_whenDeviceAsleepAndPulsing() 169 testComponent.runTest { in animationsEnabled_isFalse_whenStartingToSleepAndNotControlScreenOff() 190 testComponent.runTest { in animationsEnabled_isTrue_whenStartingToSleepAndControlScreenOff() 212 testComponent.runTest { in animationsEnabled_isTrue_whenNotAsleep() 231 testComponent.runTest { in animationsEnabled_isTrue_whenKeyguardIsShowing() 260 testComponent.runTest { in tintAlpha_isZero_whenNotOnAodOrDozing() 274 testComponent.runTest { in tintAlpha_isOne_whenOnAod() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/ |
D | InWindowLauncherUnlockAnimationInteractorTest.kt | 54 private lateinit var testComponent: TestComponent variable in com.android.systemui.keyguard.domain.interactor.InWindowLauncherUnlockAnimationInteractorTest 65 testComponent = in setUp() 74 underTest = testComponent.underTest in setUp() 75 testScope = testComponent.testScope in setUp() 76 transitionRepository = testComponent.transitionRepository in setUp() 95 testComponent.inWindowLauncherUnlockAnimationRepository.setLauncherActivityClass( in testTransitioningToGoneWithInWindowAnimation_trueIfTopActivityIsLauncher_andTransitioningToGone() 178 testComponent.inWindowLauncherUnlockAnimationRepository.setLauncherActivityClass( in testTransitioningToGoneWithInWindowAnimation_falseIfTopActivityIsLauncherPartwayThrough() 255 testComponent.inWindowLauncherUnlockAnimationRepository.setLauncherActivityClass( in testTransitioningToGoneWithInWindowAnimation_falseIfTopActivityIsLauncherWhileNotTransitioningToGone() 299 testComponent.inWindowLauncherUnlockAnimationRepository.setLauncherActivityClass( in testShouldStartInWindowAnimation_trueOnceSurfaceAvailable_falseWhenTransitionEnds() 319 testComponent.surfaceBehindRepository.setSurfaceRemoteAnimationTargetAvailable(true) in testShouldStartInWindowAnimation_trueOnceSurfaceAvailable_falseWhenTransitionEnds() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/shelf/ui/viewmodel/ |
D | NotificationShelfViewModelTest.kt | 74 private val testComponent: TestComponent = constant in com.android.systemui.statusbar.notification.shelf.ui.viewmodel.NotificationShelfViewModelTest 88 testComponent.runTest { in canModifyColorOfNotifications_whenKeyguardNotShowing() 98 testComponent.runTest { in canModifyColorOfNotifications_whenKeyguardShowingAndNotBypass() 109 testComponent.runTest { in cannotModifyColorOfNotifications_whenBypass() 120 testComponent.runTest { in isClickable_whenKeyguardShowing() 130 testComponent.runTest { in isNotClickable_whenKeyguardNotShowing() 140 with(testComponent) { in onClicked_goesToLockedShade()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/domain/interactor/ |
D | NotificationsKeyguardInteractorTest.kt | 41 private val testComponent: TestComponent = in create() constant in com.android.systemui.statusbar.notification.domain.interactor.NotificationsKeyguardInteractorTest 46 testComponent.runTest { in create() 61 testComponent.runTest { in isPulseExpanding_reflectsRepository()
|
D | NotificationAlertsInteractorTest.kt | 44 private val testComponent: TestComponent = in create() constant in com.android.systemui.statusbar.notification.domain.interactor.NotificationAlertsInteractorTest 49 with(testComponent) { in create() 60 with(testComponent) { in disableFlags_notifAlertsDisabled_notifAlertsEnabledFalse()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/binder/ |
D | InWindowLauncherUnlockAnimationManagerTest.kt | 50 private lateinit var testComponent: TestComponent variable in com.android.systemui.keyguard.ui.binder.InWindowLauncherUnlockAnimationManagerTest 59 testComponent = in setUp() 64 underTest = testComponent.underTest in setUp() 65 testScope = testComponent.testScope in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/ |
D | PluginManagerTest.java | 175 ComponentName testComponent = new ComponentName(getContext().getPackageName(), in testDisableIntent() local 178 intent.setData(Uri.parse("package://" + testComponent.flattenToString())); in testDisableIntent() 180 verify(nm).cancel(eq(testComponent.getClassName()), eq(SystemMessage.NOTE_PLUGIN)); in testDisableIntent() 181 verify(mMockPluginEnabler).setDisabled(testComponent, in testDisableIntent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | LockscreenShadeTransitionControllerTest.kt | 82 private lateinit var testComponent: TestComponent variable in com.android.systemui.statusbar.LockscreenShadeTransitionControllerTest 84 get() = testComponent.configurationController 86 get() = testComponent.disableFlagsRepository 88 get() = testComponent.testScope 137 testComponent = in setup() 194 shadeRepository = testComponent.shadeRepository, in setup() 195 shadeInteractor = testComponent.shadeInteractor, in setup()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ManagedServicesTest.java | 393 String testComponent = "user.test.component/C1"; in testReadXml_onlyRestoresForTargetUser() local 395 (approvalLevel == APPROVAL_BY_COMPONENT) ? testComponent : testPackage; in testReadXml_onlyRestoresForTargetUser() 415 String testComponent = "user.test.component/C1"; in testReadXml_restoresUserSet() local 417 (approvalLevel == APPROVAL_BY_COMPONENT) ? testComponent : testPackage; in testReadXml_restoresUserSet()
|
D | NotificationManagerServiceTest.java | 1445 final String testComponent = "package/class"; in testDefaultAssistant_overrideDefault() local 1449 validAssistants.add(ComponentName.unflattenFromString(testComponent)); in testDefaultAssistant_overrideDefault() 1459 eq(testComponent), eq(userId), eq(true), eq(true), eq(false)); in testDefaultAssistant_overrideDefault()
|