Home
last modified time | relevance | path

Searched refs:serviceComponent (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/speech/
DSpeechRecognitionManagerServiceImpl.java73 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument
76 return AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked()
80 "Could not get service for " + serviceComponent); in newServiceInfoLocked()
101 ComponentName serviceComponent = componentName; in createSessionLocked() local
103 serviceComponent = getOnDeviceComponentNameLocked(); in createSessionLocked()
106 if (serviceComponent == null) { in createSessionLocked()
115 RemoteSpeechRecognitionService service = createService(creatorCallingUid, serviceComponent); in createSessionLocked()
223 int callingUid, ComponentName serviceComponent) { in createService() argument
238 service.getServiceComponentName().equals(serviceComponent)) in createService()
243 Slog.i(TAG, "Reused existing connection to " + serviceComponent); in createService()
[all …]
/frameworks/base/services/systemcaptions/java/com/android/server/systemcaptions/
DSystemCaptionsManagerPerUserService.java52 @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/
DAbstractPerUserSystemService.java101 @SuppressWarnings("unused") @NonNull ComponentName serviceComponent) in newServiceInfoLocked()
197 ComponentName serviceComponent = null; in getServiceComponent() local
200 serviceComponent = ComponentName.unflattenFromString(componentName); in getServiceComponent()
201 serviceInfo = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in getServiceComponent()
213 mServiceInfo = newServiceInfoLocked(serviceComponent); in getServiceComponent()
216 + serviceComponent + " and info as " + mServiceInfo); in getServiceComponent()
228 return serviceComponent; in getServiceComponent()
327 final ComponentName serviceComponent = getServiceComponentName(); in getServicePackageName() local
328 return serviceComponent == null ? null : serviceComponent.getPackageName(); in getServicePackageName()
DFrameworkResourcesServiceNameResolver.java183 ComponentName serviceComponent = ComponentName.unflattenFromString( in getDefaultServiceNameList() local
186 serviceComponent, in getDefaultServiceNameList()
/frameworks/base/services/wallpapereffectsgeneration/java/com/android/server/wallpapereffectsgeneration/
DWallpaperEffectsGenerationPerUserService.java61 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()
236 final ComponentName serviceComponent = updateServiceInfoLocked(); in ensureRemoteServiceLocked() local
237 if (serviceComponent == null) { in ensureRemoteServiceLocked()
245 serviceComponent, mUserId, this, in ensureRemoteServiceLocked()
/frameworks/base/services/contentsuggestions/java/com/android/server/contentsuggestions/
DContentSuggestionsPerUserService.java66 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/services/selectiontoolbar/java/com/android/server/selectiontoolbar/
DSelectionToolbarManagerServiceImpl.java62 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument
64 return getServiceInfoOrThrow(serviceComponent, mUserId); in newServiceInfoLocked()
116 final ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in ensureRemoteServiceLocked() local
117 mRemoteService = new RemoteSelectionToolbarRenderService(getContext(), serviceComponent, in ensureRemoteServiceLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/resume/
DMediaBrowserFactory.java45 public MediaBrowser create(ComponentName serviceComponent, in create() argument
47 return new MediaBrowser(mContext, serviceComponent, callback, rootHints); in create()
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsUtils.java81 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/searchui/java/com/android/server/searchui/
DSearchUiPerUserService.java73 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()
290 ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in getRemoteServiceLocked() local
293 SearchUiService.SERVICE_INTERFACE, serviceComponent, mUserId, this, in getRemoteServiceLocked()
/frameworks/base/services/smartspace/java/com/android/server/smartspace/
DSmartspacePerUserService.java69 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/services/texttospeech/java/com/android/server/texttospeech/
DTextToSpeechManagerPerUserService.java71 @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/musicrecognition/java/com/android/server/musicrecognition/
DMusicRecognitionManagerService.java173 final ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in isCalledByServiceAppLocked() local
174 if (serviceComponent == null) { in isCalledByServiceAppLocked()
179 final String servicePackageName = serviceComponent.getPackageName(); in isCalledByServiceAppLocked()
DMusicRecognitionManagerPerUserService.java102 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/rotationresolver/
DRotationResolverManagerPerUserService.java189 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/core/java/android/speech/
DSpeechRecognizer.java236 private SpeechRecognizer(final Context context, final ComponentName serviceComponent) { in SpeechRecognizer() argument
238 mServiceComponent = serviceComponent; in SpeechRecognizer()
342 final ComponentName serviceComponent) { in createSpeechRecognizer() argument
347 return new SpeechRecognizer(context, serviceComponent); in createSpeechRecognizer()
774 String serviceComponent = Settings.Secure.getString(mContext.getContentResolver(), in getSpeechRecognizerComponentName() local
777 if (TextUtils.isEmpty(serviceComponent)) { in getSpeechRecognizerComponentName()
783 return ComponentName.unflattenFromString(serviceComponent); in getSpeechRecognizerComponentName()
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionPerUserService.java83 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument
88 si = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked()
91 throw new NameNotFoundException("Could not get service for " + serviceComponent); in newServiceInfoLocked()
377 ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in getRemoteServiceLocked() local
380 AppPredictionService.SERVICE_INTERFACE, serviceComponent, mUserId, this, in getRemoteServiceLocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/recents/
DOverviewProxyServiceTest.kt110 val serviceComponent = ComponentName("test_package", "service_provider") in setUp() constant
111 context.addMockService(serviceComponent, overviewProxy) in setUp()
114 if (it.action == ACTION_QUICKSTEP) serviceComponent else null in setUp()
/frameworks/base/tests/testables/src/android/testing/
DTestableContext.java298 ComponentName serviceComponent = resolveMockServiceComponent(service); in checkMocks()
299 if (serviceComponent == null) return false; in checkMocks()
301 IBinder serviceImpl = mMockServices.get(serviceComponent); in checkMocks()
305 mActiveServices.put(conn, serviceComponent); in checkMocks()
306 conn.onServiceConnected(serviceComponent, serviceImpl); in checkMocks()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DRemoteAugmentedAutofillService.java105 final ComponentName serviceComponent; in getComponentName() local
108 serviceComponent = ComponentName.unflattenFromString(componentName); in getComponentName()
109 serviceInfo = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, flags, in getComponentName()
119 return new Pair<>(serviceInfo, serviceComponent); in getComponentName()
/frameworks/base/services/translation/java/com/android/server/translation/
DTranslationManagerService.java131 final ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in isCalledByServiceAppLocked() local
132 if (serviceComponent == null) { in isCalledByServiceAppLocked()
137 final String servicePackageName = serviceComponent.getPackageName(); in isCalledByServiceAppLocked()
DTranslationManagerServiceImpl.java119 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument
122 serviceComponent, isTemporaryServiceSetLocked(), mUserId); in newServiceInfoLocked()
158 final ComponentName serviceComponent = ComponentName.unflattenFromString(serviceName); in ensureRemoteServiceLocked() local
159 mRemoteTranslationService = new RemoteTranslationService(getContext(), serviceComponent, in ensureRemoteServiceLocked()
/frameworks/base/core/java/com/android/internal/util/
DScreenshotHelper.java151 final ComponentName serviceComponent = ComponentName.unflattenFromString( in takeScreenshotInternal() local
156 serviceIntent.setComponent(serviceComponent); in takeScreenshotInternal()
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DAmbientContextManagerPerUserService.java132 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument
136 serviceInfo = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked()
151 "Could not get service for " + serviceComponent); in newServiceInfoLocked()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCapturePerUserService.java171 protected ServiceInfo newServiceInfoLocked(@NonNull ComponentName serviceComponent) in newServiceInfoLocked() argument
173 mInfo = new ContentCaptureServiceInfo(getContext(), serviceComponent, in newServiceInfoLocked()
199 ComponentName serviceComponent = getServiceComponentName(); in onServiceDied() local
202 serviceComponent); in onServiceDied()

12