The periodic parole window is the 10 minute window that occurs every
24 hours to let RARE apps run. Now that we have the quota system in
place, there's no need to have the periodic parole window. Alarms and
jobs will still be allowed to run when charging. Network will continue
to be restricted for RARE apps even when charging. JobScheduler requests
an exception for RARE jobs in quota, so they will still be able to run.
With this change, idle apps should still not get network when charging
unless JobScheduler requests it, so we have to update the tests.
Bug: 136184981
Test: atest AppStandbyControllerTests
Test: atest CtsAlarmManagerTestCases
Test: atest com.android.cts.net.HostsideRestrictBackgroundNetworkTests
Test: atest com.android.server.AlarmManagerServiceTest
Test: atest com.android.server.AppStateTrackerTest
Test: atest com.android.server.job.controllers.QuotaControllerTest
Change-Id: Icd7b6eff8777f9b53a10eca521b73988f58f2d84
Test: on Marlin and Blueline run
cts-tradefed run cts -m CtsHostsideNetworkTests \
-t com.android.cts.net.HostsideVpnTests#testB141603906
Bug: 141603906
Change-Id: I759bc2295b2060e4575d61718c551d201a6455be
am: 08b3a7ee0f -s ours
am skip reason: change_id I4d60d2ad06007842be6af1f2ab844917f18cc629 with SHA1 55329386a3 is in history
Change-Id: I412f63b339a8b6cc0781fd18c07b0c90ecd035ff
am: f920179eaa -s ours
am skip reason: change_id I4d60d2ad06007842be6af1f2ab844917f18cc629 with SHA1 55329386a3 is in history
Change-Id: I948c2d499e46121dfce5a6ed1bad05a285ddce62
am: b7fab0094c -s ours
am skip reason: change_id I4d60d2ad06007842be6af1f2ab844917f18cc629 with SHA1 55329386a3 is in history
Change-Id: I7ca35263e49c8736ecb056d097b11c137e2cdcde
am: cda94f4bf1 -s ours
am skip reason: change_id Ibcbd7833bec952d69841abbea827affc202941b6 with SHA1 ca767c6852 is in history
Change-Id: Ib1b266faca91c0f220442c71da14df787c2faaf5
am: cc92930e29 -s ours
am skip reason: change_id Ibcbd7833bec952d69841abbea827affc202941b6 with SHA1 ca767c6852 is in history
Change-Id: Ibbc4e0b751f0636a976b9f35d908fcec4ec328f9
am: 1c04d967aa -s ours
am skip reason: change_id Ibcbd7833bec952d69841abbea827affc202941b6 with SHA1 ca767c6852 is in history
Change-Id: I3930fccbb3b38c91c3f23e4a8d5a9c9bf56d7464
am: 02eb568b35 -s ours
am skip reason: change_id Ibcbd7833bec952d69841abbea827affc202941b6 with SHA1 ca767c6852 is in history
Change-Id: Id85f1afc2f057075a1a25ea2172ff578fc2d00a7
am: 525d2c8ccf -s ours
am skip reason: change_id Ibcbd7833bec952d69841abbea827affc202941b6 with SHA1 ca767c6852 is in history
Change-Id: Idc75529282a8f621473d73f6c52a142f7cb01759
am: 5775b852a7 -s ours
am skip reason: change_id Ibcbd7833bec952d69841abbea827affc202941b6 with SHA1 ca767c6852 is in history
Change-Id: If270b3f6f9e197d0987ba457ad280042ff50f9ab
am: e8c6850fcf -s ours
am skip reason: change_id I070b16661bc72a5c5035b0b227821b680d7d71ba with SHA1 5ac5569516 is in history
Change-Id: Ia789c8a5677d8235c5637299ae9e1bf8b37f81d0
am: 0bf40755c3 -s ours
am skip reason: change_id I070b16661bc72a5c5035b0b227821b680d7d71ba with SHA1 5ac5569516 is in history
Change-Id: I82c992055b935e427ff7b00b1e642606d06b3235
am: 1d25609428 -s ours
am skip reason: change_id Ie99011acbbe66e9088f73964fd0c39d640594011 with SHA1 9c97c58656 is in history
Change-Id: Ie3f82a51ce529387e025f7322d2f7c746f4ad12c
am: 446037544b -s ours
am skip reason: change_id Ie99011acbbe66e9088f73964fd0c39d640594011 with SHA1 9c97c58656 is in history
Change-Id: I320a0a54a5220c69691fb6e5cec673b7b8769994
am: 26e815023f -s ours
am skip reason: change_id Ie99011acbbe66e9088f73964fd0c39d640594011 with SHA1 9c97c58656 is in history
Change-Id: I05aecfee12cd4395732ac8c8de8d6e465b897edc
am: 09f277d4d8 -s ours
am skip reason: change_id Ie99011acbbe66e9088f73964fd0c39d640594011 with SHA1 9c97c58656 is in history
Change-Id: I7dd987e4099be7b2ea8b64495bf011f4e6c09513
am: e5875307f6 -s ours
am skip reason: change_id I9c938998b5e30f7d3994b410878b2af6a75f9b5a with SHA1 aa76b34ae8 is in history
Change-Id: I4ad3086704aa810b03ce2955f2c725001da8daca
am: 5af794bd45 -s ours
am skip reason: change_id I91b4ab018a9e7fc73dcb7969e4a6520d6b27d629 with SHA1 d51ae5760d is in history
Change-Id: Ib0b2c8c9136fd1e2d15ec96e8cf5b5cc3ad1390f
am: fd409edeca -s ours
am skip reason: change_id Ie99011acbbe66e9088f73964fd0c39d640594011 with SHA1 9c97c58656 is in history
Change-Id: I8e124374d711efc51b752c14f8a0ee524d3fb53e
am: 911079a493 -s ours
am skip reason: change_id I9c938998b5e30f7d3994b410878b2af6a75f9b5a with SHA1 aa76b34ae8 is in history
Change-Id: I085af9922f33751e647899dd669897dc07d750e1
am: 718f123cfc -s ours
am skip reason: change_id I91b4ab018a9e7fc73dcb7969e4a6520d6b27d629 with SHA1 52b82e3312 is in history
Change-Id: I627dde8b6b987ab571a0521a64b3960b473ea02d
am: 781ab3fbdf -s ours
am skip reason: change_id I91b4ab018a9e7fc73dcb7969e4a6520d6b27d629 with SHA1 52b82e3312 is in history
Change-Id: Ia4fef6d05a072b94d24e7151f39b68b4f8974d09
am: 9f4a5995a2 -s ours
am skip reason: change_id I91b4ab018a9e7fc73dcb7969e4a6520d6b27d629 with SHA1 52b82e3312 is in history
Change-Id: Ifb330f4bcfb612767c9e92a5b439522a8461d50b
am: df298b6c9f -s ours
am skip reason: change_id I9c938998b5e30f7d3994b410878b2af6a75f9b5a with SHA1 aa76b34ae8 is in history
Change-Id: I3371b4d2c3c5adf4e73fccf101b544759ce07639
am: dad9c8a980 -s ours
am skip reason: change_id I91b4ab018a9e7fc73dcb7969e4a6520d6b27d629 with SHA1 52b82e3312 is in history
Change-Id: I3eef4d82eb1426061122ec3dba410e38ae37c349
am: 7526bf0f92 -s ours
am skip reason: change_id I91b4ab018a9e7fc73dcb7969e4a6520d6b27d629 with SHA1 52b82e3312 is in history
Change-Id: Ib29a4bbef7c5c4dde43abd0b7ebce12c8aea52a1
am: f2e8130635 -s ours
am skip reason: change_id I91b4ab018a9e7fc73dcb7969e4a6520d6b27d629 with SHA1 52b82e3312 is in history
Change-Id: Ie2500561329bba3cab6b6bab5851d080b0170b97