Home
last modified time | relevance | path

Searched refs:setAction (Results 1 – 25 of 222) sorted by relevance

123456789

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DConfigUpdateIntentsTest.java85 configUpdateIntent.setAction(ConfigUpdate.ACTION_UPDATE_PINS); in testConfigUpdateReceiversIntent()
89 configUpdateIntent.setAction(ConfigUpdate.ACTION_UPDATE_INTENT_FIREWALL); in testConfigUpdateReceiversIntent()
93 configUpdateIntent.setAction(ConfigUpdate.ACTION_UPDATE_SMS_SHORT_CODES); in testConfigUpdateReceiversIntent()
97 configUpdateIntent.setAction(ConfigUpdate.ACTION_UPDATE_CARRIER_PROVISIONING_URLS); in testConfigUpdateReceiversIntent()
101 configUpdateIntent.setAction(ConfigUpdate.ACTION_UPDATE_CT_LOGS); in testConfigUpdateReceiversIntent()
105 configUpdateIntent.setAction(ConfigUpdate.ACTION_UPDATE_LANG_ID); in testConfigUpdateReceiversIntent()
109 configUpdateIntent.setAction(ConfigUpdate.ACTION_UPDATE_SMART_SELECTION); in testConfigUpdateReceiversIntent()
113 configUpdateIntent.setAction(ConfigUpdate.ACTION_UPDATE_CONVERSATION_ACTIONS); in testConfigUpdateReceiversIntent()
117 configUpdateIntent.setAction(ConfigUpdate.ACTION_UPDATE_NETWORK_WATCHLIST); in testConfigUpdateReceiversIntent()
121 configUpdateIntent.setAction(ConfigUpdate.ACTION_UPDATE_CARRIER_ID_DB); in testConfigUpdateReceiversIntent()
[all …]
DSmsReceiverHelper.java35 intent.setAction(MESSAGE_SENT_ACTION); in getMessageSentPendingIntent()
42 intent.setAction(MESSAGE_DELIVERED_ACTION); in getMessageDeliveredPendingIntent()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DVirtualStylusMotionEventTest.java52 .setAction(VirtualStylusMotionEvent.ACTION_DOWN) in parcelAndUnparcel_matches()
106 .setAction(100) in stylusMotionEvent_invalidAction_throwsIae()
115 .setAction(VirtualStylusMotionEvent.ACTION_DOWN) in stylusMotionEvent_invalidToolType_throwsIae()
126 .setAction(VirtualStylusMotionEvent.ACTION_DOWN) in stylusMotionEvent_noX_throwsIae()
135 .setAction(VirtualStylusMotionEvent.ACTION_DOWN) in stylusMotionEvent_noY_throwsIae()
144 .setAction(VirtualStylusMotionEvent.ACTION_DOWN) in stylusMotionEvent_invalidEventTime_throwsIae()
155 .setAction(VirtualStylusMotionEvent.ACTION_DOWN) in stylusMotionEvent_invalidPressure_throwsIae()
162 .setAction(VirtualStylusMotionEvent.ACTION_DOWN) in stylusMotionEvent_invalidPressure_throwsIae()
173 .setAction(VirtualStylusMotionEvent.ACTION_DOWN) in stylusMotionEvent_invalidTiltX_throwsIae()
180 .setAction(VirtualStylusMotionEvent.ACTION_DOWN) in stylusMotionEvent_invalidTiltX_throwsIae()
[all …]
DVirtualDpadTest.java53 .setAction(VirtualKeyEvent.ACTION_DOWN) in sendKeyEvent()
58 .setAction(VirtualKeyEvent.ACTION_UP) in sendKeyEvent()
63 .setAction(VirtualKeyEvent.ACTION_DOWN) in sendKeyEvent()
68 .setAction(VirtualKeyEvent.ACTION_UP) in sendKeyEvent()
88 .setAction(VirtualKeyEvent.ACTION_DOWN) in sendKeyEvent_withoutCreateVirtualDevicePermission_throwsException()
97 .setAction(VirtualKeyEvent.ACTION_DOWN) in rejectsUnsupportedKeyCodes()
DVirtualTouchEventTest.java43 .setAction(VirtualTouchEvent.ACTION_DOWN) in parcelAndUnparcel_matches()
94 .setAction(VirtualTouchEvent.ACTION_DOWN) in touchEvent_noPointerId_throwsIae()
104 .setAction(VirtualTouchEvent.ACTION_DOWN) in touchEvent_noToolType_throwsIae()
114 .setAction(VirtualTouchEvent.ACTION_DOWN) in touchEvent_noX_throwsIae()
124 .setAction(VirtualTouchEvent.ACTION_DOWN) in touchEvent_noY_throwsIae()
134 .setAction(VirtualTouchEvent.ACTION_DOWN) in touchEvent_invalidEventTime_throwsIae()
146 .setAction(VirtualTouchEvent.ACTION_CANCEL) in touchEvent_cancelUsedImproperly_throwsIae()
157 .setAction(VirtualTouchEvent.ACTION_MOVE) in touchEvent_palmUsedImproperly_throwsIae()
173 .setAction(VirtualTouchEvent.ACTION_CANCEL) in touchEvent_palmAndCancelUsedProperly()
200 .setAction(VirtualTouchEvent.ACTION_DOWN) in touchEvent_valid_created()
[all …]
DVirtualKeyboardTest.java53 .setAction(VirtualKeyEvent.ACTION_DOWN) in sendKeyEvent()
58 .setAction(VirtualKeyEvent.ACTION_UP) in sendKeyEvent()
74 .setAction(VirtualKeyEvent.ACTION_DOWN) in sendKeyEvent_withoutCreateVirtualDevicePermission_throwsException()
89 .setAction(VirtualKeyEvent.ACTION_DOWN) in rejectsUnsupportedKeyCodes()
DVirtualKeyEventTest.java38 .setAction(VirtualKeyEvent.ACTION_DOWN) in parcelAndUnparcel_matches()
64 () -> new VirtualKeyEvent.Builder().setAction(VirtualKeyEvent.ACTION_DOWN).build()); in keyEvent_noKeyCode_throwsIae()
77 .setAction(VirtualKeyEvent.ACTION_DOWN) in keyEvent_invalidEventTime_throwsIae()
87 .setAction(VirtualKeyEvent.ACTION_DOWN) in keyEvent_valid_created()
DVirtualMouseButtonEventTest.java37 .setAction(VirtualMouseButtonEvent.ACTION_BUTTON_PRESS) in parcelAndUnparcel_matches()
64 .setAction(VirtualMouseButtonEvent.ACTION_BUTTON_RELEASE).build()); in buttonEvent_noButtonCode_throwsIae()
76 .setAction(VirtualMouseButtonEvent.ACTION_BUTTON_RELEASE) in buttonEvent_invalidEventTime_throwsIae()
86 .setAction(VirtualMouseButtonEvent.ACTION_BUTTON_PRESS) in buttonEvent_valid_created()
DVirtualDeviceMirrorDisplayTest.java188 .setAction(VirtualMouseButtonEvent.ACTION_BUTTON_PRESS) in virtualMouse_buttonEvent()
192 .setAction(VirtualMouseButtonEvent.ACTION_BUTTON_RELEASE) in virtualMouse_buttonEvent()
241 .setAction(VirtualTouchEvent.ACTION_DOWN) in virtualTouchscreen_touchEvent()
260 builder.setAction(VirtualTouchEvent.ACTION_MOVE); in virtualTouchscreen_touchEvent()
273 .setAction(VirtualTouchEvent.ACTION_UP) in virtualTouchscreen_touchEvent()
292 .setAction(VirtualKeyEvent.ACTION_DOWN) in virtualKeyboard_keyEvent()
297 .setAction(VirtualKeyEvent.ACTION_UP) in virtualKeyboard_keyEvent()
314 .setAction(VirtualKeyEvent.ACTION_DOWN) in virtualDpad_keyEvent()
319 .setAction(VirtualKeyEvent.ACTION_UP) in virtualDpad_keyEvent()
324 .setAction(VirtualKeyEvent.ACTION_DOWN) in virtualDpad_keyEvent()
[all …]
DVirtualStylusButtonEventTest.java46 .setAction(VirtualStylusButtonEvent.ACTION_BUTTON_PRESS) in parcelAndUnparcel_matches()
75 .setAction(VirtualStylusButtonEvent.ACTION_BUTTON_RELEASE).build()); in stylusButtonEvent_noButtonCode_throwsIae()
87 .setAction(VirtualStylusButtonEvent.ACTION_BUTTON_RELEASE) in stylusButtonEvent_invalidEventTime_throwsIae()
97 .setAction(VirtualStylusButtonEvent.ACTION_BUTTON_PRESS) in stylusButtonEvent_valid_created()
DVirtualTouchscreenTest.java74 .setAction(VirtualTouchEvent.ACTION_DOWN) in sendTouchEvent()
91 builder.setAction(VirtualTouchEvent.ACTION_MOVE); in sendTouchEvent()
103 .setAction(VirtualTouchEvent.ACTION_UP) in sendTouchEvent()
141 .setAction(VirtualTouchEvent.ACTION_DOWN) in sendTouchEvent_withoutCreateVirtualDevicePermission_throwsException()
153 .setAction(action) in sendHoverEvent()
DVirtualStylusTest.java85 .setAction(VirtualStylusMotionEvent.ACTION_DOWN) in sendTouchEvents()
94 builder.setAction(VirtualStylusMotionEvent.ACTION_MOVE); in sendTouchEvents()
106 .setAction(VirtualStylusMotionEvent.ACTION_UP) in sendTouchEvents()
213 .setAction(VirtualStylusButtonEvent.ACTION_BUTTON_PRESS) in stylusButtonPressRelease_withoutHoverOrTouch()
217 .setAction(VirtualStylusButtonEvent.ACTION_BUTTON_RELEASE) in stylusButtonPressRelease_withoutHoverOrTouch()
231 .setAction(VirtualStylusMotionEvent.ACTION_DOWN) in sendTouchEvent_withoutCreateVirtualDevicePermission_throwsException()
271 .setAction(VirtualStylusButtonEvent.ACTION_BUTTON_PRESS) in moveStylusWithButtonPressed()
279 .setAction(VirtualStylusButtonEvent.ACTION_BUTTON_RELEASE) in moveStylusWithButtonPressed()
287 .setAction(action) in sendMotionEvent()
DVirtualMouseTest.java65 .setAction(VirtualMouseButtonEvent.ACTION_BUTTON_PRESS) in sendButtonEvent()
69 .setAction(VirtualMouseButtonEvent.ACTION_BUTTON_RELEASE) in sendButtonEvent()
152 .setAction(VirtualMouseButtonEvent.ACTION_BUTTON_PRESS) in sendButtonEvent_withoutCreateVirtualDevicePermission_throwsException()
192 .setAction(VirtualMouseButtonEvent.ACTION_BUTTON_PRESS) in testStartingCursorPosition()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DUtils.java86 intent.setAction(action); in grantClipUriPermission()
93 intent.setAction(ACTION_GRANT_URI); in grantClipUriPermissionViaContext()
102 intent.setAction(ACTION_REVOKE_URI); in revokeClipUriPermissionViaContext()
110 intent.setAction(ACTION_SET_PRIMARY_CLIP); in setPrimaryClip()
117 intent.setAction(ACTION_CLEAR_PRIMARY_CLIP); in clearPrimaryClip()
123 intent.setAction(ACTION_VERIFY_OUTGOING_PERSISTED); in verifyOutgoingPersisted()
/cts/tests/app/app/src/android/app/stubs/
DClearTop.java33 final Intent intent = new Intent(getIntent()).setAction(LocalScreen.CLEAR_TASK).setClass( in onCreate()
44 setResult(RESULT_CANCELED, new Intent().setAction("New intent received " + intent in onNewIntent()
DActivityTestsBase.java115 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(error)); in finishBad()
152 mIntent.setAction(action); in startLaunchpadActivity()
227 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(msg)); in onTimeout()
/cts/tests/tests/os/src/android/os/cts/
DClearTop.java35 final Intent intent = new Intent(getIntent()).setAction(LocalScreen.CLEAR_TASK).setClass( in onCreate()
46 setResult(RESULT_CANCELED, new Intent().setAction("New intent received " + intent in onNewIntent()
DActivityTestsBase.java110 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(error)); in finishBad()
138 mIntent.setAction(action); in startLaunchpadActivity()
209 finishWithResult(Activity.RESULT_CANCELED, new Intent().setAction(msg)); in onTimeout()
/cts/tests/tests/content/src/android/content/cts/
DIntentTest.java140 intent.setAction(TEST_ACTION); in testConstructor()
184 mIntent.setAction(TEST_ACTION); in testReadFromParcel()
791 mIntent.setAction(TEST_ACTION); in testAccessAction()
841 mIntent.setAction(TEST_ACTION); in testClone()
871 mIntent.setAction(TEST_ACTION); in testCloneFilter()
1054 mIntent.setAction(TEST_ACTION); in testGetIntent()
1152 mIntent.setAction(TEST_ACTION); in testToURI()
1227 new Intent().setAction("android.test.FOO")); in testUris()
1231 new Intent().setAction(Intent.ACTION_VIEW).addCategory("android.test.FOO")); in testUris()
1235 new Intent().setAction("android.test.FOO").setFlags(0x20)); in testUris()
[all …]
/cts/tests/tests/content/src/android/content/pm/cts/
DSaferIntentTest.java299 intent.setAction(RESOLUTION_TEST_ACTION_NAME); in testQueryEnforceIntentFilterMatch()
311 intent.setAction(NON_EXISTENT_ACTION_NAME); in testQueryEnforceIntentFilterMatch()
325 intent.setAction(RESOLUTION_TEST_ACTION_NAME); in testQueryEnforceIntentFilterMatch()
343 intent.setAction(NON_EXISTENT_ACTION_NAME); in testQueryEnforceIntentFilterMatch()
361 intent.setAction(RESOLUTION_TEST_ACTION_NAME + "2"); in testQueryEnforceIntentFilterMatch()
389 intent.setAction(NON_EXISTENT_ACTION_NAME); in testQueryEnforceIntentFilterMatch()
411 selector.setAction(SELECTOR_ACTION_NAME); in testQueryEnforceIntentFilterMatch()
412 intent.setAction(RESOLUTION_TEST_ACTION_NAME); in testQueryEnforceIntentFilterMatch()
424 selector.setAction(NON_EXISTENT_ACTION_NAME); in testQueryEnforceIntentFilterMatch()
425 intent.setAction(RESOLUTION_TEST_ACTION_NAME); in testQueryEnforceIntentFilterMatch()
[all …]
/cts/tests/tests/dreams/CtsDreamOverlayTestApp/src/android/app/dream/cts/app/
DDreamOverlayService.java78 intent.setAction(ACTION_DREAM_OVERLAY_SHOWN); in addWindowOverlay()
86 intent.setAction(ACTION_DREAM_OVERLAY_REMOVED); in addWindowOverlay()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java266 intent.setAction(ACTION_INSTALL_CERT); in installCaCert()
275 intent.setAction(ACTION_REMOVE_CERT); in removeCaCert()
284 intent.setAction(ACTION_VERIFY_CERT); in verifyCaCert()
316 intent.setAction(ACTION_INSTALL_KEYPAIR); in installKeyPair()
327 intent.setAction(ACTION_READ_ENROLLMENT_SPECIFIC_ID); in readEnrollmentId()
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DDelegatedScopesReceiverActivity.java104 intent.setAction(ACTION_REPORT_SCOPES); in sendScopeReportBroadcast()
112 intent.setAction(ACTION_RUNNING); in sendRunningBroadcast()
/cts/hostsidetests/securitybulletin/test-apps/BUG-261036568/test-app/src/android/security/cts/BUG_261036568_test/
DDeviceTest.java140 sendIntent.setAction(Intent.ACTION_SEND); in createSendImageIntent()
148 sendIntent.setAction(Intent.ACTION_SEND); in createSendTextIntentWithPreview()
163 sendIntent.setAction(Intent.ACTION_SEND_MULTIPLE); in createSendFileIntentWithPreview()
167 sendIntent.setAction(Intent.ACTION_SEND); in createSendFileIntentWithPreview()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleInsecureServerStartActivity.java29 mIntent.setAction(BleServerService.BLE_ACTION_SERVER_NON_SECURE); in onCreate()

123456789