/packages/services/Car/car-lib/src/android/car/ |
ICarProjection.aidl | 33 void registerProjectionRunner(in Intent serviceIntent) = 0; 39 void unregisterProjectionRunner(in Intent serviceIntent) = 1;
|
CarProjectionManager.java | 134 * @param serviceIntent 137 public void registerProjectionRunner(Intent serviceIntent) throws CarNotConnectedException { 138 if (serviceIntent == null) { 139 throw new IllegalArgumentException("null serviceIntent"); 143 mService.registerProjectionRunner(serviceIntent); 153 * @param serviceIntent 156 public void unregisterProjectionRunner(Intent serviceIntent) { 157 if (serviceIntent == null) { 158 throw new IllegalArgumentException("null serviceIntent"); 162 mService.unregisterProjectionRunner(serviceIntent); [all...] |
/packages/apps/SecureElement/src/com/android/se/ |
SEApplication.java | 29 Intent serviceIntent = new Intent(getApplicationContext(), SecureElementService.class); 30 startService(serviceIntent);
|
/packages/apps/Dialer/java/com/android/dialer/interactions/ |
ContactUpdateService.java | 36 Intent serviceIntent = new Intent(context, ContactUpdateService.class); 37 serviceIntent.putExtra(EXTRA_PHONE_NUMBER_DATA_ID, dataId); 38 return serviceIntent;
|
/cts/hostsidetests/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/ |
SimpleReceiverStartService.java | 27 Intent serviceIntent = intent.getParcelableExtra("service"); 29 context.startService(serviceIntent);
|
SimpleActivityStartService.java | 48 Intent serviceIntent = getIntent().getParcelableExtra("service"); 50 startService(serviceIntent);
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/ |
BindDeviceAdminServiceFailsTest.java | 68 final Intent serviceIntent = new Intent(); 69 serviceIntent.setClassName(targetPackageName, ProtectedCrossUserService.class.getName()); 70 bind(serviceIntent, EMPTY_SERVICE_CONNECTION, otherProfile); 78 private boolean bind(Intent serviceIntent, ServiceConnection serviceConnection, 81 serviceIntent, serviceConnection, Context.BIND_AUTO_CREATE, userHandle);
|
BindDeviceAdminServiceGoodSetupTest.java | 112 final Intent serviceIntent = new Intent(mContext, UnprotectedCrossUserService.class); 115 bind(serviceIntent, EMPTY_SERVICE_CONNECTION, targetUser); 128 final Intent serviceIntent = new Intent(); 129 serviceIntent.setClassName(NON_MANAGING_PACKAGE, ProtectedCrossUserService.class.getName()); 132 bind(serviceIntent, EMPTY_SERVICE_CONNECTION, targetUser); 145 final Intent serviceIntent = new Intent(mContext, ProtectedCrossUserService.class); 146 bind(serviceIntent, EMPTY_SERVICE_CONNECTION, Process.myUserHandle()); 202 final Intent serviceIntent = new Intent(mContext, ProtectedCrossUserService.class); 203 assertTrue(bind(serviceIntent, serviceConnection, targetUserHandle)); 217 private boolean bind(Intent serviceIntent, ServiceConnection serviceConnection [all...] |
/packages/services/Car/service/src/com/android/car/ |
CarProjectionService.java | 91 public void registerProjectionRunner(Intent serviceIntent) { 94 if (serviceIntent.filterEquals(mRegisteredService)) { 98 Log.w(CarLog.TAG_PROJECTION, "Registering new service[" + serviceIntent 103 bindToService(serviceIntent); 107 public void unregisterProjectionRunner(Intent serviceIntent) { 109 if (!serviceIntent.filterEquals(mRegisteredService)) { 111 + serviceIntent + "]. Registered service[" + mRegisteredService + "]"); 119 private void bindToService(Intent serviceIntent) { 121 mRegisteredService = serviceIntent; 124 mContext.bindServiceAsUser(serviceIntent, mConnection, Context.BIND_AUTO_CREATE [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ContactSaveService.java | 372 Intent serviceIntent = new Intent( 374 serviceIntent.setAction(ContactSaveService.ACTION_NEW_RAW_CONTACT); 376 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_NAME, account.name); 377 serviceIntent.putExtra(ContactSaveService.EXTRA_ACCOUNT_TYPE, account.type); 378 serviceIntent.putExtra(ContactSaveService.EXTRA_DATA_SET, account.dataSet); 380 serviceIntent.putParcelableArrayListExtra( 388 serviceIntent.putExtra(ContactSaveService.EXTRA_CALLBACK_INTENT, callbackIntent); 389 return serviceIntent; 463 Intent serviceIntent = new Intent( 465 serviceIntent.setAction(ContactSaveService.ACTION_SAVE_CONTACT) [all...] |
/frameworks/base/services/print/java/com/android/server/print/ |
RemotePrintServiceRecommendationService.java | 118 Intent serviceIntent = new Intent(); 119 serviceIntent.setComponent(serviceName); 121 return serviceIntent; 139 Intent serviceIntent = getServiceIntent(userHandle); 142 mIsBound = mContext.bindServiceAsUser(serviceIntent, mConnection, 146 throw new Exception("Failed to bind to service " + serviceIntent);
|
/developers/build/prebuilts/gradle/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ |
MainActivity.java | 62 Intent serviceIntent = new Intent(this, ResponderService.class); 63 serviceIntent.setAction(action); 64 startService(serviceIntent);
|
/developers/samples/android/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ |
MainActivity.java | 62 Intent serviceIntent = new Intent(this, ResponderService.class); 63 serviceIntent.setAction(action); 64 startService(serviceIntent);
|
/development/samples/browseable/ElizaChat/src/com.example.android.wearable.elizachat/ |
MainActivity.java | 62 Intent serviceIntent = new Intent(this, ResponderService.class); 63 serviceIntent.setAction(action); 64 startService(serviceIntent);
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
BugreportReceiver.java | 59 Intent serviceIntent = new Intent(context, BugreportProgressService.class); 60 serviceIntent.putExtra(EXTRA_ORIGINAL_INTENT, intent); 61 context.startService(serviceIntent);
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
DirectoryContactUtil.java | 53 Intent serviceIntent = ContactSaveService.createNewRawContactIntent( 56 context.startService(serviceIntent);
|
/frameworks/base/core/java/com/android/internal/util/ |
ScreenshotHelper.java | 54 final Intent serviceIntent = new Intent(); 68 serviceIntent.setComponent(serviceComponent); 114 if (mContext.bindServiceAsUser(serviceIntent, conn,
|
/developers/samples/android/connectivity/wifidirect/DirectP2P/Application/src/main/java/com/example/android/wifidirectp2p/ |
DeviceDetailFragment.java | 130 Intent serviceIntent = new Intent(getActivity(), FileTransferService.class); 131 serviceIntent.setAction(FileTransferService.ACTION_SEND_FILE); 132 serviceIntent.putExtra(FileTransferService.EXTRAS_FILE_PATH, uri.toString()); 133 serviceIntent.putExtra(FileTransferService.EXTRAS_GROUP_OWNER_ADDRESS, 135 serviceIntent.putExtra(FileTransferService.EXTRAS_GROUP_OWNER_PORT, 8988); 136 getActivity().startService(serviceIntent);
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
DeviceDetailFragment.java | 129 Intent serviceIntent = new Intent(getActivity(), FileTransferService.class); 130 serviceIntent.setAction(FileTransferService.ACTION_SEND_FILE); 131 serviceIntent.putExtra(FileTransferService.EXTRAS_FILE_PATH, uri.toString()); 132 serviceIntent.putExtra(FileTransferService.EXTRAS_GROUP_OWNER_ADDRESS, 134 serviceIntent.putExtra(FileTransferService.EXTRAS_GROUP_OWNER_PORT, 8988); 135 getActivity().startService(serviceIntent);
|
/packages/apps/KeyChain/tests/src/com/android/keychain/tests/ |
KeyChainServiceTest.java | 95 Intent serviceIntent = new Intent(IKeyChainServiceTestSupport.class.getName()); 96 addComponentToIntent(getPackageManager(), serviceIntent); 97 mIsBoundSupport = bindService(serviceIntent, 104 Intent serviceIntent = new Intent(IKeyChainService.class.getName()); 105 addComponentToIntent(getPackageManager(), serviceIntent); 106 mIsBoundService = bindService(serviceIntent,
|
/cts/tests/tests/security/src/android/security/cts/ |
IsolatedProcessTest.java | 71 Intent serviceIntent = new Intent(mContext, IsolatedService.class); 72 mContext.bindService(serviceIntent, mServiceConnection, Context.BIND_AUTO_CREATE);
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
IntentFilterVerificationReceiver.java | 82 Intent serviceIntent = new Intent(context, DirectStatementService.class); 83 serviceIntent.setAction(DirectStatementService.CHECK_ALL_ACTION); 138 serviceIntent.putExtras(extras); 139 context.startService(serviceIntent);
|
/packages/apps/Email/provider_src/com/android/email/service/ |
EmailServiceUtils.java | 92 final Intent serviceIntent = getServiceIntent(info); 93 serviceIntent.putExtra(ServiceProxy.EXTRA_FORCE_SHUTDOWN, true); 94 context.startService(serviceIntent); 104 final Intent serviceIntent = getServiceIntent(info); 105 context.startService(serviceIntent); 115 final Intent serviceIntent = getServiceIntent(info); 116 context.startService(serviceIntent); 159 final Intent serviceIntent = getServiceIntent(info); 160 return new EmailServiceProxy(context, serviceIntent).test(); 164 final Intent serviceIntent = new Intent(info.intentAction) [all...] |
/frameworks/base/core/java/android/speech/ |
SpeechRecognizer.java | 270 Intent serviceIntent = new Intent(RecognitionService.SERVICE_INTERFACE); 282 serviceIntent.setComponent(ComponentName.unflattenFromString(serviceComponent)); 284 serviceIntent.setComponent(mServiceComponent); 287 if (!mContext.bindService(serviceIntent, mConnection, Context.BIND_AUTO_CREATE)) {
|
/frameworks/av/packages/MediaComponents/src/com/android/media/ |
SessionToken2Impl.java | 115 Intent serviceIntent = new Intent(serviceInterface); 116 serviceIntent.setPackage(packageName); 121 serviceIntent, PackageManager.GET_META_DATA);
|