Home
last modified time | relevance | path

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

12345678910>>...15

/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/stats/
DUiStatsLogger.java145 uiStats.setAction( in logNotificationDisplayed()
157 uiStats.setAction( in logLandingPageMoreButtonClicked()
169 uiStats.setAction( in logLandingPageAdditionalInfoClicked()
181 uiStats.setAction( in logLandingPageScrolled()
193 uiStats.setAction( in logLandingPageScrolledToBottom()
205 uiStats.setAction( in logLandingPageSettingsButtonClicked()
217 uiStats.setAction( in logLandingPageDismissed()
229 uiStats.setAction( in logLandingPageGotItButtonClicked()
241 uiStats.setAction( in logLandingPageOptIn()
253 uiStats.setAction( in logLandingPageOptOut()
[all …]
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/
DSafetySourceBroadcastReceiverTest.java89 .setAction(ACTION_REFRESH_SAFETY_SOURCES) in onReceive_onRefresh_whenSafetyCenterIsDisabled_doesNotSetData()
122 .setAction(ACTION_REFRESH_SAFETY_SOURCES) in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNullSourceIds_doesNotSetData()
136 .setAction(ACTION_REFRESH_SAFETY_SOURCES) in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNoSourceIds_doesNotSetData()
151 .setAction(ACTION_REFRESH_SAFETY_SOURCES) in onReceive_onRefresh_whenSafetyCenterIsEnabled_withNoBroadcastId_doesNotSetData()
167 .setAction(ACTION_REFRESH_SAFETY_SOURCES) in onReceive_onRefresh_setsRefreshEvent()
190 .setAction(ACTION_REFRESH_SAFETY_SOURCES) in onReceive_onRefresh_withLockscreenSourceId_setsLockscreenData()
209 .setAction(ACTION_REFRESH_SAFETY_SOURCES) in onReceive_onRefresh_withBiometricsSourceId_setsBiometricData()
232 .setAction(ACTION_REFRESH_SAFETY_SOURCES) in onReceive_onRefresh_withPrivateSpaceSourceId_setsPrivateSpaceData()
255 .setAction(ACTION_REFRESH_SAFETY_SOURCES) in onReceive_onRefresh_withPrivateSpaceFeatureDisabled_setsNullData()
272 Intent intent = new Intent().setAction(Intent.ACTION_BOOT_COMPLETED); in onReceive_onBootCompleted_setsBootCompleteEvent()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/timer/
DTimerService.kt146 .setAction(ACTION_TIMER_EXPIRED) in createTimerExpiredIntent()
152 .setAction(ACTION_RESET_EXPIRED_TIMERS) in createResetExpiredTimersIntent()
157 .setAction(ACTION_RESET_UNEXPIRED_TIMERS) in createResetUnexpiredTimersIntent()
162 .setAction(ACTION_RESET_MISSED_TIMERS) in createResetMissedTimersIntent()
167 .setAction(ACTION_ADD_MINUTE_TIMER) in createAddMinuteTimerIntent()
173 .setAction(ACTION_UPDATE_NOTIFICATION) in createUpdateNotificationIntent()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppReceiverTest.java119 intent.setAction(BluetoothDevicePicker.ACTION_DEVICE_SELECTED); in onReceive_withActionDeviceSelected_callsStartTransfer()
142 intent.setAction(Constants.ACTION_INCOMING_FILE_CONFIRM); in onReceive_withActionIncomingFileConfirm_startsIncomingFileConfirmActivity()
156 intent.setAction(Constants.ACTION_ACCEPT); in onReceive_withActionAccept_updatesContents()
176 intent.setAction(Constants.ACTION_DECLINE); in onReceive_withActionDecline_updatesContents()
199 intent.setAction(Constants.ACTION_OPEN_OUTBOUND_TRANSFER); in onReceive_withActionOutboundTransfer_startsTransferHistoryActivity()
221 intent.setAction(Constants.ACTION_OPEN_INBOUND_TRANSFER); in onReceive_withActionInboundTransfer_startsTransferHistoryActivity()
259 intent.setAction(Constants.ACTION_HIDE); in onReceive_withActionHide_contentUpdate()
279 intent.setAction(Constants.ACTION_COMPLETE_HIDE); in onReceive_withActionCompleteHide_makeAllVisibilityHidden()
298 intent.setAction(Constants.ACTION_HIDE_COMPLETED_INBOUND_TRANSFER); in onReceive_withActionHideCompletedInboundTransfer_makesInboundVisibilityHidden()
317 intent.setAction(Constants.ACTION_HIDE_COMPLETED_OUTBOUND_TRANSFER); in onReceive_withActionHideCompletedOutboundTransfer_makesOutboundVisibilityHidden()
[all …]
DBluetoothOppLauncherActivityTest.java120 mIntent.setAction(Intent.ACTION_SEND); in onCreate_withActionSend_withoutMetadata_finishImmediately()
129 mIntent.setAction(Intent.ACTION_SEND_MULTIPLE); in onCreate_withActionSendMultiple_withoutMetadata_finishImmediately()
137 mIntent.setAction(Constants.ACTION_OPEN); in onCreate_withActionOpen_sendBroadcast()
155 mIntent.setAction("unsupported-action"); in launchDevicePicker_bluetoothNotEnabled_launchEnableActivity()
168 mIntent.setAction("unsupported-action"); in launchDevicePicker_bluetoothEnabled_launchActivity()
180 mIntent.setAction("unsupported-action"); in createFileForSharedContent_returnFile()
203 mIntent.setAction("unsupported-action"); in sendFileInfo_finishImmediately()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbConnectionBroadcastReceiverTest.java66 intent.setAction(UsbManager.ACTION_USB_STATE); in onReceive_usbConnected_invokeCallback()
79 intent.setAction(UsbManager.ACTION_USB_STATE); in onReceive_usbDisconnected_invokeCallback()
92 intent.setAction(UsbManager.ACTION_USB_STATE); in onReceive_usbConnectedMtpEnabled_invokeCallback()
107 intent.setAction(UsbManager.ACTION_USB_STATE); in onReceive_usbConnectedNcmEnabled_invokesCallback()
122 intent.setAction(UsbManager.ACTION_USB_PORT_CHANGED); in onReceive_usbPortStatus_invokesCallback()
138 intent.setAction(UsbManager.ACTION_USB_STATE); in onReceive_usbConfiguredIsFalse_invokesCallback()
/packages/apps/Dialer/java/com/android/dialer/blockreportspam/
DShowBlockReportSpamDialogNotifier.java41 intent.setAction( in notifyShowDialogToBlockNumberAndOptionallyReportSpam()
56 intent.setAction(ShowBlockReportSpamDialogReceiver.ACTION_SHOW_DIALOG_TO_BLOCK_NUMBER); in notifyShowDialogToBlockNumber()
69 intent.setAction(ShowBlockReportSpamDialogReceiver.ACTION_SHOW_DIALOG_TO_REPORT_NOT_SPAM); in notifyShowDialogToReportNotSpam()
82 intent.setAction(ShowBlockReportSpamDialogReceiver.ACTION_SHOW_DIALOG_TO_UNBLOCK_NUMBER); in notifyShowDialogToUnblockNumber()
/packages/apps/Gallery2/src/com/android/photos/
DSelectionManager.java93 mShareIntent.setAction(null).setType(null); in onItemSelectedStateChanged()
97 mShareIntent.setAction(null).setType(null); in onItemSelectedStateChanged()
107 mShareIntent.setAction(Intent.ACTION_SEND); in onItemSelectedStateChanged()
110 mShareIntent.setAction(Intent.ACTION_SEND_MULTIPLE); in onItemSelectedStateChanged()
159 mShareIntent.setAction(null).setType(null); in onClearSelection()
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogNotificationsService.java87 serviceIntent.setAction(CallLogNotificationsService.ACTION_MARK_ALL_NEW_VOICEMAILS_AS_OLD); in markAllNewVoicemailsAsOld()
102 intent.setAction(CallLogNotificationsService.ACTION_MARK_ALL_NEW_VOICEMAILS_AS_OLD); in createMarkAllNewVoicemailsAsOldIntent()
109 intent.setAction(CallLogNotificationsService.ACTION_MARK_SINGLE_NEW_VOICEMAIL_AS_OLD); in createMarkSingleNewVoicemailAsOldIntent()
116 intent.setAction(ACTION_CANCEL_ALL_MISSED_CALLS); in createCancelAllMissedCallsPendingIntent()
123 intent.setAction(ACTION_CANCEL_SINGLE_MISSED_CALL); in createCancelSingleMissedCallPendingIntent()
131 intent.setAction(ACTION_LEGACY_VOICEMAIL_DISMISSED); in createLegacyVoicemailDismissedPendingIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/stylus/
DUsbStylusBroadcastReceiverTest.java63 intent.setAction(UsbManager.ACTION_USB_DEVICE_ATTACHED); in onReceive_usbDeviceAttachedStylus_invokeCallback()
77 intent.setAction(UsbManager.ACTION_USB_DEVICE_DETACHED); in onReceive_usbDeviceDetachedStylus_invokeCallback()
91 intent.setAction(UsbManager.ACTION_USB_DEVICE_ATTACHED); in onReceive_usbDeviceAttachedNotStylus_doesNotInvokeCallback()
105 intent.setAction(UsbManager.ACTION_USB_STATE); in onReceive_usbDeviceStateStylus_invokeCallback()
119 intent.setAction(UsbManager.ACTION_USB_STATE); in onReceive_usbDeviceStateNotStylus_doesNotInvokeCallback()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/about/
DLegalState.java67 termsPreference.setIntent(new Intent().setAction("android.settings.TERMS")); in onCreate()
72 licensePreference.setIntent(new Intent().setAction("android.settings.LICENSE")); in onCreate()
77 copyrightPreference.setIntent(new Intent().setAction("android.settings.COPYRIGHT")); in onCreate()
83 .setAction("android.settings.WEBVIEW_LICENSE")); in onCreate()
89 .setAction("com.google.android.gms.settings.ADS_PRIVACY")); in onCreate()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DOverlayEdgeEffect.java68 ev.setAction(MotionEvent.ACTION_DOWN); in onPullDistance()
70 ev.setAction(originalAction); in onPullDistance()
106 ev.setAction(MotionEvent.ACTION_UP); in onRelease()
108 ev.setAction(originalAction); in onRelease()
/packages/services/Telephony/src/com/android/phone/euicc/
DEuiccPrivilegedActionUiDispatcherActivity.java48 intent.setAction(EuiccService.ACTION_TOGGLE_SUBSCRIPTION_PRIVILEGED); in getEuiccUiIntent()
51 intent.setAction(EuiccService.ACTION_DELETE_SUBSCRIPTION_PRIVILEGED); in getEuiccUiIntent()
54 intent.setAction(EuiccService.ACTION_RENAME_SUBSCRIPTION_PRIVILEGED); in getEuiccUiIntent()
DEuiccUiDispatcherActivity.java168 intent.setAction(EuiccService.ACTION_MANAGE_EMBEDDED_SUBSCRIPTIONS); in getEuiccUiIntent()
171 intent.setAction(EuiccService.ACTION_PROVISION_EMBEDDED_SUBSCRIPTION); in getEuiccUiIntent()
174 intent.setAction(EuiccService.ACTION_TRANSFER_EMBEDDED_SUBSCRIPTIONS); in getEuiccUiIntent()
177 intent.setAction(EuiccService.ACTION_CONVERT_TO_EMBEDDED_SUBSCRIPTION); in getEuiccUiIntent()
/packages/apps/Dialer/java/com/android/dialer/app/
DMainComponent.java39 intent.setAction(Intent.ACTION_VIEW); in getIntent()
47 intent.setAction("ACTION_SHOW_TAB"); in getShowCallLogIntent()
55 intent.setAction("ACTION_SHOW_TAB"); in getShowVoicemailIntent()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DStopwatchNotificationBuilder.kt61 .setAction(StopwatchService.ACTION_SHOW_STOPWATCH) in build()
81 .setAction(StopwatchService.ACTION_PAUSE_STOPWATCH) in build()
92 .setAction(StopwatchService.ACTION_LAP_STOPWATCH) in build()
114 .setAction(StopwatchService.ACTION_START_STOPWATCH) in build()
124 .setAction(StopwatchService.ACTION_RESET_STOPWATCH) in build()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java378 serviceIntent.setAction(ContactSaveService.ACTION_NEW_RAW_CONTACT); in createNewRawContactIntent()
391 callbackIntent.setAction(callbackAction); in createNewRawContactIntent()
469 serviceIntent.setAction(ContactSaveService.ACTION_SAVE_CONTACT); in createSaveContactIntent()
487 callbackIntent.setAction(callbackAction); in createSaveContactIntent()
764 serviceIntent.setAction(ContactSaveService.ACTION_CREATE_GROUP); in createNewGroupIntent()
774 callbackIntent.setAction(callbackAction); in createNewGroupIntent()
823 serviceIntent.setAction(ContactSaveService.ACTION_RENAME_GROUP); in createGroupRenameIntent()
829 callbackIntent.setAction(callbackAction); in createGroupRenameIntent()
859 serviceIntent.setAction(ContactSaveService.ACTION_DELETE_GROUP); in createGroupDeletionIntent()
885 serviceIntent.setAction(ContactSaveService.ACTION_UNDO); in createUndoIntent()
[all …]
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertAudioTest.java169 intent.setAction(SHOW_NEW_ALERT_ACTION); in testStartService()
242 intent.setAction(SHOW_NEW_ALERT_ACTION); in testStartServiceNotInCallOverrideDnd()
271 intent.setAction(SHOW_NEW_ALERT_ACTION); in testStartServiceEnableLedFlash()
295 intent.setAction(SHOW_NEW_ALERT_ACTION); in testStartServiceSilentRinger()
317 intent.setAction(SHOW_NEW_ALERT_ACTION); in testStartServiceVibrateRinger()
339 intent.setAction(SHOW_NEW_ALERT_ACTION); in testStartServiceWithTts()
400 intent.setAction(SHOW_NEW_ALERT_ACTION); in testSetTtsLanguage()
434 intent.setAction(SHOW_NEW_ALERT_ACTION); in testStartServiceAndStop()
472 intent.setAction(SHOW_NEW_ALERT_ACTION); in testStartServiceMuteWithOverrideDnd()
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/federatedcompute/
DOdpExampleStoreServiceTests.java135 intent.setAction(EXAMPLE_STORE_ACTION).setPackage(mContext.getPackageName()); in testStartQuery_lessThanMinExample_failure()
169 intent.setAction(EXAMPLE_STORE_ACTION).setPackage(mContext.getPackageName()); in testStartQuery_moreThanMinExample_failure()
204 intent.setAction(EXAMPLE_STORE_ACTION).setPackage(mContext.getPackageName()); in testWithStartQuery()
259 intent.setAction(EXAMPLE_STORE_ACTION).setPackage(mContext.getPackageName()); in testWithStartQueryMeasurementControlRevoked()
283 intent.setAction(EXAMPLE_STORE_ACTION).setPackage(mContext.getPackageName()); in testWithStartQueryNotValidJob()
307 intent.setAction(EXAMPLE_STORE_ACTION).setPackage(mContext.getPackageName()); in testWithStartQueryBadInput()
325 intent.setAction(EXAMPLE_STORE_ACTION).setPackage(mContext.getPackageName()); in testFailedPermissionCheck()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioninglisteners/
DManagedUserRemovalListenerTest.java47 private static final Intent ARBITRARY_ACTION_INTENT = new Intent().setAction(ACTION_USER_ADDED);
50 .setAction(ACTION_USER_REMOVED)
54 .setAction(ACTION_USER_REMOVED)
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppNotification.java520 deleteIntent.setAction(Constants.ACTION_HIDE_COMPLETED_OUTBOUND_TRANSFER); in updateCompletedNotification()
522 deleteIntent.setAction(Constants.ACTION_COMPLETE_HIDE); in updateCompletedNotification()
609 deleteIntent.setAction(Constants.ACTION_HIDE_COMPLETED_INBOUND_TRANSFER); in updateCompletedNotification()
611 deleteIntent.setAction(Constants.ACTION_COMPLETE_HIDE); in updateCompletedNotification()
698 .setAction(Constants.ACTION_DECLINE), in updateIncomingFileConfirmNotification()
709 .setAction(Constants.ACTION_ACCEPT), in updateIncomingFileConfirmNotification()
727 .setAction(Constants.ACTION_INCOMING_FILE_CONFIRM), in updateIncomingFileConfirmNotification()
741 new Intent(baseIntent).setAction(Constants.ACTION_HIDE), in updateIncomingFileConfirmNotification()
778 new Intent(baseIntent).setAction(Constants.ACTION_HIDE), in updateIncomingFileConfirmNotification()
/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/managers/registration/
DDiscoveryRegistrationTest.java136 ScanRequest.SCAN_TYPE_NEARBY_PRESENCE).setAction(ACTION).setEncryptionKeyTag( in test_presenceFilterMatches_match()
152 ScanRequest.SCAN_TYPE_NEARBY_PRESENCE).setAction(5).setEncryptionKeyTag( in test_presenceFilterMatches_actionNotMatch()
162 ScanRequest.SCAN_TYPE_NEARBY_PRESENCE).setAction(ACTION).setEncryptionKeyTag( in test_onDiscoveredOnUpdatedCalled()
188 ScanRequest.SCAN_TYPE_NEARBY_PRESENCE).setAction(ACTION).setEncryptionKeyTag( in test_onLost()
218 ScanRequest.SCAN_TYPE_NEARBY_PRESENCE).setAction(ACTION).setEncryptionKeyTag( in test_onError()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/
DMainActivityTest.kt141 .setAction(MediaStore.ACTION_PICK_IMAGES) in <lambda>()
168 .setAction(MediaStore.ACTION_PICK_IMAGES) in <lambda>()
211 .setAction(Intent.ACTION_GET_CONTENT) in <lambda>()
255 .setAction(MediaStore.ACTION_PICK_IMAGES) in <lambda>()
299 .setAction(Intent.ACTION_GET_CONTENT) in <lambda>()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/theme/
DAccentColorHelperTest.kt41 pickerIntent.setAction(MediaStore.ACTION_USER_SELECT_IMAGES_FOR_APP) in testAccentColorHelper_differentIntentActions_accentColorsNotSet()
46 pickerIntent.setAction(Intent.ACTION_GET_CONTENT) in testAccentColorHelper_differentIntentActions_accentColorsNotSet()
51 pickerIntent.setAction(MediaStore.ACTION_PICK_IMAGES) in testAccentColorHelper_differentIntentActions_accentColorsNotSet()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothPairingServiceTest.java89 intent.setAction(BluetoothDevice.ACTION_PAIRING_REQUEST); in receivePairingRequestAction_notificationShown()
102 intent.setAction(ACTION_DISMISS_PAIRING); in receiveDismissPairingAction_cancelPairing()
116 intent.setAction(ACTION_PAIRING_DIALOG); in receivePairingDialogAction_startActivity()

12345678910>>...15