Lorenzo Colitti
d1970e861b
Merge \"Log the address of the IPv4 address that causes the test to fail.\" into nyc-dev
...
am: db3485a45e
Change-Id: Id3818163f9fef1b2ba9d7b29f6b0f84c6659625d
2016-06-09 07:53:30 +00:00
TreeHugger Robot
db3485a45e
Merge "Log the address of the IPv4 address that causes the test to fail." into nyc-dev
2016-06-09 07:46:17 +00:00
Lorenzo Colitti
1d75845bd5
Log the address of the IPv4 address that causes the test to fail.
...
Bug: 29231261
Change-Id: I6aac389d2c234091a284486422ee663119d021a9
2016-06-09 14:38:03 +09:00
Felipe Leme
b3f828552e
Merge "Changed network check URL." into nyc-dev
...
am: 1791555ca8
* commit '1791555ca880db2aaa909d6f04f6cd082f21df0a':
Changed network check URL.
Change-Id: I7722ad944c8d19a26412eb798f39dcfb74bc9dfe
2016-06-06 17:17:43 +00:00
Felipe Leme
1791555ca8
Merge "Changed network check URL." into nyc-dev
2016-06-06 17:09:36 +00:00
Felipe Leme
829443c140
Changed network check URL.
...
It cannot use google.com because it's blocked in some countries where
CTS tests are run.
BUG: 29082308
Change-Id: I749659ec2cd33248fddbe5b4ab02bd6e90f24a67
2016-06-06 16:05:57 +00:00
Felipe Leme
9f6d50289c
Merge "Skip Doze Mode-related tests when device does not support it." into nyc-dev
...
am: 07924c0489
* commit '07924c0489b60f460b285eddc69533cbda51f5a9':
Skip Doze Mode-related tests when device does not support it.
Change-Id: Ibbe3e77b88ffdcf7fe773aa18314661b59afca75
2016-06-02 21:43:46 +00:00
Felipe Leme
d1f3d68694
Skip Doze Mode-related tests when device does not support it.
...
Fixes: 29072117
Change-Id: I7ca37eae58258c021ed6297a9f1ee3b2749da7d7
2016-06-02 20:16:25 +00:00
Felipe Leme
8ce6537c06
Merge "Add flakyness check when a valid connection is expected." into nyc-dev
...
am: 8ee60199fd
* commit '8ee60199fd55b1ceefbb6c98a36a3d688c892f3f':
Add flakyness check when a valid connection is expected.
Change-Id: I5dcd03e34fc6ada0e8f49429f2a25f3cdb10e476
2016-06-02 17:45:30 +00:00
Felipe Leme
b9b85ce0cd
Add flakyness check when a valid connection is expected.
...
BUG: 29082308
Change-Id: Iadb9a0bd7fbd307d799af7a7a5dabc0ed000bc6d
2016-06-02 09:08:49 -07:00
Felipe Leme
f274abf6a5
Merge "Added test for whitelisting pending intent for Doze Mode." into nyc-dev
...
am: 12a8e761d2
* commit '12a8e761d2598672db4c4e221868985073f73ada':
Added test for whitelisting pending intent for Doze Mode.
Change-Id: Id56c18de63d9d1e617110506a3aaa0baffd73d16
2016-05-27 22:48:38 +00:00
Felipe Leme
4188bc32d5
Added test for whitelisting pending intent for Doze Mode.
...
BUG: 28818704
Change-Id: I927364e78cd73133899d67be23e0b274829686af
2016-05-27 14:21:36 -07:00
Phil Weaver
1a9e5fd490
Merge "CTS coverage: connectivity change, photo, + video" into nyc-dev
...
am: f057299a13
* commit 'f057299a13393fab596caccc3b9ac21fb5ecd599':
CTS coverage: connectivity change, photo, + video
Change-Id: Ic97685bfc46ac46536116bebc3a257f5734532b1
2016-05-25 23:17:42 +00:00
Phil Weaver
f057299a13
Merge "CTS coverage: connectivity change, photo, + video" into nyc-dev
2016-05-25 23:06:26 +00:00
Felipe Leme
3c4526d753
Merge "Use ConnectionManager API to check if network is metered." into nyc-dev
...
am: b853005f3c
* commit 'b853005f3ce50c6a51963cff2e6627d55c6012b0':
Use ConnectionManager API to check if network is metered.
Change-Id: I5f092fcc9b2220af3c033d84271c29e641027e4e
2016-05-25 17:00:54 +00:00
TreeHugger Robot
b853005f3c
Merge "Use ConnectionManager API to check if network is metered." into nyc-dev
2016-05-25 16:54:26 +00:00
Lorenzo Colitti
45af342981
Merge "Add a test for closing sockets when a VPN comes up." into nyc-dev
...
am: 94636121f1
* commit '94636121f156c6b53a10b79f27d37c2a9c592f1c':
Add a test for closing sockets when a VPN comes up.
Change-Id: I0b23a38566afd96448a202d7a3b258d1960a53a3
2016-05-24 05:44:06 +00:00
TreeHugger Robot
94636121f1
Merge "Add a test for closing sockets when a VPN comes up." into nyc-dev
2016-05-24 05:38:33 +00:00
Felipe Leme
68471ef930
Use ConnectionManager API to check if network is metered.
...
Also retry when getActiveNetworkInfo() returns null.
BUG: 28870582
BUG: 28909522
Change-Id: I4a43f171a7d6c73ea50555b66f858a54da65ae58
2016-05-23 11:33:34 -07:00
Phil Weaver
36f05df51f
CTS coverage: connectivity change, photo, + video
...
Confirming that connectivity change broadcasts can be received
when explicitly registering for them in N, and via the manifest
pre-N.
Confirming that new_photo and new_video broadcasts are not received.
Bug: 28122277
Change-Id: Icfc27364a41ee8f4a55920e295ba658a367bb7d2
2016-05-19 13:27:24 -07:00
Marcus Nascimento
6829652e87
Merge "Merge "Add assertion messages to testStartUsingNetworkFeature_enableHipri." into lollipop-mr1-cts-dev am: 92849de21f -s ours" into marshmallow-cts-dev am: a6aa5bce79 am: 9ef251d523 am: 1ad52d8800 am: 01c938ccb7 am: 64f19d0319
...
am: b232cf2d49
* commit 'b232cf2d49c66291e203d63b05cc0921170f42c2':
Add assertion messages to testStartUsingNetworkFeature_enableHipri.
Change-Id: I48999b9bc410228a67a52f4fedf85e613b2d3ebf
2016-05-19 18:26:21 +00:00
Marcus Nascimento
b232cf2d49
Merge "Merge "Add assertion messages to testStartUsingNetworkFeature_enableHipri." into lollipop-mr1-cts-dev am: 92849de21f -s ours" into marshmallow-cts-dev am: a6aa5bce79 am: 9ef251d523 am: 1ad52d8800 am: 01c938ccb7
...
am: 64f19d0319
* commit '64f19d031975520dc26fbe23c70a826e491032c9':
Add assertion messages to testStartUsingNetworkFeature_enableHipri.
Change-Id: I222dcf7299db1d2bac9641c5f200f69f87a21905
2016-05-19 18:23:44 +00:00
Marcus Nascimento
01c938ccb7
Merge "Merge "Add assertion messages to testStartUsingNetworkFeature_enableHipri." into lollipop-mr1-cts-dev am: 92849de21f -s ours" into marshmallow-cts-dev am: a6aa5bce79 am: 9ef251d523
...
am: 1ad52d8800
* commit '1ad52d8800d39194d738a0d805de134a833b412c':
Add assertion messages to testStartUsingNetworkFeature_enableHipri.
Change-Id: I5fe5ef00893350a7bf0d52176c0dc451d9e089a9
2016-05-19 18:09:28 +00:00
Marcus Nascimento
9ef251d523
Merge "Merge "Add assertion messages to testStartUsingNetworkFeature_enableHipri." into lollipop-mr1-cts-dev am: 92849de21f -s ours" into marshmallow-cts-dev
...
am: a6aa5bce79
* commit 'a6aa5bce79af1d1294ff815a396f1764fc703a27':
Add assertion messages to testStartUsingNetworkFeature_enableHipri.
Change-Id: Ib12541988e1c5154fd5343d8fec9e6628239238a
2016-05-19 17:54:53 +00:00
Android Merger
a6aa5bce79
Merge "Merge "Add assertion messages to testStartUsingNetworkFeature_enableHipri." into lollipop-mr1-cts-dev am: 92849de21f -s ours" into marshmallow-cts-dev
2016-05-19 17:28:36 +00:00
Marcus Nascimento
8074918f7f
Merge "Add assertion messages to testStartUsingNetworkFeature_enableHipri." into lollipop-mr1-cts-dev
...
am: 92849de21f -s ours
* commit '92849de21f245cd43c4c05b28fbf59ef6feb725a':
Add assertion messages to testStartUsingNetworkFeature_enableHipri.
Change-Id: Iabea0582c95db8353d3d7e4ec5008a45aa05b403
2016-05-19 17:28:26 +00:00
Daniel Xie
92849de21f
Merge "Add assertion messages to testStartUsingNetworkFeature_enableHipri." into lollipop-mr1-cts-dev
2016-05-19 16:39:30 +00:00
Felipe Leme
999a4fef2d
Merge "Added tests for idle apps and doze mode." into nyc-dev
...
am: f76c309ebe
* commit 'f76c309ebe0287aee4f729bbb997417ea938ef15':
Added tests for idle apps and doze mode.
Change-Id: I9acd82ca0cb163ea12281418e23dfea0f5cb32ac
2016-05-17 23:06:34 +00:00
TreeHugger Robot
f76c309ebe
Merge "Added tests for idle apps and doze mode." into nyc-dev
2016-05-17 22:40:45 +00:00
Aaron Holden
769683c76d
Merge "Remove module-level WifiCheck preparers" into nyc-dev
...
am: 4e0eb2e458
* commit '4e0eb2e4586a7e719e2deabcca1bd759a524a9e7':
Remove module-level WifiCheck preparers
Change-Id: Iae73d1aaf52636a9e492e69dbedb590699ce2746
2016-05-16 22:57:18 +00:00
Aaron Holden
4e0eb2e458
Merge "Remove module-level WifiCheck preparers" into nyc-dev
2016-05-16 22:45:29 +00:00
Lorenzo Colitti
cbcfb98dd8
Add a test for closing sockets when a VPN comes up.
...
Bug: 28251576
Change-Id: Iab0a8643cff3c54eb04168a7cdfa116c0b8e30b1
2016-05-16 23:10:44 +09:00
Felipe Leme
88debac60e
Added tests for idle apps and doze mode.
...
BUG: 28473659
BUG: 28521946
Change-Id: I4bc9166bf2050136fa86e374aac59f80afd76f1c
2016-05-13 15:08:16 -07:00
Felipe Leme
3eb5851664
Merge "Covers more corner cases on restricted network modes:" into nyc-dev
...
am: b10c777ceb
* commit 'b10c777cebf2a86605f850c4181f45dc67d2a9a6':
Covers more corner cases on restricted network modes:
Change-Id: I8fd7ddb841e40f9e5697be2e5f2b109fcc71bf33
2016-05-12 20:08:51 +00:00
Aaron Holden
3361c86147
Remove module-level WifiCheck preparers
...
As WifiCheck is now declared in the CTS config, remove declarations in
the module configs.
Also downgrade TargetSetupErrors on failure to logged errors
bug:28234985
Change-Id: I2e1a369bc26aeca922686c4c3d8c033bb7f9fbc7
2016-05-11 09:55:44 -07:00
Felipe Leme
ed64e61b5f
Covers more corner cases on restricted network modes:
...
- Tests what happens on foreground applications when a restriction (like
Data Saver or Battery Saver modes) is turned on (prior tests would
turn the restriction on *before* switching the app to foreground).
- Tests multiple restrictions simultaneously enabled.
Also improved existing code:
- Fixed background state check.
- Reused some common checks in helper methods.
- Retries checks for process state.
BUG: 28473659
Change-Id: Ifcf9cc6d895ccde0ab5177f9f5d8c347ce53b811
2016-05-09 12:48:29 -07:00
Felipe Leme
10dd3d7a84
Merge "Asserts foreground apps always have network access." into nyc-dev
...
am: 68aeb4d914
* commit '68aeb4d9147942496beb2bf5fa78ae2428f15c82':
Asserts foreground apps always have network access.
Change-Id: I32dd08add98d57c3feca224920d8028254102aab
2016-05-06 23:17:12 +00:00
Felipe Leme
6cd41f6d03
Asserts foreground apps always have network access.
...
BUG: 28473659
Change-Id: Iea6933a4630ff2e9c00a2d2e9e4a6f1a51de70f2
2016-05-06 14:28:03 -07:00
Felipe Leme
11cda18ea6
Merge "Assert whitelists are revoked on uninstall." into nyc-dev
...
am: cd8e99563b
* commit 'cd8e99563b4accd3162bff1f002468971f4dc771':
Assert whitelists are revoked on uninstall.
Change-Id: Ic91c283812b15a0db5ca26dc771c25f5aa8603a6
2016-05-06 17:40:49 +00:00
Felipe Leme
aa2e8ea1d8
Assert whitelists are revoked on uninstall.
...
BUG: 28616418
Change-Id: I909fd4c6024afe5b42560090c6e2f11b43c220de
2016-05-06 09:18:54 -07:00
Felipe Leme
d1fb27d37f
Merge "Temporarily disable NetworkInfo check." into nyc-dev
...
am: cdb30f18e4
* commit 'cdb30f18e44f14b32cfe76c572af22f82a816a00':
Temporarily disable NetworkInfo check.
Change-Id: I2092f714c8db0b024e1ee9d5ba35e7a9a4023747
2016-05-04 20:06:53 +00:00
Felipe Leme
691e85def7
Temporarily disable NetworkInfo check.
...
There are known issues that cause these check to fail, and the fix has
not been submitted yet.
BUG: 28473659
BUG: 28521946
Change-Id: I26dfbebc2d07396ef89ac78230645e4791c708ee
2016-05-04 18:48:24 +00:00
Felipe Leme
00cf921893
Merge "Improved connectivity check by also asserting NetworkInfo states." into nyc-dev
...
am: fe6dc2b966
* commit 'fe6dc2b966686da65dae3e0766e56bf25844500c':
Improved connectivity check by also asserting NetworkInfo states.
Change-Id: Icba9139f192182fe6adaf03ef813dc20bd66f681
2016-05-04 00:59:59 +00:00
Felipe Leme
50bce69fab
Improved connectivity check by also asserting NetworkInfo states.
...
BUG: 28473659
BUG: 26571724
Change-Id: Iba687003431ed5c353412268726967a798f538da
2016-05-03 08:29:52 -07:00
Felipe Leme
9d9ca56079
Merge "Added test for required packages whitelisted for Data Saver Mode." into nyc-dev
...
am: 16ae24badd
* commit '16ae24badd79bf100b26dc4e6dfb3ed649a0c3ad':
Added test for required packages whitelisted for Data Saver Mode.
Change-Id: I1916d82a0fcc883679e200f79594381d29afd6b2
2016-04-29 23:49:49 +00:00
Felipe Leme
fa8e24c3e6
Added test for required packages whitelisted for Data Saver Mode.
...
Also fixed code that checks for whitelist uids, otherwise it would pass
when the required uid is missing but a superset was present (for
example, when asking for 1009 but 10090 was whitelisted).
BUG: 28431507
Change-Id: Iaaa67e586907dba215496460445ad627ba7b63c5
2016-04-29 14:10:12 -07:00
Marcus Nascimento
eaf3745bc8
Merge "Merge "Add assertion message to assertions for testExecute_withMobile." into lollipop-mr1-cts-dev am: ce158e65ae -s ours" into marshmallow-cts-dev am: 90419fc992 am: 4699aa522a am: 69db501b63 am: f9185c256f am: 8ad4295bec
...
am: c847a249c6
* commit 'c847a249c635808e41972f5ad123853c7c556c62':
Add assertion message to assertions for testExecute_withMobile.
Change-Id: I6eb9291f36ec7f72879743e9b475eaf2186d3544
2016-04-29 11:20:20 +00:00
Marcus Nascimento
c847a249c6
Merge "Merge "Add assertion message to assertions for testExecute_withMobile." into lollipop-mr1-cts-dev am: ce158e65ae -s ours" into marshmallow-cts-dev am: 90419fc992 am: 4699aa522a am: 69db501b63 am: f9185c256f
...
am: 8ad4295bec
* commit '8ad4295bec64574b3c05547efc29f225b385e6ce':
Add assertion message to assertions for testExecute_withMobile.
Change-Id: Id4892624242d707920f285c13dbfd029f7f2cc3d
2016-04-29 11:17:44 +00:00
Marcus Nascimento
f9185c256f
Merge "Merge "Add assertion message to assertions for testExecute_withMobile." into lollipop-mr1-cts-dev am: ce158e65ae -s ours" into marshmallow-cts-dev am: 90419fc992 am: 4699aa522a
...
am: 69db501b63
* commit '69db501b632720dda1e5aba0ac8aa676f11247e8':
Add assertion message to assertions for testExecute_withMobile.
Change-Id: I17fe6ca042b8ec387e082ef475538933e1e9a33c
2016-04-29 11:12:32 +00:00
Marcus Nascimento
4699aa522a
Merge "Merge "Add assertion message to assertions for testExecute_withMobile." into lollipop-mr1-cts-dev am: ce158e65ae -s ours" into marshmallow-cts-dev
...
am: 90419fc992
* commit '90419fc99220c249b29a09805c06f9a1fc25f0d1':
Add assertion message to assertions for testExecute_withMobile.
Change-Id: Ifc327d9165a543b163c954d964c982fdd14ab1af
2016-04-29 11:05:01 +00:00