Home
last modified time | relevance | path

Searched refs:homeIntent (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java156 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in returnHome() local
157 homeIntent.addCategory(Intent.CATEGORY_HOME); in returnHome()
158 homeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in returnHome()
160 mContext.startActivity(homeIntent); in returnHome()
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/
DMemoryUsageTest.java202 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in closeApp() local
203 homeIntent.addCategory(Intent.CATEGORY_HOME); in closeApp()
204 homeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in closeApp()
206 getInstrumentation().getContext().startActivity(homeIntent); in closeApp()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java292 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in closeApp() local
293 homeIntent.addCategory(Intent.CATEGORY_HOME); in closeApp()
294 homeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in closeApp()
296 getInstrumentation().getContext().startActivity(homeIntent); in closeApp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/
DRecentsTvActivity.java333 Intent homeIntent = new Intent(Intent.ACTION_MAIN, null); in onCreate() local
334 homeIntent.addCategory(Intent.CATEGORY_HOME); in onCreate()
335 homeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | in onCreate()
337 homeIntent.putExtra(RECENTS_HOME_INTENT_EXTRA, true); in onCreate()
338 mFinishLaunchHomeRunnable = new FinishRecentsRunnable(homeIntent); in onCreate()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java594 Intent homeIntent = buildHomeIntent(category); in sendConfigurationAndStartDreamOrDockAppLocked() local
595 if (Sandman.shouldStartDockApp(getContext(), homeIntent)) { in sendConfigurationAndStartDreamOrDockAppLocked()
598 null, null, homeIntent, null, null, null, 0, 0, in sendConfigurationAndStartDreamOrDockAppLocked()
603 Slog.e(TAG, "Could not start dock app: " + homeIntent in sendConfigurationAndStartDreamOrDockAppLocked()
607 Slog.e(TAG, "Could not start dock app: " + homeIntent, ex); in sendConfigurationAndStartDreamOrDockAppLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DDefaultPermissionGrantPolicy.java562 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in grantDefaultSystemHandlerPermissions() local
563 homeIntent.addCategory(Intent.CATEGORY_HOME_MAIN); in grantDefaultSystemHandlerPermissions()
566 homeIntent, userId); in grantDefaultSystemHandlerPermissions()
748 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in getHeadlessSyncAdapterPackagesLPr() local
749 homeIntent.addCategory(Intent.CATEGORY_LAUNCHER); in getHeadlessSyncAdapterPackagesLPr()
752 homeIntent.setPackage(syncAdapterPackageName); in getHeadlessSyncAdapterPackagesLPr()
754 ResolveInfo homeActivity = mService.resolveIntent(homeIntent, in getHeadlessSyncAdapterPackagesLPr()
755 homeIntent.resolveType(mService.mContext.getContentResolver()), DEFAULT_FLAGS, in getHeadlessSyncAdapterPackagesLPr()
/frameworks/base/core/java/android/app/
DWallpaperManager.java858 Intent homeIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME); in getCropAndSetWallpaperIntent() local
859 ResolveInfo resolvedHome = packageManager.resolveActivity(homeIntent, in getCropAndSetWallpaperIntent()