Home
last modified time | relevance | path

Searched refs:serviceIntent (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java285 Intent serviceIntent = new Intent( in createNewRawContactIntent() local
287 serviceIntent.setAction(ContactSaveService.ACTION_NEW_RAW_CONTACT); in createNewRawContactIntent()
289 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_NAME, account.name); in createNewRawContactIntent()
290 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_TYPE, account.type); in createNewRawContactIntent()
291 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_SET, account.dataSet); in createNewRawContactIntent()
293 serviceIntent.putParcelableArrayListExtra( in createNewRawContactIntent()
301 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent); in createNewRawContactIntent()
302 return serviceIntent; in createNewRawContactIntent()
376 Intent serviceIntent = new Intent( in createSaveContactIntent() local
378 serviceIntent.setAction(ContactSaveService.ACTION_SAVE_CONTACT); in createSaveContactIntent()
[all …]
/packages/apps/Dialer/src/com/android/dialer/calllog/
DCallLogNotificationsService.java166 Intent serviceIntent = new Intent(context, CallLogNotificationsService.class); in updateVoicemailNotifications() local
167 serviceIntent.setAction( in updateVoicemailNotifications()
171 serviceIntent.putExtra( in updateVoicemailNotifications()
174 context.startService(serviceIntent); in updateVoicemailNotifications()
187 Intent serviceIntent = new Intent(context, CallLogNotificationsService.class); in updateMissedCallNotifications() local
188 serviceIntent.setAction( in updateMissedCallNotifications()
190 serviceIntent.putExtra(EXTRA_MISSED_CALL_COUNT, count); in updateMissedCallNotifications()
191 serviceIntent.putExtra(EXTRA_MISSED_CALL_NUMBER, number); in updateMissedCallNotifications()
192 context.startService(serviceIntent); in updateMissedCallNotifications()
DVoicemailQueryHandler.java61 Intent serviceIntent = new Intent(mContext, CallLogNotificationsService.class); in onUpdateComplete() local
62 serviceIntent.setAction( in onUpdateComplete()
64 mContext.startService(serviceIntent); in onUpdateComplete()
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java92 public void registerProjectionRunner(Intent serviceIntent) { in registerProjectionRunner() argument
95 if (serviceIntent.filterEquals(mRegisteredService)) { in registerProjectionRunner()
99 Log.w(CarLog.TAG_PROJECTION, "Registering new service[" + serviceIntent in registerProjectionRunner()
104 bindToService(serviceIntent); in registerProjectionRunner()
108 public void unregisterProjectionRunner(Intent serviceIntent) { in unregisterProjectionRunner() argument
110 if (!serviceIntent.filterEquals(mRegisteredService)) { in unregisterProjectionRunner()
112 + serviceIntent + "]. Registered service[" + mRegisteredService + "]"); in unregisterProjectionRunner()
120 private void bindToService(Intent serviceIntent) { in bindToService() argument
122 mRegisteredService = serviceIntent; in bindToService()
125 mContext.startServiceAsUser(serviceIntent, userHandle); in bindToService()
[all …]
/packages/services/Car/car-lib/src/android/car/
DCarProjectionManager.java119 public void registerProjectionRunner(Intent serviceIntent) throws CarNotConnectedException { in registerProjectionRunner() argument
120 if (serviceIntent == null) { in registerProjectionRunner()
125 mService.registerProjectionRunner(serviceIntent); in registerProjectionRunner()
138 public void unregisterProjectionRunner(Intent serviceIntent) throws CarNotConnectedException { in unregisterProjectionRunner() argument
139 if (serviceIntent == null) { in unregisterProjectionRunner()
144 mService.unregisterProjectionRunner(serviceIntent); in unregisterProjectionRunner()
DICarProjection.aidl33 void registerProjectionRunner(in Intent serviceIntent) = 0; field
39 void unregisterProjectionRunner(in Intent serviceIntent) = 1; field
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sms/
DOmtpMessageReceiver.java118 Intent serviceIntent = null; in processSync() local
133 serviceIntent = OmtpVvmSyncService.getSyncIntent(mContext, in processSync()
139 serviceIntent = OmtpVvmSyncService.getSyncIntent( in processSync()
151 if (serviceIntent != null) { in processSync()
152 mContext.startService(serviceIntent); in processSync()
175 Intent serviceIntent = OmtpVvmSyncService.getSyncIntent( in updateSource() local
178 mContext.startService(serviceIntent); in updateSource()
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sync/
DOmtpVvmSyncService.java118 Intent serviceIntent = new Intent(context, OmtpVvmSyncService.class); in getSyncIntent() local
119 serviceIntent.setAction(action); in getSyncIntent()
121 serviceIntent.putExtra(EXTRA_PHONE_ACCOUNT, phoneAccount); in getSyncIntent()
124 serviceIntent.putExtra(EXTRA_VOICEMAIL, voicemail); in getSyncIntent()
127 cancelRetriesForIntent(context, serviceIntent); in getSyncIntent()
128 return serviceIntent; in getSyncIntent()
427 Intent serviceIntent = new Intent(this, OmtpVvmSyncService.class); in setRetryAlarm() local
428 serviceIntent.setAction(action); in setRetryAlarm()
429 serviceIntent.putExtra(OmtpVvmSyncService.EXTRA_PHONE_ACCOUNT, phoneAccount); in setRetryAlarm()
430 PendingIntent pendingIntent = PendingIntent.getService(this, 0, serviceIntent, 0); in setRetryAlarm()
DVoicemailProviderChangeReceiver.java33 Intent serviceIntent = OmtpVvmSyncService.getSyncIntent( in onReceive() local
35 context.startService(serviceIntent); in onReceive()
/packages/apps/ContactsCommon/src/com/android/contacts/common/location/
DUpdateCountryService.java33 final Intent serviceIntent = new Intent(context, UpdateCountryService.class); in updateCountry() local
34 serviceIntent.setAction(ACTION_UPDATE_COUNTRY); in updateCountry()
35 serviceIntent.putExtra(UpdateCountryService.KEY_INTENT_LOCATION, location); in updateCountry()
36 context.startService(serviceIntent); in updateCountry()
/packages/apps/Email/provider_src/com/android/email/service/
DEmailServiceUtils.java92 final Intent serviceIntent = getServiceIntent(info); in killService() local
93 serviceIntent.putExtra(ServiceProxy.EXTRA_FORCE_SHUTDOWN, true); in killService()
94 context.startService(serviceIntent); in killService()
104 final Intent serviceIntent = getServiceIntent(info); in startService() local
105 context.startService(serviceIntent); in startService()
115 final Intent serviceIntent = getServiceIntent(info); in startRemoteServices() local
116 context.startService(serviceIntent); in startRemoteServices()
159 final Intent serviceIntent = getServiceIntent(info); in isServiceAvailable()
160 return new EmailServiceProxy(context, serviceIntent).test(); in isServiceAvailable()
164 final Intent serviceIntent = new Intent(info.intentAction); in getServiceIntent() local
[all …]
/packages/apps/Dialer/src/com/android/dialer/contact/
DContactUpdateService.java39 Intent serviceIntent = new Intent(context, ContactUpdateService.class); in createSetSuperPrimaryIntent() local
40 serviceIntent.putExtra(EXTRA_PHONE_NUMBER_DATA_ID, dataId); in createSetSuperPrimaryIntent()
41 return serviceIntent; in createSetSuperPrimaryIntent()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java124 Intent serviceIntent, in bindServiceAsUser() argument
129 return bindService(serviceIntent, connection, flags); in bindServiceAsUser()
134 Intent serviceIntent, in bindService() argument
140 IInterface service = mServiceByComponentName.get(serviceIntent.getComponent()); in bindService()
143 + serviceIntent.getComponent()); in bindService()
146 connection.onServiceConnected(serviceIntent.getComponent(), service.asBinder()); in bindService()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDirectoryContactUtil.java53 Intent serviceIntent = ContactSaveService.createNewRawContactIntent( in createCopy() local
56 context.startService(serviceIntent); in createCopy()
/packages/services/Telecomm/src/com/android/server/telecom/
DServiceBinder.java82 Intent serviceIntent = new Intent(mServiceAction).setComponent(mComponentName); in bind() local
89 isBound = mContext.bindServiceAsUser(serviceIntent, connection, bindingFlags, in bind()
92 isBound = mContext.bindService(serviceIntent, connection, bindingFlags); in bind()
DInCallController.java804 Intent serviceIntent = new Intent(InCallService.SERVICE_INTERFACE); in getInCallServiceComponents() local
806 serviceIntent.setPackage(packageName); in getInCallServiceComponents()
811 serviceIntent, in getInCallServiceComponents()
/packages/services/Telephony/src/com/android/phone/vvm/omtp/
DVvmPhoneStateListener.java80 Intent serviceIntent = OmtpVvmSyncService.getSyncIntent( in onServiceStateChanged() local
83 mContext.startService(serviceIntent); in onServiceStateChanged()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java187 Intent serviceIntent = new Intent(CellBroadcastConfigService.ACTION_ENABLE_CHANNELS, in startConfigService() local
190 context.startService(serviceIntent); in startConfigService()
/packages/apps/Dialer/src/com/android/dialer/interactions/
DPhoneNumberInteraction.java247 final Intent serviceIntent = ContactUpdateService.createSetSuperPrimaryIntent( in onClick() local
249 activity.startService(serviceIntent); in onClick()