/frameworks/base/services/core/java/com/android/server/speech/ |
D | SpeechRecognitionManagerServiceImpl.java | 83 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument 86 return AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked() 90 "Could not get service for " + serviceComponent); in newServiceInfoLocked() 111 ComponentName serviceComponent = componentName; in createSessionLocked() local 113 serviceComponent = getOnDeviceComponentNameLocked(); in createSessionLocked() 122 if (serviceComponent == null) { in createSessionLocked() 131 RemoteSpeechRecognitionService service = createService(creatorCallingUid, serviceComponent); in createSessionLocked() 273 int callingUid, ComponentName serviceComponent) { in createService() argument 300 service.getServiceComponentName().equals(serviceComponent)) in createService() 304 Slog.i(TAG, "Reused existing connection to " + serviceComponent); in createService() [all …]
|
/frameworks/base/core/java/android/service/remotelockscreenvalidation/ |
D | RemoteLockscreenValidationClient.java | 39 @NonNull ComponentName serviceComponent) { in create() argument 43 serviceComponent); in create() 55 @Nullable Executor bgExecutor, @NonNull ComponentName serviceComponent) { in create() argument 56 return new RemoteLockscreenValidationClientImpl(context, bgExecutor, serviceComponent); in create()
|
D | RemoteLockscreenValidationClientImpl.java | 67 @NonNull ComponentName serviceComponent) { in RemoteLockscreenValidationClientImpl() argument 69 mIsServiceAvailable = isServiceAvailable(mContext, serviceComponent); in RemoteLockscreenValidationClientImpl() 159 @NonNull ComponentName serviceComponent) { in isServiceAvailable() argument 160 mServiceInfo = getServiceInfo(context, serviceComponent); in isServiceAvailable() 176 @NonNull Context context, @NonNull ComponentName serviceComponent) { in getServiceInfo() argument 178 return context.getPackageManager().getServiceInfo(serviceComponent, in getServiceInfo() 182 serviceComponent.getClassName())); in getServiceInfo()
|
/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/core/java/com/android/server/infra/ |
D | AbstractPerUserSystemService.java | 101 @SuppressWarnings("unused") @NonNull ComponentName serviceComponent) in newServiceInfoLocked() 208 ComponentName serviceComponent = null; in getServiceComponent() local 211 serviceComponent = ComponentName.unflattenFromString(componentName); in getServiceComponent() 212 serviceInfo = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in getServiceComponent() 224 mServiceInfo = newServiceInfoLocked(serviceComponent); in getServiceComponent() 227 + serviceComponent + " and info as " + mServiceInfo); in getServiceComponent() 239 return serviceComponent; in getServiceComponent() 338 final ComponentName serviceComponent = getServiceComponentName(); in getServicePackageName() local 339 return serviceComponent == null ? null : serviceComponent.getPackageName(); in getServicePackageName()
|
/frameworks/base/services/credentials/java/com/android/server/credentials/ |
D | CredentialManagerServiceImpl.java | 76 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument 81 + serviceComponent.flattenToString()); in newServiceInfoLocked() 84 + serviceComponent.flattenToString()); in newServiceInfoLocked() 89 getContext(), serviceComponent, in newServiceInfoLocked() 91 primaryProviders.contains(serviceComponent)); in newServiceInfoLocked()
|
/frameworks/base/services/wallpapereffectsgeneration/java/com/android/server/wallpapereffectsgeneration/ |
D | WallpaperEffectsGenerationPerUserService.java | 61 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument 65 si = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked() 68 throw new NameNotFoundException("Could not get service for " + serviceComponent); in newServiceInfoLocked() 244 final ComponentName serviceComponent = updateServiceInfoLocked(); in ensureRemoteServiceLocked() local 245 if (serviceComponent == null) { in ensureRemoteServiceLocked() 253 serviceComponent, mUserId, this, in ensureRemoteServiceLocked()
|
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/ |
D | ContentSuggestionsPerUserService.java | 66 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument 70 si = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked() 74 "Could not get service for " + serviceComponent); in newServiceInfoLocked() 158 ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in ensureRemoteServiceLocked() local 161 serviceComponent, mUserId, in ensureRemoteServiceLocked()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/resume/ |
D | MediaBrowserFactory.java | 45 public MediaBrowser create(ComponentName serviceComponent, in create() argument 47 return new MediaBrowser(mContext, serviceComponent, callback, rootHints); in create()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatteryUtils.java | 71 final ComponentName serviceComponent = ComponentName.unflattenFromString( in getA11yPackageNames() local 73 if (serviceComponent != null) { in getA11yPackageNames() 74 packageNames.add(serviceComponent.getPackageName()); in getA11yPackageNames()
|
/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/autofill/java/com/android/server/autofill/ |
D | RemoteFieldClassificationService.java | 99 final ComponentName serviceComponent; in getComponentName() local 102 serviceComponent = ComponentName.unflattenFromString(serviceName); in getComponentName() 103 serviceInfo = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, flags, in getComponentName() 113 return new Pair<>(serviceInfo, serviceComponent); in getComponentName()
|
/frameworks/base/services/smartspace/java/com/android/server/smartspace/ |
D | SmartspacePerUserService.java | 69 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument 74 si = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked() 77 throw new NameNotFoundException("Could not get service for " + serviceComponent); in newServiceInfoLocked() 316 ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in getRemoteServiceLocked() local 319 SmartspaceService.SERVICE_INTERFACE, serviceComponent, mUserId, this, in getRemoteServiceLocked()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/ |
D | TestUtils.java | 57 String packageLabel, String serviceComponent, in createFakeServiceInfo() argument 70 .thenReturn(ComponentName.unflattenFromString(serviceComponent)); in createFakeServiceInfo()
|
/frameworks/base/services/texttospeech/java/com/android/server/texttospeech/ |
D | TextToSpeechManagerPerUserService.java | 71 @SuppressWarnings("unused") @NonNull ComponentName serviceComponent) in newServiceInfoLocked() 74 return AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked() 78 "Could not get service for " + serviceComponent); in newServiceInfoLocked()
|
/frameworks/base/services/translation/java/com/android/server/translation/ |
D | TranslationManagerServiceImpl.java | 124 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument 127 serviceComponent, isTemporaryServiceSetLocked(), mUserId); in newServiceInfoLocked() 163 final ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in ensureRemoteServiceLocked() local 167 isServiceAvailableForUser = isServiceAvailableForUser(serviceComponent); in ensureRemoteServiceLocked() 176 Slog.w(TAG, "ensureRemoteServiceLocked(): " + serviceComponent in ensureRemoteServiceLocked() 180 mRemoteTranslationService = new RemoteTranslationService(getContext(), serviceComponent, in ensureRemoteServiceLocked() 186 private boolean isServiceAvailableForUser(ComponentName serviceComponent) { in isServiceAvailableForUser() argument 188 .setComponent(serviceComponent); in isServiceAvailableForUser()
|
/frameworks/base/services/searchui/java/com/android/server/searchui/ |
D | SearchUiPerUserService.java | 73 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument 78 si = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked() 81 throw new NameNotFoundException("Could not get service for " + serviceComponent); in newServiceInfoLocked() 322 ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in getRemoteServiceLocked() local 325 SearchUiService.SERVICE_INTERFACE, serviceComponent, mUserId, this, in getRemoteServiceLocked()
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
D | AppClipsServiceConnector.java | 84 final ComponentName serviceComponent = ComponentName.unflattenFromString( in connectToServiceAndProcessRequest() local 88 serviceIntent.setComponent(serviceComponent); in connectToServiceAndProcessRequest()
|
/frameworks/base/services/core/java/com/android/server/rotationresolver/ |
D | RotationResolverManagerPerUserService.java | 189 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument 193 serviceInfo = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked() 207 "Could not get service for " + serviceComponent); in newServiceInfoLocked()
|
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/ |
D | MusicRecognitionManagerService.java | 173 final ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in isCalledByServiceAppLocked() local 174 if (serviceComponent == null) { in isCalledByServiceAppLocked() 179 final String servicePackageName = serviceComponent.getPackageName(); in isCalledByServiceAppLocked()
|
D | MusicRecognitionManagerPerUserService.java | 102 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument 106 si = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked() 110 "Could not get service for " + serviceComponent); in newServiceInfoLocked() 135 ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in ensureRemoteServiceLocked() local 138 serviceComponent, mUserId, this, in ensureRemoteServiceLocked()
|
/frameworks/base/services/core/java/com/android/server/ambientcontext/ |
D | AmbientContextManagerPerUserService.java | 265 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument 268 + serviceComponent.getClassName()); in newServiceInfoLocked() 271 || !serviceComponent.getClassName().equals(getComponentName().getClassName())) { in newServiceInfoLocked() 278 serviceInfo = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked() 293 "Could not get service for " + serviceComponent); in newServiceInfoLocked()
|
/frameworks/base/core/java/android/speech/ |
D | SpeechRecognizerImpl.java | 127 final ComponentName serviceComponent) { in SpeechRecognizerImpl() argument 128 this(context, serviceComponent, false); in SpeechRecognizerImpl() 141 final ComponentName serviceComponent, in SpeechRecognizerImpl() argument 144 mServiceComponent = serviceComponent; in SpeechRecognizerImpl() 534 String serviceComponent = Settings.Secure.getString(mContext.getContentResolver(), in getSpeechRecognizerComponentName() local 537 if (TextUtils.isEmpty(serviceComponent)) { in getSpeechRecognizerComponentName() 543 return ComponentName.unflattenFromString(serviceComponent); in getSpeechRecognizerComponentName()
|
/frameworks/base/services/appprediction/java/com/android/server/appprediction/ |
D | AppPredictionPerUserService.java | 84 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument 89 si = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked() 92 throw new NameNotFoundException("Could not get service for " + serviceComponent); in newServiceInfoLocked() 390 ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in getRemoteServiceLocked() local 393 AppPredictionService.SERVICE_INTERFACE, serviceComponent, mUserId, this, in getRemoteServiceLocked()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableContext.java | 317 ComponentName serviceComponent = resolveMockServiceComponent(service); in checkMocks() 318 if (serviceComponent == null) return false; in checkMocks() 320 IBinder serviceImpl = mMockServices.get(serviceComponent); in checkMocks() 324 mActiveServices.put(conn, serviceComponent); in checkMocks() 325 conn.onServiceConnected(serviceComponent, serviceImpl); in checkMocks()
|