Home
last modified time | relevance | path

Searched refs:getServiceInfo (Results 1 – 25 of 82) sorted by relevance

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DPackageManagerAdapter.java45 public ServiceInfo getServiceInfo(ComponentName className, int flags, int userId) in getServiceInfo() method in PackageManagerAdapter
47 return mIPackageManager.getServiceInfo(className, flags, userId); in getServiceInfo()
50 public ServiceInfo getServiceInfo(ComponentName component, int flags) in getServiceInfo() method in PackageManagerAdapter
52 return mPackageManager.getServiceInfo(component, flags); in getServiceInfo()
DTileLifecycleManager.java124 ServiceInfo info = mPackageManagerAdapter.getServiceInfo(mIntent.getComponent(), in isActiveTile()
329 ServiceInfo si = mPackageManagerAdapter.getServiceInfo(mIntent.getComponent(), in isComponentAvailable()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityServiceConnectionTest.java135 assertFalse(mConnection.getServiceInfo().crashed); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo()
137 assertTrue(mConnection.getServiceInfo().crashed); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo()
140 assertFalse(mConnection.getServiceInfo().crashed); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo()
155 assertTrue(mConnection.getServiceInfo().crashed); in binderDied_keysGetFlushed()
/frameworks/base/core/java/android/service/contentcapture/
DContentCaptureServiceInfo.java65 si = AppGlobals.getPackageManager().getServiceInfo(comp, flags, userId); in getServiceInfoOrThrow()
143 public ServiceInfo getServiceInfo() { in getServiceInfo() method in ContentCaptureServiceInfo
167 pw.println(getServiceInfo().getComponentName()); in dump()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionServiceInfo.java52 this(pm, pm.getServiceInfo(comp, PackageManager.GET_META_DATA)); in VoiceInteractionServiceInfo()
63 ServiceInfo si = AppGlobals.getPackageManager().getServiceInfo(comp, in getServiceInfoOrThrow()
159 public ServiceInfo getServiceInfo() { in getServiceInfo() method in VoiceInteractionServiceInfo
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java307 + curInteractorInfo.getServiceInfo().name); in initForUserNoTracing()
343 recognizerInfo = pm.getServiceInfo(curRecognizer, in initForUserNoTracing()
347 interactorInfo = pm.getServiceInfo(curInteractor, in initForUserNoTracing()
369 setCurInteractor(new ComponentName(curInteractorInfo.getServiceInfo().packageName, in initForUserNoTracing()
370 curInteractorInfo.getServiceInfo().name), userHandle); in initForUserNoTracing()
373 new ComponentName(curInteractorInfo.getServiceInfo().packageName, in initForUserNoTracing()
461 .getServiceInfo(serviceComponent, 0, mCurUser); in switchImplementationIfNeededNoTracingLocked()
524 if (packageName == null || info.getServiceInfo().packageName.equals( in findAvailInteractor()
532 foundInfo.getServiceInfo().packageName, in findAvailInteractor()
533 foundInfo.getServiceInfo().name) in findAvailInteractor()
[all …]
DVoiceInteractionManagerServiceImpl.java170 mInfo.getServiceInfo().applicationInfo.uid, mHandler); in showSessionLocked()
347 int activeUid = mInfo.getServiceInfo().applicationInfo.uid; in setDisabledShowContextLocked()
356 int activeUid = mInfo.getServiceInfo().applicationInfo.uid; in getDisabledShowContextLocked()
365 int activeUid = mInfo.getServiceInfo().applicationInfo.uid; in getUserDisabledShowContextLocked()
391 mInfo.getServiceInfo().dump(new PrintWriterPrinter(pw), " "); in dumpLocked()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java161 if (mImi.getServiceInfo().directBootAware || isTv()) { in onPreferenceChange()
248 final CharSequence label = mImi.getServiceInfo().applicationInfo.loadLabel( in showSecurityWarnDialog()
256 if (mImi.getServiceInfo().directBootAware || isTv()) { in showSecurityWarnDialog()
/frameworks/base/core/java/android/service/autofill/
DAutofillServiceInfo.java62 ServiceInfo si = AppGlobals.getPackageManager().getServiceInfo( in getServiceInfoOrThrow()
217 public ServiceInfo getServiceInfo() { in getServiceInfo() method in AutofillServiceInfo
245 pw.print(prefix); pw.print("Component: "); pw.println(getServiceInfo().getComponentName()); in dump()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DFieldClassificationStrategy.java84 ServiceInfo getServiceInfo() { in getServiceInfo() method in FieldClassificationStrategy
105 final ServiceInfo serviceInfo = getServiceInfo(); in getServiceComponentName()
245 final ServiceInfo serviceInfo = getServiceInfo(); in getMetadataValue()
DAutofillManagerServiceImpl.java218 return mInfo.getServiceInfo(); in newServiceInfoLocked()
347 String servicePackageName = mInfo == null ? null : mInfo.getServiceInfo().packageName; in startSessionLocked()
440 final ServiceInfo serviceInfo = mInfo.getServiceInfo(); in disableOwnedAutofillServicesLocked()
491 : mInfo.getServiceInfo().getComponentName(); in createSessionByTokenLocked()
645 final ServiceInfo serviceInfo = mFieldClassificationStrategy.getServiceInfo(); in handlePackageUpdateLocked()
1089 : mInfo.getServiceInfo().getComponentName().flattenToShortString(); in listSessionsLocked()
1492 ? mInfo.getServiceInfo().getComponentName() : null) + "]"; in toString()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DMetaDataTest.java129 ServiceInfo si = mContext.getPackageManager().getServiceInfo( in testServiceWithData()
134 si = mContext.getPackageManager().getServiceInfo(cn, 0); in testServiceWithData()
/frameworks/base/services/core/java/com/android/server/accounts/
DIAccountAuthenticatorCache.java42 RegisteredServicesCache.ServiceInfo<AuthenticatorDescription> getServiceInfo( in getServiceInfo() method
/frameworks/base/services/core/java/com/android/server/role/
DFinancialSmsManager.java68 ServiceInfo getServiceInfo() { in getServiceInfo() method in FinancialSmsManager
89 final ServiceInfo serviceInfo = getServiceInfo(); in getServiceComponentName()
/frameworks/base/core/tests/coretests/src/android/view/
DAccessibilityInteractionControllerTest.java164 AccessibilityServiceInfo info = sUiAutomation.getServiceInfo(); in enableRetrieveAccessibilityWindows()
181 final AccessibilityServiceInfo info = sUiAutomation.getServiceInfo(); in enableTouchExploration()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileLifecycleManagerTest.java105 when(mMockPackageManagerAdapter.getServiceInfo(any(), anyInt(), anyInt())) in setPackageEnabled()
107 when(mMockPackageManagerAdapter.getServiceInfo(any(), anyInt())) in setPackageEnabled()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractPerUserSystemService.java172 serviceInfo = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in updateServiceInfoLocked()
257 public final ServiceInfo getServiceInfo() { in getServiceInfo() method in AbstractPerUserSystemService
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DUiAutomationManager.java181 AccessibilityServiceInfo getServiceInfo() { in getServiceInfo() method in UiAutomationManager
187 return uiAutomationService.getServiceInfo(); in getServiceInfo()
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityServiceConnectionImpl.java79 public AccessibilityServiceInfo getServiceInfo() { in getServiceInfo() method in AccessibilityServiceConnectionImpl
/frameworks/base/core/java/android/accessibilityservice/
DIAccessibilityServiceConnection.aidl65 AccessibilityServiceInfo getServiceInfo(); in getServiceInfo() method
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DUiAutomationShellWrapper.java74 AccessibilityServiceInfo info = mUiAutomation.getServiceInfo(); in setCompressedLayoutHierarchy()
/frameworks/base/services/systemcaptions/java/com/android/server/systemcaptions/
DSystemCaptionsManagerPerUserService.java55 return AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiAutomatorBridge.java78 AccessibilityServiceInfo info = mUiAutomation.getServiceInfo(); in setCompressedLayoutHierarchy()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java282 final ServiceInfo serviceInfo = getServiceInfo(component); in validateDream()
350 private ServiceInfo getServiceInfo(ComponentName name) { in getServiceInfo() method in DreamManagerService
352 return name != null ? mContext.getPackageManager().getServiceInfo(name, in getServiceInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DDefaultAppInfo.java143 componentInfo = AppGlobals.getPackageManager().getServiceInfo( in getComponentInfo()

1234