Home
last modified time | relevance | path

Searched refs:sendIntent (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DRemoteInputEntrypointActivity.java44 final Intent sendIntent = new Intent(this, NoConfirmationSmsSendService.class); in onCreate() local
45 sendIntent.setAction(TelephonyManager.ACTION_RESPOND_VIA_MESSAGE); in onCreate()
46 sendIntent.putExtras(intent); in onCreate()
48 sendIntent.setClipData(intent.getClipData()); in onCreate()
49 startService(sendIntent); in onCreate()
/packages/apps/Traceur/src/com/android/traceur/
DFileSender.java50 Intent sendIntent = buildSendIntent(context, traceUri); in postNotification() local
51 sendIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in postNotification()
57 intent.putExtra(Intent.EXTRA_INTENT, sendIntent); in postNotification()
85 Intent sendIntent = buildSendIntent(context, traceUri); in send() local
86 sendIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in send()
88 context.startActivity(sendIntent); in send()
DReceiver.java225 Intent sendIntent = new Intent(context, MainActivity.class); in postCategoryNotification() local
236 context, 0, sendIntent, PendingIntent.FLAG_ONE_SHOT in postCategoryNotification()
/packages/services/Telephony/testapps/SmsManagerTestApp/src/com/android/phone/testapps/smsmanagertestapp/
DSmsManagerTestService.java48 PendingIntent sendIntent = intent.getParcelableExtra(EXTRA_SEND_INTENT); in doInBackground() local
49 sendSms(phoneNumber, text, sendIntent); in doInBackground()
80 private static void sendSms(String phoneNumber, String text, PendingIntent sendIntent) { in sendSms() argument
82 m.sendTextMessage(phoneNumber, null, text, sendIntent, null); in sendSms()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBluetoothOppHandover.java86 sendIntent(); in start()
90 sendIntent(); in start()
98 void sendIntent() { in sendIntent() method in BluetoothOppHandover
133 sendIntent(); in handleMessage()
DBeamManager.java111 Intent sendIntent = new Intent(context.getApplicationContext(), in startBeamSend() local
113 sendIntent.putExtra(BeamSendService.EXTRA_BEAM_TRANSFER_RECORD, transferRecord); in startBeamSend()
114 sendIntent.putExtra(BeamSendService.EXTRA_BEAM_COMPLETE_CALLBACK, in startBeamSend()
116 context.startServiceAsUser(sendIntent, userHandle); in startBeamSend()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DInstallPackageTaskTest.java152 observer.sendIntent(getContext(), 0, fillIn, null, null); in testSuccess()
178 observer.sendIntent(getContext(), 0, fillIn, null, null); in testSuccess_allowTestOnly()
204 observer.sendIntent(getContext(), 0, fillIn, null, null); in testInstallFailedVersionDowngrade()
229 observer.sendIntent(getContext(), 0, fillIn, null, null); in testInstallFailedOtherError()
251 observer.sendIntent(getContext(), 0, fillIn, null, null); in testDifferentPackageName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilityHearingAidPreferenceControllerTest.java117 sendIntent(intent); in onHearingAidStateChanged_connected_updateHearingAidSummary()
127 sendIntent(intent); in onHearingAidStateChanged_disconnected_updateHearingAidSummary()
138 sendIntent(intent); in onBluetoothStateChanged_bluetoothOff_updateHearingAidSummary()
214 private void sendIntent(Intent intent) { in sendIntent() method in AccessibilityHearingAidPreferenceControllerTest
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DBondStateMachine.java146 sendIntent(dev, newState, 0); in processMessage()
150 sendIntent(dev, newState, 0); in processMessage()
158 sendIntent(dev, BluetoothDevice.BOND_BONDED, 0); in processMessage()
215 sendIntent(dev, newState, reason); in processMessage()
336 sendIntent(dev, BluetoothDevice.BOND_NONE, BluetoothDevice.UNBOND_REASON_REMOVED); in createBond()
360 void sendIntent(BluetoothDevice device, int newState, int reason) { in sendIntent() method in BondStateMachine
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DApplicationFeatureProviderImplTest.java227 final Intent sendIntent = new Intent(Intent.ACTION_SEND); in testFindPersistentPreferredActivities() local
239 when(mPackageManagerService.findPersistentPreferredActivity(sendIntent, MAIN_USER_ID)) in testFindPersistentPreferredActivities()
241 when(mPackageManagerService.findPersistentPreferredActivity(sendIntent, MANAGED_PROFILE_ID)) in testFindPersistentPreferredActivities()
254 new Intent[] {viewIntent, editIntent, sendIntent})) in testFindPersistentPreferredActivities()
257 new Intent[] {viewIntent, editIntent, sendIntent})) in testFindPersistentPreferredActivities()
/packages/apps/Dialer/java/com/android/dialer/oem/
DMotorolaHiddenMenuKeySequence.java135 return sendIntent(context, input, instance.hiddenKeyPatternIntents.get(i)); in handleKeyPattern()
153 return sendIntent(context, input, instance.hiddenKeySequenceIntents.get(i)); in handleKeySequence()
159 private static boolean sendIntent( in sendIntent() method in MotorolaHiddenMenuKeySequence
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapService.java889 boolean sendIntent = false; in onConnect()
904 sendIntent = true; in onConnect()
920 if (sendIntent) { in onConnect()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailMediaPlayerView.java434 SuccessListener<Pair<String, Uri>> checkVoicemailHasSourcePackageCallBack = this::sendIntent; in sendIntentToDownloadVoicemail()
444 private void sendIntent(Pair<String, Uri> booleanUriPair) { in sendIntent() method in NewVoicemailMediaPlayerView
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DBondStateMachineTest.java276 mBondStateMachine.sendIntent(mDevice, newState, TEST_BOND_REASON); in testSendIntentCase()