Commit Graph

93821 Commits

Author SHA1 Message Date
Luke Huang
e800f7719f Merge "Cleanup NetworkManagementService for Netd commnads binder migrartion" am: 3af01e2f46
am: e374524144

Change-Id: Idb5909a8a537ae155a985670cfaf4e993ef3d95d
2019-03-20 23:28:53 -07:00
Luke Huang
e374524144 Merge "Cleanup NetworkManagementService for Netd commnads binder migrartion"
am: 3af01e2f46

Change-Id: I86ca4cab29099b26f797ef6fce94dbb6f5183b90
2019-03-20 23:18:25 -07:00
Luke Huang
3af01e2f46 Merge "Cleanup NetworkManagementService for Netd commnads binder migrartion" 2019-03-21 06:01:25 +00:00
Lucas Lin
728a68eefc Merge "Improve partial connectivity" am: f6cbc2d533
am: 270e77d930

Change-Id: Ie68acfe6e2182588cdd8b70d67651241573b2189
2019-03-20 20:56:16 -07:00
Lucas Lin
270e77d930 Merge "Improve partial connectivity"
am: f6cbc2d533

Change-Id: I19c41c88d32643f82531c7afc3d4248ef9b44b53
2019-03-20 20:45:42 -07:00
Lucas Lin
f6cbc2d533 Merge "Improve partial connectivity" 2019-03-21 03:34:30 +00:00
Patrick Huang
4569889818 Merge "Document permissions for euicc privileged actions." am: 7e2e333769
am: fd5caa2de4

Change-Id: Id8636717370f966aace260d4865b2b8024560a0a
2019-03-20 19:02:03 -07:00
Patrick Huang
fd5caa2de4 Merge "Document permissions for euicc privileged actions."
am: 7e2e333769

Change-Id: Ief36f070adf466447ec676487817f21d550b5527
2019-03-20 18:52:41 -07:00
Patrick Huang
dafb87c957 Document permissions for euicc privileged actions.
Bug: 128317064
Test: Test on phone
Change-Id: I285597e48e97f1b4ffe4b4eb4ac68010905f4e1f
Merged-In: I285597e48e97f1b4ffe4b4eb4ac68010905f4e1f
2019-03-20 15:35:14 -07:00
Steven Moreland
c56862250d Merge "pm: SharedLibraryInfo: toString closing bracket" am: 05a8e0b44c
am: 48b058ef41

Change-Id: Ib7d2078a0f995a8d6a1ba7ea39dd6e1dd5ea0963
2019-03-20 11:22:29 -07:00
Steven Moreland
48b058ef41 Merge "pm: SharedLibraryInfo: toString closing bracket"
am: 05a8e0b44c

Change-Id: I373baed1fdd987bef7dafdbabacb86a0ef6cfbc0
2019-03-20 11:06:08 -07:00
Treehugger Robot
05a8e0b44c Merge "pm: SharedLibraryInfo: toString closing bracket" 2019-03-20 17:51:00 +00:00
Luke Huang
909b31aaf1 Cleanup NetworkManagementService for Netd commnads binder migrartion
remove dead code used for netd UNIX sokcet

Bug: 65862741
Test: atest NetworkManagementServiceTest FrameworksNetTests
Change-Id: I5db61cb86325b71ac8a8fce7b15dbf569abc5935
2019-03-20 20:02:24 +08:00
Lorenzo Colitti
aa597216e3 Move TcpKeepalivePacketData out of the framework. am: a3f811a547
am: bc1d9ded1a

Change-Id: I5f90bdf3993c472f5564164e17106d2a59233656
2019-03-20 03:32:50 -07:00
Lorenzo Colitti
d5d9507572 Stop using netd parcelables in the framework. am: b90ad24f99
am: faa074ebbe

Change-Id: I5a8e45d669f36dfdc67b9f9533d0ff6a24e8f27c
2019-03-20 03:28:08 -07:00
lucaslin
4333899a41 Improve partial connectivity
Improve the design and fix some nits.

Bug: 113450764
Test: 1. Build pass
      2. atest FrameworksNetTests
      3. atest NetworkStackTests
      4. Change captive_portal_https_url to https://invalid.com
      to simulate partial connectivity.
Change-Id: Ia56645841d00d2ed8406cfeacb86a4a27fd58650
2019-03-20 18:21:59 +08:00
Lorenzo Colitti
bc1d9ded1a Move TcpKeepalivePacketData out of the framework.
am: a3f811a547

Change-Id: I7657e6827299ad398bc16bc792150fd901226b4d
2019-03-20 03:11:11 -07:00
Lorenzo Colitti
faa074ebbe Stop using netd parcelables in the framework.
am: b90ad24f99

