Home
last modified time | relevance | path

Searched refs:TEST_APP_PKG (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DSilentPackageInstallTest.java29 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testSilentInstallUninstall()
36 mDevicePolicyManager.setUninstallBlocked(getWho(), TEST_APP_PKG, true); in testUninstallBlocked() local
37 assertTrue(mDevicePolicyManager.isUninstallBlocked(getWho(), TEST_APP_PKG)); in testUninstallBlocked() local
38 assertTrue(mDevicePolicyManager.isUninstallBlocked(null, TEST_APP_PKG)); in testUninstallBlocked()
40 assertTrue(isPackageInstalled(TEST_APP_PKG)); in testUninstallBlocked()
42 mDevicePolicyManager.setUninstallBlocked(getWho(), TEST_APP_PKG, false); in testUninstallBlocked() local
43 assertFalse(mDevicePolicyManager.isUninstallBlocked(getWho(), TEST_APP_PKG)); in testUninstallBlocked() local
44 assertFalse(mDevicePolicyManager.isUninstallBlocked(null, TEST_APP_PKG)); in testUninstallBlocked()
46 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testUninstallBlocked()
DBasePackageInstallTest.java44 protected static final String TEST_APP_PKG = "com.android.cts.launcherapps.simpleapp"; field in BasePackageInstallTest
71 assertEquals(TEST_APP_PKG, intent.getStringExtra(
94 assertFalse(isPackageInstalled(TEST_APP_PKG)); in setUp()
101 mDevicePolicyManager.setUninstallBlocked(getWho(), TEST_APP_PKG, false); in tearDown() local
119 assertFalse(isPackageInstalled(TEST_APP_PKG)); in assertInstallPackage()
133 assertTrue(isPackageInstalled(TEST_APP_PKG)); in assertInstallPackage()
137 assertTrue(isPackageInstalled(TEST_APP_PKG)); in tryUninstallPackage()
142 mPackageInstaller.uninstall(TEST_APP_PKG, getCommitCallback(0)); in tryUninstallPackage()
DManualPackageInstallTest.java73 assertFalse(isPackageInstalled(TEST_APP_PKG)); in testManualInstallBlocked()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DCustomDeviceOwnerTest.java51 private static final String TEST_APP_PKG = "com.android.cts.launcherapps.simpleapp"; field in CustomDeviceOwnerTest
141 getDevice().uninstallPackage(TEST_APP_PKG); in testSilentPackageInstall()
150 getDevice().uninstallPackage(TEST_APP_PKG); in testSilentPackageInstall()
DDeviceAndProfileOwnerTest.java47 private static final String TEST_APP_PKG = "com.android.cts.launcherapps.simpleapp"; field in DeviceAndProfileOwnerTest
233 getDevice().uninstallPackage(TEST_APP_PKG); in testPackageInstallUserRestrictions()
254 getDevice().uninstallPackage(TEST_APP_PKG); in testPackageInstallUserRestrictions()