Home
last modified time | relevance | path

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

123456

/frameworks/base/services/credentials/java/com/android/server/credentials/
DCredentialManagerServiceImpl.java62 return mInfo.getServiceInfo().getComponentName(); in getComponentName()
70 + providerInfo.getServiceInfo().getComponentName().flattenToString()); in CredentialManagerServiceImpl()
80 + mInfo.getServiceInfo().getComponentName().flattenToString() + " , " in newServiceInfoLocked()
92 return mInfo.getServiceInfo(); in newServiceInfoLocked()
115 getContext(), mInfo.getServiceInfo().getComponentName(), mUserId); in initiateProviderSessionForRequestLocked()
145 if (mInfo != null && mInfo.getServiceInfo() != null in handlePackageUpdateLocked()
146 && mInfo.getServiceInfo().getComponentName() in handlePackageUpdateLocked()
149 newServiceInfoLocked(mInfo.getServiceInfo().getComponentName()); in handlePackageUpdateLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DPackageManagerAdapter.java48 public ServiceInfo getServiceInfo(ComponentName className, int flags, int userId) in getServiceInfo() method in PackageManagerAdapter
50 return mIPackageManager.getServiceInfo(className, flags, userId); in getServiceInfo()
53 public ServiceInfo getServiceInfo(ComponentName component, int flags) in getServiceInfo() method in PackageManagerAdapter
55 return mPackageManager.getServiceInfo(component, flags); in getServiceInfo()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpapereffectsgeneration/
DWallpaperEffectsGenerationPerUserServiceTest.java79 when(mIPackageManager.getServiceInfo(any(), anyLong(), anyInt())) in setUp()
90 assertNull(mService.getServiceInfo()); in testIsCallingUidAllowed_returnFalseWhenServiceNotBound()
99 assertNotNull(mService.getServiceInfo()); in testIsCallingUidAllowed_uidSetCorrectlyAfterFirstCall()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/data/repository/
DCustomTileDefaultsRepository.kt113 val info = componentName.getServiceInfo(userContext.packageManager) in loadDefaults()
129 private fun ComponentName.getServiceInfo( in ComponentName() method
138 return packageManager.getServiceInfo(this, flags) in ComponentName()
DCustomTileRepository.kt167 packageManagerAdapter.getServiceInfo( in restoreForTheUserIfNeeded()
181 packageManagerAdapter.getServiceInfo( in restoreForTheUserIfNeeded()
/frameworks/base/core/java/android/service/translation/
DTranslationServiceInfo.java71 si = AppGlobals.getPackageManager().getServiceInfo(comp, flags, userId); in getServiceInfoOrThrow()
83 public ServiceInfo getServiceInfo() { in getServiceInfo() method in TranslationServiceInfo
168 pw.println(getServiceInfo().getComponentName()); in dump()
/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/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/impl/custom/data/repository/
DFakePackageManagerAdapterFacade.kt49 whenever(packageManagerAdapter.getServiceInfo(eq(componentName), any())).thenAnswer { in <lambda>()
60 whenever(packageManagerAdapter.getServiceInfo(eq(componentName), anyInt(), anyInt()))
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityServiceConnectionTest.java204 assertFalse(mConnection.getServiceInfo().crashed); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo()
206 assertTrue(mConnection.getServiceInfo().crashed); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo()
209 assertFalse(mConnection.getServiceInfo().crashed); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo()
234 assertTrue(mConnection.getServiceInfo().crashed); in binderDied_keysGetFlushed()
440 AccessibilityServiceInfo info = mConnection.getServiceInfo(); in binderDied_resetA11yServiceInfo()
443 info = mConnection.getServiceInfo(); in binderDied_resetA11yServiceInfo()
446 assertThat(mConnection.getServiceInfo().flags & flag).isEqualTo(flag); in binderDied_resetA11yServiceInfo()
449 assertThat(mConnection.getServiceInfo().flags & flag).isEqualTo(0); in binderDied_resetA11yServiceInfo()
/frameworks/base/core/java/android/service/remotelockscreenvalidation/
DRemoteLockscreenValidationClientImpl.java160 mServiceInfo = getServiceInfo(context, serviceComponent); in isServiceAvailable()
175 private ServiceInfo getServiceInfo( in getServiceInfo() method in RemoteLockscreenValidationClientImpl
178 return context.getPackageManager().getServiceInfo(serviceComponent, in getServiceInfo()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerServiceImpl.java268 final int voiceInteractionUid = mInfo.getServiceInfo().applicationInfo.uid; in grantImplicitAccessLocked()
293 mInfo.getServiceInfo().applicationInfo.uid, mHandler); in showSessionLocked()
523 int activeUid = mInfo.getServiceInfo().applicationInfo.uid; in setDisabledShowContextLocked()
532 int activeUid = mInfo.getServiceInfo().applicationInfo.uid; in getDisabledShowContextLocked()
541 int activeUid = mInfo.getServiceInfo().applicationInfo.uid; in getUserDisabledShowContextLocked()
554 return mInfo.getServiceInfo().applicationInfo; in getApplicationInfo()
634 int voiceInteractionServiceUid = mInfo.getServiceInfo().applicationInfo.uid; in verifyDetectorForHotwordDetectionLocked()
666 mInfo.getServiceInfo().packageName) == PackageManager.PERMISSION_GRANTED) { in verifyDetectorForHotwordDetectionLocked()
712 mInfo.getServiceInfo().packageName) == PackageManager.PERMISSION_GRANTED) { in verifyDetectorForVisualQueryDetectionLocked()
747 mInfo.getServiceInfo().applicationInfo.uid, voiceInteractorIdentity, in initAndVerifyDetectorLocked()
[all …]
DVoiceInteractionManagerService.java609 + curInteractorInfo.getServiceInfo().name); in initForUserNoTracing()
645 recognizerInfo = pm.getServiceInfo( in initForUserNoTracing()
670 interactorInfo = pm.getServiceInfo(curInteractor, in initForUserNoTracing()
693 setCurInteractor(new ComponentName(curInteractorInfo.getServiceInfo().packageName, in initForUserNoTracing()
694 curInteractorInfo.getServiceInfo().name), userHandle); in initForUserNoTracing()
798 .getServiceInfo(serviceComponent, 0, mCurUser); in switchImplementationIfNeededNoTracingLocked()
877 foundInfo.getServiceInfo().packageName, in findAvailInteractor()
878 foundInfo.getServiceInfo().name) in findAvailInteractor()
930 ServiceInfo serviceInfo = available.get(i).getServiceInfo(); in findAvailRecognizer()
940 ServiceInfo serviceInfo = available.get(0).getServiceInfo(); in findAvailRecognizer()
[all …]
/frameworks/base/services/autofill/java/com/android/server/autofill/
DRemoteInlineSuggestionRenderService.java111 private static ServiceInfo getServiceInfo(Context context, int userId) { in getServiceInfo() method in RemoteInlineSuggestionRenderService
141 final ServiceInfo serviceInfo = getServiceInfo(context, userId); in getServiceComponentName()
DFieldClassificationStrategy.java84 ServiceInfo getServiceInfo() { in getServiceInfo() method in FieldClassificationStrategy
105 final ServiceInfo serviceInfo = getServiceInfo(); in getServiceComponentName()
250 final ServiceInfo serviceInfo = getServiceInfo(); in getMetadataValue()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodPreference.java179 if (mImi.getServiceInfo().directBootAware || isTv()) { in onPreferenceChange()
262 final CharSequence label = mImi.getServiceInfo().applicationInfo.loadLabel( in showSecurityWarnDialog()
270 if (mImi.getServiceInfo().directBootAware || isTv()) { in showSecurityWarnDialog()
/frameworks/base/services/core/java/com/android/server/accounts/
DIAccountAuthenticatorCache.java42 RegisteredServicesCache.ServiceInfo<AuthenticatorDescription> getServiceInfo( in getServiceInfo() method
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionServiceInfo.java72 ServiceInfo si = AppGlobals.getPackageManager().getServiceInfo(comp, in getServiceInfoOrThrow()
164 public ServiceInfo getServiceInfo() { in getServiceInfo() method in VoiceInteractionServiceInfo
/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/core/java/android/service/autofill/
DAutofillServiceInfo.java73 ServiceInfo si = AppGlobals.getPackageManager().getServiceInfo( in getServiceInfoOrThrow()
276 public ServiceInfo getServiceInfo() { in getServiceInfo() method in AutofillServiceInfo
365 pw.print(prefix); pw.print("Component: "); pw.println(getServiceInfo().getComponentName()); in dump()
/frameworks/base/core/tests/coretests/src/android/view/
DAccessibilityInteractionControllerTest.java182 AccessibilityServiceInfo info = sUiAutomation.getServiceInfo(); in enableRetrieveAccessibilityWindows()
199 final AccessibilityServiceInfo info = sUiAutomation.getServiceInfo(); in enableTouchExploration()
/frameworks/base/services/translation/java/com/android/server/translation/
DTranslationManagerServiceImpl.java128 mRemoteTranslationServiceInfo = mTranslationServiceInfo.getServiceInfo(); in newServiceInfoLocked()
129 return mTranslationServiceInfo.getServiceInfo(); in newServiceInfoLocked()
536 if (callbackSourceUid == inputMethod.getServiceInfo().applicationInfo.uid) { in invokeCallback()
604 final String packageName = mTranslationServiceInfo.getServiceInfo().packageName; in getServiceSettingsActivityLocked()
/frameworks/base/services/systemcaptions/java/com/android/server/systemcaptions/
DSystemCaptionsManagerPerUserService.java55 return AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in newServiceInfoLocked()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DUiAutomationShellWrapper.java79 AccessibilityServiceInfo info = mUiAutomation.getServiceInfo(); in setCompressedLayoutHierarchy()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractPerUserSystemService.java212 serviceInfo = AppGlobals.getPackageManager().getServiceInfo(serviceComponent, in getServiceComponent()
317 public final ServiceInfo getServiceInfo() { in getServiceInfo() method in AbstractPerUserSystemService
/frameworks/base/cmds/uiautomator/cmds/uiautomator/src/com/android/commands/uiautomator/
DDumpCommand.java93 AccessibilityServiceInfo info = uiAutomation.getServiceInfo(); in run()

123456