Searched refs:TEST_APP2_PKG (Results 1 – 9 of 9) sorted by relevance
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | MixedModesTest.java | 51 removePowerSaveModeWhitelist(TEST_APP2_PKG); in setUp() 52 removePowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in setUp() 88 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testDataAndBatterySaverModes_meteredNetwork() 95 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testDataAndBatterySaverModes_meteredNetwork() 100 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testDataAndBatterySaverModes_meteredNetwork() 104 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testDataAndBatterySaverModes_meteredNetwork() 108 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testDataAndBatterySaverModes_meteredNetwork() 114 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testDataAndBatterySaverModes_meteredNetwork() 122 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testDataAndBatterySaverModes_meteredNetwork() 127 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testDataAndBatterySaverModes_meteredNetwork() [all …]
|
D | AbstractBatterySaverModeTestCase.java | 36 removePowerSaveModeWhitelist(TEST_APP2_PKG); in setUp() 37 removePowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in setUp() 88 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 91 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 94 addPowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 97 removePowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted()
|
D | AbstractAppIdleTestCase.java | 41 removePowerSaveModeWhitelist(TEST_APP2_PKG); in setUp() 42 removePowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in setUp() 88 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 92 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 96 addPowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 100 removePowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 116 addTempPowerSaveModeWhitelist(TEST_APP2_PKG, TEMP_POWERSAVE_WHITELIST_DURATION_MS); in testBackgroundNetworkAccess_tempWhitelisted()
|
D | AbstractDozeModeTestCase.java | 39 removePowerSaveModeWhitelist(TEST_APP2_PKG); in setUp() 40 removePowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in setUp() 76 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 79 removePowerSaveModeWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 82 addPowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted() 85 removePowerSaveModeExceptIdleWhitelist(TEST_APP2_PKG); in testBackgroundNetworkAccess_whitelisted()
|
D | AbstractRestrictBackgroundNetworkTestCase.java | 77 protected static final String TEST_APP2_PKG = "com.android.cts.net.hostside.app2"; field in AbstractRestrictBackgroundNetworkTestCase 79 private static final String TEST_APP2_ACTIVITY_CLASS = TEST_APP2_PKG + ".MyActivity"; 80 private static final String TEST_APP2_SERVICE_CLASS = TEST_APP2_PKG + ".MyForegroundService"; 151 mUid = getUid(TEST_APP2_PKG); in setUp() 671 executeSilentShellCommand("am set-inactive " + TEST_APP2_PKG + " " + enabled ); in setAppIdle() 677 assertDelayedShellCommand("am get-inactive " + TEST_APP2_PKG, 15, 2, "Idle=" + enabled); in assertAppIdle() 783 intent.setComponent(new ComponentName(TEST_APP2_PKG, TEST_APP2_ACTIVITY_CLASS)) in getIntentForComponent() 786 intent.setComponent(new ComponentName(TEST_APP2_PKG, TEST_APP2_SERVICE_CLASS)) in getIntentForComponent() 796 TEST_APP2_PKG, TEST_APP2_SERVICE_CLASS)); in stopForegroundService() 841 intent.setPackage(TEST_APP2_PKG);
|
/cts/hostsidetests/net/src/com/android/cts/net/ |
D | HostsideRestrictBackgroundNetworkTests.java | 28 uninstallPackage(TEST_APP2_PKG, false); in setUp() 36 uninstallPackage(TEST_APP2_PKG, true); in tearDown() 64 final int oldUid = getUid(TEST_APP2_PKG); in testDataSaverMode_reinstall() 69 uninstallPackage(TEST_APP2_PKG, true); in testDataSaverMode_reinstall() 70 assertPackageUninstalled(TEST_APP2_PKG); in testDataSaverMode_reinstall() 74 final int newUid = getUid(TEST_APP2_PKG); in testDataSaverMode_reinstall() 115 addPowerSaveModeWhitelist(TEST_APP2_PKG); in testBatterySaverMode_reinstall() 117 uninstallPackage(TEST_APP2_PKG, true); in testBatterySaverMode_reinstall() 118 assertPackageUninstalled(TEST_APP2_PKG); in testBatterySaverMode_reinstall() 119 assertPowerSaveModeWhitelist(TEST_APP2_PKG, false); in testBatterySaverMode_reinstall() [all …]
|
D | HostsideNetworkCallbackTests.java | 22 uninstallPackage(TEST_APP2_PKG, false); in setUp() 29 uninstallPackage(TEST_APP2_PKG, true); in tearDown()
|
D | HostsideVpnTests.java | 25 uninstallPackage(TEST_APP2_PKG, false); in setUp() 33 uninstallPackage(TEST_APP2_PKG, true); in tearDown()
|
D | HostsideNetworkTestCase.java | 45 protected static final String TEST_APP2_PKG = "com.android.cts.net.hostside.app2"; field in HostsideNetworkTestCase
|