/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ControlActionCoordinatorImpl.kt | 66 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 …]
|
D | ControlActionCoordinator.kt | 70 fun runPendingAction(controlId: String) 77 fun enableActionOnTouch(controlId: String)
|
D | ControlsUiController.kt | 44 controlId: String,
|
D | ControlsUiControllerImpl.kt | 66 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/ |
D | AllModel.kt | 55 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>()
|
D | ControlsModel.kt | 51 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
|
D | FavoritesModel.kt | 94 override fun changeFavoriteStatus(controlId: String, favorite: Boolean) { in changeFavoriteStatus() 95 val position = elements.indexOfFirst { it is ControlInterface && it.controlId == controlId } in changeFavoriteStatus()
|
D | ControlsRequestDialog.kt | 135 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/ |
D | Control.java | 141 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 …]
|
D | ControlsProviderService.java | 131 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;
|
D | IControlsActionCallback.aidl | 23 void accept(in IBinder token, in String controlId, int response); in accept() argument
|
D | IControlsProvider.aidl | 34 void action(in String controlId, in ControlActionWrapper action, in action() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ |
D | ControlStatus.kt | 27 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/ |
D | ControlInfo.kt | 35 val controlId: String, constant in com.android.systemui.controls.controller.ControlInfo 45 control.controlId, in fromControl()
|
D | ControlsBindingControllerImpl.kt | 75 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()
|
D | ServiceWrapper.kt | 78 controlId: String, in action() 83 service.action(controlId, ControlActionWrapper(action), cb) in action()
|
D | ControlsProviderLifecycleManager.kt | 233 fun maybeBindAndSendAction(controlId: String, action: ControlAction) = in maybeBindAndSubscribe() 234 invokeOrQueue(Action(controlId, action)) in maybeBindAndSubscribe()
|
D | ControlsController.kt | 108 controlId: String, in loadForComponent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | FavoritesModelTest.kt | 109 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>()
|
D | AllModelTest.kt | 122 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>()
|
D | ControlsRequestDialogTest.kt | 139 assertEquals(control.controlId, it.controlId) in testDialogAddsCorrectControl()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlsProviderLifecycleManagerTest.kt | 171 val controlId = "TEST_ID" in testMaybeBindAndAction() constant 173 manager.maybeBindAndSendAction(controlId, action) in testMaybeBindAndAction() 177 verify(service).action(eq(controlId), capture(wrapperCaptor), in testMaybeBindAndAction()
|
D | ControlsBindingControllerImplTest.kt | 282 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/ |
D | NekoControlsService.kt | 189 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/ |
D | ISession.aidl | 51 void setPlaybackToRemote(int control, int max, @nullable String controlId); in setPlaybackToRemote() argument
|