Commit graph

5,835 commits

Message SHA1
Merge "Support query cancellation for async DNS API"
am: fb47755153

Change-Id: I400d98e13cf36ca16c3743eddee96bfae4b47b5c

Luke Huang   authored and   android-build-merger   commited 2019-03-21 20:50:18 -07:00
b899f2b3bc
Merge "Support query cancellation for async DNS API"
Luke Huang   authored and   Gerrit Code Review   commited 2019-03-22 03:26:21 +00:00
fb47755153
Merge "Fix Automated API Review issues."
am: e9109ceb23

Change-Id: I9c007c129269a80d9aede31c8980dbd42e9f1f84

Paul Hu   authored and   android-build-merger   commited 2019-03-21 10:46:03 -07:00
fa662c4b91
Merge "Fix Automated API Review issues."
Paul Hu   authored and   Gerrit Code Review   commited 2019-03-21 17:19:26 +00:00
e9109ceb23
Merge "Temporarily disable flaky test."
am: d2ff961201

Change-Id: I3f2f81a6884ba1ffc212c4da393846a597af831b

lucaslin   authored and   android-build-merger   commited 2019-03-21 08:19:47 -07:00
ead65ee6f8
Merge "Temporarily disable flaky test."
Treehugger Robot   authored and   Gerrit Code Review   commited 2019-03-21 15:04:15 +00:00
d2ff961201
Merge "Fix Automated API Review issues."
am: 8c128c9413

Change-Id: I9cbe7dc166ec066b8785553f31dc32ea0572be8e

Paul Hu   authored and   android-build-merger   commited 2019-03-21 07:24:16 -07:00
0565167d6b
Merge "Fix Automated API Review issues."
Paul Hu   authored and   Gerrit Code Review   commited 2019-03-21 14:11:36 +00:00
8c128c9413
Merge "Replace TcpSocketInfo with similar structure"
am: 19a71f90e4

Change-Id: I6e3f89a910fc3ab7524da1c5c5b525a72191a4ed

Mark Chien   authored and   android-build-merger   commited 2019-03-21 05:14:45 -07:00
192c20eed5
Merge "Replace TcpSocketInfo with similar structure"
Mark Chien   authored and   Gerrit Code Review   commited 2019-03-21 12:02:54 +00:00
19a71f90e4
Temporarily disable flaky test.
Test: None
Bug: 128426024
Change-Id: I6fa12e50decbafe9d934030865c5a8f20d42b86f

lucaslin   commited 2019-03-21 19:14:32 +08:00
0f755c31a5
Merge "Restrict scope of switch Repair Mode"
am: c8cd597aed

Change-Id: Ie655ad82d0441aa6ad6fc45a6e63dc2a53338148

Mark Chien   authored and   android-build-merger   commited 2019-03-21 00:18:11 -07:00
3f413f5fca
Fix Automated API Review issues.
These API's argument/return value must be marked either @NonNull
or @Nullable.

Bug: 126701148
Bug: 126699090
Bug: 126701058
Bug: 126700772
Bug: 126699941
Bug: 126701299
Bug: 126700007
Bug: 126700900
Test: atest FrameworksNetTests
Change-Id: Id030a9f1116178b96aa3d4614b10969a537b2fc4

paulhu   commited 2019-03-21 15:16:58 +08:00
2a0fccf6ae
Merge "Restrict scope of switch Repair Mode"
Mark Chien   authored and   Gerrit Code Review   commited 2019-03-21 07:02:14 +00:00
c8cd597aed
Merge "Cleanup NetworkManagementService for Netd commnads binder migrartion"
am: cfd6cdf447

Change-Id: I86ca4cab29099b26f797ef6fce94dbb6f5183b90

Luke Huang   authored and   android-build-merger   commited 2019-03-20 23:18:25 -07:00
f3b2546131
Merge "Cleanup NetworkManagementService for Netd commnads binder migrartion"
Luke Huang   authored and   Gerrit Code Review   commited 2019-03-21 06:01:25 +00:00
cfd6cdf447
Fix Automated API Review issues.
1. Some API's argument/return value must be marked either
@NonNull or @Nullable.
2. Change some system APIs to public APIs.
3. Modify the method name

Bug: 126700123
Bug: 126702339
Bug: 126699682
Bug: 118296575
Bug: 126699216
Bug: 126699675
Bug: 126699429
Bug: 126699193
Bug: 123586045
Test: atest FrameworksNetTests
Change-Id: Iaa2832cdcf83758ed0fec81b954a0c63bc5a7bf6

