Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DUtils.java106 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/
DWorkLockActivity.java168 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/
DRootActivityContainer.java374 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/
DAppCompatibility.java234 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/
DMemoryUsageTest.java205 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/
DRootActivityContainerTests.java687 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/
DAppLaunch.java607 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/
DUiModeManagerService.java1089 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/
DDefaultPermissionGrantPolicy.java665 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/
DAppLaunch.java1116 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/
DWallpaperManager.java1106 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/
DKeyguardUpdateMonitor.java2242 Intent homeIntent = new Intent(Intent.ACTION_MAIN) in resolveNeedsSlowUnlockTransition() local
2244 ResolveInfo resolveInfo = mContext.getPackageManager().resolveActivity(homeIntent, in resolveNeedsSlowUnlockTransition()