/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | CtsTestUtils.java | 26 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/ |
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
|
D | AbstractAutoFillActivity.java | 51 public final void syncRunOnUiThread(Runnable action) { in syncRunOnUiThread() 59 public final void syncRunOnUiThread(Runnable action, long timeoutMs) { in syncRunOnUiThread()
|
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/ |
D | BatterySaverBgServiceTest.java | 73 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/ |
D | BatteryStatsForegroundActivity.java | 44 String action = intent.getStringExtra(KEY_ACTION); in onCreate() local 58 private boolean isActionAsync(String action) { in isActionAsync()
|
D | BatteryStatsBackgroundService.java | 37 String action = intent.getStringExtra(KEY_ACTION); in onHandleIntent() local
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DragDropTest.java | 105 public int action; // DragEvent.getAction() field in DragDropTest.LogEntry 113 LogEntry(View v, int action, float x, float y, ClipData clipData, in LogEntry() 157 private static ClipData obtainClipData(int action) { in obtainClipData() 164 private static ClipDescription obtainClipDescription(int action) { in obtainClipDescription() 183 private void expectEvent5(int action, int viewId) { in expectEvent5() 192 int action = DragEvent.ACTION_DRAG_ENDED; in expectEndEvent() local 209 int action = DragEvent.ACTION_DRAG_ENDED; in expectEndEventFailure6() local 217 private void expectEventWithOffset(int action, int viewId, int locationViewId, int offset) { in expectEventWithOffset() 230 private void expectEvent5(int action, int viewId, int locationViewId) { in expectEvent5() 235 private void expectEvent6(int action, int viewId, int locationViewId) { in expectEvent6() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ContentPaneFocusTest.java | 68 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()
|
D | TouchDelegateTest.java | 164 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/ |
D | BaseRemoteCallbackActivity.java | 35 protected void notify(String action) { in notify() 75 protected void onReceivedEventFromCaller(Bundle results, String action) { in onReceivedEventFromCaller()
|
/cts/tests/tests/hardware/res/raw/ |
D | asus_gamepad_keyeventtests.json | 9 {"action": "DOWN", "keycode": "BUTTON_A"}, string 10 {"action": "UP", "keycode": "BUTTON_A"} string 21 {"action": "DOWN", "keycode": "BUTTON_B"}, string 22 {"action": "UP", "keycode": "BUTTON_B"} string 33 {"action": "DOWN", "keycode": "BUTTON_X"}, string 34 {"action": "UP", "keycode": "BUTTON_X"} string 45 {"action": "DOWN", "keycode": "BUTTON_Y"}, string 46 {"action": "UP", "keycode": "BUTTON_Y"} string 57 {"action": "DOWN", "keycode": "BUTTON_L1"}, string 58 {"action": "UP", "keycode": "BUTTON_L1"} string [all …]
|
D | asus_gamepad_motioneventtests.json | 20 {"action": "MOVE", "axes": {"AXIS_X": 0.059, "AXIS_Y": 0.0745, "AXIS_Z": -0.106}}, string 21 {"action": "MOVE", "axes": {"AXIS_X": 0.153, "AXIS_Y": 0.9373, "AXIS_Z": -0.106}}, string 22 {"action": "MOVE", "axes": {"AXIS_X": 0.255, "AXIS_Y": 1.0000, "AXIS_Z": -0.106}}, string 23 {"action": "MOVE", "axes": {"AXIS_X": 0.027, "AXIS_Y": -0.098, "AXIS_Z": -0.106}}, string 24 {"action": "MOVE", "axes": {"AXIS_X": 0.027, "AXIS_Y": 0.0039, "AXIS_Z": -0.106}} string 35 {"action": "MOVE", "axes": {"AXIS_HAT_X": -1}}, string 36 {"action": "MOVE", "axes": {"AXIS_HAT_X": 0}} string 47 {"action": "MOVE", "axes": {"AXIS_HAT_X": 1}}, string 48 {"action": "MOVE", "axes": {"AXIS_HAT_X": 0}} string 59 {"action": "MOVE", "axes": {"AXIS_HAT_Y": -1}}, string [all …]
|
/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()
|
D | OutOfProcessActivity.java | 62 final int action = getIntent().getIntExtra(ACTION_EXTRA, ACTION_NONE); in onStart() local 127 public static void startActivity(@NonNull Context context, int action) throws Exception { in startActivity()
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/ |
D | DirectActionsTest.java | 64 final DirectAction action = getExpectedDirectActionAssertively(actions); in testPerformDirectAction() local 89 final DirectAction action = getExpectedDirectActionAssertively(actions); in testCancelPerformedDirectAction() local 200 @Nullable Bundle executeCommand(@NonNull String action, @Nullable DirectAction directAction, in executeCommand() 288 @NonNull Bundle executeRemoteCommand(@NonNull String action) throws Exception { in executeRemoteCommand() 292 @NonNull Bundle executeRemoteCommand(@NonNull String action, in executeRemoteCommand() 334 final DirectAction action = actions.get(0); in getExpectedDirectActionAssertively() local
|
/cts/tests/tests/app/src/android/app/cts/ |
D | RemoteActionTest.java | 42 PendingIntent action = PendingIntent.getBroadcast( in testParcel() local 66 PendingIntent action = PendingIntent.getBroadcast( in testClone() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | ISensorTestStateContainer.java | 58 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/ |
D | WaitForBroadcast.java | 49 public void prepare(String action) { in prepare() 66 String action = mWaitingAction; in doWait() local
|
/cts/libs/input/src/com/android/cts/input/ |
D | HidJsonParser.java | 200 int action = keyActionFromString(entry.getString("action")); in parseKeyEvent() local 222 int action = motionActionFromString(entry.getString("action")); in parseMotionEvent() local 230 private int keyActionFromString(String action) { in keyActionFromString() 240 private int motionActionFromString(String action) { in motionActionFromString()
|
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/ |
D | MyBroadcastReceiver.java | 77 final String action = intent.getAction(); in onReceive() local 100 private void increaseCounter(Context context, String action) { in increaseCounter() 108 static int getCounter(Context context, String action, String receiverName) { in getCounter() 211 Action action = null; in sendNotification() local
|
/cts/hostsidetests/appsecurity/test-apps/PrivilegedUpdateApp/src/com/android/cts/privilegedupdate/ |
D | PrivilegedUpdateTest.java | 135 private void assertFilterPriority(ComponentName component, String action, int priority) { in assertFilterPriority() 139 ComponentName component, String action, String data, int priority) { in assertFilterPriority()
|
/cts/suite/audio_quality/test/ |
D | TaskCaseCommon.h | 31 inline TaskCase* getTaskCase(TaskGeneric*& setup, TaskGeneric*& action) in getTaskCase()
|
/cts/tests/tests/assist/service/src/android/assist/service/ |
D | MainInteractionService.java | 66 protected void notify(String action) { in notify() 114 String action = intent.getAction(); in onReceive() local
|
/cts/tests/tests/security/src/android/security/cts/ |
D | BluetoothIntentsTest.java | 44 private void genericIntentTest(String action) throws SecurityException { in genericIntentTest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | WorkStatusTestActivity.java | 53 String action = getIntent().getAction(); in onStart() local
|