Home
last modified time | relevance | path

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

/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/ui/
DUi.java51 Intent homeIntent = new Intent(Intent.ACTION_MAIN); in goHome() local
52 homeIntent.addCategory(Intent.CATEGORY_HOME); in goHome()
53 homeIntent.addFlags(FLAG_ACTIVITY_NEW_TASK); in goHome()
54 TestApis.context().instrumentedContext().startActivity(homeIntent); in goHome()
/cts/tests/quicksettings/src/android/quicksettings/cts/
DBaseTileServiceTest.java73 private Intent homeIntent; field in BaseTileServiceTest
81 homeIntent = new Intent(Intent.ACTION_MAIN); in setUp()
82 homeIntent.addCategory(Intent.CATEGORY_HOME); in setUp()
84 mLauncherPackage = mContext.getPackageManager().resolveActivity(homeIntent, in setUp()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DTurnOffWorkActivity.java97 final Intent homeIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME); in setupTests() local
126 homeIntent)); in setupTests()
150 homeIntent)); in setupTests()
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplaySystemDecorationTests.java361 Intent homeIntent = createHomeIntent(category); in sendHomeIntentToDisplay() local
362 homeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in sendHomeIntentToDisplay()
365 mContext.startActivity(homeIntent, options.toBundle()); in sendHomeIntentToDisplay()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DSecondaryLockscreenTest.java184 Intent homeIntent = new Intent(Intent.ACTION_MAIN).addCategory(Intent.CATEGORY_HOME); in getLauncherPackageName() local
186 homeIntent, 0); in getLauncherPackageName()
/cts/tests/tests/packageinstaller/adminpackageinstaller/src/android/packageinstaller/admin/cts/
DSessionCommitBroadcastTest.java83 Intent homeIntent = new Intent(Intent.ACTION_MAIN) in testBroadcastNotReceivedForDifferentLauncher() local
86 for (ResolveInfo info : mPackageManager.queryIntentActivities(homeIntent, 0)) { in testBroadcastNotReceivedForDifferentLauncher()
/cts/tests/app/src/android/app/cts/
DActivityManagerProcessStateTest.java1255 final Intent homeIntent = new Intent() in testBgRestrictedForegroundService() local
1299 mTargetContext.startActivity(homeIntent); in testBgRestrictedForegroundService()
1337 final Intent homeIntent = new Intent(); in testCantSaveStateLaunchAndBackground() local
1338 homeIntent.setAction(Intent.ACTION_MAIN); in testCantSaveStateLaunchAndBackground()
1339 homeIntent.addCategory(Intent.CATEGORY_HOME); in testCantSaveStateLaunchAndBackground()
1340 homeIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); in testCantSaveStateLaunchAndBackground()
1393 mTargetContext.startActivity(homeIntent); in testCantSaveStateLaunchAndBackground()
1486 final Intent homeIntent = new Intent(); in testCantSaveStateLaunchAndSwitch() local
1487 homeIntent.setAction(Intent.ACTION_MAIN); in testCantSaveStateLaunchAndSwitch()
1488 homeIntent.addCategory(Intent.CATEGORY_HOME); in testCantSaveStateLaunchAndSwitch()
[all …]
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerTest.java2184 final Intent homeIntent = new Intent(Intent.ACTION_MAIN) in testDefaultHomeActivity_doesntChange_whenInstallAnotherLauncher() local
2187 mPackageManager.resolveActivity(homeIntent, in testDefaultHomeActivity_doesntChange_whenInstallAnotherLauncher()
2197 mPackageManager.resolveActivity(homeIntent, in testDefaultHomeActivity_doesntChange_whenInstallAnotherLauncher()
2200 mPackageManager.queryIntentActivities(homeIntent, in testDefaultHomeActivity_doesntChange_whenInstallAnotherLauncher()