Home
last modified time | relevance | path

Searched refs:ris (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/hardware/soundtrigger/
DKeyphraseEnrollmentInfo.java104 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/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java163 List<ResolveInfo> ris = pm.queryIntentActivities(intentToResolve, 0); in createMappings() local
164 if (ris == null || ris.isEmpty()) { in createMappings()
167 for (ResolveInfo ri : ris) { in createMappings()
/frameworks/base/tests/AppLaunchWear/src/com/android/tests/applaunch/
DAppLaunch.java525 List<ResolveInfo> ris = pm.queryIntentActivities(intentToResolve, 0); in createMappings() local
526 resolveLoop(ris, intentToResolve, pm); in createMappings()
529 ris = pm.queryIntentActivities(intentToResolve, 0); in createMappings()
530 resolveLoop(ris, intentToResolve, pm); in createMappings()
533 private void resolveLoop(List<ResolveInfo> ris, Intent intentToResolve, PackageManager pm) { in resolveLoop() argument
534 if (ris == null || ris.isEmpty()) { in resolveLoop()
537 for (ResolveInfo ri : ris) { in resolveLoop()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java583 List<ResolveInfo> ris = pm.queryIntentActivities(intentToResolve, 0); in createMappings() local
584 resolveLoop(ris, intentToResolve, pm); in createMappings()
587 ris = pm.queryIntentActivities(intentToResolve, 0); in createMappings()
588 resolveLoop(ris, intentToResolve, pm); in createMappings()
591 private void resolveLoop(List<ResolveInfo> ris, Intent intentToResolve, PackageManager pm) { in resolveLoop() argument
592 if (ris == null || ris.isEmpty()) { in resolveLoop()
595 for (ResolveInfo ri : ris) { in resolveLoop()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/
DMediaSessions.java189 final List<ResolveInfo> ris = pm.queryIntentServices( in getControllerName() local
191 if (ris != null) { in getControllerName()
192 for (ResolveInfo ri : ris) { in getControllerName()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartController.java218 final List<ResolveInfo> ris = in startSetupActivity() local
222 if (!ris.isEmpty()) { in startSetupActivity()
223 final ResolveInfo ri = ris.get(0); in startSetupActivity()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java219 List<ResolveInfo> ris = queryIntentActivities(intentToResolve, 0); in getLaunchIntentForPackage() local
222 if (ris == null || ris.size() <= 0) { in getLaunchIntentForPackage()
227 ris = queryIntentActivities(intentToResolve, 0); in getLaunchIntentForPackage()
229 if (ris == null || ris.size() <= 0) { in getLaunchIntentForPackage()
234 intent.setClassName(ris.get(0).activityInfo.packageName, in getLaunchIntentForPackage()
235 ris.get(0).activityInfo.name); in getLaunchIntentForPackage()
254 List<ResolveInfo> ris = queryIntentActivities(intentToResolve, 0); in getLaunchIntentForPackageAndCategory() local
256 if (ris == null || ris.size() <= 0) { in getLaunchIntentForPackageAndCategory()
261 intent.setClassName(ris.get(0).activityInfo.packageName, in getLaunchIntentForPackageAndCategory()
262 ris.get(0).activityInfo.name); in getLaunchIntentForPackageAndCategory()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java103 List<ResolveInfo> ris = null; in getPackageNamesForIntent() local
105 ris = AppGlobals.getPackageManager().queryIntentReceivers(intent, null, 0, userId) in getPackageNamesForIntent()
110 if (ris != null) { in getPackageNamesForIntent()
111 for (ResolveInfo ri : ris) { in getPackageNamesForIntent()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java2626 List<ResolveInfo> ris = in bindWallpaperComponentLocked() local
2630 for (int i=0; i<ris.size(); i++) { in bindWallpaperComponentLocked()
2631 ServiceInfo rsi = ris.get(i).serviceInfo; in bindWallpaperComponentLocked()
2635 wi = new WallpaperInfo(mContext, ris.get(i)); in bindWallpaperComponentLocked()