/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerServiceUtils.java | 54 List<ResolveInfo> ris = null; in getPackageNamesForIntent() local 56 ris = AppGlobals.getPackageManager().queryIntentReceivers(intent, null, 0, userId) in getPackageNamesForIntent() 61 if (ris != null) { in getPackageNamesForIntent() 62 for (ResolveInfo ri : ris) { in getPackageNamesForIntent()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | KeyphraseEnrollmentInfo.java | 104 List<ResolveInfo> ris = pm.queryIntentActivities( in KeyphraseEnrollmentInfo() local 106 if (ris == null || ris.isEmpty()) { in KeyphraseEnrollmentInfo() 116 for (ResolveInfo ri : ris) { in KeyphraseEnrollmentInfo()
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 440 List<ResolveInfo> ris = pm.queryIntentActivities(intentToResolve, 0); in createMappings() local 441 resolveLoop(ris, intentToResolve, pm); in createMappings() 444 ris = pm.queryIntentActivities(intentToResolve, 0); in createMappings() 445 resolveLoop(ris, intentToResolve, pm); in createMappings() 448 private void resolveLoop(List<ResolveInfo> ris, Intent intentToResolve, PackageManager pm) { in resolveLoop() argument 449 if (ris == null || ris.isEmpty()) { in resolveLoop() 452 for (ResolveInfo ri : ris) { in resolveLoop()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationInfoTest.java | 746 List<ResolveInfo> ris = new ArrayList<>(); in testDisplaySettingsLink() local 747 ris.add(ri); in testDisplaySettingsLink() 748 when(mMockPackageManager.queryIntentActivities(any(), anyInt())).thenReturn(ris); in testDisplaySettingsLink() 777 List<ResolveInfo> ris = new ArrayList<>(); in testDisplaySettingsLink_multipleChannels() local 778 ris.add(ri); in testDisplaySettingsLink_multipleChannels() 779 when(mMockPackageManager.queryIntentActivities(any(), anyInt())).thenReturn(ris); in testDisplaySettingsLink_multipleChannels() 821 List<ResolveInfo> ris = new ArrayList<>(); in testNoSettingsLink_noLinkText() local 822 ris.add(ri); in testNoSettingsLink_noLinkText() 823 when(mMockPackageManager.queryIntentActivities(any(), anyInt())).thenReturn(ris); in testNoSettingsLink_noLinkText() 844 List<ResolveInfo> ris = new ArrayList<>(); in testNoSettingsLink_afterBlockingChannel() local [all …]
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 159 List<ResolveInfo> ris = pm.queryIntentActivities(intentToResolve, 0); in createMappings() local 160 if (ris == null || ris.isEmpty()) { in createMappings() 163 for (ResolveInfo ri : ris) { in createMappings()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | MediaSessions.java | 174 final List<ResolveInfo> ris = pm.queryIntentServices( in getControllerName() local 176 if (ris != null) { in getControllerName() 177 for (ResolveInfo ri : ris) { in getControllerName()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 197 List<ResolveInfo> ris = queryIntentActivities(intentToResolve, 0); in getLaunchIntentForPackage() local 200 if (ris == null || ris.size() <= 0) { in getLaunchIntentForPackage() 205 ris = queryIntentActivities(intentToResolve, 0); in getLaunchIntentForPackage() 207 if (ris == null || ris.size() <= 0) { in getLaunchIntentForPackage() 212 intent.setClassName(ris.get(0).activityInfo.packageName, in getLaunchIntentForPackage() 213 ris.get(0).activityInfo.name); in getLaunchIntentForPackage() 223 List<ResolveInfo> ris = queryIntentActivities(intentToResolve, 0); in getLeanbackLaunchIntentForPackage() local 225 if (ris == null || ris.size() <= 0) { in getLeanbackLaunchIntentForPackage() 230 intent.setClassName(ris.get(0).activityInfo.packageName, in getLeanbackLaunchIntentForPackage() 231 ris.get(0).activityInfo.name); in getLeanbackLaunchIntentForPackage()
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
D | WallpaperManagerService.java | 1696 List<ResolveInfo> ris = in bindWallpaperComponentLocked() local 1700 for (int i=0; i<ris.size(); i++) { in bindWallpaperComponentLocked() 1701 ServiceInfo rsi = ris.get(i).serviceInfo; in bindWallpaperComponentLocked() 1705 wi = new WallpaperInfo(mContext, ris.get(i)); in bindWallpaperComponentLocked()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 4125 final List<ResolveInfo> ris = mContext.getPackageManager().queryIntentActivities(intent, in startSetupActivityLocked() local 4127 if (!ris.isEmpty()) { in startSetupActivityLocked() 4128 final ResolveInfo ri = ris.get(0); in startSetupActivityLocked()
|