Home
last modified time | relevance | path

Searched refs:actions (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DDirectActionsTest.java60 final List<DirectAction> actions = mSessionControl.getDirectActions(); in testPerformDirectAction() local
61 Log.v(TAG, "actions: " + actions); in testPerformDirectAction()
64 final DirectAction action = getExpectedDirectActionAssertively(actions); in testPerformDirectAction()
85 final List<DirectAction> actions = mSessionControl.getDirectActions(); in testCancelPerformedDirectAction() local
86 Log.v(TAG, "actions: " + actions); in testCancelPerformedDirectAction()
89 final DirectAction action = getExpectedDirectActionAssertively(actions); in testCancelPerformedDirectAction()
172 final ArrayList<DirectAction> actions = new ArrayList<>(); in getDirectActions() local
175 actions.addAll(result.getParcelableArrayList(Utils.DIRECT_ACTIONS_KEY_RESULT)); in getDirectActions()
176 return actions; in getDirectActions()
332 @Nullable List<DirectAction> actions) { in getExpectedDirectActionAssertively()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DPlaybackStateTest.java118 ArrayList<PlaybackState.CustomAction> actions = new ArrayList<>(); in testBuilder_addCustomAction() local
122 actions.add(new PlaybackState.CustomAction.Builder( in testBuilder_addCustomAction()
130 assertEquals(actions.size(), state.getCustomActions().size()); in testBuilder_addCustomAction()
131 for (int i = 0; i < actions.size(); i++) { in testBuilder_addCustomAction()
132 assertCustomActionEquals(actions.get(i), state.getCustomActions().get(i)); in testBuilder_addCustomAction()
143 ArrayList<PlaybackState.CustomAction> actions = new ArrayList<>(); in testBuilder_addCustomActionWithCustomActionObject() local
147 actions.add(new PlaybackState.CustomAction.Builder( in testBuilder_addCustomActionWithCustomActionObject()
158 assertEquals(actions.size(), state.getCustomActions().size()); in testBuilder_addCustomActionWithCustomActionObject()
159 for (int i = 0; i < actions.size(); i++) { in testBuilder_addCustomActionWithCustomActionObject()
160 assertCustomActionEquals(actions.get(i), state.getCustomActions().get(i)); in testBuilder_addCustomActionWithCustomActionObject()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DCustomDescriptionUnitTest.java104 final SparseArray<InternalOnClickAction> actions = customDescription.getActions(); in testSetOnClickAction_thereCanBeOnlyOne() local
105 assertThat(actions.size()).isEqualTo(1); in testSetOnClickAction_thereCanBeOnlyOne()
106 assertThat(actions.keyAt(0)).isEqualTo(42); in testSetOnClickAction_thereCanBeOnlyOne()
107 assertThat(actions.valueAt(0)).isSameAs(mValidAction); in testSetOnClickAction_thereCanBeOnlyOne()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutLaunchedActivity.java107 public static void setExpectedOrder(String[] actions) { in setExpectedOrder() argument
112 sExpectedVisibleOrder.addAll(Arrays.asList(actions)); in setExpectedOrder()
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java94 final ArrayList<DirectAction> actions = new ArrayList<>(); in onGetDirectActions() local
95 actions.add(action); in onGetDirectActions()
96 callback.accept(actions); in onGetDirectActions()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DDirectActionsSession.java135 final ArrayList<DirectAction> actions = new ArrayList<>(); in getDirectActions() local
142 actions.addAll(b); in getDirectActions()
150 outResult.putParcelableArrayList(Utils.DIRECT_ACTIONS_KEY_RESULT, actions); in getDirectActions()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyNotificationListenerService.java58 if (notification.actions != null) { in onNotificationPosted()
59 for (Notification.Action action : notification.actions) { in onNotificationPosted()
/cts/tests/app/src/android/app/cts/
DWearableExtenderTest.java115 List<Action> actions = new ArrayList<>(); in testWearableExtenderActions() local
116 actions.add(b); in testWearableExtenderActions()
117 actions.add(c); in testWearableExtenderActions()
121 .addActions(actions) in testWearableExtenderActions()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAdminActionBookkeepingTest.java136 sbt.getNotification().actions != null) { in initTestRequestBugreport()
139 sbt.getNotification().actions[0].actionIntent.send(); in initTestRequestBugreport()
/cts/tests/tests/content/src/android/content/cts/
DIntentFilterTest.java898 Match(String[] actions, String[] categories, String[] mimeTypes, String[] schemes, in Match() argument
900 if (actions != null) { in Match()
901 for (int i = 0; i < actions.length; i++) { in Match()
902 addAction(actions[i]); in Match()
931 Match(String[] actions, String[] categories, String[] mimeTypes, String[] schemes, in Match() argument
933 this(actions, categories, mimeTypes, schemes, authorities, ports); in Match()
941 Match(String[] actions, String[] categories, String[] mimeTypes, String[] schemes, in Match() argument
944 this(actions, categories, mimeTypes, schemes, authorities, ports, paths, pathTypes); in Match()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java466 List<AccessibilityAction> actions = button.getActionList(); in testPerformCustomAction() local
467 final int actionCount = actions.size(); in testPerformCustomAction()
469 AccessibilityAction action = actions.get(i); in testPerformCustomAction()
/cts/tests/tests/view/src/android/view/cts/
DMotionEventTest.java818 final int[] actions = { in testActionToString() local
835 for (int i = 0; i < actions.length; i++) { in testActionToString()
836 assertFalse(TextUtils.isEmpty(MotionEvent.actionToString(actions[i]))); in testActionToString()
/cts/hostsidetests/hdmicec/
Dcec_adapter.md181 4. Here are some useful commands to execute remote actions: