Home
last modified time | relevance | path

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

/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportRequestedReceiver.java41 Intent serviceIntent = new Intent(context, BugreportProgressService.class); in onReceive() local
42 Log.d(TAG, "onReceive() ACTION: " + serviceIntent.getAction()); in onReceive()
43 serviceIntent.setAction(intent.getAction()); in onReceive()
44 serviceIntent.putExtra(EXTRA_ORIGINAL_INTENT, intent); in onReceive()
45 context.startService(serviceIntent); in onReceive()
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintServiceRecommendationService.java118 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/tests/OneMedia/src/com/android/onemedia/
DPlayerController.java58 public PlayerController(Activity context, Intent serviceIntent) { in PlayerController() argument
60 if (serviceIntent == null) { in PlayerController()
63 mServiceIntent = serviceIntent; in PlayerController()
/frameworks/base/apex/media/framework/java/android/media/
DSession2Token.java242 Intent serviceIntent = new Intent(serviceInterface); in isInterfaceDeclared() local
246 serviceIntent.setPackage(serviceComponent.getPackageName()); in isInterfaceDeclared()
249 serviceIntent, PackageManager.GET_META_DATA); in isInterfaceDeclared()
/frameworks/base/core/java/com/android/internal/util/
DScreenshotHelper.java334 final Intent serviceIntent = new Intent(); in takeScreenshot() local
336 serviceIntent.setComponent(serviceComponent); in takeScreenshot()
373 if (mContext.bindServiceAsUser(serviceIntent, conn, in takeScreenshot()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java198 Intent serviceIntent, in bindService() argument
201 if (mMockBindingFailureForPackage.contains(serviceIntent.getPackage())) { in bindService()
207 IInterface service = mServiceByComponentName.get(serviceIntent.getComponent()); in bindService()
209 service = mServiceByPackageName.get(serviceIntent.getPackage()); in bindService()
214 serviceIntent.getComponent(), serviceIntent.getPackage())); in bindService()
217 connection.onServiceConnected(serviceIntent.getComponent(), service.asBinder()); in bindService()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DAdminSecondaryLockScreenController.java163 public void show(Intent serviceIntent) { in show() argument
165 mContext.bindService(serviceIntent, mConnection, Context.BIND_AUTO_CREATE); in show()
/frameworks/base/services/core/java/com/android/server/
DNetworkScorerAppManager.java73 final Intent serviceIntent = new Intent(NetworkScoreManager.ACTION_RECOMMEND_NETWORKS); in getAllValidScorers() local
75 pm.queryIntentServices(serviceIntent, PackageManager.GET_META_DATA); in getAllValidScorers()
77 if (DEBUG) Log.d(TAG, "Found 0 Services able to handle " + serviceIntent); in getAllValidScorers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaResumeListener.kt176 val serviceIntent = Intent(MediaBrowserService.SERVICE_INTERFACE) in onMediaDataLoaded() constant
177 val resumeInfo = pm.queryIntentServices(serviceIntent, 0) in onMediaDataLoaded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardBottomAreaView.java563 Intent serviceIntent = new Intent(); in bindCameraPrewarmService() local
564 serviceIntent.setClassName(targetInfo.packageName, clazz); in bindCameraPrewarmService()
565 serviceIntent.setAction(CameraPrewarmService.ACTION_PREWARM); in bindCameraPrewarmService()
567 if (getContext().bindServiceAsUser(serviceIntent, mPrewarmConnection, in bindCameraPrewarmService()
/frameworks/base/services/core/java/com/android/server/attention/
DAttentionManagerService.java686 final Intent serviceIntent = new Intent( in bindLocked() local
690 mContext.bindServiceAsUser(serviceIntent, mConnection, in bindLocked()
/frameworks/base/services/core/java/com/android/server/textservices/
DTextServicesManagerService.java632 final Intent serviceIntent = new Intent(SpellCheckerService.SERVICE_INTERFACE); in startSpellCheckerServiceInnerLocked() local
633 serviceIntent.setComponent(info.getComponent()); in startSpellCheckerServiceInnerLocked()
637 if (!bindCurrentSpellCheckerService(serviceIntent, connection, in startSpellCheckerServiceInnerLocked()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java1035 Intent serviceIntent = new Intent(TextClassifierService.SERVICE_INTERFACE) in bindLocked() local
1037 Slog.d(LOG_TAG, "Binding to " + serviceIntent.getComponent()); in bindLocked()
1039 serviceIntent, mConnection, mBindServiceFlags, UserHandle.of(mUserId)); in bindLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java1696 Intent serviceIntent = new Intent(controllerFactory.getServiceInterface()); in searchForImsServices() local
1697 serviceIntent.setPackage(packageName); in searchForImsServices()
1701 serviceIntent, in searchForImsServices()
/frameworks/base/services/core/java/com/android/server/connectivity/
DVpn.java848 Intent serviceIntent = new Intent(VpnConfig.SERVICE_INTERFACE); in startAlwaysOnVpn() local
849 serviceIntent.setPackage(alwaysOnPackage); in startAlwaysOnVpn()
851 return mUserIdContext.startService(serviceIntent) != null; in startAlwaysOnVpn()
853 Log.e(TAG, "VpnService " + serviceIntent + " failed to start", e); in startAlwaysOnVpn()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java240 Intent serviceIntent = new Intent().setComponent(SERVICE_TO_BIND_TO); in CompanionDeviceManagerService() local
246 serviceIntent, 0/* bindingFlags */, userId, in CompanionDeviceManagerService()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java1976 final Intent serviceIntent = new Intent(ChooserTargetService.SERVICE_INTERFACE)
2008 if (bindServiceAsUser(serviceIntent, conn, BIND_AUTO_CREATE | BIND_NOT_FOREGROUND,
2012 + " intent " + serviceIntent);
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java12259 @NonNull ComponentName admin, Intent serviceIntent, @NonNull ServiceConnection conn, in bindDeviceAdminServiceAsUser() argument
12266 serviceIntent.prepareToLeaveProcess(mContext); in bindDeviceAdminServiceAsUser()
12268 mContext.getIApplicationThread(), mContext.getActivityToken(), serviceIntent, in bindDeviceAdminServiceAsUser()
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java992 private boolean deferServiceBringupIfFrozenLocked(ServiceRecord s, Intent serviceIntent, in deferServiceBringupIfFrozenLocked() argument
1019 serviceIntent, callerFg, userId, isBinding, connection)) { in deferServiceBringupIfFrozenLocked()
1025 bringUpServiceLocked(s, serviceIntent.getFlags(), callerFg, in deferServiceBringupIfFrozenLocked()
1039 startServiceInnerLocked(s, serviceIntent, callingUid, callingPid, in deferServiceBringupIfFrozenLocked()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java14779 @Nullable IBinder activtiyToken, @NonNull Intent serviceIntent,
14786 Objects.requireNonNull(serviceIntent);
14788 serviceIntent.getComponent() != null || serviceIntent.getPackage() != null,
14790 + serviceIntent);
14808 createCrossUserServiceIntent(serviceIntent, targetPackage, targetUserId);
14816 caller, activtiyToken, serviceIntent,
14817 serviceIntent.resolveTypeIfNeeded(mContext.getContentResolver()),