paulhu   commited 2019-03-21 13:55:37 +08:00
9bb0480c2a
Merge "Improve partial connectivity"
am: ce8235772b

Change-Id: I19c41c88d32643f82531c7afc3d4248ef9b44b53

Lucas Lin   authored and   android-build-merger   commited 2019-03-20 20:45:42 -07:00
8f78c70595
Merge "Improve partial connectivity"
Lucas Lin   authored and   Gerrit Code Review   commited 2019-03-21 03:34:30 +00:00
ce8235772b
Replace TcpSocketInfo with similar structure
Replace TcpSocketInfo with TcpKeepalivePacketDataParcelable
because their structures are very similar.

bug: 128882321
Test: -build, flash, boot
      -FrameworksNetTests

Change-Id: Iafb4031a64ba4775a495c156e2c997d890c6b261

markchien   commited 2019-03-20 22:29:48 +08:00
0fcb07885b
Restrict scope of switch Repair Mode
Bug: 123969339
Test: -boot, flash
      -atest FrameworksNetTests

Change-Id: Ie0fb685be5f7a2d06544065d67c605d87a19ff2f

markchien   commited 2019-03-20 22:20:56 +08:00
f175d40379
Cleanup NetworkManagementService for Netd commnads binder migrartion
remove dead code used for netd UNIX sokcet

Bug: 65862741
Test: atest NetworkManagementServiceTest FrameworksNetTests
Change-Id: I5db61cb86325b71ac8a8fce7b15dbf569abc5935

Luke Huang   commited 2019-03-20 20:02:24 +08:00
c5fdf01476
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

lucaslin   commited 2019-03-20 18:21:59 +08:00
2afb4bcbcb
Merge changes from topic "framework-no-networkstack-aidl"
am: 0063d13ca7

Change-Id: I13ba3cb016a63353cfa62a61106d16e30eff0076

Lorenzo Colitti   authored and   android-build-merger   commited 2019-03-20 03:18:47 -07:00
6214a4705c
Move TcpKeepalivePacketData out of the framework.
am: d9d3bced06

Change-Id: I7657e6827299ad398bc16bc792150fd901226b4d

Lorenzo Colitti   authored and   android-build-merger   commited 2019-03-20 03:11:11 -07:00
8e71306c9e
Stop using netd parcelables in the framework.
am: 196fe35040

Change-Id: Ic4ac445c582ff8b55d253d99de6750d250e9d9e5

Lorenzo Colitti   authored and   android-build-merger   commited 2019-03-20 03:03:27 -07:00
60a5a9416b
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.

Lorenzo Colitti   authored and   Gerrit Code Review   commited 2019-03-20 09:45:37 +00:00
0063d13ca7
Merge "Add documentation for CaptivePortal APP_RETURN_*"
am: a15a1c53d5

Change-Id: Idc55c5c729e2a66ad845dbc8ddaf97580c7ae8cc

Remi NGUYEN VAN   authored and   android-build-merger   commited 2019-03-19 22:53:43 -07:00
d623ba8571
Merge "Add documentation for CaptivePortal APP_RETURN_*"
Remi NGUYEN VAN   authored and   Gerrit Code Review   commited 2019-03-20 05:40:41 +00:00
a15a1c53d5
Merge "Add Parcelable implementation for ApfCapabilities"
am: 9a35341fe2

Change-Id: I218b583755259a8c0824777c3247a090bdbd348b

Remi NGUYEN VAN   authored and   android-build-merger   commited 2019-03-19 17:51:34 -07:00
78d8ff6bf8
Merge "Add Parcelable implementation for ApfCapabilities"
Remi NGUYEN VAN   authored and   Gerrit Code Review   commited 2019-03-20 00:34:53 +00:00
9a35341fe2
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

Lorenzo Colitti   commited 2019-03-20 08:56:31 +09:00
d9d3bced06
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

Lorenzo Colitti   commited 2019-03-20 08:56:24 +09:00
196fe35040
Merge "Add uid information in PackageListObserver"
am: 63e0701ecb

Change-Id: I4fef26fed802902d6a69563c19704a94916ff834

