Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DUtils.java66 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in isHeadlessRemoteDisplayProvider() local
67 homeIntent.addCategory(Intent.CATEGORY_LAUNCHER); in isHeadlessRemoteDisplayProvider()
68 homeIntent.setPackage(packageName); in isHeadlessRemoteDisplayProvider()
70 return pm.queryIntentActivities(homeIntent, 0).isEmpty(); in isHeadlessRemoteDisplayProvider()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java220 final Intent homeIntent = new Intent(Intent.ACTION_MAIN); in goToHomeScreen() local
221 homeIntent.addCategory(Intent.CATEGORY_HOME); in goToHomeScreen()
222 homeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in goToHomeScreen()
223 startActivity(homeIntent); in goToHomeScreen()
/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.java207 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in closeApp() local
208 homeIntent.addCategory(Intent.CATEGORY_HOME); in closeApp()
209 homeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in closeApp()
211 getInstrumentation().getContext().startActivity(homeIntent); in closeApp()
/frameworks/base/services/core/java/com/android/server/wm/
DRootWindowContainer.java1441 Intent homeIntent = null; in startHomeOnTaskDisplayArea() local
1446 homeIntent = mService.getHomeIntent(); in startHomeOnTaskDisplayArea()
1447 aInfo = resolveHomeActivity(userId, homeIntent); in startHomeOnTaskDisplayArea()
1451 homeIntent = info.second; in startHomeOnTaskDisplayArea()
1454 if (aInfo == null || homeIntent == null) { in startHomeOnTaskDisplayArea()
1468 homeIntent.setComponent(new ComponentName(aInfo.applicationInfo.packageName, aInfo.name)); in startHomeOnTaskDisplayArea()
1469 homeIntent.setFlags(homeIntent.getFlags() | FLAG_ACTIVITY_NEW_TASK); in startHomeOnTaskDisplayArea()
1472 homeIntent.putExtra(WindowManagerPolicy.EXTRA_FROM_HOME_KEY, true); in startHomeOnTaskDisplayArea()
1477 homeIntent.putExtra(WindowManagerPolicy.EXTRA_START_REASON, reason); in startHomeOnTaskDisplayArea()
1483 mService.getActivityStartController().startHomeActivity(homeIntent, aInfo, myReason, in startHomeOnTaskDisplayArea()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DPinnerServiceTest.java100 Intent homeIntent = getHomeIntent(); in setUp() local
102 doReturn(homeIntent).when(mockActivityTaskManagerInternal).getHomeIntent(); in setUp()
124 mHomePackageResolveInfo = mContext.getPackageManager().resolveActivityAsUser(homeIntent, in setUp()
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/
DAppLaunch.java1118 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in startHomeIntent() local
1119 homeIntent.addCategory(Intent.CATEGORY_HOME); in startHomeIntent()
1120 homeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK in startHomeIntent()
1122 getInstrumentation().getContext().startActivity(homeIntent); in startHomeIntent()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java1987 Intent homeIntent = buildHomeIntent(category); in sendConfigurationAndStartDreamOrDockAppLocked() local
1988 if (Sandman.shouldStartDockApp(getContext(), homeIntent)) { in sendConfigurationAndStartDreamOrDockAppLocked()
1992 getContext().getAttributionTag(), homeIntent, null, null, null, 0, 0, in sendConfigurationAndStartDreamOrDockAppLocked()
1997 Slog.e(TAG, "Could not start dock app: " + homeIntent in sendConfigurationAndStartDreamOrDockAppLocked()
2001 Slog.e(TAG, "Could not start dock app: " + homeIntent, ex); in sendConfigurationAndStartDreamOrDockAppLocked()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java858 Intent homeIntent = new Intent(Intent.ACTION_MAIN) in grantDefaultSystemHandlerPermissions() local
862 getDefaultSystemHandlerActivityPackage(pm, homeIntent, userId), userId, in grantDefaultSystemHandlerPermissions()
1171 Intent homeIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_LAUNCHER); in getHeadlessSyncAdapterPackages() local
1174 homeIntent.setPackage(syncAdapterPackageName); in getHeadlessSyncAdapterPackages()
1177 homeIntent, DEFAULT_INTENT_QUERY_FLAGS, userId); in getHeadlessSyncAdapterPackages()
/frameworks/base/core/java/android/app/
DWallpaperManager.java2084 Intent homeIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME); in getCropAndSetWallpaperIntent() local
2085 ResolveInfo resolvedHome = packageManager.resolveActivity(homeIntent, in getCropAndSetWallpaperIntent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java3390 Intent homeIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME); in resolveNeedsSlowUnlockTransition() local
3391 ResolveInfo resolveInfo = mPackageManager.resolveActivityAsUser(homeIntent, in resolveNeedsSlowUnlockTransition()