Home
last modified time | relevance | path

Searched refs:testComponent (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/domain/interactor/
DNotificationIconsInteractorTest.kt74 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/
DZenModeInteractorTest.kt56 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/
DNotificationIconContainerAlwaysOnDisplayViewModelTest.kt92 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/
DInWindowLauncherUnlockAnimationInteractorTest.kt54 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/
DNotificationShelfViewModelTest.kt74 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/
DNotificationsKeyguardInteractorTest.kt41 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()
DNotificationAlertsInteractorTest.kt44 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/
DInWindowLauncherUnlockAnimationManagerTest.kt50 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/
DPluginManagerTest.java175 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/
DLockscreenShadeTransitionControllerTest.kt82 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/
DManagedServicesTest.java393 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()
DNotificationManagerServiceTest.java1445 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()