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.java61 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in isHeadlessRemoteDisplayProvider() local
62 homeIntent.addCategory(Intent.CATEGORY_LAUNCHER); in isHeadlessRemoteDisplayProvider()
63 homeIntent.setPackage(packageName); in isHeadlessRemoteDisplayProvider()
65 return pm.queryIntentActivities(homeIntent, 0).isEmpty(); in isHeadlessRemoteDisplayProvider()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java216 final Intent homeIntent = new Intent(Intent.ACTION_MAIN); in goToHomeScreen() local
217 homeIntent.addCategory(Intent.CATEGORY_HOME); in goToHomeScreen()
218 homeIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in goToHomeScreen()
219 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.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/core/java/com/android/server/wm/
DRootWindowContainer.java1440 Intent homeIntent = null; in startHomeOnTaskDisplayArea() local
1443 homeIntent = mService.getHomeIntent(); in startHomeOnTaskDisplayArea()
1444 aInfo = resolveHomeActivity(userId, homeIntent); in startHomeOnTaskDisplayArea()
1448 homeIntent = info.second; in startHomeOnTaskDisplayArea()
1450 if (aInfo == null || homeIntent == null) { in startHomeOnTaskDisplayArea()
1459 homeIntent.setComponent(new ComponentName(aInfo.applicationInfo.packageName, aInfo.name)); in startHomeOnTaskDisplayArea()
1460 homeIntent.setFlags(homeIntent.getFlags() | FLAG_ACTIVITY_NEW_TASK); in startHomeOnTaskDisplayArea()
1463 homeIntent.putExtra(WindowManagerPolicy.EXTRA_FROM_HOME_KEY, true); in startHomeOnTaskDisplayArea()
1468 homeIntent.putExtra(WindowManagerPolicy.EXTRA_START_REASON, reason); in startHomeOnTaskDisplayArea()
1474 mService.getActivityStartController().startHomeActivity(homeIntent, aInfo, myReason, in startHomeOnTaskDisplayArea()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DPinnerServiceTest.java93 Intent homeIntent = getHomeIntent(); in setUp() local
95 doReturn(homeIntent).when(mockActivityTaskManagerInternal).getHomeIntent(); in setUp()
106 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.java1817 Intent homeIntent = buildHomeIntent(category); in sendConfigurationAndStartDreamOrDockAppLocked() local
1818 if (Sandman.shouldStartDockApp(getContext(), homeIntent)) { in sendConfigurationAndStartDreamOrDockAppLocked()
1822 getContext().getAttributionTag(), homeIntent, null, null, null, 0, 0, in sendConfigurationAndStartDreamOrDockAppLocked()
1827 Slog.e(TAG, "Could not start dock app: " + homeIntent in sendConfigurationAndStartDreamOrDockAppLocked()
1831 Slog.e(TAG, "Could not start dock app: " + homeIntent, ex); in sendConfigurationAndStartDreamOrDockAppLocked()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java840 Intent homeIntent = new Intent(Intent.ACTION_MAIN) in grantDefaultSystemHandlerPermissions() local
844 getDefaultSystemHandlerActivityPackage(pm, homeIntent, userId), userId, in grantDefaultSystemHandlerPermissions()
1148 Intent homeIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_LAUNCHER); in getHeadlessSyncAdapterPackages() local
1151 homeIntent.setPackage(syncAdapterPackageName); in getHeadlessSyncAdapterPackages()
1154 homeIntent, DEFAULT_INTENT_QUERY_FLAGS, userId); in getHeadlessSyncAdapterPackages()
/frameworks/base/core/java/android/app/
DWallpaperManager.java1553 Intent homeIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME); in getCropAndSetWallpaperIntent() local
1554 ResolveInfo resolvedHome = packageManager.resolveActivity(homeIntent, in getCropAndSetWallpaperIntent()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java3520 Intent homeIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME); in resolveNeedsSlowUnlockTransition() local
3521 ResolveInfo resolveInfo = mPackageManager.resolveActivityAsUser(homeIntent, in resolveNeedsSlowUnlockTransition()