Home
last modified time | relevance | path

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

1234567891011

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/
DCtsTestUtils.java26 public static Throwable assertThrows(Runnable action) { in assertThrows()
30 public static <E extends Throwable> E assertThrows(Class<E> exceptionClass, Runnable action) { in assertThrows()
42 public static <T> void runIfNotNull(T callee, Consumer<T> action) { in runIfNotNull()
/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.java73 final String action = tryStartTestServiceAndReturnAction(targetPackage, false); in testBgServiceThrottled() local
109 final String action = tryStartTestServiceAndReturnAction(targetPackage, true); in testBgServiceThrottled() local
154 final String action = "start_service_" + getRandomInt() + "_fg=" + foreground; in tryStartTestServiceAndReturnAction() local
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsForegroundActivity.java44 String action = intent.getStringExtra(KEY_ACTION); in onCreate() local
58 private boolean isActionAsync(String action) { in isActionAsync()
/cts/tests/tests/hardware/res/raw/
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 …]
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/framework/base/windowmanager/src/android/server/wm/
DDragDropTest.java108 public int action; // DragEvent.getAction() field in DragDropTest.LogEntry
116 LogEntry(View v, int action, float x, float y, ClipData clipData, in LogEntry()
160 private static ClipData obtainClipData(int action) { in obtainClipData()
167 private static ClipDescription obtainClipDescription(int action) { in obtainClipDescription()
186 private void expectEvent5(int action, int viewId) { in expectEvent5()
195 int action = DragEvent.ACTION_DRAG_ENDED; in expectEndEvent() local
212 int action = DragEvent.ACTION_DRAG_ENDED; in expectEndEventFailure6() local
220 private void expectEventWithOffset(int action, int viewId, int locationViewId, int offset) { in expectEventWithOffset()
233 private void expectEvent5(int action, int viewId, int locationViewId) { in expectEvent5()
238 private void expectEvent6(int action, int viewId, int locationViewId) { in expectEvent6()
[all …]
/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/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/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/tests/view/src/android/view/cts/
DContentPaneFocusTest.java68 ActionBar action = mActivity.getActionBar(); in testAccessActionBar() local
119 ActionBar action = mActivity.getActionBar(); in testNoFocusablesInContent() local
162 private void sendMetaKey(int action) throws Throwable { in sendMetaKey()
DTouchDelegateTest.java164 private void ensureOldestActionEquals(int action) { in ensureOldestActionEquals()
188 private void dispatchTouchEventToActivity(int action, int y, long downTime) { in dispatchTouchEventToActivity()
193 private void dispatchHoverEventToActivity(int action, int y, long downTime) { in dispatchHoverEventToActivity()
198 private void dispatchMotionEventToActivity(int action, int y, long downTime, int source, in dispatchMotionEventToActivity()
210 private void dispatchMultiTouchMotionEventToActivity(int action, int pointerCount, in dispatchMultiTouchMotionEventToActivity()
/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/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/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/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/voiceinteraction/src/android/voiceinteraction/cts/
DDirectActionsTest.java66 final DirectAction action = getExpectedDirectActionAssertively(actions); in testPerformDirectAction() local
91 final DirectAction action = getExpectedDirectActionAssertively(actions); in testCancelPerformedDirectAction() local
243 @NonNull Bundle executeRemoteCommand(@NonNull String action) throws Exception { in executeRemoteCommand()
247 @NonNull Bundle executeRemoteCommand(@NonNull String action, in executeRemoteCommand()
289 final DirectAction action = actions.get(0); in getExpectedDirectActionAssertively() 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
/cts/tests/app/src/android/app/cts/android/app/cts/tools/
DWaitForBroadcast.java49 public void prepare(String action) { in prepare()
66 String action = mWaitingAction; in doWait() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DISensorTestStateContainer.java58 int executeActivity(String action) throws InterruptedException; in executeActivity()
84 boolean hasActivity(String action); in hasActivity()
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/
DSimpleActivityStartFgService.java42 final String action = getIntent().getAction(); in onCreate() local
65 final String action = intent.getAction(); in onNewIntent() local
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DExceptionUtils.java77 Function<Throwable, Throwable> exceptionTransformer, ThrowingSupplier<R> action) { in wrappingExceptions()
96 Function<Throwable, Throwable> exceptionTransformer, ThrowingRunnable action) { in wrappingExceptions()

1234567891011