/packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/ |
D | AllIntentsActivity.java | 172 Intent intent = new Intent(Intent.ACTION_PICK); in onListItemClick() local 173 intent.setType(ContactMethods.CONTENT_POSTAL_TYPE); in onListItemClick() 174 startContactSelectionActivityForResult(intent); in onListItemClick() 183 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); in onListItemClick() local 184 startContactSelectionActivityForResult(intent); in onListItemClick() 188 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); in onListItemClick() local 189 bindIntentToClass(intent, "alias.DialShortcut"); in onListItemClick() 190 startActivityForResult(intent, 0); in onListItemClick() 194 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); in onListItemClick() local 195 bindIntentToClass(intent, "alias.MessageShortcut"); in onListItemClick() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | UIIntentsImpl.java | 93 final Intent intent = new Intent(context, ConversationActivity.class); in getConversationActivityIntent() local 97 intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); in getConversationActivityIntent() 101 intent.putExtra(UI_INTENT_EXTRA_CONVERSATION_ID, conversationId); in getConversationActivityIntent() 104 intent.putExtra(UI_INTENT_EXTRA_DRAFT_DATA, draft); in getConversationActivityIntent() 121 intent.setClipData(clipData); in getConversationActivityIntent() 122 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in getConversationActivityIntent() 126 intent.putExtra(UI_INTENT_EXTRA_WITH_CUSTOM_TRANSITION, true); in getConversationActivityIntent() 132 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in getConversationActivityIntent() 134 return intent; in getConversationActivityIntent() 139 final Intent intent = new Intent(context, PermissionCheckActivity.class); in launchPermissionCheckActivity() local [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ |
D | ExtrasProvisioningDataParser.java | 408 private boolean hasExtraFromLongName(Intent intent, String longName) { in hasExtraFromLongName() argument 409 return intent.hasExtra(longName) || intent.hasExtra(getShortExtraNames(longName)); in hasExtraFromLongName() 414 Intent intent, String longName) { in getParcelableExtraFromLongName() argument 415 if (intent.hasExtra(longName)) { in getParcelableExtraFromLongName() 416 return intent.getParcelableExtra(longName); in getParcelableExtraFromLongName() 419 if (intent.hasExtra(shortName)) { in getParcelableExtraFromLongName() 420 return intent.getParcelableExtra(shortName); in getParcelableExtraFromLongName() 426 private Parcelable[] getParcelableArrayExtraFromLongName(Intent intent, String longName) { in getParcelableArrayExtraFromLongName() argument 427 if (intent.hasExtra(longName)) { in getParcelableArrayExtraFromLongName() 428 return intent.getParcelableArrayExtra(longName); in getParcelableArrayExtraFromLongName() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | ImplicitIntentsUtil.java | 66 public static void startActivityInAppIfPossible(Context context, Intent intent) { in startActivityInAppIfPossible() argument 67 final Intent appIntent = getIntentInAppIfExists(context, intent); in startActivityInAppIfPossible() 71 context.startActivity(intent); in startActivityInAppIfPossible() 79 public static void startActivityInApp(Context context, Intent intent) { in startActivityInApp() argument 81 intent.setPackage(packageName); in startActivityInApp() 82 context.startActivity(intent); in startActivityInApp() 88 public static void startActivityOutsideApp(Context context, Intent intent) { in startActivityOutsideApp() argument 92 if (getIntentInAppIfExists(context, intent) != null) { in startActivityOutsideApp() 97 context.startActivity(intent); in startActivityOutsideApp() 118 final Intent intent = ImplicitIntentsUtil.composeQuickContactIntent( in startQuickContact() local [all …]
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/storage/ |
D | FormatActivityFormatReceiverTest.java | 57 final Intent intent = new Intent(SettingsStorageService.ACTION_FORMAT_AS_PRIVATE); in testFormatAsPrivate_successResumed() local 58 intent.putExtra(DiskInfo.EXTRA_DISK_ID, "asdf"); in testFormatAsPrivate_successResumed() 59 intent.putExtra(SettingsStorageService.EXTRA_PRIVATE_BENCH, 123L); in testFormatAsPrivate_successResumed() 60 intent.putExtra(SettingsStorageService.EXTRA_INTERNAL_BENCH, 456L); in testFormatAsPrivate_successResumed() 61 intent.putExtra(SettingsStorageService.EXTRA_SUCCESS, true); in testFormatAsPrivate_successResumed() 63 new FormatActivity.FormatReceiver(mActivity).onReceive(mActivity, intent); in testFormatAsPrivate_successResumed() 73 final Intent intent = new Intent(SettingsStorageService.ACTION_FORMAT_AS_PRIVATE); in testFormatAsPrivate_successNotResumed() local 74 intent.putExtra(DiskInfo.EXTRA_DISK_ID, "asdf"); in testFormatAsPrivate_successNotResumed() 75 intent.putExtra(SettingsStorageService.EXTRA_PRIVATE_BENCH, 123L); in testFormatAsPrivate_successNotResumed() 76 intent.putExtra(SettingsStorageService.EXTRA_INTERNAL_BENCH, 456L); in testFormatAsPrivate_successNotResumed() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | ActionServiceImpl.java | 56 final Intent intent = makeIntent(OP_START_ACTION); in startAction() local 59 intent.putExtra(EXTRA_ACTION_BUNDLE, actionBundle); in startAction() 61 startServiceWithIntent(intent); in startAction() 72 final Intent intent = PendingActionReceiver.makeIntent(OP_START_ACTION); in scheduleAction() local 75 intent.putExtra(EXTRA_ACTION_BUNDLE, actionBundle); in scheduleAction() 77 PendingActionReceiver.scheduleAlarm(intent, requestCode, delayMs); in scheduleAction() 87 final Intent intent = makeIntent(OP_RECEIVE_BACKGROUND_RESPONSE); in handleResponseFromBackgroundWorker() local 91 intent.putExtra(EXTRA_ACTION_BUNDLE, actionBundle); in handleResponseFromBackgroundWorker() 92 intent.putExtra(EXTRA_WORKER_RESPONSE, response); in handleResponseFromBackgroundWorker() 94 startServiceWithIntent(intent); in handleResponseFromBackgroundWorker() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallIntentProcessor.java | 35 Intent intent, String callingPackage); in processOutgoingCallIntent() argument 36 void processIncomingCallIntent(CallsManager callsManager, Intent intent); in processIncomingCallIntent() argument 37 void processUnknownCallIntent(CallsManager callsManager, Intent intent); in processUnknownCallIntent() argument 48 Intent intent, String callingPackage) { in processOutgoingCallIntent() argument 49 CallIntentProcessor.processOutgoingCallIntent(context, callsManager, intent, in processOutgoingCallIntent() 54 public void processIncomingCallIntent(CallsManager callsManager, Intent intent) { in processIncomingCallIntent() argument 55 CallIntentProcessor.processIncomingCallIntent(callsManager, intent); in processIncomingCallIntent() 59 public void processUnknownCallIntent(CallsManager callsManager, Intent intent) { in processUnknownCallIntent() argument 60 CallIntentProcessor.processUnknownCallIntent(callsManager, intent); in processUnknownCallIntent() 84 public void processIntent(Intent intent, String callingPackage) { in processIntent() argument [all …]
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | EditorIntents.java | 47 final Intent intent = new Intent(Intent.ACTION_EDIT, uri, context, in createEditContactIntent() local 49 putMaterialPalette(intent, materialPalette); in createEditContactIntent() 50 putPhotoId(intent, photoId); in createEditContactIntent() 51 return intent; in createEditContactIntent() 56 final Intent intent = createEditContactIntent(context, uri, materialPalette, in createViewLinkedContactsIntent() local 58 intent.putExtra(ContactEditorSpringBoardActivity.EXTRA_SHOW_READ_ONLY, true); in createViewLinkedContactsIntent() 60 return intent; in createViewLinkedContactsIntent() 68 final Intent intent = new Intent(Intent.ACTION_EDIT, uri, context, in createEditContactIntentForRawContact() local 70 intent.putExtra(ContactEditorFragment.INTENT_EXTRA_RAW_CONTACT_ID_TO_DISPLAY_ALONE, in createEditContactIntentForRawContact() 72 putMaterialPalette(intent, materialPalette); in createEditContactIntentForRawContact() [all …]
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertAudioTest.java | 119 Intent intent = new Intent(mContext, CellBroadcastAlertAudio.class); in testStartService() 120 intent.setAction(SHOW_NEW_ALERT_ACTION); in testStartService() 121 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY, in testStartService() 123 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_VIBRATION_PATTERN_EXTRA, in testStartService() 125 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_LANGUAGE, in testStartService() 127 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_OVERRIDE_DND_EXTRA, in testStartService() 129 startService(intent); in testStartService() 153 Intent intent = new Intent(mContext, CellBroadcastAlertAudio.class); in testStartServiceNotInCallOverrideDnd() 154 intent.setAction(SHOW_NEW_ALERT_ACTION); in testStartServiceNotInCallOverrideDnd() 155 intent.putExtra(CellBroadcastAlertAudio.ALERT_AUDIO_MESSAGE_BODY, in testStartServiceNotInCallOverrideDnd() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/ |
D | RemoteDevices.java | 93 public void onReceive(Context context, Intent intent) { 94 String action = intent.getAction(); 97 onHfIndicatorValueChanged(intent); 100 onVendorSpecificHeadsetEvent(intent); 103 onHeadsetConnectionStateChanged(intent); 106 Log.w(TAG, "Unhandled intent: " + intent); 304 Intent intent = new Intent(BluetoothDevice.ACTION_ALIAS_CHANGED); in setAlias() local 305 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, device); in setAlias() 306 intent.putExtra(BluetoothDevice.EXTRA_NAME, mAlias); in setAlias() 307 sAdapterService.sendBroadcast(intent, AdapterService.BLUETOOTH_PERM); in setAlias() [all …]
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 154 final Intent intent = new Intent(DocumentsContract.ACTION_DOCUMENT_ROOT_SETTINGS); in openSettings() local 155 intent.setDataAndType(root.getUri(), DocumentsContract.Root.MIME_TYPE_ITEM); in openSettings() 156 mActivity.startActivity(intent); in openSettings() 286 Intent intent = new Intent(DocumentsContract.ACTION_DOCUMENT_SETTINGS); in viewInOwner() local 287 intent.setPackage(mProviders.getPackageName(doc.authority)); in viewInOwner() 288 intent.addCategory(Intent.CATEGORY_DEFAULT); in viewInOwner() 289 intent.setData(doc.derivedUri); in viewInOwner() 291 mActivity.startActivity(intent); in viewInOwner() 362 Intent intent; in shareSelectedDocuments() local 365 intent = new Intent(Intent.ACTION_SEND); in shareSelectedDocuments() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/dpp/ |
D | WifiDppConfiguratorActivityTest.java | 57 Intent intent = new Intent(WifiDppConfiguratorActivity.ACTION_CONFIGURATOR_QR_CODE_SCANNER); in launchActivity_qrCodeScanner_shouldNotAutoFinish() local 58 intent.putExtra(WifiDppUtils.EXTRA_WIFI_SECURITY, "WEP"); in launchActivity_qrCodeScanner_shouldNotAutoFinish() 59 intent.putExtra(WifiDppUtils.EXTRA_WIFI_SSID, "GoogleGuest"); in launchActivity_qrCodeScanner_shouldNotAutoFinish() 60 intent.putExtra(WifiDppUtils.EXTRA_WIFI_PRE_SHARED_KEY, "password"); in launchActivity_qrCodeScanner_shouldNotAutoFinish() 62 mActivityRule.launchActivity(intent); in launchActivity_qrCodeScanner_shouldNotAutoFinish() 69 Intent intent = new Intent( in launchActivity_qrCodeGenerator_shouldNotAutoFinish() local 71 intent.putExtra(WifiDppUtils.EXTRA_WIFI_SECURITY, "WEP"); in launchActivity_qrCodeGenerator_shouldNotAutoFinish() 72 intent.putExtra(WifiDppUtils.EXTRA_WIFI_SSID, "GoogleGuest"); in launchActivity_qrCodeGenerator_shouldNotAutoFinish() 73 intent.putExtra(WifiDppUtils.EXTRA_WIFI_PRE_SHARED_KEY, "password"); in launchActivity_qrCodeGenerator_shouldNotAutoFinish() 75 mActivityRule.launchActivity(intent); in launchActivity_qrCodeGenerator_shouldNotAutoFinish() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | NfcDispatcher.java | 142 public synchronized void setForegroundDispatch(PendingIntent intent, in setForegroundDispatch() argument 145 mOverrideIntent = intent; in setForegroundDispatch() 158 public final Intent intent; field in NfcDispatcher.DispatchInfo 167 intent = new Intent(); in DispatchInfo() 168 intent.putExtra(NfcAdapter.EXTRA_TAG, tag); in DispatchInfo() 169 intent.putExtra(NfcAdapter.EXTRA_ID, tag.getId()); in DispatchInfo() 171 intent.putExtra(NfcAdapter.EXTRA_NDEF_MESSAGES, new NdefMessage[] {message}); in DispatchInfo() 180 rootIntent.putExtra(NfcRootActivity.EXTRA_LAUNCH_INTENT, intent); in DispatchInfo() 188 intent.setAction(NfcAdapter.ACTION_NDEF_DISCOVERED); in setNdefIntent() 190 intent.setData(ndefUri); in setNdefIntent() [all …]
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | SubSettingLauncher.java | 126 final Intent intent = toIntent(); in launch() local 132 launchForResultAsUser(intent, mLaunchRequest.userHandle, mLaunchRequest.mResultListener, in launch() 135 launchAsUser(intent, mLaunchRequest.userHandle); in launch() 137 launchForResult(mLaunchRequest.mResultListener, intent, mLaunchRequest.mRequestCode); in launch() 139 launch(intent); in launch() 144 final Intent intent = new Intent(Intent.ACTION_MAIN); in toIntent() local 145 copyExtras(intent); in toIntent() 146 intent.setClass(mContext, SubSettings.class); in toIntent() 150 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT, mLaunchRequest.destinationName); in toIntent() 155 intent.putExtra(MetricsFeatureProvider.EXTRA_SOURCE_METRICS_CATEGORY, in toIntent() [all …]
|
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/ |
D | ActionHandlerTest.java | 209 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_Single() local 210 assertHasAction(intent, Intent.ACTION_SEND); in testShareSelectedDocuments_Single() 211 assertFalse(intent.hasCategory(Intent.CATEGORY_TYPED_OPENABLE)); in testShareSelectedDocuments_Single() 212 assertFalse(intent.hasCategory(Intent.CATEGORY_OPENABLE)); in testShareSelectedDocuments_Single() 213 assertHasExtraUri(intent, Intent.EXTRA_STREAM); in testShareSelectedDocuments_Single() 226 Intent intent = mActivity.startActivity.getLastValue(); in testShareSelectedDocuments_ArchivedFile() local 227 assertNull(intent); in testShareSelectedDocuments_ArchivedFile() 236 Intent intent = assertHasExtraIntent(mActivity.startActivity.getLastValue()); in testShareSelectedDocuments_Multiple() local 237 assertHasAction(intent, Intent.ACTION_SEND_MULTIPLE); in testShareSelectedDocuments_Multiple() 238 assertFalse(intent.hasCategory(Intent.CATEGORY_TYPED_OPENABLE)); in testShareSelectedDocuments_Multiple() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | ExtraSettingsLoaderTest.java | 75 Intent intent = new Intent(); in testLoadPreference_stringResources_shouldLoadResources() local 76 intent.putExtra(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_stringResources_shouldLoadResources() 91 getShadowPackageManager().addResolveInfoForIntent(intent, resolveInfoSystem); in testLoadPreference_stringResources_shouldLoadResources() 93 intent); in testLoadPreference_stringResources_shouldLoadResources() 105 Intent intent = new Intent(); in testLoadPreference_metadataBundleIsValue() local 106 intent.putExtra(META_DATA_PREFERENCE_CATEGORY, FAKE_CATEGORY); in testLoadPreference_metadataBundleIsValue() 120 getShadowPackageManager().addResolveInfoForIntent(intent, resolveInfoSystem); in testLoadPreference_metadataBundleIsValue() 124 getShadowPackageManager().addResolveInfoForIntent(intent, resolveInfoNonSystem); in testLoadPreference_metadataBundleIsValue() 127 intent); in testLoadPreference_metadataBundleIsValue() 145 Intent intent = new Intent(); in testLoadPreference_integerResources_shouldLoadResources() local [all …]
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | HandleApiCalls.java | 77 final Intent intent = getIntent(); in onCreate() local 78 final String action = intent == null ? null : intent.getAction(); in onCreate() 82 LOGGER.i("onCreate: " + intent); in onCreate() 87 handleSetAlarm(intent); in onCreate() 93 handleSetTimer(intent); in onCreate() 96 handleShowTimers(intent); in onCreate() 99 handleDismissAlarm(intent); in onCreate() 102 handleSnoozeAlarm(intent); in onCreate() 105 handleDismissTimer(intent); in onCreate() 116 private void handleDismissAlarm(Intent intent) { in handleDismissAlarm() argument [all …]
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/ |
D | AudioPlayerActivity.java | 55 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in start() local 56 intent.setDataAndTypeAndNormalize(uri, audio.getMimeType()); in start() 57 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in start() 58 IntentUtils.startExternalActivity(context, intent); in start() 65 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in start() local 67 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Albums.CONTENT_TYPE); in start() 68 intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION); in start() 69 IntentUtils.startExternalActivity(context, intent); in start() 76 Intent intent = new Intent(Intent.ACTION_VIEW, uri); in start() local 78 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Artists.CONTENT_TYPE); in start() [all …]
|
/packages/apps/CertInstaller/robotests/src/com/android/certinstaller/ |
D | CertInstallerRoboTest.java | 48 Intent intent = new Intent(mContext, CertInstaller.class); in testNameNotNullPass() local 49 intent.putExtra(KeyChain.EXTRA_NAME, "name"); in testNameNotNullPass() 50 CredentialHelper helper = startActivityAndGetCredentialHelper(intent); in testNameNotNullPass() 57 Intent intent = new Intent(mContext, CertInstaller.class); in testReferrerNotNullPass() local 58 intent.putExtra(Intent.EXTRA_REFERRER, "referrer"); in testReferrerNotNullPass() 59 CredentialHelper helper = startActivityAndGetCredentialHelper(intent); in testReferrerNotNullPass() 71 Intent intent = new Intent(mContext, CertInstaller.class); in testUidUsageEqualWifiPass() local 72 intent.putExtra(Credentials.EXTRA_INSTALL_AS_UID, Process.INVALID_UID); in testUidUsageEqualWifiPass() 73 intent.putExtra(Credentials.EXTRA_CERTIFICATE_USAGE, Credentials.CERTIFICATE_USAGE_WIFI); in testUidUsageEqualWifiPass() 75 CredentialHelper helper = startActivityAndGetCredentialHelper(intent); in testUidUsageEqualWifiPass() [all …]
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
D | RemoteVvmTaskManager.java | 88 Intent intent = new Intent(ACTION_START_CELL_SERVICE_CONNECTED, null, context, in startCellServiceConnected() local 90 intent.putExtra(VisualVoicemailService.DATA_PHONE_ACCOUNT_HANDLE, phoneAccountHandle); in startCellServiceConnected() 91 context.startService(intent); in startCellServiceConnected() 96 Intent intent = new Intent(ACTION_START_SMS_RECEIVED, null, context, in startSmsReceived() local 98 intent.putExtra(VisualVoicemailService.DATA_PHONE_ACCOUNT_HANDLE, in startSmsReceived() 100 intent.putExtra(VisualVoicemailService.DATA_SMS, sms); in startSmsReceived() 101 intent.putExtra(EXTRA_TARGET_PACKAGE, targetPackage); in startSmsReceived() 102 context.startService(intent); in startSmsReceived() 106 Intent intent = new Intent(ACTION_START_SIM_REMOVED, null, context, in startSimRemoved() local 108 intent.putExtra(VisualVoicemailService.DATA_PHONE_ACCOUNT_HANDLE, phoneAccountHandle); in startSimRemoved() [all …]
|
/packages/apps/Dialer/java/com/android/incallui/spam/ |
D | SpamNotificationService.java | 68 Intent intent = new Intent(context, SpamNotificationService.class); in createServiceIntent() local 69 intent.setAction(action); in createServiceIntent() 70 intent.putExtra(EXTRA_NOTIFICATION_TAG, notificationTag); in createServiceIntent() 71 intent.putExtra(EXTRA_NOTIFICATION_ID, notificationId); in createServiceIntent() 74 intent.putExtra(EXTRA_PHONE_NUMBER, call.getNumber()); in createServiceIntent() 75 intent.putExtra(EXTRA_CALL_ID, call.getUniqueCallId()); in createServiceIntent() 76 intent.putExtra(EXTRA_CALL_START_TIME_MILLIS, call.getTimeAddedMs()); in createServiceIntent() 77 intent.putExtra( in createServiceIntent() 80 return intent; in createServiceIntent() 85 public IBinder onBind(Intent intent) { in onBind() argument [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/ |
D | SubSettingLauncher.java | 120 final Intent intent = toIntent(); in launch() local 126 launchForResultAsUser(intent, mLaunchRequest.userHandle, mLaunchRequest.mResultListener, in launch() 129 launchAsUser(intent, mLaunchRequest.userHandle); in launch() 131 launchForResult(mLaunchRequest.mResultListener, intent, mLaunchRequest.mRequestCode); in launch() 133 launch(intent); in launch() 138 final Intent intent = new Intent(Intent.ACTION_MAIN); in toIntent() local 139 intent.setClass(mContext, SubSettings.class); in toIntent() 143 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT, mLaunchRequest.destinationName); in toIntent() 148 intent.putExtra(MetricsFeatureProvider.EXTRA_SOURCE_METRICS_CATEGORY, in toIntent() 151 intent.putExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_ARGUMENTS, mLaunchRequest.arguments); in toIntent() [all …]
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
D | CallLogNotificationsService.java | 101 Intent intent = new Intent(context, CallLogNotificationsService.class); in createMarkAllNewVoicemailsAsOldIntent() local 102 intent.setAction(CallLogNotificationsService.ACTION_MARK_ALL_NEW_VOICEMAILS_AS_OLD); in createMarkAllNewVoicemailsAsOldIntent() 103 return PendingIntent.getService(context, 0, intent, 0); in createMarkAllNewVoicemailsAsOldIntent() 108 Intent intent = new Intent(context, CallLogNotificationsService.class); in createMarkSingleNewVoicemailAsOldIntent() local 109 intent.setAction(CallLogNotificationsService.ACTION_MARK_SINGLE_NEW_VOICEMAIL_AS_OLD); in createMarkSingleNewVoicemailAsOldIntent() 110 intent.setData(voicemailUri); in createMarkSingleNewVoicemailAsOldIntent() 111 return PendingIntent.getService(context, 0, intent, 0); in createMarkSingleNewVoicemailAsOldIntent() 115 Intent intent = new Intent(context, CallLogNotificationsService.class); in createCancelAllMissedCallsPendingIntent() local 116 intent.setAction(ACTION_CANCEL_ALL_MISSED_CALLS); in createCancelAllMissedCallsPendingIntent() 117 return PendingIntent.getService(context, 0, intent, 0); in createCancelAllMissedCallsPendingIntent() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/ |
D | BluetoothRequestPermissionActivityTest.java | 72 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISABLE); in onCreate_requestDisableIntent_hasDisableRequestType() local 73 mActivity.setIntent(intent); in onCreate_requestDisableIntent_hasDisableRequestType() 82 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); in onCreate_requestDiscoverableIntent_hasDiscoverableRequestType() local 83 mActivity.setIntent(intent); in onCreate_requestDiscoverableIntent_hasDiscoverableRequestType() 92 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); in onCreate_requestDiscoverableIntent_noTimeoutSpecified_hasDefaultTimeout() local 93 mActivity.setIntent(intent); in onCreate_requestDiscoverableIntent_noTimeoutSpecified_hasDefaultTimeout() 102 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_DISCOVERABLE); in onCreate_requestDiscoverableIntent_timeoutSpecified_hasTimeout() local 103 intent.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, in onCreate_requestDiscoverableIntent_timeoutSpecified_hasTimeout() 105 mActivity.setIntent(intent); in onCreate_requestDiscoverableIntent_timeoutSpecified_hasTimeout() 114 Intent intent = new Intent(BluetoothAdapter.ACTION_REQUEST_ENABLE); in onCreate_requestEnableIntent_hasEnableRequestType() local [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/ |
D | ContextualCardFeatureProviderImpl.java | 108 final Intent intent = new Intent(); in logContextualCardDismiss() local 109 intent.putExtra(EXTRA_CONTEXTUALCARD_ACTION_TYPE, CONTEXTUAL_CARD_DISMISS); in logContextualCardDismiss() 110 intent.putExtra(EXTRA_CONTEXTUALCARD_NAME, card.getName()); in logContextualCardDismiss() 111 intent.putExtra(EXTRA_CONTEXTUALCARD_URI, card.getSliceUri().toString()); in logContextualCardDismiss() 112 intent.putExtra(EXTRA_CONTEXTUALCARD_SCORE, card.getRankingScore()); in logContextualCardDismiss() 113 sendBroadcast(intent); in logContextualCardDismiss() 119 final Intent intent = new Intent(); in logContextualCardDisplay() local 120 intent.putExtra(EXTRA_CONTEXTUALCARD_ACTION_TYPE, CONTEXTUAL_CARD_SHOW); in logContextualCardDisplay() 121 intent.putExtra(EXTRA_CONTEXTUALCARD_VISIBLE, serialize(visibleCards)); in logContextualCardDisplay() 122 intent.putExtra(EXTRA_CONTEXTUALCARD_HIDDEN, serialize(hiddenCards)); in logContextualCardDisplay() [all …]
|