gitbuildkicker
2e2177e77d
merge in nyc-mr1-release history after reset to nyc-mr1-dev
2016-09-14 00:05:58 -07:00
Bill Yi
158bfbece5
Merge commit \'4158fbc54acdcb2c7cc52704a45e0e9f3e93ffe1\' into HEAD am: 02fa7b88cc am: ba68fcfa5a am: bf2d4c864a
...
am: 849aac5aab
Change-Id: Icf4e3f43f0ec8be45522ede339ef3688703532d6
2016-09-14 01:48:26 +00:00
Bill Yi
849aac5aab
Merge commit \'4158fbc54acdcb2c7cc52704a45e0e9f3e93ffe1\' into HEAD am: 02fa7b88cc am: ba68fcfa5a
...
am: bf2d4c864a
Change-Id: Ie6f0aafa6a3a9bbbcdafb547a17c38c1e5d5672b
2016-09-14 01:33:25 +00:00
Bill Yi
bf2d4c864a
Merge commit \'4158fbc54acdcb2c7cc52704a45e0e9f3e93ffe1\' into HEAD am: 02fa7b88cc
...
am: ba68fcfa5a
Change-Id: Ib31a984e09d82c65f217a4e92fe80176b1fb80a5
2016-09-14 01:22:14 +00:00
gitbuildkicker
f70665af24
merge in nyc-mr1-release history after reset to nyc-mr1-dev
2016-09-07 00:05:48 -07:00
TreeHugger Robot
cd198fbef3
Merge "Add CTS tests for LocalSocket read/write timeouts" into nyc-mr1-dev
2016-09-06 21:20:20 +00:00
Neil Fuller
a8574413ed
Add CTS tests for LocalSocket read/write timeouts
...
The behavior was not previous covered and broke in N
due to commit c80af6d8. There is an associated fix
in frameworks/base.
Some refactoring of existing tests to reduce
duplication and tidy up sockets after tests.
Test: Ran the new CTS test (before and after related fix)
Bug: 31205169
(cherry picked from commit 52376fc1c8 )
Change-Id: I9ee96a91abbdaaba64c2f6daf49c92d1b23352e2
2016-08-31 18:18:02 +01:00
gitbuildkicker
81468a9f29
merge in nyc-mr1-release history after reset to nyc-mr1-dev
2016-08-28 00:06:27 -07:00
Felipe Leme
b0fc0ec688
DO NOT MERGE:Improve check for activity on top after launch. am: 9d8c5ba97e -s ours am: 6f82325df0
...
am: 3b8a14323c
Change-Id: I2a2229d49b67f64e339ddfeefe293858df57f372
2016-08-25 21:15:41 +00:00
Felipe Leme
3b8a14323c
DO NOT MERGE:Improve check for activity on top after launch. am: 9d8c5ba97e -s ours
...
am: 6f82325df0
Change-Id: I9c306e97dfe3fad6b710f5e5323be9bf775bc157
2016-08-25 21:00:48 +00:00
Felipe Leme
6f82325df0
DO NOT MERGE:Improve check for activity on top after launch.
...
am: 9d8c5ba97e -s ours
Change-Id: I81b40448821fa478355d048e566e3432a5d3bef9
2016-08-25 20:51:22 +00:00
gitbuildkicker
74bb351b5d
merge in nyc-mr1-release history after reset to nyc-mr1-dev
2016-08-21 00:05:40 -07:00
Felipe Leme
2882cd2a7a
Added tests for network restrictions while the screen is off.
...
BUG: 30785671
Change-Id: I1b211e545ff234272ff6acadfda9ce97765695a9
(cherry picked from commit b80a93061aa7d0a19b47a7dbb82f0dc06e3afb7e)
2016-08-20 03:58:09 +00:00
gitbuildkicker
04f06480e3
merge in nyc-mr1-release history after reset to nyc-mr1-dev
2016-08-16 07:55:25 -07:00
Felipe Leme
b7ff856a2a
Improve check for activity on top after launch.
...
am: a871a99ebc
Change-Id: Ia2ae617d0c181eaed536ac81c6086d632fee6b24
2016-08-16 00:34:18 +00:00
Felipe Leme
9d8c5ba97e
DO NOT MERGE:Improve check for activity on top after launch.
...
BUG: 30875754
Fixes: 30868243
Change-Id: Iad3d6ce80fcf24281e98251799c23abc9b83b52d
Change-Id: I8b7624e35caef107743d6 1f312e220f8bc21b9b8
2016-08-15 23:31:58 +00:00
Felipe Leme
a871a99ebc
Improve check for activity on top after launch.
...
BUG: 30875754
Fixes: 30868243
Change-Id: I8b7624e35caef107743d61f312e220f8bc21b9b8
2016-08-15 15:50:38 -07:00
gitbuildkicker
99411eb36a
merge in nyc-mr1-release history after reset to nyc-mr1-dev
2016-08-03 01:05:37 -07:00
Felipe Leme
9c1322683f
Improvements on retry mechanism on network tests:
...
- Retry on all cases (not only when expecting connected).
- Uses exponential back-off for timeout.
BUG: 27803922
Fixes: 30509643
Change-Id: I42454f43158598a72e30f290c27c5a02e80ea6d2
2016-08-01 17:23:29 -07:00
The Android Automerger
f797969cff
merge in nyc-mr1-release history after reset to nyc-mr1-dev
2016-07-03 01:06:55 -07:00
Felipe Leme
e928006e67
Cover more PendingIntent whitelist scenarios.
...
BUG: 29480440
Change-Id: I961b765f40135efc06fbb3e5a4a94e8e333453da
2016-06-28 09:07:53 -07:00
The Android Automerger
b5c375f84c
merge in nyc-mr1-release history after reset to nyc-mr1-dev
2016-06-23 01:06:28 -07:00
Phil Weaver
79fad1a209
Merge "CTS: Only listen to wifi events when toggling wifi" into nyc-dev
2016-06-23 01:48:11 +00:00
Phil Weaver
0d7d1da503
CTS: Only listen to wifi events when toggling wifi
...
When counting all connectivity changed events, we were failing
on devices with sim cards because we were counting both wifi and
mobile connectivity changes the same. Since the test only
toggles wifi, changing the listener only to pay attention to wifi
changes.
Bug: 29346253
Change-Id: I1ed3b976bc21419218c780d4afc4a5e73f128496
2016-06-22 16:50:38 -07:00
The Android Automerger
489182f153
merge in nyc-mr1-release history after reset to nyc-mr1-dev
2016-06-22 01:05:50 -07:00
Jun Tahara
86ba00d2a9
Merge \\\\\"Remove non-CTS packets assertion code\\\\\" into marshmallow-cts-dev am: 0ba763ab98 am: 6ce150c6ae am: 5c4a3982a8 am: fd1fb4d863
...
am: 995005d649
Change-Id: I40f34d7a22b09a4ef5a4190f2a236b643062f306
2016-06-22 00:20:07 +00:00
Jun Tahara
fd1fb4d863
Merge \\\"Remove non-CTS packets assertion code\\\" into marshmallow-cts-dev am: 0ba763ab98 am: 6ce150c6ae
...
am: 5c4a3982a8
Change-Id: Idcd4a248c8f74e095ba4162d8a468dbd962c8163
2016-06-22 00:14:51 +00:00
Jun Tahara
6ce150c6ae
Merge \"Remove non-CTS packets assertion code\" into marshmallow-cts-dev
...
am: 0ba763ab98
Change-Id: I9d9549d4388af53475a0457f7be1d55d88d5e72d
2016-06-22 00:09:33 +00:00
The Android Automerger
a488dd0f88
merge in nyc-mr1-release history after reset to nyc-mr1-dev
2016-06-21 01:06:13 -07:00
Lorenzo Colitti
abc35d5527
Clear local test results across DNS lookups.
...
If InetAddress.getAllByName("ipv6.google.com") throws
UnknownHostException, the test silently ignores it. This
causes a misleading failure, because the test then reuses the
addrs variable that is left over from the previous DNS query
for "www.google.com", and fails because it has an IPv4 address.
Fixes: 12210306
Bug: 29231261
Change-Id: I1dde945765d40a84eba139055306b07ebc97d0ec
2016-06-21 13:39:49 +09:00
Jun Tahara
349f7ed040
Remove non-CTS packets assertion code
...
Symptom:
testTrafficStatsForLocalhost fails when applications or services
except CTS are using network.
Root cause:
testTrafficStatsForLocalhost can't calculate the number of
non-localhost packets for CTS.
It includes the all of packets for applications/services except CTS
and non-localhost packets for CTS.
Solution:
Remove this assertion and only logging the number of packets.
Change-Id: I49243d59f359f3a543c6bdb46f6a2645cde8f292
2016-06-20 17:50:39 +09:00
The Android Automerger
32e01b7f49
merge in nyc-mr1-release history after reset to nyc-mr1-dev
2016-06-19 01:06:34 -07:00
Felipe Leme
c3a9008e3d
Add non-parcelable extras to notification to make sure it does not crash
...
the app.
BUG: 29402928
Change-Id: I4fc47535ae14e71c50b25285b2fe5375abdb4f11
2016-06-16 10:03:27 -07:00
The Android Automerger
4284574a84
merge in nyc-mr1-release history after reset to nyc-mr1-dev
2016-06-12 01:06:03 -07: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
The Android Automerger
43efc8d0bd
merge in nyc-mr1-release history after reset to nyc-mr1-dev
2016-06-07 01:06:00 -07: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
The Android Automerger
ba9ad374cb
merge in nyc-mr1-release history after reset to nyc-mr1-dev
2016-06-05 01:06:07 -07: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
b9b85ce0cd
Add flakyness check when a valid connection is expected.
...
BUG: 29082308
Change-Id: Iadb9a0bd7fbd307d799af7a7a5dabc0ed000bc6d
2016-06-02 09:08:49 -07:00
The Android Automerger
64be70b2e5
merge in nyc-mr1-release history after reset to nyc-mr1-dev
2016-05-29 01:06:24 -07: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
The Android Automerger
30671f325c
merge in nyc-mr1-release history after reset to nyc-mr1-dev
2016-05-26 07:28:49 -07:00
Felipe Leme
e4d8ba7197
Use ConnectionManager API to check if network is metered.
...
Also retry when getActiveNetworkInfo() returns null.
BUG: 28870582
BUG: 28909522
Change-Id: I4a43f171a7d6c73ea50555b66f858a54da65ae58
2016-05-25 18:31:13 -07:00
Phil Weaver
f057299a13
Merge "CTS coverage: connectivity change, photo, + video" into nyc-dev
2016-05-25 23:06:26 +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
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