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.java153 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in launchActivity() local
154 homeIntent.addCategory(Intent.CATEGORY_HOME); in launchActivity()
155 homeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in launchActivity()
177 mContext.startActivity(homeIntent); in launchActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
DRecentsActivity.java151 Intent homeIntent = new Intent(Intent.ACTION_MAIN, null); in dismissAndGoHome() local
152 homeIntent.addCategory(Intent.CATEGORY_HOME); in dismissAndGoHome()
153 homeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK in dismissAndGoHome()
155 startActivityAsUser(homeIntent, new UserHandle(UserHandle.USER_CURRENT)); in dismissAndGoHome()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java271 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in closeApp() local
272 homeIntent.addCategory(Intent.CATEGORY_HOME); in closeApp()
273 homeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in closeApp()
275 getInstrumentation().getContext().startActivity(homeIntent); in closeApp()
/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/services/core/java/com/android/server/
DUiModeManagerService.java543 Intent homeIntent = buildHomeIntent(category); in sendConfigurationAndStartDreamOrDockAppLocked() local
544 if (Sandman.shouldStartDockApp(getContext(), homeIntent)) { in sendConfigurationAndStartDreamOrDockAppLocked()
547 null, null, homeIntent, null, null, null, 0, 0, in sendConfigurationAndStartDreamOrDockAppLocked()
552 Slog.e(TAG, "Could not start dock app: " + homeIntent in sendConfigurationAndStartDreamOrDockAppLocked()
556 Slog.e(TAG, "Could not start dock app: " + homeIntent, ex); in sendConfigurationAndStartDreamOrDockAppLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsActivity.java211 Intent homeIntent = new Intent(Intent.ACTION_MAIN, null); in updateRecentsTasks() local
212 homeIntent.addCategory(Intent.CATEGORY_HOME); in updateRecentsTasks()
213 homeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | in updateRecentsTasks()
215 mFinishLaunchHomeRunnable = new FinishRecentsRunnable(homeIntent, in updateRecentsTasks()
/frameworks/base/core/java/android/app/
DWallpaperManager.java670 Intent homeIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME); in getCropAndSetWallpaperIntent() local
671 ResolveInfo resolvedHome = packageManager.resolveActivity(homeIntent, in getCropAndSetWallpaperIntent()