Mark Chien
5acf731ce3
Merge "[Tether03] Migrate IpServer into module" am: 634c6a512f am: c8c297544c am: 5724764344
...
am: f6e49999cd
Change-Id: Icc89e446b80e57a196861263bbcd824553db56c0
2019-10-25 00:18:11 -07:00
Mark Chien
f6e49999cd
Merge "[Tether03] Migrate IpServer into module" am: 634c6a512f am: c8c297544c
...
am: 5724764344
Change-Id: I3e70612aa3071889c5b2c74217b9c33c587e35bb
2019-10-25 00:11:56 -07:00
Mark Chien
5724764344
Merge "[Tether03] Migrate IpServer into module" am: 634c6a512f
...
am: c8c297544c
Change-Id: I2f63d9f288cba8186e6114860265b5347abf3bdc
2019-10-25 00:05:31 -07:00
Mark Chien
c8c297544c
Merge "[Tether03] Migrate IpServer into module"
...
am: 634c6a512f
Change-Id: I28ef3693ade9dc0fd53437b0157d47237e6a3f93
2019-10-24 23:59:25 -07:00
Mark Chien
634c6a512f
Merge "[Tether03] Migrate IpServer into module"
2019-10-25 06:41:49 +00:00
TreeHugger Robot
d3ba36e312
Merge "Add C-Suite in the test suites of AppCompatibilityTest"
2019-10-24 20:41:10 +00:00
Mathieu Chartier
b04b34552b
Merge "Fix waiting for system server to be running for BootImageProfileTest" am: 761ce2abac am: ca31663ab4 am: 32a897e433
...
am: b2b97f6239
Change-Id: If6fcfe7bb0afa2852de98a684c4d96a0c901849b
2019-10-24 08:32:34 -07:00
Mathieu Chartier
b2b97f6239
Merge "Fix waiting for system server to be running for BootImageProfileTest" am: 761ce2abac am: ca31663ab4
...
am: 32a897e433
Change-Id: Ic53aa21d1f208e45c0018053c1e06ed51eafad8d
2019-10-24 08:23:47 -07:00
Mathieu Chartier
32a897e433
Merge "Fix waiting for system server to be running for BootImageProfileTest" am: 761ce2abac
...
am: ca31663ab4
Change-Id: Idd2b43b3996273df7c83d661734c0e210747c07a
2019-10-24 08:16:55 -07:00
Mathieu Chartier
ca31663ab4
Merge "Fix waiting for system server to be running for BootImageProfileTest"
...
am: 761ce2abac
Change-Id: I597247d864e5b92d734405c87b59ef3282f80cb9
2019-10-24 08:09:56 -07:00
Mathieu Chartier
761ce2abac
Merge "Fix waiting for system server to be running for BootImageProfileTest"
2019-10-24 14:41:54 +00:00
TreeHugger Robot
6c10771e88
Merge "Use shell command to uninstall network stack package (2/n)"
2019-10-24 14:24:40 +00:00
TreeHugger Robot
fd51bd75ec
Merge "Close the returned file descriptior (1/n)"
2019-10-24 14:21:35 +00:00
Mark Chien
f78f8d7eff
Merge "[Tether02] Migrate TetheringConfiguration into module" am: 72d5460dda am: c7ed6b4fe5 am: c95ca17d04
...
am: a2bfbe79cf
Change-Id: Ia361893223c5d08e7ca0193c38f9b1b88a330320
2019-10-24 07:14:21 -07:00
Mark Chien
a2bfbe79cf
Merge "[Tether02] Migrate TetheringConfiguration into module" am: 72d5460dda am: c7ed6b4fe5
...
am: c95ca17d04
Change-Id: Ifbcc8a81d4ea7521f0d3ae56e0951974b9355334
2019-10-24 07:07:35 -07:00
Mark Chien
c95ca17d04
Merge "[Tether02] Migrate TetheringConfiguration into module" am: 72d5460dda
...
am: c7ed6b4fe5
Change-Id: Iacc50625daa999203aa104bf270e1295592240aa
2019-10-24 06:51:38 -07:00
Mark Chien
c7ed6b4fe5
Merge "[Tether02] Migrate TetheringConfiguration into module"
...
am: 72d5460dda
Change-Id: I8fa812a78f61976741bc06ccf4000f625b75ecbe
2019-10-24 06:38:24 -07:00
Mark Chien
72d5460dda
Merge "[Tether02] Migrate TetheringConfiguration into module"
2019-10-24 13:10:24 +00:00
JW Wang
37d37be851
Use shell command to uninstall network stack package (2/n)
...
Since install is done by shell command, uninstall must also use shell
command to succeed.
Bug: 143211397
Test: atest StagedRollbackTest
Change-Id: Ie81d793212b2b3dc00ff84037e6be8782695c499
2019-10-24 18:19:24 +08:00
JW Wang
9ba5f6b80a
Close the returned file descriptior (1/n)
...
As suggested by the comment:
https://cs.corp.google.com/android/frameworks/base/core/java/android/app/UiAutomation.java?rcl=55a225ade4016b9dde04a3d4b4d25db761b1ccbf&l=1127
Bug: 143211397
Test: atest StagedRollbackTest
Change-Id: I45a5e5fe2188f3172b42f868fe2c4853173451bd
2019-10-24 18:19:18 +08:00
Chiachang Wang
55a225ade4
Merge "Extend netlink class to fit the data structure" am: 0825500b27 am: b862f54f41 am: 3405e43101
...
am: b86c49808d
Change-Id: I4d432942a8336b9d04c4086c5951fba151d3fef7
2019-10-24 01:09:08 -07:00
Chiachang Wang
b86c49808d
Merge "Extend netlink class to fit the data structure" am: 0825500b27 am: b862f54f41
...
am: 3405e43101
Change-Id: I7921d6837f88aba4e2c9bb0b3b87be327c4b9e47
2019-10-24 00:57:36 -07:00
Chiachang Wang
3405e43101
Merge "Extend netlink class to fit the data structure" am: 0825500b27
...
am: b862f54f41
Change-Id: I9627f5dd2f8fec93fe4381b2ff38b5c9399be9b6
2019-10-24 00:51:36 -07:00
Chiachang Wang
b862f54f41
Merge "Extend netlink class to fit the data structure"
...
am: 0825500b27
Change-Id: I8761a413249e5ba95f584e0a89c7acfa388d7f00
2019-10-24 00:45:37 -07:00
Chiachang Wang
0825500b27
Merge "Extend netlink class to fit the data structure"
2019-10-24 07:31:53 +00:00
markchien
08cc03051a
[Tether03] Migrate IpServer into module
...
Add IpServer which is used to serve ip configuration, dhcp, dns proxy
and nat for downstream interface.
Bug: 136040414
Test: -build, flash, boot
-atest TetheringTests
-atest FrameworksNetTests
Change-Id: I23652ae0b9509abe7d38da96d523eb22ab00a343
2019-10-24 14:20:52 +08:00
markchien
a6ba54d59d
[Tether02] Migrate TetheringConfiguration into module
...
TetheringConfiguration is a utility class to encapsulate the various
configuration elements.
Bug: 136040414
Test: -build, flash, boot
-atest TetheringTests
Change-Id: I9434ab213bc5e0fca59f14a6c8cea554abefc3a4
2019-10-24 14:00:05 +08:00
Mathieu Chartier
de49e23a3b
Fix waiting for system server to be running for BootImageProfileTest
...
In the case where system server was not yet running, the invalid pid
would cause the test to fail instead of doing the 20 retry loop.
Fixed the logic to handle this case.
Presumably fixes test flakyness.
Bug: 143223380
Bug: 139883463
Test: atest ./tests/BootImageProfileTest/src/com/android/bootimageprofile/BootImageProfileTest.java
Change-Id: I4bac03e7f377058479f75daaa0d57608614bf329
2019-10-23 14:06:40 -07:00
Chiachang Wang
5d62167efc
Extend netlink class to fit the data structure
...
In order to get the tcp_info via netlink socket from kernel,
NetworkStack needs to use netlink class to pack and parse the
InetDiagReq. Current design hardcodes ididag_ext field in
InetDiagReqV2. The structure is also not allowed to take null
id to not to specify certain socket. Update the constructor and
backward support exising constructor.
Bug: 136162280
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: Id66da1797da183ae3d99073f80bad1df929946dc
2019-10-23 21:52:36 +09:00
Lucas Lin
22eafd1757
Merge "Better notification to user when DNS-over-TLS is broken" am: 81852c8481 am: eb24608dbc am: a55366ffdb
...
am: 7038dfad2a
Change-Id: Iffbdc181d8249f26b3c370474583673aaa1c5032
2019-10-23 03:27:05 -07:00
Lucas Lin
7038dfad2a
Merge "Better notification to user when DNS-over-TLS is broken" am: 81852c8481 am: eb24608dbc
...
am: a55366ffdb
Change-Id: I9d840678b1612c89b7917e8eece0c920326a83a0
2019-10-23 03:20:21 -07:00
Lucas Lin
a55366ffdb
Merge "Better notification to user when DNS-over-TLS is broken" am: 81852c8481
...
am: eb24608dbc
Change-Id: I2d257ced3460985be3980d122496232de73d18b3
2019-10-23 03:07:15 -07:00
Lucas Lin
eb24608dbc
Merge "Better notification to user when DNS-over-TLS is broken"
...
am: 81852c8481
Change-Id: I8be963e35ed5e5ba914c6d3504a52ccb789aaf29
2019-10-23 02:51:56 -07:00
Lucas Lin
81852c8481
Merge "Better notification to user when DNS-over-TLS is broken"
2019-10-23 09:20:09 +00:00
lucaslin
783f221065
Better notification to user when DNS-over-TLS is broken
...
Provide a specifc notification to let users know that device
has no internet is because it really doesn't have internet access
or it's caused by private DNS resolution failed.
Bug: 113242081
Test: atest FrameworksNetTests
Change-Id: I710c88a4742f5fd56c39fc797d7fa3ad36dba553
2019-10-22 18:27:33 +08:00
JW Wang
02e8f06e4c
Remove some getDevice().waitForDeviceAvailable()s
...
Remove getDevice().waitForDeviceAvailable() that follows
getDevice().reboot() for reboot() has called waitForDeviceAvailable()
internally.
See b/143114522 #1 for more details.
Bug: 143114522
Test: atest StagedRollbackTest
Change-Id: I19d3648947435b8d5a10d09736b170fd8be8be47
2019-10-22 15:07:56 +08:00
JW Wang
9f7c1aa39d
Test rollback not triggered when crashing under the threshold (2/n)
...
Move some code to testBadApkOnly_Phase2 so we also test rollback is not
triggered when we don't crash enough times.
Bug: 143052400
Test: atest StagedRollbackTest
Change-Id: If1e3fbbdc24e7e5e2c25c28a4c6b3b1980ac01fd
2019-10-22 09:43:38 +08:00
JW Wang
c6efb184cd
Don't assume how many crashes to trigger rollback (1/n)
...
Set the device property so we know exactly how many crashes we need
to trigger rollback.
Bug: 143052400
Test: atest StagedRollbackTest
Change-Id: I0455d3ad6848bf3bfdbb238cfbf6b067deb89957
2019-10-22 09:43:38 +08:00
Mathieu Chartier
d590c3886b
Merge "Use phenotype properties for boot image profile test" am: 90dfd6b009 am: 06792d7c5c am: 96fb70cc75
...
am: 789d0737ac
Change-Id: Ib7359ab34acecd5c8823df9087703eb5553caeba
2019-10-21 17:16:06 -07:00
Mathieu Chartier
789d0737ac
Merge "Use phenotype properties for boot image profile test" am: 90dfd6b009 am: 06792d7c5c
...
am: 96fb70cc75
Change-Id: I21781e09e3e34bf1f9c170a411a82065ed0a2532
2019-10-21 17:09:19 -07:00
Mathieu Chartier
96fb70cc75
Merge "Use phenotype properties for boot image profile test" am: 90dfd6b009
...
am: 06792d7c5c
Change-Id: Ic6cd5b600ff8b36a47489897e423b9a53ad8d611
2019-10-21 16:56:09 -07:00
Mathieu Chartier
06792d7c5c
Merge "Use phenotype properties for boot image profile test"
...
am: 90dfd6b009
Change-Id: I6044413eebc96a7bc7d10ba98a30c540011a036a
2019-10-21 16:50:11 -07:00
Mathieu Chartier
90dfd6b009
Merge "Use phenotype properties for boot image profile test"
2019-10-21 23:23:49 +00:00
TreeHugger Robot
c086a4cd79
Merge "Code cleanup: StagedRollbackTest (6/n)"
2019-10-21 23:01:00 +00:00
TreeHugger Robot
5df072b6ae
Merge changes from topic "usagestats-obfuscation"
...
* changes:
Do not retain UsageStats for uninstalled packages.
Catch exceptions in UsageStatsService on bad data.
Obfuscate usage stats data stored on disk.
2019-10-21 17:53:38 +00:00
TreeHugger Robot
2fc4bef2da
Merge "Code cleanup: StagedRollbackTest (5/n)"
2019-10-21 14:08:54 +00:00
TreeHugger Robot
2b3c57a140
Merge "Code cleanup: StagedRollbackTest (4/n)"
2019-10-21 11:59:28 +00:00
Tiger Huang
fb8eddcf85
Merge "Window Manager Flag Migration (4/n)"
2019-10-21 11:37:53 +00:00
Martin Stjernholm
bd1bd50f93
Merge "Remove unnecessary dependencies on ART internal libraries." am: 30b3905091 am: 2e801cbad6 am: 9a8aae30d4
...
am: 4c3d8cf133
Change-Id: Ief1fda0e7bc6da454d24e49853f260d3a1989e50
2019-10-19 06:02:55 -07:00
Martin Stjernholm
4c3d8cf133
Merge "Remove unnecessary dependencies on ART internal libraries." am: 30b3905091 am: 2e801cbad6
...
am: 9a8aae30d4
Change-Id: Idbc8ca12eab74729f5c889174fedc1651ee1b13a
2019-10-19 05:51:19 -07:00