/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | Utils.java | 106 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in isHeadlessRemoteDisplayProvider() local 107 homeIntent.addCategory(Intent.CATEGORY_LAUNCHER); in isHeadlessRemoteDisplayProvider() 108 homeIntent.setPackage(packageName); in isHeadlessRemoteDisplayProvider() 110 return pm.queryIntentActivities(homeIntent, 0).isEmpty(); in isHeadlessRemoteDisplayProvider()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | WorkLockActivity.java | 168 final Intent homeIntent = new Intent(Intent.ACTION_MAIN); in goToHomeScreen() local 169 homeIntent.addCategory(Intent.CATEGORY_HOME); in goToHomeScreen() 170 homeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in goToHomeScreen() 171 startActivity(homeIntent); in goToHomeScreen()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RootActivityContainer.java | 374 Intent homeIntent = null; in startHomeOnDisplay() local 377 homeIntent = mService.getHomeIntent(); in startHomeOnDisplay() 378 aInfo = resolveHomeActivity(userId, homeIntent); in startHomeOnDisplay() 382 homeIntent = info.second; in startHomeOnDisplay() 384 if (aInfo == null || homeIntent == null) { in startHomeOnDisplay() 393 homeIntent.setComponent(new ComponentName(aInfo.applicationInfo.packageName, aInfo.name)); in startHomeOnDisplay() 394 homeIntent.setFlags(homeIntent.getFlags() | FLAG_ACTIVITY_NEW_TASK); in startHomeOnDisplay() 397 homeIntent.putExtra(WindowManagerPolicy.EXTRA_FROM_HOME_KEY, true); in startHomeOnDisplay() 403 mService.getActivityStartController().startHomeActivity(homeIntent, aInfo, myReason, in startHomeOnDisplay() 413 ActivityInfo resolveHomeActivity(int userId, Intent homeIntent) { in resolveHomeActivity() argument [all …]
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
D | AppCompatibility.java | 234 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in returnHome() local 235 homeIntent.addCategory(Intent.CATEGORY_HOME); in returnHome() 236 homeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in returnHome() 238 mContext.startActivity(homeIntent); in returnHome()
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 205 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in closeApp() local 206 homeIntent.addCategory(Intent.CATEGORY_HOME); in closeApp() 207 homeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in closeApp() 209 getInstrumentation().getContext().startActivity(homeIntent); in closeApp()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RootActivityContainerTests.java | 687 final Intent homeIntent = mService.getHomeIntent(); in testResolveSecondaryHomeActivityForced() local 693 refEq(homeIntent)); in testResolveSecondaryHomeActivityForced() 703 refEq(homeIntent)); in testResolveSecondaryHomeActivityForced() 861 final Intent homeIntent = mService.getHomeIntent(); in mockResolveHomeActivity() local 867 refEq(homeIntent)); in mockResolveHomeActivity()
|
/frameworks/base/tests/AppLaunchWear/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 607 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in closeApp() local 608 homeIntent.addCategory(Intent.CATEGORY_HOME); in closeApp() 609 homeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in closeApp() 611 getInstrumentation().getContext().startActivity(homeIntent); in closeApp()
|
/frameworks/base/services/core/java/com/android/server/ |
D | UiModeManagerService.java | 1089 Intent homeIntent = buildHomeIntent(category); in sendConfigurationAndStartDreamOrDockAppLocked() local 1090 if (Sandman.shouldStartDockApp(getContext(), homeIntent)) { in sendConfigurationAndStartDreamOrDockAppLocked() 1093 null, null, homeIntent, null, null, null, 0, 0, in sendConfigurationAndStartDreamOrDockAppLocked() 1098 Slog.e(TAG, "Could not start dock app: " + homeIntent in sendConfigurationAndStartDreamOrDockAppLocked() 1102 Slog.e(TAG, "Could not start dock app: " + homeIntent, ex); in sendConfigurationAndStartDreamOrDockAppLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | DefaultPermissionGrantPolicy.java | 665 Intent homeIntent = new Intent(Intent.ACTION_MAIN) in grantDefaultSystemHandlerPermissions() local 669 getDefaultSystemHandlerActivityPackage(homeIntent, userId), userId, in grantDefaultSystemHandlerPermissions() 938 Intent homeIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_LAUNCHER); in getHeadlessSyncAdapterPackages() local 941 homeIntent.setPackage(syncAdapterPackageName); in getHeadlessSyncAdapterPackages() 944 homeIntent, DEFAULT_INTENT_QUERY_FLAGS, userId); in getHeadlessSyncAdapterPackages()
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 1116 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in startHomeIntent() local 1117 homeIntent.addCategory(Intent.CATEGORY_HOME); in startHomeIntent() 1118 homeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in startHomeIntent() 1120 getInstrumentation().getContext().startActivity(homeIntent); in startHomeIntent()
|
/frameworks/base/core/java/android/app/ |
D | WallpaperManager.java | 1106 Intent homeIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME); in getCropAndSetWallpaperIntent() local 1107 ResolveInfo resolvedHome = packageManager.resolveActivity(homeIntent, in getCropAndSetWallpaperIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 2242 Intent homeIntent = new Intent(Intent.ACTION_MAIN) in resolveNeedsSlowUnlockTransition() local 2244 ResolveInfo resolveInfo = mContext.getPackageManager().resolveActivity(homeIntent, in resolveNeedsSlowUnlockTransition()
|