Home
last modified time | relevance | path

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

12345678910>>...14

/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/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/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_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 …]
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/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/framework/base/windowmanager/src/android/server/wm/
DDragDropTest.java122 public int action; // DragEvent.getAction() field in DragDropTest.LogEntry
130 LogEntry(View v, int action, float x, float y, ClipData clipData, in LogEntry()
175 private static ClipData obtainClipData(int action) { in obtainClipData()
182 private static ClipDescription obtainClipDescription(int action) { in obtainClipDescription()
201 private void expectEvent5(int action, int viewId) { in expectEvent5()
210 int action = DragEvent.ACTION_DRAG_ENDED; in expectEndEvent() local
227 int action = DragEvent.ACTION_DRAG_ENDED; in expectEndEventFailure6() local
236 private void expectEventWithOffset(int action, int viewId, int locationViewId, int offset) { in expectEventWithOffset()
250 private void expectEvent5(int action, int viewId, int locationViewId) { in expectEvent5()
255 private void expectEvent6(int action, int viewId, int locationViewId) { in expectEvent6()
[all …]
/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/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
/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/tests/app/src/android/app/cts/android/app/cts/tools/
DWaitForBroadcast.java55 public void prepare(String action) { in prepare()
78 String action = mWaitingAction; in doWait() local

12345678910>>...14