Chenbo Feng   authored and   android-build-merger   commited 2019-03-19 14:42:14 -07:00
b6972b2566
Merge "Add uid information in PackageListObserver"
Treehugger Robot   authored and   Gerrit Code Review   commited 2019-03-19 21:19:16 +00:00
63e0701ecb
Merge "Add unit tests related to data accounting for VPNs with one underlying network."
am: 0572cf6752

Change-Id: I91971112870c7a3a2d4786c25125204de7e008f5

Varun Anand   authored and   android-build-merger   commited 2019-03-19 09:28:22 -07:00
42db9375aa
Merge "Add unit tests related to data accounting for VPNs with one underlying network."
Treehugger Robot   authored and   Gerrit Code Review   commited 2019-03-19 16:18:28 +00:00
0572cf6752
Merge "Move the IpMemoryStore to the network stack."
am: 3b3aabfb68

Change-Id: I672d07ca2d0a251c246993ab8c7c3075de385570

Xiao Ma   authored and   android-build-merger   commited 2019-03-19 06:35:31 -07:00
e0f77826f7
Merge "Move the IpMemoryStore to the network stack."
Xiao Ma   authored and   Gerrit Code Review   commited 2019-03-19 13:21:12 +00:00
3b3aabfb68
Add documentation for CaptivePortal APP_RETURN_*
This fixes API review requests.

Test: atest FrameworksNetTests NetworkStackTests
Bug: 126883311
Change-Id: I0632a98675e65c5e722e81a2c1e0cf1403b54395

Remi NGUYEN VAN   commited 2019-03-19 18:57:44 +09:00
cd13f8f3d5
Merge "Replace Handler with Executor for async DNS API"
am: 44bd665c9e

Change-Id: I5fb0d659d27894ca9f243654f9283764f1369745

Luke Huang   authored and   android-build-merger   commited 2019-03-18 23:05:15 -07:00
b856fc1410
Merge "Refactor answer callback for async DNS query JAVA API"
am: b65af07286

Change-Id: I26eb642cc04e3804cd82a56e45a890689b3c643f

Luke Huang   authored and   android-build-merger   commited 2019-03-18 22:55:37 -07:00
9ddf2c10aa
Merge "Replace Handler with Executor for async DNS API"
Luke Huang   authored and   Gerrit Code Review   commited 2019-03-19 05:35:39 +00:00
44bd665c9e
Merge "Refactor answer callback for async DNS query JAVA API"
Luke Huang   authored and   Gerrit Code Review   commited 2019-03-19 05:35:18 +00:00
b65af07286
Merge "Remove deprecated entitlement API"
am: 9d9850ae30

Change-Id: I6b19b684a1dfa509ee77304d6acfe3fcdb6ca69c

Mark Chien   authored and   android-build-merger   commited 2019-03-18 20:00:35 -07:00
c818ace0cc
Merge "Remove deprecated entitlement API"
Mark Chien   authored and   Gerrit Code Review   commited 2019-03-19 02:44:37 +00:00
9d9850ae30
Add uid information in PackageListObserver
The uid information of a removed package cannot be retrieved by the
packageName anymore once it is removed. So it would be useful to provide
the uid of removed package in the onPackageAdded and onPackageRemoved
method of the PackageListObserver. This modification helps simplify the
design in PermissionMonitor.

Bug: 125396053
Test: dumpsys netd trafficcontroller

Exempt-From-Owner-Approval: Already merged in internal master
Merged-In: I2bd4bdf924687960a4fa3a47235bae68d885e445
Change-Id: I2bd4bdf924687960a4fa3a47235bae68d885e445

Chenbo Feng   commited 2019-03-18 19:32:29 -07:00
f3e11e733d
Move the IpMemoryStore to the network stack.
Test: atest FrameworksNetTests
Change-Id: Ic5bd6ff54b09a6fa92b6863f240a5b053011acb6

Chalard Jean   authored and   Xiao Ma   commited 2019-03-18 11:33:17 +09:00
0727435c56
Merge "Remove NetworkParcelable"
am: 7391d04a26

Change-Id: I8dc6d665a33d19ecad2bd5f611c2b68e08d53b97

Remi NGUYEN VAN   authored and   android-build-merger   commited 2019-03-17 18:44:58 -07:00
7dc93f8a1e
Merge "Remove NetworkParcelable"
Remi NGUYEN VAN   authored and   Gerrit Code Review   commited 2019-03-18 01:30:25 +00:00
7391d04a26