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.java201 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in closeApp() local
202 homeIntent.addCategory(Intent.CATEGORY_HOME); in closeApp()
203 homeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in closeApp()
205 getInstrumentation().getContext().startActivity(homeIntent); in closeApp()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java637 Intent homeIntent = buildHomeIntent(category); in sendConfigurationAndStartDreamOrDockAppLocked() local
638 if (Sandman.shouldStartDockApp(getContext(), homeIntent)) { in sendConfigurationAndStartDreamOrDockAppLocked()
641 null, null, homeIntent, null, null, null, 0, 0, in sendConfigurationAndStartDreamOrDockAppLocked()
646 Slog.e(TAG, "Could not start dock app: " + homeIntent in sendConfigurationAndStartDreamOrDockAppLocked()
650 Slog.e(TAG, "Could not start dock app: " + homeIntent, ex); in sendConfigurationAndStartDreamOrDockAppLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DDefaultPermissionGrantPolicy.java629 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in grantDefaultSystemHandlerPermissions() local
630 homeIntent.addCategory(Intent.CATEGORY_HOME_MAIN); in grantDefaultSystemHandlerPermissions()
633 homeIntent, userId); in grantDefaultSystemHandlerPermissions()
869 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in getHeadlessSyncAdapterPackagesLPr() local
870 homeIntent.addCategory(Intent.CATEGORY_LAUNCHER); in getHeadlessSyncAdapterPackagesLPr()
873 homeIntent.setPackage(syncAdapterPackageName); in getHeadlessSyncAdapterPackagesLPr()
875 ResolveInfo homeActivity = mService.resolveIntent(homeIntent, in getHeadlessSyncAdapterPackagesLPr()
876 homeIntent.resolveType(mService.mContext.getContentResolver()), DEFAULT_FLAGS, in getHeadlessSyncAdapterPackagesLPr()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java522 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in closeApp() local
523 homeIntent.addCategory(Intent.CATEGORY_HOME); in closeApp()
524 homeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in closeApp()
526 getInstrumentation().getContext().startActivity(homeIntent); in closeApp()
/frameworks/base/core/java/android/app/
DWallpaperManager.java875 Intent homeIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME); in getCropAndSetWallpaperIntent() local
876 ResolveInfo resolvedHome = packageManager.resolveActivity(homeIntent, in getCropAndSetWallpaperIntent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java1465 Intent homeIntent = new Intent(Intent.ACTION_MAIN) in resolveNeedsSlowUnlockTransition() local
1467 ResolveInfo resolveInfo = mContext.getPackageManager().resolveActivity(homeIntent, in resolveNeedsSlowUnlockTransition()