Change-Id: Ic4ac445c582ff8b55d253d99de6750d250e9d9e5
2019-03-20 03:03:27 -07:00
Lorenzo Colitti
74867d1661 Merge changes from topic "framework-no-networkstack-aidl"
* changes:
  Remove the framework dependency on netd_aidl_parcelables-java.
  Move TcpKeepalivePacketData out of the framework.
  Stop using netd parcelables in the framework.
2019-03-20 09:45:37 +00:00
Remi NGUYEN VAN
73a4b8e463 Merge "Add documentation for CaptivePortal APP_RETURN_*" am: 31e3f2e734
am: 72841b4287

Change-Id: I1e14b2d2d5f49980601f2e75eeffc992997de3f5
2019-03-19 23:02:52 -07:00
Remi NGUYEN VAN
72841b4287 Merge "Add documentation for CaptivePortal APP_RETURN_*"
am: 31e3f2e734

Change-Id: Idc55c5c729e2a66ad845dbc8ddaf97580c7ae8cc
2019-03-19 22:53:43 -07:00
Remi NGUYEN VAN
31e3f2e734 Merge "Add documentation for CaptivePortal APP_RETURN_*" 2019-03-20 05:40:41 +00:00
Remi NGUYEN VAN
61ac53a0fc Merge "Add Parcelable implementation for ApfCapabilities" am: cea27f4327
am: 39e5f3feaf

Change-Id: Iecec6a6376e2ff64d24813dbdb5b958f6968d627
2019-03-19 17:59:22 -07:00
Remi NGUYEN VAN
39e5f3feaf Merge "Add Parcelable implementation for ApfCapabilities"
am: cea27f4327

Change-Id: I218b583755259a8c0824777c3247a090bdbd348b
2019-03-19 17:51:34 -07:00
Remi NGUYEN VAN
cea27f4327 Merge "Add Parcelable implementation for ApfCapabilities" 2019-03-20 00:34:53 +00:00
Lorenzo Colitti
a3f811a547 Move TcpKeepalivePacketData out of the framework.
This class is not used in framework.jar, only in services.jar.
Move it out of the framework so framework.jar can stop depending
on the NetworkStack stable AIDL interfaces.

This should really under com.android.server as well, but that's
a cross-project change to be done in another CL.

Test: m
Bug: 128804404
Change-Id: Ib2805f7fcc516a5f6989c252365d1c95b8042703
Merged-In: Ib2805f7fcc516a5f6989c252365d1c95b8042703
2019-03-20 08:56:31 +09:00
Lorenzo Colitti
b90ad24f99 Stop using netd parcelables in the framework.
The only actual users of these classes are in services.jar, not
in frameworks.jar. The only reason the framework depends on them
is that the code that converts to and from stable parcelables is
currently in the framework. Move that code to services and cut
the dependency.

These classes aren't used in the networkstack app so they don't
need to be in shared. They also can't be in shared because the
classes are not in the SDK. So put the conversion functions
directly inside their only user (NetworkManagementService).

Also remove the jarjar rules that rename the classes for use by
the NetworkStack app.

This does not actually remove the dependency from the build file,
that will be done in a future CL.

Bug: 128804404
Test: builds, boots
Test: atest FrameworksNetTests android.net.cts.ConnectivityManagerTest HostsideVpnTests
Change-Id: I027d50ba56091f5558f45e6e08f32e5912b2a82a
Merged-In: I027d50ba56091f5558f45e6e08f32e5912b2a82a
2019-03-20 08:56:24 +09:00
Andreas Gampe
27799c5f83 Merge "Zygote: Load system server code early" am: f039816600
am: 782ae5139d

Change-Id: I82e6879aec4c55c806c3b512a813253cb122b656
2019-03-19 15:05:42 -07:00
Chenbo Feng
89ca736711 Merge "Add uid information in PackageListObserver" am: 62e041a6dd
am: c059f56e0f

Change-Id: I61f46bf443c2027ed70a884f0cbb3ede80a8c1f3
2019-03-19 14:53:10 -07:00
Andreas Gampe
782ae5139d Merge "Zygote: Load system server code early"
am: f039816600

Change-Id: I0a2895b64d3a505c3de8e6dfe24a861cc1e38fec
2019-03-19 14:49:48 -07:00
Chenbo Feng
c059f56e0f Merge "Add uid information in PackageListObserver"
am: 62e041a6dd

