Home
last modified time | relevance | path

Searched refs:controlId (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlActionCoordinatorImpl.kt66 bouncerOrRun(Action(cvh.cws.ci.controlId, { in <lambda>()
74 bouncerOrRun(Action(cvh.cws.ci.controlId, { in <lambda>()
93 bouncerOrRun(Action(cvh.cws.ci.controlId, { in <lambda>()
99 bouncerOrRun(Action(cvh.cws.ci.controlId, { in <lambda>()
108 override fun runPendingAction(controlId: String) { in <lambda>()
109 if (pendingAction?.controlId == controlId) { in <lambda>()
116 override fun enableActionOnTouch(controlId: String) { in <lambda>()
117 actionsInProgress.remove(controlId) in <lambda>()
120 private fun shouldRunAction(controlId: String) = in <lambda>()
121 if (actionsInProgress.add(controlId)) { in <lambda>()
[all …]
DControlActionCoordinator.kt70 fun runPendingAction(controlId: String)
77 fun enableActionOnTouch(controlId: String)
DControlsUiController.kt44 controlId: String,
DControlsUiControllerImpl.kt66 private data class ControlKey(val componentName: ComponentName, val controlId: String) in <lambda>() constant in com.android.systemui.controls.ui.ControlKey
163 ControlKey(selectedStructure.componentName, it.ci.controlId) in <lambda>()
384 val key = ControlKey(selectedStructure.componentName, it.controlId) in <lambda>()
516 override fun onActionResponse(componentName: ComponentName, controlId: String, response: Int) { in <lambda>()
517 val key = ControlKey(componentName, controlId) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DAllModel.kt55 val control = controls.firstOrNull { it.control.controlId == id }?.control in <lambda>()
62 val ids = controls.mapTo(HashSet()) { it.control.controlId } in <lambda>()
68 override fun changeFavoriteStatus(controlId: String, favorite: Boolean) { in <lambda>()
70 it is ControlStatusWrapper && it.controlStatus.control.controlId == controlId in <lambda>()
74 favoriteIds.add(controlId) in <lambda>()
76 favoriteIds.remove(controlId) in <lambda>()
DControlsModel.kt51 fun changeFavoriteStatus(controlId: String, favorite: Boolean) {} in changeFavoriteStatus()
122 override val controlId: String constant in com.android.systemui.controls.management.ControlInfoWrapper
123 get() = controlInfo.controlId
DFavoritesModel.kt94 override fun changeFavoriteStatus(controlId: String, favorite: Boolean) { in changeFavoriteStatus()
95 val position = elements.indexOfFirst { it is ControlInterface && it.controlId == controlId } in changeFavoriteStatus()
DControlsRequestDialog.kt135 return favorites.any { it.controls.any { it.controlId == control.controlId } } in isCurrentFavorite()
175 ControlInfo(control.controlId, control.title, control.subtitle, control.deviceType) in onClick()
/frameworks/base/core/java/android/service/controls/
DControl.java141 Control(@NonNull String controlId, in Control() argument
153 Preconditions.checkNotNull(controlId); in Control()
159 mControlId = controlId; in Control()
431 public StatelessBuilder(@NonNull String controlId, in StatelessBuilder() argument
433 Preconditions.checkNotNull(controlId); in StatelessBuilder()
435 mControlId = controlId; in StatelessBuilder()
462 public StatelessBuilder setControlId(@NonNull String controlId) { in setControlId() argument
463 Preconditions.checkNotNull(controlId); in setControlId()
464 mControlId = controlId; in setControlId()
631 public StatefulBuilder(@NonNull String controlId, in StatefulBuilder() argument
[all …]
DControlsProviderService.java131 public abstract void performControlAction(@NonNull String controlId, in performControlAction() argument
158 public void action(String controlId, ControlActionWrapper action, in onBind() argument
160 ActionMessage msg = new ActionMessage(controlId, action.getWrappedAction(), cb); in onBind()
226 private Consumer<Integer> consumerFor(final String controlId,
235 cb.accept(mToken, controlId, response);
348 ActionMessage(String controlId, ControlAction action, IControlsActionCallback cb) {
349 this.mControlId = controlId;
DIControlsActionCallback.aidl23 void accept(in IBinder token, in String controlId, int response); in accept() argument
DIControlsProvider.aidl34 void action(in String controlId, in ControlActionWrapper action, in action() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/
DControlStatus.kt27 val controlId: String constant
42 override val controlId: String constant in com.android.systemui.controls.ControlStatus
43 get() = control.controlId
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DControlInfo.kt35 val controlId: String, constant in com.android.systemui.controls.controller.ControlInfo
45 control.controlId, in fromControl()
DControlsBindingControllerImpl.kt75 controlId: String, in accept()
78 backgroundExecutor.execute(OnActionResponseRunnable(token, controlId, response)) in accept()
142 provider.maybeBindAndSubscribe(structureInfo.controls.map { it.controlId }, scs) in subscribe()
159 .maybeBindAndSendAction(controlInfo.controlId, action) in action()
262 val controlId: String, constant
267 lazyController.get().onActionResponse(it.componentName, controlId, response) in doRun()
DServiceWrapper.kt78 controlId: String, in action()
83 service.action(controlId, ControlActionWrapper(action), cb) in action()
DControlsProviderLifecycleManager.kt233 fun maybeBindAndSendAction(controlId: String, action: ControlAction) = in maybeBindAndSubscribe()
234 invokeOrQueue(Action(controlId, action)) in maybeBindAndSubscribe()
DControlsController.kt108 controlId: String, in loadForComponent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DFavoritesModelTest.kt109 assertTrue(model.favorites.none { it.controlId == id }) in <lambda>()
195 model.changeFavoriteStatus(it.controlId, false) in <lambda>()
212 assertEquals(id, model.favorites.last().controlId) in <lambda>()
261 model.changeFavoriteStatus(it.controlId, false) in <lambda>()
282 model.favorites.map(ControlInfo::controlId) in <lambda>()
DAllModelTest.kt122 return controlInfo.controlId == control.controlId && in <lambda>()
173 it is ControlStatusWrapper && it.controlStatus.control.controlId == id in <lambda>()
219 it is ControlStatusWrapper && it.controlStatus.control.controlId == id in <lambda>()
DControlsRequestDialogTest.kt139 assertEquals(control.controlId, it.controlId) in testDialogAddsCorrectControl()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsProviderLifecycleManagerTest.kt171 val controlId = "TEST_ID" in testMaybeBindAndAction() constant
173 manager.maybeBindAndSendAction(controlId, action) in testMaybeBindAndAction()
177 verify(service).action(eq(controlId), capture(wrapperCaptor), in testMaybeBindAndAction()
DControlsBindingControllerImplTest.kt282 listOf(controlInfo1.controlId, controlInfo2.controlId)) in testSubscribe()
311 listOf(controlInfo1.controlId, controlInfo2.controlId)) in testUnsubscribe_refreshing()
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoControlsService.kt189 controlId: String, in performControlAction()
193 when (controlId) { in performControlAction()
239 return Control.StatelessBuilder(c.controlId, c.appIntent) in makeStateless()
/frameworks/base/media/java/android/media/session/
DISession.aidl51 void setPlaybackToRemote(int control, int max, @nullable String controlId); in setPlaybackToRemote() argument

12