/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportRequestedReceiver.java | 41 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/ |
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/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/apex/media/framework/java/android/media/ |
D | Session2Token.java | 242 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/ |
D | ScreenshotHelper.java | 334 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/ |
D | ContextFixture.java | 198 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/ |
D | AdminSecondaryLockScreenController.java | 163 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/ |
D | NetworkScorerAppManager.java | 73 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/ |
D | MediaResumeListener.kt | 176 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/ |
D | KeyguardBottomAreaView.java | 563 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/ |
D | AttentionManagerService.java | 686 final Intent serviceIntent = new Intent( in bindLocked() local 690 mContext.bindServiceAsUser(serviceIntent, mConnection, in bindLocked()
|
/frameworks/base/services/core/java/com/android/server/textservices/ |
D | TextServicesManagerService.java | 632 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/ |
D | TextClassificationManagerService.java | 1035 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/ |
D | ImsResolver.java | 1696 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/ |
D | Vpn.java | 848 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/ |
D | CompanionDeviceManagerService.java | 240 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/ |
D | ChooserActivity.java | 1976 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/ |
D | DevicePolicyManager.java | 12259 @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/ |
D | ActiveServices.java | 992 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/ |
D | DevicePolicyManagerService.java | 14779 @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()),
|