Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/speech/
DSpeechRecognizer.java159 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/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceImpl.java164 final ComponentName serviceComponent = getServiceComponentName(); in getPackageName() local
165 if (serviceComponent != null) { in getPackageName()
166 return serviceComponent.getPackageName(); in getPackageName()
200 ComponentName serviceComponent = null; in updateLocked() local
205 serviceComponent = ComponentName.unflattenFromString(componentName); in updateLocked()
206 serviceInfo = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in updateLocked()
216 serviceComponent, mUserId); in updateLocked()
DAutofillManagerService.java240 final ComponentName serviceComponent = userState.getServiceComponentName(); in startTrackingPackageChanges()
241 if (serviceComponent == null) { in startTrackingPackageChanges()
244 return serviceComponent.getPackageName(); in startTrackingPackageChanges()
/frameworks/support/media-compat/api21/android/support/v4/media/
DMediaBrowserCompatApi21.java37 public static Object createBrowser(Context context, ComponentName serviceComponent, in createBrowser() argument
39 return new MediaBrowser(context, serviceComponent, in createBrowser()
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaBrowserCompat.java180 public MediaBrowserCompat(Context context, ComponentName serviceComponent, in MediaBrowserCompat() argument
185 mImpl = new MediaBrowserImplApi24(context, serviceComponent, callback, rootHints); in MediaBrowserCompat()
187 mImpl = new MediaBrowserImplApi23(context, serviceComponent, callback, rootHints); in MediaBrowserCompat()
189 mImpl = new MediaBrowserImplApi21(context, serviceComponent, callback, rootHints); in MediaBrowserCompat()
191 mImpl = new MediaBrowserImplBase(context, serviceComponent, callback, rootHints); in MediaBrowserCompat()
983 public MediaBrowserImplBase(Context context, ComponentName serviceComponent, in MediaBrowserImplBase() argument
988 if (serviceComponent == null) { in MediaBrowserImplBase()
995 mServiceComponent = serviceComponent; in MediaBrowserImplBase()
1586 public MediaBrowserImplApi21(Context context, ComponentName serviceComponent, in MediaBrowserImplApi21() argument
1594 mBrowserObj = MediaBrowserCompatApi21.createBrowser(context, serviceComponent, in MediaBrowserImplApi21()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java393 ComponentName serviceComponent = null; in switchImplementationIfNeededLocked() local
397 serviceComponent = ComponentName.unflattenFromString(curService); in switchImplementationIfNeededLocked()
399 .getServiceInfo(serviceComponent, 0, mCurUser); in switchImplementationIfNeededLocked()
402 serviceComponent = null; in switchImplementationIfNeededLocked()
408 || !mImpl.mComponent.equals(serviceComponent)) { in switchImplementationIfNeededLocked()
413 if (serviceComponent != null && serviceInfo != null) { in switchImplementationIfNeededLocked()
415 UiThread.getHandler(), this, mCurUser, serviceComponent); in switchImplementationIfNeededLocked()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java495 final ComponentName serviceComponent = new ComponentName( in queryTargetServices() local
498 .setComponent(serviceComponent); in queryTargetServices()
501 Log.d(TAG, "queryTargets found target with service " + serviceComponent); in queryTargetServices()
505 final String perm = pm.getServiceInfo(serviceComponent, 0).permission; in queryTargetServices()
507 Log.w(TAG, "ChooserTargetService " + serviceComponent + " does not require" in queryTargetServices()
512 + " to the <service> tag for " + serviceComponent in queryTargetServices()
517 Log.e(TAG, "Could not look up service " + serviceComponent in queryTargetServices()
/frameworks/base/media/java/android/media/browse/
DMediaBrowser.java126 public MediaBrowser(Context context, ComponentName serviceComponent, in MediaBrowser() argument
131 if (serviceComponent == null) { in MediaBrowser()
138 mServiceComponent = serviceComponent; in MediaBrowser()
/frameworks/support/media-compat/tests/src/android/support/v4/media/
DMediaBrowserCompatTest.java247 ComponentName serviceComponent = mMediaBrowser.getServiceComponent(); in testGetServiceComponentBeforeConnection() local
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java1701 boolean bindToSyncAdapter(ComponentName serviceComponent, int userId) { in bindToSyncAdapter() argument
1703 Log.d(TAG, "bindToSyncAdapter: " + serviceComponent + ", connection " + this); in bindToSyncAdapter()
1707 intent.setComponent(serviceComponent); in bindToSyncAdapter()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java5781 final ComponentName serviceComponent = new ComponentName(SYSUI_PACKAGE, in takeScreenshot() local
5784 serviceIntent.setComponent(serviceComponent); in takeScreenshot()