Home
last modified time | relevance | path

Searched refs:ControlAction (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/service/controls/actions/
DControlActionTest.java40 ControlAction toParcel = new BooleanAction(TEST_ID, true); in testUnparcelingCorrectClass_boolean()
42 ControlAction fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_boolean()
44 assertEquals(ControlAction.TYPE_BOOLEAN, fromParcel.getActionType()); in testUnparcelingCorrectClass_boolean()
50 ControlAction toParcel = new FloatAction(TEST_ID, 1); in testUnparcelingCorrectClass_float()
52 ControlAction fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_float()
54 assertEquals(ControlAction.TYPE_FLOAT, fromParcel.getActionType()); in testUnparcelingCorrectClass_float()
60 ControlAction toParcel = new ModeAction(TEST_ID, 1); in testUnparcelingCorrectClass_mode()
62 ControlAction fromParcel = parcelAndUnparcel(toParcel); in testUnparcelingCorrectClass_mode()
64 assertEquals(ControlAction.TYPE_MODE, fromParcel.getActionType()); in testUnparcelingCorrectClass_mode()
70 ControlAction toParcel = new CommandAction(TEST_ID); in testUnparcelingCorrectClass_command()
[all …]
/frameworks/base/core/java/android/service/controls/actions/
DControlAction.java47 public abstract class ControlAction { class
72 public static final @NonNull ControlAction ERROR_ACTION = new ControlAction() {
164 private ControlAction() { in ControlAction() method in ControlAction
172 ControlAction(@NonNull String templateId, @Nullable String challengeValue) { in ControlAction() method in ControlAction
181 ControlAction(Bundle b) { in ControlAction() method in ControlAction
226 static ControlAction createActionFromBundle(@NonNull Bundle bundle) { in createActionFromBundle()
256 public static ControlAction getErrorAction() { in getErrorAction()
DControlActionWrapper.java31 private final @NonNull ControlAction mControlAction;
33 public ControlActionWrapper(@NonNull ControlAction controlAction) { in ControlActionWrapper()
45 public ControlAction getWrappedAction() { in getWrappedAction()
59 ControlAction.createActionFromBundle(in.readBundle()));
DCommandAction.java29 public final class CommandAction extends ControlAction {
DModeAction.java31 public final class ModeAction extends ControlAction {
DFloatAction.java28 public final class FloatAction extends ControlAction {
DBooleanAction.java32 public final class BooleanAction extends ControlAction {
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/
DControlsController.kt22 import android.service.controls.actions.ControlAction
87 fun action(componentName: ComponentName, controlInfo: ControlInfo, action: ControlAction) in loadForComponent()
109 @ControlAction.ResponseResult response: Int in loadForComponent()
DControlsBindingController.kt22 import android.service.controls.actions.ControlAction
74 fun action(componentName: ComponentName, controlInfo: ControlInfo, action: ControlAction) in bindAndLoad()
DServiceWrapper.kt19 import android.service.controls.actions.ControlAction
79 action: ControlAction, in action()
DControlsBindingControllerImpl.kt28 import android.service.controls.actions.ControlAction
76 @ControlAction.ResponseResult response: Int in accept()
153 action: ControlAction in action()
263 @ControlAction.ResponseResult val response: Int
DControlsProviderLifecycleManager.kt35 import android.service.controls.actions.ControlAction
233 fun maybeBindAndSendAction(controlId: String, action: ControlAction) = in maybeBindAndSubscribe()
333 inner class Action(val id: String, val action: ControlAction) : ServiceMethod() {
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsUiController.kt21 import android.service.controls.actions.ControlAction
45 @ControlAction.ResponseResult response: Int
DChallengeDialogs.kt24 import android.service.controls.actions.ControlAction in <lambda>()
160 private fun addChallengeValue(action: ControlAction, challengeValue: String): ControlAction { in <lambda>()
/frameworks/base/core/java/android/service/controls/
DControlsProviderService.java33 import android.service.controls.actions.ControlAction;
132 @NonNull ControlAction action, @NonNull Consumer<Integer> consumer); in performControlAction()
230 if (!ControlAction.isValidResponse(response)) {
232 response = ControlAction.RESPONSE_UNKNOWN;
345 final ControlAction mAction;
348 ActionMessage(String controlId, ControlAction action, IControlsActionCallback cb) {
DControl.java29 import android.service.controls.actions.ControlAction;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DServiceWrapperTest.kt24 import android.service.controls.actions.ControlAction
148 val action = ControlAction.ERROR_ACTION in testOnAction_happyPath()
163 val action = ControlAction.ERROR_ACTION in testOnAction_error()
DControlsProviderLifecycleManagerTest.kt24 import android.service.controls.actions.ControlAction
172 val action = ControlAction.ERROR_ACTION in testMaybeBindAndAction()
/frameworks/base/core/tests/coretests/src/android/service/controls/
DControlProviderServiceTest.java40 import android.service.controls.actions.ControlAction;
242 ControlAction.RESPONSE_OK); in testOnAction()
313 public void performControlAction(String controlId, ControlAction action,
315 cb.accept(ControlAction.RESPONSE_OK);
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DNekoControlsService.kt26 import android.service.controls.actions.ControlAction in <lambda>()
190 action: ControlAction, in performControlAction()
227 consumer.accept(ControlAction.RESPONSE_OK) in performControlAction()
/frameworks/base/core/java/android/service/controls/templates/
DControlTemplate.java25 import android.service.controls.actions.ControlAction;
/frameworks/base/api/
Dlint-baseline.txt628 …Service#performControlAction(String, android.service.controls.actions.ControlAction, java.util.fun…
Dcurrent.txt43449 …trolAction(@NonNull String, @NonNull android.service.controls.actions.ControlAction, @NonNull java…
43522 public final class BooleanAction extends android.service.controls.actions.ControlAction {
43529 public final class CommandAction extends android.service.controls.actions.ControlAction {
43535 public abstract class ControlAction {
43538 method @NonNull public static android.service.controls.actions.ControlAction getErrorAction();
43554 public final class FloatAction extends android.service.controls.actions.ControlAction {
43561 public final class ModeAction extends android.service.controls.actions.ControlAction {