Home
last modified time | relevance | path

Searched refs:queryIntentServices (Results 1 – 25 of 58) sorted by relevance

123

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DResumeOnRebootServiceProviderTests.java77 when(mMockPackageManager.queryIntentServices(any(), in noServiceFound()
89 when(mMockPackageManager.queryIntentServices(any(), anyInt())).thenReturn(resultList); in serviceNotGuardedWithPermission()
99 when(mMockPackageManager.queryIntentServices(any(), anyInt())).thenReturn(resultList); in serviceResolved()
104 verify(mMockPackageManager).queryIntentServices(mIntentArgumentCaptor.capture(), in serviceResolved()
/frameworks/base/tests/Internal/src/android/app/
DWallpaperInfoTest.java53 List<ResolveInfo> result = pm.queryIntentServices(intent, PackageManager.GET_META_DATA); in testSupportsAmbientMode()
77 List<ResolveInfo> result = pm.queryIntentServices(intent, PackageManager.GET_META_DATA); in testGetSettingsSliceUri()
/frameworks/base/telephony/java/android/telephony/mbms/
DMbmsUtils.java97 services = packageManager.queryIntentServices(queryIntent, in getMiddlewareServiceInfo()
101 services = packageManager.queryIntentServices(queryIntent, in getMiddlewareServiceInfo()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierPrivilegesTrackerTest.java901 .queryIntentServices(any(), anyInt()); in testPackageDisabledAndThenEnabled()
908 mPackageManager).queryIntentServices(any(), anyInt()); in testPackageDisabledAndThenEnabled()
920 mPackageManager).queryIntentServices(any(), anyInt()); in testPackageDisabledAndThenEnabled()
1016 mPackageManager).queryIntentServices(any(), anyInt()); in testGetCarrierPackageNameForIntent()
1051 mPackageManager).queryIntentServices(any(), anyInt()); in testGetCarrierService_haveCarrierServiceWithSimCarrierPrivileges()
1063 verify(mPackageManager).queryIntentServices(any(), anyInt()); in testGetCarrierService_haveCarrierServiceWithSimCarrierPrivileges()
1074 verify(mPackageManager, never()).queryIntentServices(any(), anyInt()); in testGetCarrierService_haveCarrierServiceWithSimCarrierPrivileges()
1096 .queryIntentServices(any(), anyInt()); in testGetCarrierService_haveCarrierServiceWithoutSimCarrierPrivileges()
1108 verify(mPackageManager).queryIntentServices(any(), anyInt()); in testGetCarrierService_haveCarrierServiceWithoutSimCarrierPrivileges()
1125 mPackageManager).queryIntentServices(any(), anyInt()); in testGetCarrierService_haveNoCarrierService()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierSmsUtils.java57 List<ResolveInfo> receivers = packageManager.queryIntentServices(intent, 0); in getImsRcsPackageForIntent()
DCellBroadcastServiceManager.java267 List<ResolveInfo> cbsPackages = packageManager.queryIntentServices( in getCellBroadcastServicePackage()
DCarrierServicesSmsFilter.java186 List<ResolveInfo> receivers = packageManager.queryIntentServices(intent, 0); in getSystemAppForIntent()
DCarrierPrivilegesTracker.java1052 resolveInfos.addAll(mPackageManager.queryIntentServices(intent, 0)); in getCarrierPackageNamesForIntent()
1087 List<ResolveInfo> carrierServiceResolveInfos = mPackageManager.queryIntentServices( in getCarrierService()
/frameworks/base/services/core/java/com/android/server/appbinding/
DAppBindingUtils.java59 .queryIntentServices(intent, null, /* flags=*/ 0, userId); in findService()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/
DWallpaperManagerServiceTests.java328 mIpm.queryIntentServices(intent, in testSwitchMultipleUsers()
331 doReturn(ris).when(mIpm).queryIntentServices(any(), any(), anyLong(), anyInt()); in testSwitchMultipleUsers()
360 mIpm.queryIntentServices(intent, in testSwitchThenUnlockMultipleUsers()
370 doReturn(ris).when(mIpm).queryIntentServices(any(), any(), anyLong(), eq(userId)); in testSwitchThenUnlockMultipleUsers()
/frameworks/base/core/java/android/speech/tts/
DTtsEngines.java143 List<ResolveInfo> resolveInfos = pm.queryIntentServices(intent, in getEngineInfo()
165 pm.queryIntentServices(intent, PackageManager.MATCH_DEFAULT_ONLY); in getEngines()
205 List<ResolveInfo> resolveInfos = pm.queryIntentServices(intent, in getSettingsIntent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/plugins/
DPluginActionManagerTest.java116 when(mMockPm.queryIntentServices(any(), anyInt())).thenReturn( in testNoPlugins()
247 when(mMockPm.queryIntentServices(any(), Mockito.anyInt())).thenReturn(list); in setupFakePmQuery()
/frameworks/base/core/java/android/content/pm/
DAppsQueryHelper.java196 return mPackageManager.queryIntentServices(intent, null, in queryIntentServicesAsUser()
DRegisteredServicesCache.java451 protected List<ResolveInfo> queryIntentServices(int userId) { in queryIntentServices() method in RegisteredServicesCache
479 final List<ResolveInfo> resolveInfos = queryIntentServices(userId); in generateServicesMap()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DComponentTest.java317 mPackageManager.queryIntentServices(mDisabledServiceIntent, 0); in testQueryDisabledService()
321 mPackageManager.queryIntentServices(mDisabledServiceIntent, in testQueryDisabledService()
337 mPackageManager.queryIntentServices(mEnabledServiceIntent, 0); in testQueryEnabledService()
/frameworks/base/services/core/java/com/android/server/locksettings/
DResumeOnRebootServiceProvider.java92 List<ResolveInfo> resolvedIntents = mPackageManager.queryIntentServices(intent, queryFlag); in resolveService()
/frameworks/base/core/java/android/service/quickaccesswallet/
DQuickAccessWalletServiceInfo.java105 context.getPackageManager().queryIntentServices(intent, in getWalletServiceInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DPluginFragment.java93 List<ResolveInfo> result = pm.queryIntentServices( in loadPrefs()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/resume/
DMediaResumeListener.kt247 val resumeInfo = pm.queryIntentServices(serviceIntent, 0) in onMediaDataLoaded()
/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java80 List<ResolveInfo> services = pm.queryIntentServices(intent, 0 /* flags */); in getVpnLabel()
/frameworks/base/core/java/android/hardware/soundtrigger/
DKeyphraseEnrollmentInfo.java144 List<ResolveInfo> ris = pm.queryIntentServices( in KeyphraseEnrollmentInfo()
/frameworks/base/services/core/java/com/android/server/
DNetworkScorerAppManager.java75 pm.queryIntentServices(serviceIntent, PackageManager.GET_META_DATA); in getAllValidScorers()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverListControllerTest.java87 when(mMockPackageManager.queryIntentServices(any(), anyInt())).thenReturn(services); in setUp()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/
DMediaSessions.java195 final List<ResolveInfo> ris = pm.queryIntentServices( in getControllerName()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/plugins/
DPluginActionManager.java257 List<ResolveInfo> result = mPm.queryIntentServices(intent, 0); in handleQueryPlugins()

123