Change-Id: I4fef26fed802902d6a69563c19704a94916ff834
2019-03-19 14:42:14 -07:00
Andreas Gampe
f039816600 Merge "Zygote: Load system server code early" 2019-03-19 21:37:38 +00:00
Treehugger Robot
62e041a6dd Merge "Add uid information in PackageListObserver" 2019-03-19 21:19:16 +00:00
Andreas Gampe
6b6f96de15 Zygote: Load system server code early
In an effort to allow loading integrity-checked artifacts from
the dalvik-cache, attempt to create and cache the system server's
classloader early, while still being in the system_server_startup
selinux domain.

The advantage of this approach is that allowances for loading
from the cache are restricted to startup.

Bug: 128688902
Test: m
Test: Device boots, picks up /system artifacts
Test: Device boots, picks up integrity-checked /data artifacts
Merged-In: If4a75fa106db09f1bd666d6d8df7ac3ac3e35a8c
Change-Id: If4a75fa106db09f1bd666d6d8df7ac3ac3e35a8c
2019-03-19 10:41:32 -07:00
Varun Anand
4587994398 Merge "Add unit tests related to data accounting for VPNs with one underlying network." am: 289759e0d2
am: 7baa232824

Change-Id: I7ab73884266bc4b64d1914557a29e84fc4de431e
2019-03-19 09:37:37 -07:00
Varun Anand
7baa232824 Merge "Add unit tests related to data accounting for VPNs with one underlying network."
am: 289759e0d2

Change-Id: I91971112870c7a3a2d4786c25125204de7e008f5
2019-03-19 09:28:22 -07:00
Treehugger Robot
289759e0d2 Merge "Add unit tests related to data accounting for VPNs with one underlying network." 2019-03-19 16:18:28 +00:00
Kiyoung Kim
e1e02641af Merge "Mark product apks as unbundled" am: 856ef55672
am: 716111d81c

Change-Id: I242bbc9c151a4a8751d852fed34ec021675aad1b
2019-03-19 07:30:57 -07:00
Kiyoung Kim
716111d81c Merge "Mark product apks as unbundled"
am: 856ef55672

Change-Id: I9d4d7cf2ae8e47c8aaed82d0d47861cd7d787067
2019-03-19 07:17:53 -07:00
Treehugger Robot
856ef55672 Merge "Mark product apks as unbundled" 2019-03-19 14:02:59 +00:00
Xiao Ma
3176d57308 Merge "Move the IpMemoryStore to the network stack." am: 93bf5ef495
am: 5db1518bfa

Change-Id: I20e384320309579b19fe44f3841ffbc49c028c6d
2019-03-19 06:44:45 -07:00
Xiao Ma
5db1518bfa Merge "Move the IpMemoryStore to the network stack."
am: 93bf5ef495

Change-Id: I672d07ca2d0a251c246993ab8c7c3075de385570
2019-03-19 06:35:31 -07:00
Xiao Ma
93bf5ef495 Merge "Move the IpMemoryStore to the network stack." 2019-03-19 13:21:12 +00:00
Remi NGUYEN VAN
e501d2ab23 Add documentation for CaptivePortal APP_RETURN_*
This fixes API review requests.

Test: atest FrameworksNetTests NetworkStackTests
Bug: 126883311
Change-Id: I0632a98675e65c5e722e81a2c1e0cf1403b54395
2019-03-19 18:57:44 +09:00
Remi NGUYEN VAN
e35cba5262 Merge "Fix API for SocketUtils" am: 4a66729cfe
am: 55d7bc0106

Change-Id: I81f59494241c5806c7c58422b6ab7d0be2cdd3a4
2019-03-19 01:30:11 -07:00
Remi NGUYEN VAN
55d7bc0106 Merge "Fix API for SocketUtils"
am: 4a66729cfe

Change-Id: I2340b528ab7a1a628e257205603d0d902f7cccd0
2019-03-19 01:21:20 -07:00
Remi NGUYEN VAN
4a66729cfe Merge "Fix API for SocketUtils" 2019-03-19 08:08:50 +00:00
Luke Huang
e640b70ee8 Merge "Replace Handler with Executor for async DNS API" am: 2656b3d4cc
am: 7d249575a1

Change-Id: I40ce45d039e01f831b6f4f50ed360a2a206a1146
2019-03-18 23:25:58 -07:00
Luke Huang
6e2648a7bc Merge "Refactor answer callback for async DNS query JAVA API" am: f1d0fd2642
am: 9a4c839725

Change-Id: I7538b247c5bd84d7f5b21be11b9bb1940fb9ba5a
2019-03-18 23:09:58 -07:00
Luke Huang
7d249575a1 Merge "Replace Handler with Executor for async DNS API"
am: 2656b3d4cc

Change-Id: I5fb0d659d27894ca9f243654f9283764f1369745
2019-03-18 23:05:15 -07:00