Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DUserActionCallback.java81 private UserActionCallback(Context context, String... actions) { in UserActionCallback() argument
82 Log.d(TAG, "Constructed UserActionCallback for " + Arrays.toString(actions) + " on user " in UserActionCallback()
85 mExpectedSize = actions.length; in UserActionCallback()
88 for (String action : actions) { in UserActionCallback()
105 String... actions) { in getCallbackForBroadcastActions() argument
106 UserActionCallback callback = new UserActionCallback(context, actions); in getCallbackForBroadcastActions()
109 for (String action : actions) { in getCallbackForBroadcastActions()
DAdminActionBookkeepingTest.java123 sbt.getNotification().actions != null) { in initTestRequestBugreport()
126 sbt.getNotification().actions[0].actionIntent.send(); in initTestRequestBugreport()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DDirectActionsTest.java63 final List<DirectAction> actions = mSessionControl.getDirectActions(); in testPerformDirectAction() local
64 Log.v(TAG, "actions: " + actions); in testPerformDirectAction()
67 final DirectAction action = getExpectedDirectActionAssertively(actions); in testPerformDirectAction()
88 final List<DirectAction> actions = mSessionControl.getDirectActions(); in testCancelPerformedDirectAction() local
89 Log.v(TAG, "actions: " + actions); in testCancelPerformedDirectAction()
92 final DirectAction action = getExpectedDirectActionAssertively(actions); in testCancelPerformedDirectAction()
174 final ArrayList<DirectAction> actions = new ArrayList<>(); in getDirectActions() local
177 actions.addAll(result.getParcelableArrayList(Utils.DIRECT_ACTIONS_KEY_RESULT)); in getDirectActions()
178 return actions; in getDirectActions()
338 @Nullable List<DirectAction> actions) { in getExpectedDirectActionAssertively()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DPlaybackStateTest.java127 ArrayList<PlaybackState.CustomAction> actions = new ArrayList<>(); in testBuilder_addCustomAction() local
131 actions.add(new PlaybackState.CustomAction.Builder( in testBuilder_addCustomAction()
139 assertEquals(actions.size(), state.getCustomActions().size()); in testBuilder_addCustomAction()
140 for (int i = 0; i < actions.size(); i++) { in testBuilder_addCustomAction()
141 assertCustomActionEquals(actions.get(i), state.getCustomActions().get(i)); in testBuilder_addCustomAction()
152 ArrayList<PlaybackState.CustomAction> actions = new ArrayList<>(); in testBuilder_addCustomActionWithCustomActionObject() local
156 actions.add(new PlaybackState.CustomAction.Builder( in testBuilder_addCustomActionWithCustomActionObject()
167 assertEquals(actions.size(), state.getCustomActions().size()); in testBuilder_addCustomActionWithCustomActionObject()
168 for (int i = 0; i < actions.size(); i++) { in testBuilder_addCustomActionWithCustomActionObject()
169 assertCustomActionEquals(actions.get(i), state.getCustomActions().get(i)); in testBuilder_addCustomActionWithCustomActionObject()
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
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)).isSameInstanceAs(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/systemui/PipTestApp/src/android/systemui/cts/tv/pip/
DPipTestActivity.kt192 getParcelableArrayList<RemoteAction>(EXTRA_SET_CUSTOM_ACTIONS)?.let { actions -> in <lambda>() method
193 val names = actions.joinToString(", ") { it.title } in <lambda>()
195 builder.setActions(actions) in <lambda>()
/cts/tests/tests/voiceinteraction/testapp/src/android/voiceinteraction/testapp/
DDirectActionsActivity.java99 final ArrayList<DirectAction> actions = new ArrayList<>(); in onGetDirectActions() local
100 actions.add(action); in onGetDirectActions()
101 callback.accept(actions); in onGetDirectActions()
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/
DDirectActionsSession.java141 final ArrayList<DirectAction> actions = new ArrayList<>(); in getDirectActions() local
148 actions.addAll(b); in getDirectActions()
156 outResult.putParcelableArrayList(Utils.DIRECT_ACTIONS_KEY_RESULT, actions); in getDirectActions()
/cts/tests/controls/src/android/controls/cts/
DCtsControlsService.java29 import android.service.controls.actions.BooleanAction;
30 import android.service.controls.actions.CommandAction;
31 import android.service.controls.actions.ControlAction;
32 import android.service.controls.actions.FloatAction;
33 import android.service.controls.actions.ModeAction;
DCtsControlsServiceTest.java33 import android.service.controls.actions.BooleanAction;
34 import android.service.controls.actions.CommandAction;
35 import android.service.controls.actions.ControlAction;
36 import android.service.controls.actions.FloatAction;
37 import android.service.controls.actions.ModeAction;
/cts/tests/tests/systemui/src/android/systemui/cts/tv/
DBasicPipTests.kt121 private fun <T> runWithDreamManager(actions: (IDreamManager) -> T): T { in <lambda>()
126 actions(dreamManager) in <lambda>()
/cts/tests/tests/view/src/android/view/cts/
DViewUnbufferedTest.java179 private void sendPointerEvents(int x, int y, int[] actions, int source) { in sendPointerEvents() argument
183 MotionEvent.obtain(downTime, downTime, actions[0], x, y, 0); in sendPointerEvents()
198 actions[1], x, y, 0); in sendPointerEvents()
206 actions[2], x, y, 0); in sendPointerEvents()
DMotionEventTest.java821 final int[] actions = { in testActionToString() local
838 for (int i = 0; i < actions.length; i++) { in testActionToString()
839 assertFalse(TextUtils.isEmpty(MotionEvent.actionToString(actions[i]))); in testActionToString()
/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/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DPipActivity.java222 final List<RemoteAction> actions = new ArrayList<>(numberOfCustomActions); in onCreate() local
224 actions.add(createRemoteAction(i)); in onCreate()
226 sharedBuilder.setActions(actions); in onCreate()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DManifestTestListAdapter.java427 private boolean hasAllActions(String[] actions) { in hasAllActions() argument
428 if (actions != null) { in hasAllActions()
430 for (String action : actions) { in hasAllActions()
/cts/tests/tests/content/src/android/content/cts/
DIntentFilterTest.java1388 Match(String[] actions, String[] categories, String[] mimeTypes, String[] schemes, in Match() argument
1390 if (actions != null) { in Match()
1391 addActions(actions); in Match()
1419 Match(String[] actions, String[] categories, String[] mimeTypes, String[] schemes, in Match() argument
1421 this(actions, categories, mimeTypes, schemes, authorities, ports); in Match()
1429 Match(String[] actions, String[] categories, String[] mimeTypes, String[] schemes, in Match() argument
1432 this(actions, categories, mimeTypes, schemes, authorities, ports, paths, pathTypes); in Match()
1469 Match addActions(String[] actions) { in addActions() argument
1470 for (int i = 0; i < actions.length; i++) { in addActions()
1471 addAction(actions[i]); in addActions()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowQueryTest.java475 List<AccessibilityAction> actions = button.getActionList(); in testPerformCustomAction() local
476 final int actionCount = actions.size(); in testPerformCustomAction()
478 AccessibilityAction action = actions.get(i); in testPerformCustomAction()
/cts/hostsidetests/hdmicec/
Dcec_adapter.md181 4. Here are some useful commands to execute remote actions:
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java342 private static void performBleAction(BiConsumer<BluetoothAdapter, BluetoothLeScanner> actions) { in performBleAction() argument
363 actions.accept(bluetoothAdapter, bleScanner); in performBleAction()
/cts/apps/CtsVerifier/
DNOTICE.txt675 distribute the Program or its derivative works. These actions are
1192 distribute the Library or its derivative works. These actions are
1696 distribute the Library or its derivative works. These actions are
2023 distribute the Program or its derivative works. These actions are
2395 distribute the Program or its derivative works. These actions are
4856 legal actions arising out of such distribution.
6516 or its derivative works. These actions are prohibited by law if you do not
7423 actions (including any loss or damage which Google may suffer) by doing so.
7537 against any and all claims, actions, suits or proceedings, as well as any and all losses,
7666 legal actions arising out of such distribution.
[all …]