Home
last modified time | relevance | path

Searched defs:action (Results 1 – 25 of 352) sorted by relevance

12345678910>>...15

/cts/tests/tests/hardware/src/android/hardware/input/cts/virtualcreators/
DVirtualInputEventCreator.java28 public static MotionEvent createMouseEvent(int action, float x, float y, int buttonState, in createMouseEvent()
57 public static MotionEvent createMouseEvent(int action, float x, float y, int buttonState, in createMouseEvent()
63 public static MotionEvent createTouchscreenEvent(int action, float x, float y, float pressure, in createTouchscreenEvent()
93 public static MotionEvent createNavigationTouchpadMotionEvent(int action, float x, float y, in createNavigationTouchpadMotionEvent()
123 public static MotionEvent createStylusHoverMotionEvent(int action, float x, float y, in createStylusHoverMotionEvent()
128 public static MotionEvent createStylusHoverMotionEvent(int action, float x, float y, in createStylusHoverMotionEvent()
133 public static MotionEvent createStylusTouchMotionEvent(int action, float x, float y, in createStylusTouchMotionEvent()
138 public static MotionEvent createStylusTouchMotionEvent(int action, float x, float y, in createStylusTouchMotionEvent()
144 public static MotionEvent createStylusTouchMotionEvent(int action, float x, float y, in createStylusTouchMotionEvent()
149 public static MotionEvent createStylusEvent(int action, int toolType, float x, float y, in createStylusEvent()
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DCtsTestUtils.java29 public static Throwable assertThrows(Runnable action) { in assertThrows()
33 public static <E extends Throwable> E assertThrows(Class<E> exceptionClass, Runnable action) { in assertThrows()
45 public static <T> void runIfNotNull(T callee, Consumer<T> action) { in runIfNotNull()
/cts/tests/tests/hardware/res/raw/
Dgravis_gamepadprousb_keyeventtests.json10 {"action": "DOWN", "keycode": "BUTTON_A"}, string
11 {"action": "UP", "keycode": "BUTTON_A"} string
22 {"action": "DOWN", "keycode": "BUTTON_B"}, string
23 {"action": "UP", "keycode": "BUTTON_B"} string
34 {"action": "DOWN", "keycode": "BUTTON_X"}, string
35 {"action": "UP", "keycode": "BUTTON_X"} string
46 {"action": "DOWN", "keycode": "BUTTON_Y"}, string
47 {"action": "UP", "keycode": "BUTTON_Y"} string
58 {"action": "DOWN", "keycode": "BUTTON_L1"}, string
59 {"action": "UP", "keycode": "BUTTON_L1"} string
[all …]
Dgoogle_pixelusbcearbuds_keyeventtests.json21 {"action": "DOWN", "keycode": "VOLUME_UP"}, string
22 {"action": "UP", "keycode": "VOLUME_UP"} string
34 {"action": "DOWN", "keycode": "VOLUME_DOWN"}, string
35 {"action": "UP", "keycode": "VOLUME_DOWN"} string
47 {"action": "DOWN", "keycode": "MEDIA_PLAY_PAUSE"}, string
48 {"action": "UP", "keycode": "MEDIA_PLAY_PAUSE"} string
Dgoogle_atvreferenceremote_keyeventtests.json10 {"action": "DOWN", "keycode": "KEYCODE_1"}, string
11 {"action": "UP", "keycode": "KEYCODE_1"} string
22 {"action": "DOWN", "keycode": "KEYCODE_2"}, string
23 {"action": "UP", "keycode": "KEYCODE_2"} string
34 {"action": "DOWN", "keycode": "KEYCODE_3"}, string
35 {"action": "UP", "keycode": "KEYCODE_3"} string
46 {"action": "DOWN", "keycode": "KEYCODE_4"}, string
47 {"action": "UP", "keycode": "KEYCODE_4"} string
58 {"action": "DOWN", "keycode": "KEYCODE_5"}, string
59 {"action": "UP", "keycode": "KEYCODE_5"} string
[all …]
Dgravis_gamepadprousb_motioneventtests.json19 {"action": "MOVE", "axes": {"AXIS_HAT_X": -1}}, string
20 {"action": "MOVE", "axes": {"AXIS_HAT_X": 0}} string
31 {"action": "MOVE", "axes": {"AXIS_HAT_X": 1}}, string
32 {"action": "MOVE", "axes": {"AXIS_HAT_X": 0}} string
43 {"action": "MOVE", "axes": {"AXIS_HAT_Y": -1}}, string
44 {"action": "MOVE", "axes": {"AXIS_HAT_Y": 0}} string
55 {"action": "MOVE", "axes": {"AXIS_HAT_Y": 1}}, string
56 {"action": "MOVE", "axes": {"AXIS_HAT_Y": 0}} string
Dmicrosoft_sculpttouch_motioneventtests.json11 "action": "DOWN", string
16 "action": "BUTTON_PRESS", string
20 {"action": "BUTTON_RELEASE", string
23 {"action": "UP", string
37 "action": "DOWN", string
42 "action": "BUTTON_PRESS", string
46 {"action": "BUTTON_RELEASE", string
49 {"action": "UP", string
63 "action": "DOWN", string
68 "action": "BUTTON_PRESS", string
[all …]
Dasus_gamepad_keyeventtests.json10 {"action": "DOWN", "keycode": "BUTTON_A"}, string
11 {"action": "UP", "keycode": "BUTTON_A"} string
23 {"action": "DOWN", "keycode": "BUTTON_B"}, string
24 {"action": "UP", "keycode": "BUTTON_B"} string
36 {"action": "DOWN", "keycode": "BUTTON_X"}, string
37 {"action": "UP", "keycode": "BUTTON_X"} string
49 {"action": "DOWN", "keycode": "BUTTON_Y"}, string
50 {"action": "UP", "keycode": "BUTTON_Y"} string
62 {"action": "DOWN", "keycode": "BUTTON_L1"}, string
63 {"action": "UP", "keycode": "BUTTON_L1"} string
[all …]
Dasus_gamepad_motioneventtests.json21 {"action": "MOVE", "axes": {"AXIS_X": 0.059, "AXIS_Y": 0.0745, "AXIS_Z": -0.106}}, string
22 {"action": "MOVE", "axes": {"AXIS_X": 0.153, "AXIS_Y": 0.9373, "AXIS_Z": -0.106}}, string
23 {"action": "MOVE", "axes": {"AXIS_X": 0.255, "AXIS_Y": 1.0000, "AXIS_Z": -0.106}}, string
24 {"action": "MOVE", "axes": {"AXIS_X": 0.027, "AXIS_Y": -0.098, "AXIS_Z": -0.106}}, string
25 {"action": "MOVE", "axes": {"AXIS_X": 0.027, "AXIS_Y": 0.0039, "AXIS_Z": -0.106}} string
37 {"action": "MOVE", "axes": {"AXIS_HAT_X": -1}}, string
38 {"action": "MOVE", "axes": {"AXIS_HAT_X": 0}} string
50 {"action": "MOVE", "axes": {"AXIS_HAT_X": 1}}, string
51 {"action": "MOVE", "axes": {"AXIS_HAT_X": 0}} string
63 {"action": "MOVE", "axes": {"AXIS_HAT_Y": -1}}, string
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/
DVisibilitySetterActionTest.java65 final VisibilitySetterAction action = new VisibilitySetterAction.Builder(42, View.VISIBLE) in testOneChild() local
79 final VisibilitySetterAction action = new VisibilitySetterAction.Builder(42, View.VISIBLE) in testOneChildAddedTwice() local
94 final VisibilitySetterAction action = new VisibilitySetterAction.Builder(42, View.VISIBLE) in testMultipleChildren() local
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverBgServiceTest.java75 final String action = tryStartTestServiceAndReturnAction(targetPackage, false); in testBgServiceThrottled() local
111 final String action = tryStartTestServiceAndReturnAction(targetPackage, true); in testBgServiceThrottled() local
156 final String action = "start_service_" + getRandomInt() + "_fg=" + foreground; in tryStartTestServiceAndReturnAction() local
/cts/tests/framework/base/locale/util/src/android/localemanager/cts/util/
DLocaleUtils.java42 public static Intent constructResultIntent(String action, Intent intent) { in constructResultIntent()
57 public static Intent constructResultIntent(String action, String packageName, in constructResultIntent()
/cts/hostsidetests/car/src/android/car/cts/powerpolicy/
DPowerPolicyTestResult.java36 public void addCriteria(String testcase, String action, String subject, String data) in addCriteria()
75 public void checkLastTestResultEntry(String testcase, String action, in checkLastTestResultEntry()
83 public void checkLastTestResultEntry(String testcase, String action, in checkLastTestResultEntry()
93 public boolean checkLastTestResultEntryData(String testcase, String action, in checkLastTestResultEntryData()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DNestedShellPermission.java47 public static void run(Runnable action) { in run()
52 public static void run(Runnable action, @Nullable String... permissions) { in run()
/cts/tests/suspendapps/test-apps/SuspendTestApp/aidl/com/android/suspendapps/suspendtestapp/
DITestService.aidl27 void registerBroadcastReporter(String action, in IBroadcastReporter reporter); in registerBroadcastReporter()
28 void unregisterBroadcastReporter(String action); in unregisterBroadcastReporter()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DDragDropTest.java125 public int action; // DragEvent.getAction() field in DragDropTest.LogEntry
133 LogEntry(View v, int action, float x, float y, ClipData clipData, in LogEntry()
178 private static ClipData obtainClipData(int action) { in obtainClipData()
185 private static ClipDescription obtainClipDescription(int action) { in obtainClipDescription()
204 private void expectEvent5(int action, int viewId) { in expectEvent5()
213 int action = DragEvent.ACTION_DRAG_ENDED; in expectEndEvent() local
230 int action = DragEvent.ACTION_DRAG_ENDED; in expectEndEventFailure6() local
239 private void expectEventWithOffset(int action, int viewId, int locationViewId, int offset) { in expectEventWithOffset()
253 private void expectEvent5(int action, int viewId, int locationViewId) { in expectEvent5()
258 private void expectEvent6(int action, int viewId, int locationViewId) { in expectEvent6()
[all …]
/cts/tests/tests/assist/common/src/android/assist/common/
DBaseRemoteCallbackActivity.java35 protected void notify(String action) { in notify()
75 protected void onReceivedEventFromCaller(Bundle results, String action) { in onReceivedEventFromCaller()
/cts/tests/tests/view/src/android/view/cts/
DContentPaneFocusTest.java79 ActionBar action = mActivity.getActionBar(); in testAccessActionBar() local
130 ActionBar action = mActivity.getActionBar(); in testNoFocusablesInContent() local
173 private void sendMetaKey(int action) throws Throwable { in sendMetaKey()
DTouchDelegateTest.java175 private void ensureOldestActionEquals(int action) { in ensureOldestActionEquals()
199 private void dispatchTouchEventToActivity(int action, int y, long downTime) { in dispatchTouchEventToActivity()
204 private void dispatchHoverEventToActivity(int action, int y, long downTime) { in dispatchHoverEventToActivity()
209 private void dispatchMotionEventToActivity(int action, int y, long downTime, int source, in dispatchMotionEventToActivity()
221 private void dispatchMultiTouchMotionEventToActivity(int action, int pointerCount, in dispatchMultiTouchMotionEventToActivity()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAbstractContentCaptureActivity.java109 public final void syncRunOnUiThread(@NonNull Runnable action) { in syncRunOnUiThread()
116 public final <T> T syncCallOnUiThread(@NonNull Callable<T> action) throws Exception { in syncCallOnUiThread()
137 public final void syncRunOnUiThread(@NonNull Runnable action, long timeoutMs) { in syncRunOnUiThread()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-20918/attacker-app/src/android/security/cts/CVE_2023_20918_attacker/
DExploitActivity.java68 public void sendBroadcastToTestApp(String action) { in sendBroadcastToTestApp()
72 public void sendBroadcastToTestApp(String action, String assumeFailMsg) { in sendBroadcastToTestApp()
/cts/tests/location/common/src/android/location/cts/common/
DBroadcastCapture.java33 public BroadcastCapture(Context context, String action) { in BroadcastCapture()
43 protected void register(String action) { in register()
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/
DSubscriptionGroupUtils.java43 Context c, int subId, ThrowingConsumer<ParcelUuid> action) throws Exception { in withEphemeralSubscriptionGroup()
57 Context c, int subId, ThrowingFunction<ParcelUuid, R> action) throws Exception { in withEphemeralSubscriptionGroup()
/cts/tests/tests/app/src/android/app/cts/
DRemoteActionTest.java42 PendingIntent action = PendingIntent.getBroadcast( in testParcel() local
67 PendingIntent action = PendingIntent.getBroadcast( in testClone() local
/cts/tests/tests/os/src/android/os/cts/
DIntentLaunchActivity.java103 private static Intent getTestIntentWithExtrasInParceledIntent(Context context, String action) { in getTestIntentWithExtrasInParceledIntent()
135 private static Intent getTestIntentWithUriIntentInExtras(Context context, String action) { in getTestIntentWithUriIntentInExtras()
150 private static Intent getTestIntent(Context context, String action) { in getTestIntent()
164 String action = deliveredIntent.getAction(); in onCreate() local

12345678910>>...15