Home
last modified time | relevance | path

Searched refs:TEST_PKG (Results 1 – 19 of 19) 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()
85 runDeviceTests(TEST_PKG, TEST_PKG + ".DataSaverModeTest", in testDataSaverMode_broadcastNotSentOnUnsupportedDevices()
94 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeMeteredTest", in testBatterySaverModeMetered_disabled()
99 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeMeteredTest", in testBatterySaverModeMetered_whitelisted()
104 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeMeteredTest", in testBatterySaverModeMetered_enabled()
126 runDeviceTests(TEST_PKG, TEST_PKG + ".BatterySaverModeNonMeteredTest", in testBatterySaverModeNonMetered_disabled()
[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()
49 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testGetConnectionOwnerUidSecurity"); in testGetConnectionOwnerUidSecurity()
53 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testSetProxy"); in testSetProxy()
57 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testSetProxyDisallowedApps"); in testSetProxyDisallowedApps()
61 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testNoProxy"); in testNoProxy()
65 runDeviceTests(TEST_PKG, TEST_PKG + ".VpnTest", "testBindToNetworkWithProxy"); in testBindToNetworkWithProxy()
70 TEST_PKG, TEST_PKG + ".VpnTest", "testVpnMeterednessWithNoUnderlyingNetwork"); in testVpnMeterednessWithNoUnderlyingNetwork()
75 TEST_PKG, TEST_PKG + ".VpnTest", "testVpnMeterednessWithNullUnderlyingNetwork"); in testVpnMeterednessWithNullUnderlyingNetwork()
[all …]
DHostsideNetworkCallbackTests.java33 runDeviceTests(TEST_PKG, in testOnBlockedStatusChanged_data_saver()
34 TEST_PKG + ".NetworkCallbackTest", "testOnBlockedStatusChanged_data_saver"); in testOnBlockedStatusChanged_data_saver()
38 runDeviceTests(TEST_PKG, in testOnBlockedStatusChanged_power_saver()
39 TEST_PKG + ".NetworkCallbackTest", "testOnBlockedStatusChanged_power_saver"); in testOnBlockedStatusChanged_power_saver()
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()
97 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local
99 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local
107 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local
109 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local
112 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local
135 Utils.runDeviceTests(getDevice(), TEST_PKG, in testUninstalledPackageVisibility() local
138 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.java41 private static final String TEST_PKG = "android.appsecurity.cts.tinyapp"; field in PkgInstallSignatureVerificationTest
890 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 Assert.assertTrue(runDeviceTests(TEST_PKG, TEST_CLASS, TEST_CTS_SYSCALL_APP_ZYGOTE)); in testAppZygoteSyscalls()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegationTest.java55 private static final String TEST_PKG = "com.android.cts.apprestrictions.targetapp"; field in DelegationTest
99 TEST_PKG, Collections.emptyList()); in tearDown()
166 TEST_PKG, otherScopes); in testCanRetrieveDelegates()
172 .contains(TEST_PKG)); in testCanRetrieveDelegates()
176 .contains(TEST_PKG)); in testCanRetrieveDelegates()
180 .contains(TEST_PKG)); in testCanRetrieveDelegates()
186 .contains(TEST_PKG)); in testCanRetrieveDelegates()
228 TEST_PKG, Collections.singletonList(scope)); in testExclusiveDelegation()
231 assertThat(mDevicePolicyManager.getDelegatedScopes(ADMIN_RECEIVER_COMPONENT, TEST_PKG)) in testExclusiveDelegation()
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/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/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/atrace/src/android/atrace/cts/
DAtraceHostTestBase.java46 protected static final String TEST_PKG = "com.android.cts.atracetestapp"; field in AtraceHostTestBase
104 getDevice().uninstallPackage(TEST_PKG); in run()
184 return runDeviceTests(TEST_PKG, TEST_CLASS, testname); in runAppTest()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DBatteryStatsDumpsysTest.java34 private static final String TEST_PKG = "com.android.cts.framestatstestapp"; field in BatteryStatsDumpsysTest
726 getDevice().uninstallPackage(TEST_PKG); in testGfxinfoFramestats()
736 getDevice().executeShellCommand("am start -W " + TEST_PKG); in testGfxinfoFramestats()
739 TEST_PKG + " framestats"); in testGfxinfoFramestats()
750 getDevice().uninstallPackage(TEST_PKG); in testGfxinfoFramestats()
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DEncryptionAppTest.java61 private static final String TEST_PKG = "com.android.cts.encryptionapp"; field in EncryptionAppTest
326 return new ComponentName(TEST_PKG, TEST_PKG + "." + prefix + type); in buildName()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java66 protected static final String TEST_PKG = "com.android.cts.net.hostside"; field in AbstractRestrictBackgroundNetworkTestCase
103 private static final String KEY_NETWORK_STATE_OBSERVER = TEST_PKG + ".observer";
967 && !str.contains(TEST_PKG) && !str.contains(TEST_APP2_PKG)) { in getUsageStatsDump()