Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java372 Intent serviceIntent = new Intent( in createNewRawContactIntent() local
374 serviceIntent.setAction(ContactSaveService.ACTION_NEW_RAW_CONTACT); in createNewRawContactIntent()
376 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_NAME, account.name); in createNewRawContactIntent()
377 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_TYPE, account.type); in createNewRawContactIntent()
378 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_SET, account.dataSet); in createNewRawContactIntent()
380 serviceIntent.putParcelableArrayListExtra( in createNewRawContactIntent()
388 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent); in createNewRawContactIntent()
389 return serviceIntent; in createNewRawContactIntent()
463 Intent serviceIntent = new Intent( in createSaveContactIntent() local
465 serviceIntent.setAction(ContactSaveService.ACTION_SAVE_CONTACT); in createSaveContactIntent()
[all …]
/packages/apps/Dialer/java/com/android/dialer/app/calllog/
DCallLogNotificationsService.java89 Intent serviceIntent = new Intent(context, CallLogNotificationsService.class); in insertPostCallNote() local
90 serviceIntent.setAction(ACTION_INCOMING_POST_CALL); in insertPostCallNote()
91 serviceIntent.putExtra(EXTRA_POST_CALL_NUMBER, number); in insertPostCallNote()
92 serviceIntent.putExtra(EXTRA_POST_CALL_NOTE, postCallNote); in insertPostCallNote()
93 context.startService(serviceIntent); in insertPostCallNote()
98 Intent serviceIntent = new Intent(context, CallLogNotificationsService.class); in markAllNewVoicemailsAsOld() local
99 serviceIntent.setAction(CallLogNotificationsService.ACTION_MARK_ALL_NEW_VOICEMAILS_AS_OLD); in markAllNewVoicemailsAsOld()
100 context.startService(serviceIntent); in markAllNewVoicemailsAsOld()
105 Intent serviceIntent = new Intent(context, CallLogNotificationsService.class); in markSingleNewVoicemailAsOld() local
106 serviceIntent.setAction(CallLogNotificationsService.ACTION_MARK_SINGLE_NEW_VOICEMAIL_AS_OLD); in markSingleNewVoicemailAsOld()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarProjectionService.java91 public void registerProjectionRunner(Intent serviceIntent) { in registerProjectionRunner() argument
94 if (serviceIntent.filterEquals(mRegisteredService)) { in registerProjectionRunner()
98 Log.w(CarLog.TAG_PROJECTION, "Registering new service[" + serviceIntent in registerProjectionRunner()
103 bindToService(serviceIntent); in registerProjectionRunner()
107 public void unregisterProjectionRunner(Intent serviceIntent) { in unregisterProjectionRunner() argument
109 if (!serviceIntent.filterEquals(mRegisteredService)) { in unregisterProjectionRunner()
111 + serviceIntent + "]. Registered service[" + mRegisteredService + "]"); in unregisterProjectionRunner()
119 private void bindToService(Intent serviceIntent) { in bindToService() argument
121 mRegisteredService = serviceIntent; in bindToService()
124 mContext.bindServiceAsUser(serviceIntent, mConnection, Context.BIND_AUTO_CREATE, in bindToService()
/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/services/Car/car-lib/src/android/car/
DCarProjectionManager.java137 public void registerProjectionRunner(Intent serviceIntent) throws CarNotConnectedException { in registerProjectionRunner() argument
138 if (serviceIntent == null) { in registerProjectionRunner()
143 mService.registerProjectionRunner(serviceIntent); in registerProjectionRunner()
156 public void unregisterProjectionRunner(Intent serviceIntent) { in unregisterProjectionRunner() argument
157 if (serviceIntent == null) { in unregisterProjectionRunner()
162 mService.unregisterProjectionRunner(serviceIntent); in unregisterProjectionRunner()
DICarProjection.aidl33 void registerProjectionRunner(in Intent serviceIntent) = 0; field
39 void unregisterProjectionRunner(in Intent serviceIntent) = 1; field
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DComponentContextFixture.java125 Intent serviceIntent, in bindServiceAsUser() argument
130 return bindService(serviceIntent, connection, flags); in bindServiceAsUser()
135 Intent serviceIntent, in bindService() argument
141 IInterface service = mServiceByComponentName.get(serviceIntent.getComponent()); in bindService()
144 + serviceIntent.getComponent()); in bindService()
147 connection.onServiceConnected(serviceIntent.getComponent(), service.asBinder()); in bindService()
/packages/apps/Dialer/java/com/android/dialer/interactions/
DContactUpdateService.java36 Intent serviceIntent = new Intent(context, ContactUpdateService.class); in createSetSuperPrimaryIntent() local
37 serviceIntent.putExtra(EXTRA_PHONE_NUMBER_DATA_ID, dataId); in createSetSuperPrimaryIntent()
38 return serviceIntent; in createSetSuperPrimaryIntent()
DPhoneNumberInteraction.java556 final Intent serviceIntent = in onClick() local
558 activity.startService(serviceIntent); in onClick()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupNameEditDialogFragment.java248 final Intent serviceIntent; in maybePersistCurrentGroupName() local
250 serviceIntent = ContactSaveService.createNewGroupIntent(getActivity(), mAccount, in maybePersistCurrentGroupName()
253 serviceIntent = ContactSaveService.createGroupRenameIntent(getActivity(), mGroupId, in maybePersistCurrentGroupName()
256 ContactSaveService.startService(getActivity(), serviceIntent); in maybePersistCurrentGroupName() local
/packages/services/Telecomm/src/com/android/server/telecom/
DServiceBinder.java84 Intent serviceIntent = new Intent(mServiceAction).setComponent(mComponentName); in bind() local
91 isBound = mContext.bindServiceAsUser(serviceIntent, connection, bindingFlags, in bind()
94 isBound = mContext.bindService(serviceIntent, connection, bindingFlags); in bind()
DInCallController.java1150 Intent serviceIntent = new Intent(InCallService.SERVICE_INTERFACE); in getInCallServiceComponents() local
1152 serviceIntent.setPackage(packageName); in getInCallServiceComponents()
1155 serviceIntent.setComponent(componentName); in getInCallServiceComponents()
1160 serviceIntent, in getInCallServiceComponents()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDirectoryContactUtil.java53 Intent serviceIntent = ContactSaveService.createNewRawContactIntent( in createCopy() local
56 context.startService(serviceIntent); in createCopy()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiver.java218 Intent serviceIntent = new Intent(CellBroadcastConfigService.ACTION_ENABLE_CHANNELS, in startConfigService() local
221 context.startService(serviceIntent); in startConfigService()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbDeviceHandlerResolver.java502 Intent serviceIntent = new Intent(); in queryNextAoapHandler() local
503 serviceIntent.setComponent(ComponentName.unflattenFromString(option.second.mAoapService)); in queryNextAoapHandler()
504 boolean bound = mContext.bindService(serviceIntent, context.mServiceConnection, in queryNextAoapHandler()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/usb/
DUsbDeviceHandlerResolver.java580 Intent serviceIntent = new Intent(); in doHandleAoapStartComplete() local
581 serviceIntent.setComponent(ComponentName.unflattenFromString(option.second.mAoapService)); in doHandleAoapStartComplete()
582 boolean bound = mContext.bindService(serviceIntent, mConnection, Context.BIND_AUTO_CREATE); in doHandleAoapStartComplete()