Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DResumeOnRebootServiceProviderTests.java79 when(mMockPackageManager.queryIntentServices(any(), in noServiceFound()
91 when(mMockPackageManager.queryIntentServices(any(), anyInt())).thenReturn(resultList); in serviceNotGuardedWithPermission()
101 when(mMockPackageManager.queryIntentServices(any(), anyInt())).thenReturn(resultList); in serviceResolved()
106 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/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierPrivilegesTrackerTest.java792 .queryIntentServices(any(), anyInt()); in testPackageDisabledAndThenEnabled()
799 mPackageManager).queryIntentServices(any(), anyInt()); in testPackageDisabledAndThenEnabled()
811 mPackageManager).queryIntentServices(any(), anyInt()); in testPackageDisabledAndThenEnabled()
903 mPackageManager).queryIntentServices(any(), anyInt()); in testGetCarrierPackageNameForIntent()
938 mPackageManager).queryIntentServices(any(), anyInt()); in testGetCarrierService_haveCarrierServiceWithSimCarrierPrivileges()
950 verify(mPackageManager).queryIntentServices(any(), anyInt()); in testGetCarrierService_haveCarrierServiceWithSimCarrierPrivileges()
961 verify(mPackageManager, never()).queryIntentServices(any(), anyInt()); in testGetCarrierService_haveCarrierServiceWithSimCarrierPrivileges()
983 .queryIntentServices(any(), anyInt()); in testGetCarrierService_haveCarrierServiceWithoutSimCarrierPrivileges()
995 verify(mPackageManager).queryIntentServices(any(), anyInt()); in testGetCarrierService_haveCarrierServiceWithoutSimCarrierPrivileges()
1012 mPackageManager).queryIntentServices(any(), anyInt()); in testGetCarrierService_haveNoCarrierService()
[all …]
/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/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.java996 resolveInfos.addAll(mPackageManager.queryIntentServices(intent, 0)); in getCarrierPackageNamesForIntent()
1031 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/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/services/tests/mockingservicestests/src/com/android/server/wallpaper/
DWallpaperManagerServiceTests.java362 mIpm.queryIntentServices(intent, in testSwitchMultipleUsers()
365 doReturn(ris).when(mIpm).queryIntentServices(any(), any(), anyLong(), anyInt()); in testSwitchMultipleUsers()
394 mIpm.queryIntentServices(intent, in testSwitchThenUnlockMultipleUsers()
404 doReturn(ris).when(mIpm).queryIntentServices(any(), any(), anyLong(), eq(userId)); in testSwitchThenUnlockMultipleUsers()
/frameworks/base/packages/VpnDialogs/tests/src/com/android/vpndialogs/
DVpnDialogTest.java151 doReturn(null).when(sPm).queryIntentServices(any(), anyInt()); in setUp()
/frameworks/base/core/java/android/speech/
DSpeechRecognizer.java297 final List<ResolveInfo> list = context.getPackageManager().queryIntentServices( in isRecognitionAvailable()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DInputMethodManagerServiceRestrictImeAmountTest.java150 final List<ResolveInfo> ime = mContext.getPackageManager().queryIntentServices( in getResolveInfo()
/frameworks/base/core/java/android/content/pm/
DAppsQueryHelper.java196 return mPackageManager.queryIntentServices(intent, null, in queryIntentServicesAsUser()
DRegisteredServicesCache.java462 protected List<ResolveInfo> queryIntentServices(int userId) { in queryIntentServices() method in RegisteredServicesCache
490 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/packages/SystemUI/src/com/android/systemui/tuner/
DPluginFragment.java93 List<ResolveInfo> result = pm.queryIntentServices( in loadPrefs()
/frameworks/base/core/java/android/service/quickaccesswallet/
DQuickAccessWalletServiceInfo.java135 context.getPackageManager().queryIntentServices(intent, in getWalletServiceInfo()
/frameworks/base/core/java/android/hardware/soundtrigger/
DKeyphraseEnrollmentInfo.java144 List<ResolveInfo> ris = pm.queryIntentServices( in KeyphraseEnrollmentInfo()
/frameworks/base/core/java/com/android/internal/net/
DVpnConfig.java80 List<ResolveInfo> services = pm.queryIntentServices(intent, 0 /* flags */); in getVpnLabel()
/frameworks/base/services/core/java/com/android/server/
DNetworkScorerAppManager.java75 pm.queryIntentServices(serviceIntent, PackageManager.GET_META_DATA); in getAllValidScorers()
/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/
DWallpaperEventLoggerTest.java418 List<ResolveInfo> result = pm.queryIntentServices(intent, PackageManager.GET_META_DATA); in getWallpaperInfo()

123