/frameworks/base/services/print/java/com/android/server/print/ |
D | RemotePrintServiceRecommendationService.java | 118 Intent serviceIntent = new Intent(); in getServiceIntent() local 119 serviceIntent.setComponent(serviceName); in getServiceIntent() 121 return serviceIntent; in getServiceIntent() 139 Intent serviceIntent = getServiceIntent(userHandle); in RemotePrintServiceRecommendationService() local 142 mIsBound = mContext.bindServiceAsUser(serviceIntent, mConnection, in RemotePrintServiceRecommendationService() 146 throw new Exception("Failed to bind to service " + serviceIntent); in RemotePrintServiceRecommendationService()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportReceiver.java | 59 Intent serviceIntent = new Intent(context, BugreportProgressService.class); in onReceive() local 60 serviceIntent.putExtra(EXTRA_ORIGINAL_INTENT, intent); in onReceive() 61 context.startService(serviceIntent); in onReceive()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/ |
D | IntentFilterVerificationReceiver.java | 82 Intent serviceIntent = new Intent(context, DirectStatementService.class); in onReceive() local 83 serviceIntent.setAction(DirectStatementService.CHECK_ALL_ACTION); in onReceive() 138 serviceIntent.putExtras(extras); in onReceive() 139 context.startService(serviceIntent); in onReceive()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ScreenshotHelper.java | 99 final Intent serviceIntent = new Intent(); in takeScreenshot() local 117 serviceIntent.setComponent(serviceComponent); in takeScreenshot() 171 if (mContext.bindServiceAsUser(serviceIntent, conn, in takeScreenshot()
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
D | PlayerController.java | 58 public PlayerController(Activity context, Intent serviceIntent) { in PlayerController() argument 60 if (serviceIntent == null) { in PlayerController() 63 mServiceIntent = serviceIntent; in PlayerController()
|
/frameworks/base/core/java/android/speech/ |
D | SpeechRecognizer.java | 270 Intent serviceIntent = new Intent(RecognitionService.SERVICE_INTERFACE); in startListening() local 282 … serviceIntent.setComponent(ComponentName.unflattenFromString(serviceComponent)); in startListening() 284 serviceIntent.setComponent(mServiceComponent); in startListening() 287 if (!mContext.bindService(serviceIntent, mConnection, Context.BIND_AUTO_CREATE)) { in startListening()
|
/frameworks/base/media/apex/java/android/media/ |
D | Session2Token.java | 241 Intent serviceIntent = new Intent(serviceInterface); in isInterfaceDeclared() local 245 serviceIntent.setPackage(serviceComponent.getPackageName()); in isInterfaceDeclared() 248 serviceIntent, PackageManager.GET_META_DATA); in isInterfaceDeclared()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NetworkScorerAppManager.java | 72 final Intent serviceIntent = new Intent(NetworkScoreManager.ACTION_RECOMMEND_NETWORKS); in getAllValidScorers() local 74 pm.queryIntentServices(serviceIntent, PackageManager.GET_META_DATA); in getAllValidScorers() 76 if (DEBUG) Log.d(TAG, "Found 0 Services able to handle " + serviceIntent); in getAllValidScorers()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ContextFixture.java | 190 Intent serviceIntent, in bindService() argument 196 IInterface service = mServiceByComponentName.get(serviceIntent.getComponent()); in bindService() 198 service = mServiceByPackageName.get(serviceIntent.getPackage()); in bindService() 203 serviceIntent.getComponent(), serviceIntent.getPackage())); in bindService() 206 connection.onServiceConnected(serviceIntent.getComponent(), service.asBinder()); in bindService()
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | TextClassificationManagerService.java | 537 Intent serviceIntent = new Intent(TextClassifierService.SERVICE_INTERFACE) in bindLocked() local 539 Slog.d(LOG_TAG, "Binding to " + serviceIntent.getComponent()); in bindLocked() 541 serviceIntent, mConnection, in bindLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardBottomAreaView.java | 435 Intent serviceIntent = new Intent(); in bindCameraPrewarmService() local 436 serviceIntent.setClassName(targetInfo.packageName, clazz); in bindCameraPrewarmService() 437 serviceIntent.setAction(CameraPrewarmService.ACTION_PREWARM); in bindCameraPrewarmService() 439 if (getContext().bindServiceAsUser(serviceIntent, mPrewarmConnection, in bindCameraPrewarmService()
|
/frameworks/base/services/core/java/com/android/server/attention/ |
D | AttentionManagerService.java | 513 final Intent serviceIntent = new Intent( in bindLocked() local 517 mContext.bindServiceAsUser(serviceIntent, mConnection, in bindLocked()
|
/frameworks/base/services/core/java/com/android/server/textservices/ |
D | TextServicesManagerService.java | 660 final Intent serviceIntent = new Intent(SpellCheckerService.SERVICE_INTERFACE); in startSpellCheckerServiceInnerLocked() local 661 serviceIntent.setComponent(info.getComponent()); in startSpellCheckerServiceInnerLocked() 665 if (!bindCurrentSpellCheckerService(serviceIntent, connection, in startSpellCheckerServiceInnerLocked()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/ |
D | ImsResolver.java | 1538 Intent serviceIntent = new Intent(controllerFactory.getServiceInterface()); in searchForImsServices() local 1539 serviceIntent.setPackage(packageName); in searchForImsServices() 1543 serviceIntent, in searchForImsServices()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 723 Intent serviceIntent = new Intent(VpnConfig.SERVICE_INTERFACE); in startAlwaysOnVpn() local 724 serviceIntent.setPackage(alwaysOnPackage); in startAlwaysOnVpn() 726 … return mContext.startServiceAsUser(serviceIntent, UserHandle.of(mUserHandle)) != null; in startAlwaysOnVpn() 728 Log.e(TAG, "VpnService " + serviceIntent + " failed to start", e); in startAlwaysOnVpn()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 1607 final Intent serviceIntent = new Intent(ChooserTargetService.SERVICE_INTERFACE) 1638 if (bindServiceAsUser(serviceIntent, conn, BIND_AUTO_CREATE | BIND_NOT_FOREGROUND, 1642 + " intent " + serviceIntent);
|
/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 9993 @NonNull ComponentName admin, Intent serviceIntent, @NonNull ServiceConnection conn, in bindDeviceAdminServiceAsUser() argument 10000 serviceIntent.prepareToLeaveProcess(mContext); in bindDeviceAdminServiceAsUser() 10002 mContext.getIApplicationThread(), mContext.getActivityToken(), serviceIntent, in bindDeviceAdminServiceAsUser()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 13027 @Nullable IBinder activtiyToken, @NonNull Intent serviceIntent, in bindDeviceAdminServiceAsUser() argument 13034 Preconditions.checkNotNull(serviceIntent); in bindDeviceAdminServiceAsUser() 13036 serviceIntent.getComponent() != null || serviceIntent.getPackage() != null, in bindDeviceAdminServiceAsUser() 13038 + serviceIntent); in bindDeviceAdminServiceAsUser() local 13056 createCrossUserServiceIntent(serviceIntent, targetPackage, targetUserId); in bindDeviceAdminServiceAsUser() 13064 caller, activtiyToken, serviceIntent, in bindDeviceAdminServiceAsUser() 13065 serviceIntent.resolveTypeIfNeeded(mContext.getContentResolver()), in bindDeviceAdminServiceAsUser()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveServices.java | 1689 final Intent serviceIntent = service; in bindServiceLocked() local 1711 serviceIntent.getFlags(), in bindServiceLocked()
|