Home
last modified time | relevance | path

Searched refs:TEST_PKG (Results 1 – 18 of 18) sorted by relevance

/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideRestrictBackgroundNetworkTests.java44 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_disabled()
49 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_whitelisted()
54 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_enabled()
59 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_blacklisted()
80 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_requiredWhitelistedPackages()
89 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeMeteredTest", in testBatterySaverModeMetered_disabled()
94 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeMeteredTest", in testBatterySaverModeMetered_whitelisted()
99 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeMeteredTest", in testBatterySaverModeMetered_enabled()
121 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeNonMeteredTest", in testBatterySaverModeNonMetered_disabled()
126 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeNonMeteredTest", in testBatterySaverModeNonMetered_whitelisted()
[all …]
DHostsideVpnTests.java37 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testDefault"); in testDefault()
41 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testAppAllowed"); in testAppAllowed()
45 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testAppDisallowed"); in testAppDisallowed()
DHostsideNetworkTestCase.java43 protected static final String TEST_PKG = "com.android.cts.net.hostside"; field in HostsideNetworkTestCase
68 uninstallPackage(TEST_PKG, false); in setUp()
76 uninstallPackage(TEST_PKG, true); in tearDown()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostJUnit4DeviceTest.java40 private static final String TEST_PKG = "android.sample.cts.app2"; field in SampleHostJUnit4DeviceTest
41 private static final String TEST_CLASS = TEST_PKG + "." + "SampleDeviceTest";
50 uninstallPackage(getDevice(), TEST_PKG); in setUp() local
57 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_PASSES)); in testRunDeviceTestsPassesInstant()
64 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_PASSES)); in testRunDeviceTestsPassesFull()
71 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_FAILS)); in testRunDeviceTestsFailsInstant()
78 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_FAILS)); in testRunDeviceTestsFailsFull()
85 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_ASSUME_FAILS)); in testRunDeviceTestsAssumeFailsInstant()
92 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_ASSUME_FAILS)); in testRunDeviceTestsAssumeFailsFull()
97 uninstallPackage(getDevice(), TEST_PKG); in tearDown() local
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DPackageVisibilityTest.java41 private static final String TEST_PKG = "com.android.cts.packageaccessapp"; field in PackageVisibilityTest
56 getDevice().uninstallPackage(TEST_PKG); in setUpPackage()
63 getDevice().uninstallPackage(TEST_PKG); in tearDown()
89 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local
91 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local
99 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local
101 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local
104 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local
127 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local
130 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local
[all …]
DPrivilegedUpdateTests.java40 private static final String TEST_PKG = "com.android.cts.privilegedupdate"; field in PrivilegedUpdateTests
81 getDevice().uninstallPackage(TEST_PKG); in setUp()
92 getDevice().uninstallPackage(TEST_PKG); in tearDown()
103 runDeviceTests(TEST_PKG, ".PrivilegedUpdateTest", "testSystemAppPriorities"); in testSystemAppPriorities()
107 runDeviceTests(TEST_PKG, ".PrivilegedUpdateTest", "testPrivilegedAppPriorities"); in testPrivilegedAppPriorities()
121 runDeviceTests(TEST_PKG, ".PrivilegedUpdateTest", "testPrivilegedAppUpgradePriorities"); in testPrivilegedAppUpgradePriorities()
129 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testPrivAppAndEnabled"); in testDisableSystemApp()
131 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testPrivAppAndDisabled"); in testDisableSystemApp()
141 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testPrivAppAndEnabled"); in testDisableUpdatedSystemApp()
146 runDeviceTests(TEST_PKG, ".PrivilegedAppDisableTest", "testUpdatedPrivAppAndDisabled"); in testDisableUpdatedSystemApp()
[all …]
DPkgInstallSignatureVerificationTest.java43 private static final String TEST_PKG = "android.appsecurity.cts.tinyapp"; field in PkgInstallSignatureVerificationTest
885 return getDevice().uninstallPackage(TEST_PKG); in uninstallPackage()
/cts/hostsidetests/seccomp/src/android/seccomp/cts/
DSeccompHostJUnit4DeviceTest.java38 private static final String TEST_PKG = "android.seccomp.cts.app"; field in SeccompHostJUnit4DeviceTest
39 private static final String TEST_CLASS = TEST_PKG + "." + "SeccompDeviceTest";
52 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_CTS_SYSCALL_BLOCKED)); in testCTSSyscallBlocked()
57 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_CTS_SYSCALL_ALLOWED)); in testCTSSyscallAllowed()
62 uninstallPackage(getDevice(), TEST_PKG); in tearDown() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegationTest.java47 private static final String TEST_PKG = "com.android.cts.apprestrictions.targetapp"; field in DelegationTest
154 TEST_PKG, otherScopes); in testCanRetrieveDelegates()
160 .contains(TEST_PKG)); in testCanRetrieveDelegates()
164 .contains(TEST_PKG)); in testCanRetrieveDelegates()
168 .contains(TEST_PKG)); in testCanRetrieveDelegates()
174 .contains(TEST_PKG)); in testCanRetrieveDelegates()
DClearApplicationDataTest.java28 private static final String TEST_PKG = "com.android.cts.intent.receiver"; field in ClearApplicationDataTest
34 clearApplicationDataTest(TEST_PKG, /* shouldSucceed */ true); in testClearApplicationData_testPkg()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTest.java43 private static final String TEST_PKG = "com.android.cts.atracetestapp"; field in AtraceHostTest
201 getDevice().uninstallPackage(TEST_PKG); in testTracingContent()
213 String atraceArgs = "-a " + TEST_PKG + " -c -b 16000 view"; // TODO: zipping in testTracingContent()
216 getDevice().executeShellCommand("am start " + TEST_PKG); in testTracingContent()
221 getDevice().uninstallPackage(TEST_PKG); in testTracingContent()
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DCommon.java52 static final String TEST_PKG = "com.android.cts.net.hostside"; field in Common
53 static final String KEY_NETWORK_STATE_OBSERVER = TEST_PKG + ".observer";
DMyActivity.java20 import static com.android.cts.net.hostside.app2.Common.TEST_PKG;
DMyForegroundService.java19 import static com.android.cts.net.hostside.app2.Common.TEST_PKG;
/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerHostTest.java38 private static final String TEST_PKG = "com.android.cts.tv.hostside"; field in TvInputManagerHostTest
83 uninstallPackage(TEST_PKG, false); in setUp()
94 uninstallPackage(TEST_PKG, true); in tearDown()
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java51 private static final String TEST_PKG = "com.android.cts.encryptionapp"; field in EncryptionAppTest
286 return new ComponentName(TEST_PKG, TEST_PKG + "." + prefix + type); in buildName()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DBatteryStatsDumpsysTest.java33 private static final String TEST_PKG = "com.android.cts.framestatstestapp"; field in BatteryStatsDumpsysTest
717 getDevice().uninstallPackage(TEST_PKG); in testGfxinfoFramestats()
727 getDevice().executeShellCommand("am start -W " + TEST_PKG); in testGfxinfoFramestats()
730 TEST_PKG + " framestats"); in testGfxinfoFramestats()
741 getDevice().uninstallPackage(TEST_PKG); in testGfxinfoFramestats()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java62 protected static final String TEST_PKG = "com.android.cts.net.hostside"; field in AbstractRestrictBackgroundNetworkTestCase
98 private static final String KEY_NETWORK_STATE_OBSERVER = TEST_PKG + ".observer";
918 && !str.contains(TEST_PKG) && !str.contains(TEST_APP2_PKG)) { in getUsageStatsDump()