Home
last modified time | relevance | path

Searched refs:SIMPLE_APP_PKG (Results 1 – 6 of 6) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DUserControlDisabledPackagesTest.java40 private static final String SIMPLE_APP_PKG = "com.android.cts.launcherapps.simpleapp"; field in UserControlDisabledPackagesTest
47 protectedPackages.add(SIMPLE_APP_PKG); in testSetUserControlDisabledPackages()
54 intent.setClassName(SIMPLE_APP_PKG, SIMPLE_APP_ACTIVITY); in testLaunchActivity()
62 pkgs.add(SIMPLE_APP_PKG); in testForceStopWithUserControlDisabled()
68 .contains(SIMPLE_APP_PKG); in testForceStopWithUserControlDisabled()
76 .doesNotContain(SIMPLE_APP_PKG); in testClearSetUserControlDisabledPackages()
82 .doesNotContain(SIMPLE_APP_PKG); in testForceStopWithUserControlEnabled()
87 pkgs.add(SIMPLE_APP_PKG); in testFgsStopWithUserControlDisabled()
92 .contains(SIMPLE_APP_PKG); in testFgsStopWithUserControlDisabled()
101 .doesNotContain(SIMPLE_APP_PKG); in testFgsStopWithUserControlEnabled()
[all …]
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseLauncherAppsTest.java26 protected static final String SIMPLE_APP_PKG = "com.android.cts.launcherapps.simpleapp"; field in BaseLauncherAppsTest
47 getDevice().uninstallPackage(SIMPLE_APP_PKG); in uninstallTestApps()
DDeviceOwnerTest.java58 private static final String SIMPLE_APP_PKG = "com.android.cts.launcherapps.simpleapp"; field in DeviceOwnerTest
59 private static final String SIMPLE_APP_ACTIVITY = SIMPLE_APP_PKG + ".SimpleActivity";
956 startActivityAsUser(userId, SIMPLE_APP_PKG, SIMPLE_APP_ACTIVITY); in startProtectedPackage()
969 forceStopPackageForUser(SIMPLE_APP_PKG, userId); in tryForceStoppingProtectedPackage()
988 String pid = executeShellCommand(String.format("pidof %s", SIMPLE_APP_PKG)).trim(); in tryFgsStoppingProtectedPackage()
989 fgsStopPackageForUser(SIMPLE_APP_PKG, userId); in tryFgsStoppingProtectedPackage()
DLauncherAppsSingleUserTest.java114 getDevice().uninstallPackage(SIMPLE_APP_PKG); in testLauncherCallbackPackageRemovedMainUser()
DLauncherAppsProfileTest.java135 getDevice().uninstallPackage(SIMPLE_APP_PKG); in testLauncherCallbackPackageRemovedProfile()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAppSecurityTests.java51 private static final String SIMPLE_APP_PKG = "com.android.cts.simpleappinstall"; field in AppSecurityTests
133 getDevice().uninstallPackage(SIMPLE_APP_PKG); in testAppUpgradeDifferentCerts()
140 getDevice().uninstallPackage(SIMPLE_APP_PKG); in testAppUpgradeDifferentCerts()