/frameworks/base/media/apex/java/android/media/ |
D | Session2Token.java | 100 public Session2Token(@NonNull Context context, @NonNull ComponentName serviceComponent) { in Session2Token() argument 104 if (serviceComponent == null) { in Session2Token() 109 final int uid = getUid(manager, serviceComponent.getPackageName()); in Session2Token() 112 serviceComponent)) { in Session2Token() 113 Log.w(TAG, serviceComponent + " doesn't implement MediaSession2Service."); in Session2Token() 115 mComponentName = serviceComponent; in Session2Token() 116 mPackageName = serviceComponent.getPackageName(); in Session2Token() 117 mServiceName = serviceComponent.getClassName(); in Session2Token() 240 ComponentName serviceComponent) { in isInterfaceDeclared() argument 245 serviceIntent.setPackage(serviceComponent.getPackageName()); in isInterfaceDeclared() [all …]
|
/frameworks/base/services/core/java/com/android/server/infra/ |
D | AbstractPerUserSystemService.java | 102 @SuppressWarnings("unused") @NonNull ComponentName serviceComponent) in newServiceInfoLocked() 165 ComponentName serviceComponent = null; in updateServiceInfoLocked() local 171 serviceComponent = ComponentName.unflattenFromString(componentName); in updateServiceInfoLocked() 172 serviceInfo = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in updateServiceInfoLocked() 184 mServiceInfo = newServiceInfoLocked(serviceComponent); in updateServiceInfoLocked() 187 + serviceComponent + " and info as " + mServiceInfo); in updateServiceInfoLocked() 200 return serviceComponent; in updateServiceInfoLocked() 277 final ComponentName serviceComponent = getServiceComponentName(); in getServicePackageName() local 278 return serviceComponent == null ? null : serviceComponent.getPackageName(); in getServicePackageName()
|
D | AbstractMasterSystemService.java | 927 final ComponentName serviceComponent = service.getServiceComponentName(); in startTrackingPackageChanges() 928 if (serviceComponent == null) { in startTrackingPackageChanges() 931 return serviceComponent.getPackageName(); in startTrackingPackageChanges()
|
/frameworks/base/services/systemcaptions/java/com/android/server/systemcaptions/ |
D | SystemCaptionsManagerPerUserService.java | 52 @SuppressWarnings("unused") @NonNull ComponentName serviceComponent) in newServiceInfoLocked() 55 return AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked() 59 "Could not get service for " + serviceComponent); in newServiceInfoLocked() 99 ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in getRemoteServiceLocked() local 102 serviceComponent, in getRemoteServiceLocked()
|
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/ |
D | ContentSuggestionsPerUserService.java | 69 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument 73 si = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked() 77 "Could not get service for " + serviceComponent); in newServiceInfoLocked() 170 ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in ensureRemoteServiceLocked() local 173 serviceComponent, mUserId, in ensureRemoteServiceLocked()
|
/frameworks/base/core/java/android/speech/ |
D | SpeechRecognizer.java | 159 private SpeechRecognizer(final Context context, final ComponentName serviceComponent) { in SpeechRecognizer() argument 161 mServiceComponent = serviceComponent; in SpeechRecognizer() 232 final ComponentName serviceComponent) { in createSpeechRecognizer() argument 237 return new SpeechRecognizer(context, serviceComponent); in createSpeechRecognizer() 273 String serviceComponent = Settings.Secure.getString(mContext.getContentResolver(), in startListening() local 276 if (TextUtils.isEmpty(serviceComponent)) { in startListening() 282 … serviceIntent.setComponent(ComponentName.unflattenFromString(serviceComponent)); in startListening()
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | MbmsUtils.java | 81 String serviceComponent = appInfo.metaData.getString(metaDataKey); in getOverrideServiceName() local 82 if (serviceComponent == null) { in getOverrideServiceName() 85 return ComponentName.unflattenFromString(serviceComponent); in getOverrideServiceName()
|
/frameworks/base/services/appprediction/java/com/android/server/appprediction/ |
D | AppPredictionPerUserService.java | 72 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument 77 si = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked() 80 throw new NameNotFoundException("Could not get service for " + serviceComponent); in newServiceInfoLocked() 324 ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in getRemoteServiceLocked() local 327 AppPredictionService.SERVICE_INTERFACE, serviceComponent, mUserId, this, in getRemoteServiceLocked()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | RemoteAugmentedAutofillService.java | 82 final ComponentName serviceComponent; in getComponentName() local 85 serviceComponent = ComponentName.unflattenFromString(componentName); in getComponentName() 86 serviceInfo = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, flags, in getComponentName() 96 return new Pair<>(serviceInfo, serviceComponent); in getComponentName()
|
D | AutofillManagerServiceImpl.java | 215 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument 217 mInfo = new AutofillServiceInfo(getContext(), serviceComponent, mUserId); in newServiceInfoLocked()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ScreenshotHelper.java | 97 final ComponentName serviceComponent = new ComponentName(SYSUI_PACKAGE, in takeScreenshot() local 117 serviceIntent.setComponent(serviceComponent); in takeScreenshot()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerService.java | 455 ComponentName serviceComponent = null; in switchImplementationIfNeededNoTracingLocked() local 459 serviceComponent = ComponentName.unflattenFromString(curService); in switchImplementationIfNeededNoTracingLocked() 461 .getServiceInfo(serviceComponent, 0, mCurUser); in switchImplementationIfNeededNoTracingLocked() 464 serviceComponent = null; in switchImplementationIfNeededNoTracingLocked() 469 final boolean hasComponent = serviceComponent != null && serviceInfo != null; in switchImplementationIfNeededNoTracingLocked() 474 serviceComponent.getPackageName(), mCurUser); in switchImplementationIfNeededNoTracingLocked() 484 || !mImpl.mComponent.equals(serviceComponent)) { in switchImplementationIfNeededNoTracingLocked() 491 UiThread.getHandler(), this, mCurUser, serviceComponent)); in switchImplementationIfNeededNoTracingLocked()
|
/frameworks/base/media/java/android/media/browse/ |
D | MediaBrowser.java | 126 public MediaBrowser(Context context, ComponentName serviceComponent, in MediaBrowser() argument 131 if (serviceComponent == null) { in MediaBrowser() 138 mServiceComponent = serviceComponent; in MediaBrowser()
|
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/ |
D | ContentCaptureManagerService.java | 474 final ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in isCalledByServiceLocked() local 475 if (serviceComponent == null) { in isCalledByServiceLocked() 480 final String servicePackageName = serviceComponent.getPackageName(); in isCalledByServiceLocked()
|
D | ContentCapturePerUserService.java | 161 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument 163 mInfo = new ContentCaptureServiceInfo(getContext(), serviceComponent, in newServiceInfoLocked()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | ChooserActivity.java | 1599 final ComponentName serviceComponent = new ComponentName( 1602 if (mServicesRequested.contains(serviceComponent)) { 1605 mServicesRequested.add(serviceComponent); 1608 .setComponent(serviceComponent); 1611 Log.d(TAG, "queryTargets found target with service " + serviceComponent); 1615 final String perm = pm.getServiceInfo(serviceComponent, 0).permission; 1617 Log.w(TAG, "ChooserTargetService " + serviceComponent + " does not require" 1622 + " to the <service> tag for " + serviceComponent 1627 Log.e(TAG, "Could not look up service " + serviceComponent
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.java | 1910 boolean bindToSyncAdapter(ComponentName serviceComponent, int userId) { in bindToSyncAdapter() argument 1912 Log.d(TAG, "bindToSyncAdapter: " + serviceComponent + ", connection " + this); in bindToSyncAdapter() 1914 Intent intent = getAdapterBindIntent(mContext, serviceComponent, userId); in bindToSyncAdapter()
|