/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | CtsTestUtils.java | 35 public static Throwable assertThrows(Runnable action) { in assertThrows() 39 public static <E extends Throwable> E assertThrows(Class<E> exceptionClass, Runnable action) { in assertThrows() 51 public static <T> void runIfNotNull(T callee, Consumer<T> action) { in runIfNotNull()
|
/cts/tests/tests/hardware/res/raw/ |
D | gravis_gamepadprousb_keyeventtests.json | 10 {"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 …]
|
D | google_pixelusbcearbuds_keyeventtests.json | 21 {"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
|
D | google_atvreferenceremote_keyeventtests.json | 10 {"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 …]
|
D | gravis_gamepadprousb_motioneventtests.json | 19 {"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
|
D | microsoft_sculpttouch_motioneventtests.json | 11 "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 …]
|
D | asus_gamepad_keyeventtests.json | 10 {"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 …]
|
D | asus_gamepad_motioneventtests.json | 21 {"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/ |
D | VisibilitySetterActionTest.java | 65 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/ |
D | BatterySaverBgServiceTest.java | 75 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/ |
D | LocaleUtils.java | 42 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/ |
D | PowerPolicyTestResult.java | 36 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/hostsidetests/network-policy/app2/src/com/android/cts/netpolicy/hostside/app2/ |
D | MyBroadcastReceiver.java | 71 final String action = intent.getAction(); in onReceive() local 97 private void increaseCounter(Context context, String action) { in increaseCounter() 105 static int getCounter(Context context, String action, String receiverName) { in getCounter() 137 Action action = null; in sendNotification() local
|
/cts/tests/suspendapps/test-apps/SuspendTestApp/aidl/com/android/suspendapps/suspendtestapp/ |
D | ITestService.aidl | 27 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/ |
D | DragDropTest.java | 127 public int action; // DragEvent.getAction() field in DragDropTest.LogEntry 135 LogEntry(View v, int action, float x, float y, ClipData clipData, in LogEntry() 180 private static ClipData obtainClipData(int action) { in obtainClipData() 187 private static ClipDescription obtainClipDescription(int action) { in obtainClipDescription() 206 private void expectEvent5(int action, int viewId) { in expectEvent5() 215 int action = DragEvent.ACTION_DRAG_ENDED; in expectEndEvent() local 232 int action = DragEvent.ACTION_DRAG_ENDED; in expectEndEventFailure6() local 241 private void expectEventWithOffset(int action, int viewId, int locationViewId, int offset) { in expectEventWithOffset() 255 private void expectEvent5(int action, int viewId, int locationViewId) { in expectEvent5() 260 private void expectEvent6(int action, int viewId, int locationViewId) { in expectEvent6() [all …]
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | NestedShellPermission.java | 50 public static void run(Runnable action) { in run() 59 public static void run(Runnable action, @Nullable String... permissions) { in run()
|
/cts/tests/tests/assist/common/src/android/assist/common/ |
D | BaseRemoteCallbackActivity.java | 35 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/ |
D | ContentPaneFocusTest.java | 79 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()
|
D | TouchDelegateTest.java | 175 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/ |
D | AbstractContentCaptureActivity.java | 109 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/ |
D | ExploitActivity.java | 68 public void sendBroadcastToTestApp(String action) { in sendBroadcastToTestApp() 72 public void sendBroadcastToTestApp(String action, String assumeFailMsg) { in sendBroadcastToTestApp()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | RemoteActionTest.java | 42 PendingIntent action = PendingIntent.getBroadcast( in testParcel() local 67 PendingIntent action = PendingIntent.getBroadcast( in testClone() local
|
/cts/tests/location/common/src/android/location/cts/common/ |
D | BroadcastCapture.java | 33 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/ |
D | SubscriptionGroupUtils.java | 43 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/os/src/android/os/cts/ |
D | IntentLaunchActivity.java | 103 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
|