Searched refs:intentToResolve (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/tests/AppLaunchWear/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 521 Intent intentToResolve = new Intent(Intent.ACTION_MAIN); in createMappings() local 522 intentToResolve.addCategory(hasLeanback(getInstrumentation().getContext()) ? in createMappings() 525 List<ResolveInfo> ris = pm.queryIntentActivities(intentToResolve, 0); in createMappings() 526 resolveLoop(ris, intentToResolve, pm); in createMappings() 528 intentToResolve = new Intent(WEARABLE_ACTION_GOOGLE); 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 538 Intent startIntent = new Intent(intentToResolve); in resolveLoop()
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 161 Intent intentToResolve = new Intent(Intent.ACTION_MAIN); in createMappings() local 162 intentToResolve.addCategory(Intent.CATEGORY_LAUNCHER); in createMappings() 163 List<ResolveInfo> ris = pm.queryIntentActivities(intentToResolve, 0); in createMappings() 171 Intent startIntent = new Intent(intentToResolve); in createMappings()
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 1024 Intent intentToResolve = new Intent(Intent.ACTION_MAIN); in createMappings() local 1025 intentToResolve.addCategory(hasLeanback(getInstrumentation().getContext()) ? in createMappings() 1028 List<ResolveInfo> ris = pm.queryIntentActivities(intentToResolve, 0); in createMappings() 1029 resolveLoop(ris, intentToResolve, pm); in createMappings() 1031 intentToResolve = new Intent(WEARABLE_ACTION_GOOGLE); in createMappings() 1032 ris = pm.queryIntentActivities(intentToResolve, 0); in createMappings() 1033 resolveLoop(ris, intentToResolve, pm); in createMappings() 1036 private void resolveLoop(List<ResolveInfo> ris, Intent intentToResolve, PackageManager pm) { in resolveLoop() argument 1041 Intent startIntent = new Intent(intentToResolve); in resolveLoop()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 216 Intent intentToResolve = new Intent(Intent.ACTION_MAIN); in getLaunchIntentForPackage() local 217 intentToResolve.addCategory(Intent.CATEGORY_INFO); in getLaunchIntentForPackage() 218 intentToResolve.setPackage(packageName); in getLaunchIntentForPackage() 219 List<ResolveInfo> ris = queryIntentActivities(intentToResolve, 0); in getLaunchIntentForPackage() 224 intentToResolve.removeCategory(Intent.CATEGORY_INFO); in getLaunchIntentForPackage() 225 intentToResolve.addCategory(Intent.CATEGORY_LAUNCHER); in getLaunchIntentForPackage() 226 intentToResolve.setPackage(packageName); in getLaunchIntentForPackage() 227 ris = queryIntentActivities(intentToResolve, 0); in getLaunchIntentForPackage() 232 Intent intent = new Intent(intentToResolve); in getLaunchIntentForPackage() 251 Intent intentToResolve = new Intent(Intent.ACTION_MAIN); in getLaunchIntentForPackageAndCategory() local [all …]
|