Home
last modified time | relevance | path

Searched refs:coordinator (Results 1 – 25 of 88) sorted by relevance

1234

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlActionCoordinatorImplTest.kt80 private lateinit var coordinator: ControlActionCoordinatorImpl in any() variable in com.android.systemui.controls.ui.ControlActionCoordinatorImplTest
92 coordinator = spy(ControlActionCoordinatorImpl( in any()
104 coordinator.activityContext = mContext in any()
109 action = spy(coordinator.Action(ID, {}, false, true)) in any()
110 doReturn(action).`when`(coordinator).createAction(any(), any(), anyBoolean(), anyBoolean()) in any()
117 coordinator.toggle(cvh, "", true) in testToggleRunsWhenUnlocked()
118 verify(coordinator).bouncerOrRun(action) in testToggleRunsWhenUnlocked()
127 coordinator.toggle(cvh, "", true) in testToggleDoesNotRunWhenLockedThenRunsWhenUnlocked()
128 verify(coordinator).bouncerOrRun(action) in testToggleDoesNotRunWhenLockedThenRunsWhenUnlocked()
134 coordinator.runPendingAction(ID) in testToggleDoesNotRunWhenLockedThenRunsWhenUnlocked()
[all …]
/frameworks/base/libs/dream/lowlight/tests/src/com.android.dream.lowlight/
DLowLightTransitionCoordinatorTest.kt70 val coordinator = LowLightTransitionCoordinator() in <lambda>() constant
71 coordinator.setLowLightEnterListener(mEnterListener) in <lambda>()
73 coordinator.waitForLowLightTransitionAnimation(timeout = TIMEOUT, entering = true) in <lambda>()
82 val coordinator = LowLightTransitionCoordinator() in <lambda>() constant
83 coordinator.setLowLightExitListener(mExitListener) in <lambda>()
85 coordinator.waitForLowLightTransitionAnimation(timeout = TIMEOUT, entering = false) in <lambda>()
94 val coordinator = LowLightTransitionCoordinator() in <lambda>() constant
95 coordinator.setLowLightEnterListener(mEnterListener) in <lambda>()
96 coordinator.setLowLightEnterListener(null) in <lambda>()
98 coordinator.waitForLowLightTransitionAnimation(timeout = TIMEOUT, entering = true) in <lambda>()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DUceRequestRepository.java56 public synchronized void addRequestCoordinatorAndDispatch(UceRequestCoordinator coordinator) { in addRequestCoordinatorAndDispatch() argument
58 mRequestCoordinators.put(coordinator.getCoordinatorId(), coordinator); in addRequestCoordinatorAndDispatch()
59 mDispatcher.addRequest(coordinator.getCoordinatorId(), in addRequestCoordinatorAndDispatch()
60 coordinator.getActivatedRequestTaskIds()); in addRequestCoordinatorAndDispatch()
74 public synchronized void addRequestCoordinator(UceRequestCoordinator coordinator) { in addRequestCoordinator() argument
76 mRequestCoordinators.put(coordinator.getCoordinatorId(), coordinator); in addRequestCoordinator()
87 for (UceRequestCoordinator coordinator : mRequestCoordinators.values()) { in getUceRequest()
88 UceRequest request = coordinator.getUceRequest(taskId); in getUceRequest()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/request/
DSubscribeCoordinatorTest.java98 SubscribeRequestCoordinator coordinator = getSubscribeCoordinator(); in testRequestUpdatedWithError() local
100 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_ERROR); in testRequestUpdatedWithError()
102 Collection<UceRequest> requestList = coordinator.getActivatedRequest(); in testRequestUpdatedWithError()
103 Collection<RequestResult> resultList = coordinator.getFinishedRequest(); in testRequestUpdatedWithError()
113 SubscribeRequestCoordinator coordinator = getSubscribeCoordinator(); in testRequestCommandError() local
115 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_COMMAND_ERROR); in testRequestCommandError()
117 Collection<UceRequest> requestList = coordinator.getActivatedRequest(); in testRequestCommandError()
118 Collection<RequestResult> resultList = coordinator.getFinishedRequest(); in testRequestCommandError()
141 SubscribeRequestCoordinator coordinator = getSubscribeCoordinator(); in testRequestNetworkRespSuccess() local
145 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_NETWORK_RESPONSE); in testRequestNetworkRespSuccess()
[all …]
DOptionsCoordinatorTest.java83 OptionsRequestCoordinator coordinator = getOptionsCoordinator(); in testRequestUpdatedWithError() local
85 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_ERROR); in testRequestUpdatedWithError()
89 Collection<UceRequest> requestList = coordinator.getActivatedRequest(); in testRequestUpdatedWithError()
90 Collection<RequestResult> resultList = coordinator.getFinishedRequest(); in testRequestUpdatedWithError()
100 OptionsRequestCoordinator coordinator = getOptionsCoordinator(); in testRequestCommandError() local
102 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_COMMAND_ERROR); in testRequestCommandError()
108 Collection<UceRequest> requestList = coordinator.getActivatedRequest(); in testRequestCommandError()
109 Collection<RequestResult> resultList = coordinator.getFinishedRequest(); in testRequestCommandError()
118 OptionsRequestCoordinator coordinator = getOptionsCoordinator(); in testRequestNetworkResponse() local
127 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_NETWORK_RESPONSE); in testRequestNetworkResponse()
[all …]
DRemoteOptionsCoordinatorTest.java79 RemoteOptionsCoordinator coordinator = getRemoteOptCoordinator(); in testRemoteRequestFinished() local
84 coordinator.onRequestUpdated(mTaskId, REQUEST_UPDATE_REMOTE_REQUEST_DONE); in testRemoteRequestFinished()
92 Collection<UceRequest> requestList = coordinator.getActivatedRequest(); in testRemoteRequestFinished()
93 Collection<RequestResult> resultList = coordinator.getFinishedRequest(); in testRemoteRequestFinished()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobNotificationCoordinatorTest.java92 final JobNotificationCoordinator coordinator = new JobNotificationCoordinator(); in testParameterValidation() local
99 coordinator.enqueueNotification(jsc, TEST_PACKAGE, pid, uid, notificationId, null, in testParameterValidation()
109 coordinator.enqueueNotification(jsc, TEST_PACKAGE, pid, uid, notificationId, in testParameterValidation()
119 coordinator.enqueueNotification(jsc, TEST_PACKAGE, pid, uid, notificationId, in testParameterValidation()
128 coordinator.enqueueNotification(jsc, TEST_PACKAGE, pid, uid, notificationId, in testParameterValidation()
139 final JobNotificationCoordinator coordinator = new JobNotificationCoordinator(); in testSingleJob_DetachOnStop() local
146 coordinator.enqueueNotification(jsc, TEST_PACKAGE, pid, uid, notificationId, notification, in testSingleJob_DetachOnStop()
152 coordinator.removeNotificationAssociation(jsc, JobParameters.STOP_REASON_UNDEFINED, in testSingleJob_DetachOnStop()
161 final JobNotificationCoordinator coordinator = new JobNotificationCoordinator(); in testSingleJob_RemoveOnStop() local
168 coordinator.enqueueNotification(jsc, TEST_PACKAGE, pid, uid, notificationId, notification, in testSingleJob_RemoveOnStop()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DSensitiveContentCoordinatorTest.kt17 package com.android.systemui.statusbar.notification.collection.coordinator
39 import com.android.systemui.statusbar.notification.collection.coordinator.dagger.CoordinatorScope
74 val coordinator: SensitiveContentCoordinator = constant in com.android.systemui.statusbar.notification.collection.coordinator.SensitiveContentCoordinatorTest
85 .coordinator
89 coordinator.attach(pipeline) in onDynamicPrivacyChanged_invokeInvalidationListener()
108 coordinator.attach(pipeline) in onSensitiveStateChanged_invokeInvalidationListener()
128 coordinator.attach(pipeline) in screenshareSecretFilter_flagDisabled_filterNoAdded()
139 coordinator.attach(pipeline) in screenshareSecretFilter_sensitiveInctive_noFiltersSecret()
156 coordinator.attach(pipeline) in screenshareSecretFilter_sensitiveActive_filtersSecret()
170 coordinator.attach(pipeline) in onBeforeRenderList_deviceUnlocked_notifDoesNotNeedRedaction()
[all …]
DShadeEventCoordinatorTest.kt16 package com.android.systemui.statusbar.notification.collection.coordinator
46 private lateinit var coordinator: ShadeEventCoordinator variable in com.android.systemui.statusbar.notification.collection.coordinator.ShadeEventCoordinatorTest
66 coordinator = ShadeEventCoordinator(executor, logger) in setUp()
67 coordinator.attach(pipeline) in setUp()
74 coordinator.setNotifRemovedByUserCallback(notifRemovedByUserCallback) in setUp()
75 coordinator.setShadeEmptiedCallback(shadeEmptiedCallback) in setUp()
DGroupCountCoordinatorTest.kt16 package com.android.systemui.statusbar.notification.collection.coordinator
42 private lateinit var coordinator: GroupCountCoordinator variable in com.android.systemui.statusbar.notification.collection.coordinator.GroupCountCoordinatorTest
56 coordinator = GroupCountCoordinator() in setUp()
57 coordinator.attach(pipeline) in setUp()
DRowAlertTimeCoordinatorTest.kt16 package com.android.systemui.statusbar.notification.collection.coordinator
43 private lateinit var coordinator: RowAlertTimeCoordinator variable in com.android.systemui.statusbar.notification.collection.coordinator.RowAlertTimeCoordinatorTest
52 coordinator = RowAlertTimeCoordinator() in setUp()
53 coordinator.attach(pipeline) in setUp()
DDataStoreCoordinatorTest.kt16 package com.android.systemui.statusbar.notification.collection.coordinator
45 private lateinit var coordinator: DataStoreCoordinator variable in com.android.systemui.statusbar.notification.collection.coordinator.DataStoreCoordinatorTest
59 coordinator = DataStoreCoordinator(notifLiveDataStoreImpl) in setUp()
60 coordinator.attach(pipeline) in setUp()
DRemoteInputCoordinatorTest.kt16 package com.android.systemui.statusbar.notification.collection.coordinator
60 private lateinit var coordinator: RemoteInputCoordinator variable in com.android.systemui.statusbar.notification.collection.coordinator.RemoteInputCoordinatorTest
81 coordinator = RemoteInputCoordinator( in setUp()
92 coordinator.attach(pipeline) in setUp()
104 val remoteInputActiveExtender get() = coordinator.mRemoteInputActiveExtender
105 val remoteInputHistoryExtender get() = coordinator.mRemoteInputHistoryExtender
106 val smartReplyHistoryExtender get() = coordinator.mSmartReplyHistoryExtender
DRowAppearanceCoordinatorTest.kt16 package com.android.systemui.statusbar.notification.collection.coordinator
47 private lateinit var coordinator: RowAppearanceCoordinator variable in com.android.systemui.statusbar.notification.collection.coordinator.RowAppearanceCoordinatorTest
66 coordinator = RowAppearanceCoordinator( in setUp()
71 coordinator.attach(pipeline) in setUp()
DHideNotifsForOtherUsersCoordinatorTest.java17 package com.android.systemui.statusbar.notification.collection.coordinator;
69 HideNotifsForOtherUsersCoordinator coordinator = in setUp() local
71 coordinator.attach(mNotifPipeline); in setUp()
DGutsCoordinatorTest.kt16 package com.android.systemui.statusbar.notification.collection.coordinator
48 private lateinit var coordinator: GutsCoordinator variable in com.android.systemui.statusbar.notification.collection.coordinator.GutsCoordinatorTest
65 coordinator = GutsCoordinator(notifGutsViewManager, logger, dumpManager) in setUp()
66 coordinator.attach(pipeline) in setUp()
DViewConfigCoordinatorTest.kt16 package com.android.systemui.statusbar.notification.collection.coordinator
46 private lateinit var coordinator: ViewConfigCoordinator variable in com.android.systemui.statusbar.notification.collection.coordinator.ViewConfigCoordinatorTest
67 coordinator = ViewConfigCoordinator( in setUp()
74 coordinator.attach(pipeline) in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/taskswitcher/
DMediaProjectionTaskSwitcherCoreStartableTest.kt34 private val coordinator = mock<TaskSwitcherNotificationCoordinator>() constant
37 MediaProjectionTaskSwitcherCoreStartable(notificationCoordinatorLazy = { coordinator }) in <lambda>()
45 verify(coordinator).start() in start_flagEnabled_startsCoordinator()
54 verifyZeroInteractions(coordinator) in start_flagDisabled_doesNotStartCoordinator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/dagger/
DCoordinatorsModule.kt17 package com.android.systemui.statusbar.notification.collection.coordinator.dagger
20 import com.android.systemui.statusbar.notification.collection.coordinator.NotifCoordinators
21 import com.android.systemui.statusbar.notification.collection.coordinator.NotifCoordinatorsImpl
22 import com.android.systemui.statusbar.notification.collection.coordinator.SensitiveContentCoordinat…
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationWakeUpCoordinator.kt696 override fun setValue(coordinator: NotificationWakeUpCoordinator, value: Float) { in setValue()
697 coordinator.setVisibilityAmount(value) in setValue()
700 override fun get(coordinator: NotificationWakeUpCoordinator): Float { in get()
701 return coordinator.mLinearVisibilityAmount in get()
708 override fun setValue(coordinator: NotificationWakeUpCoordinator, value: Float) { in setValue()
709 coordinator.delayedDozeAmountOverride = value in setValue()
710 coordinator.logger.logSetDelayDozeAmountOverride(value) in setValue()
711 coordinator.updateDozeAmount() in setValue()
714 override fun get(coordinator: NotificationWakeUpCoordinator): Float { in get()
715 return coordinator.delayedDozeAmountOverride in get()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHideLocallyDismissedNotifsCoordinator.java17 package com.android.systemui.statusbar.notification.collection.coordinator;
23 import com.android.systemui.statusbar.notification.collection.coordinator.dagger.CoordinatorScope;
DDebugModeCoordinator.kt17 package com.android.systemui.statusbar.notification.collection.coordinator
21 import com.android.systemui.statusbar.notification.collection.coordinator.dagger.CoordinatorScope
DNotificationStatsLoggerCoordinator.kt17 package com.android.systemui.statusbar.notification.collection.coordinator
21 import com.android.systemui.statusbar.notification.collection.coordinator.dagger.CoordinatorScope
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DConversationCoordinatorTest.kt17 package com.android.systemui.statusbar.notification.collection.coordinator
85 private lateinit var coordinator: ConversationCoordinator variable in com.android.systemui.statusbar.notification.collection.coordinator.ConversationCoordinatorTest
92 coordinator = in setUp()
100 coordinator.attach(pipeline) in setUp()
108 peopleAlertingSectioner = coordinator.peopleAlertingSectioner in setUp()
109 peopleSilentSectioner = coordinator.peopleSilentSectioner in setUp()
118 val sectioner = coordinator.priorityPeopleSectioner in priorityPeopleSectionerClaimsOnlyImportantConversations()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyboard/stickykeys/ui/
DStickyKeysIndicatorCoordinatorTest.kt48 private lateinit var coordinator: StickyKeysIndicatorCoordinator variable in com.android.systemui.keyboard.stickykeys.ui.StickyKeysIndicatorCoordinatorTest
64 coordinator = in setup()
71 coordinator.startListening() in setup()

1234