Whitelist packages from VPN lockdown.
...
Bug: 77468593
Test: atest com.android.server.connectivity.VpnTest
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Test: MixedDeviceOwnerTest#testAlwaysOnVpnAcrossReboot
Change-Id: I7f6c5b9172063b588feacd6b9930a6cb88f764ab
Pavel Grafov
commited 2019-01-24 11:34:17 +00:00
a2f5288aed
Merge "Migrate ICaptivePortal to stable AIDL"
Lorenzo Colitti
authored and
Android (Google) Code Review
commited 2019-01-22 15:38:07 +00:00
c66564f296
Merge "Add API for VPN apps to query always-on and lockdown." am: c9ea55c3f7 am: 721dbccad1
...
am: ec53cd06b0
Change-Id: Ied8e5a01cdf76d8da02d2dc292943e6a559cc84e
Pavel Grafov
authored and
android-build-merger
commited 2019-01-22 07:19:18 -08:00
833939a5c9
Merge "Add API for VPN apps to query always-on and lockdown." am: c9ea55c3f7
...
am: 721dbccad1
Change-Id: I48f3441f06af2a69776eacc5ee52463873739bdb
Pavel Grafov
authored and
android-build-merger
commited 2019-01-22 07:09:43 -08:00
ec53cd06b0
Merge "Add API for VPN apps to query always-on and lockdown."
Pavel Grafov
authored and
Gerrit Code Review
commited 2019-01-22 14:43:06 +00:00
c9ea55c3f7
Migrate ICaptivePortal to stable AIDL
...
Also add required API for the captive portal app to stop using hidden
members.
Test: atest FrameworksNetTests NetworkStackTests
Bug: 112869080
Change-Id: I62b457e709fa199822bb8f80b0eab990be4ded93
Remi NGUYEN VAN
commited 2019-01-22 21:16:47 +09:00
e0bc140f97
Merge "Add LinkProps and NetworkCaps methods to SystemApi" am: 4bde11491b am: e090d600c5
...
am: 66c8e76081
Change-Id: I7e5a733b5c581679c0e50015205d9b8a3a2e8df2
Remi NGUYEN VAN
authored and
android-build-merger
commited 2019-01-22 03:54:23 -08:00
125e15852f
Merge "Add LinkProps and NetworkCaps methods to SystemApi" am: 4bde11491b
...
am: e090d600c5
Change-Id: Ic15474fe0b7da8062114367ec4f692e30e73d549
Remi NGUYEN VAN
authored and
android-build-merger
commited 2019-01-22 03:27:36 -08:00
66c8e76081
Add LinkProps and NetworkCaps methods to SystemApi
...
Added methods are used by the NetworkStack.
Test: atest FrameworksNetTests NetworkStackTests
Bug: 112869080
Change-Id: I8822d43c1a4981ca39289525685b3f975fb0e8d5
Remi NGUYEN VAN
commited 2019-01-22 16:57:16 +09:00
048c9413e6
Merge "Add NetworkMonitor constants to SystemApi" am: 591de4579d
...
am: b78f2a5d68
Change-Id: I0281ff981cbd5d26a2f2874db23244bebad9c66b
Remi NGUYEN VAN
authored and
android-build-merger
commited 2019-01-21 19:25:05 -08:00
c90d59e401
Merge "Add NetworkMonitor constants to SystemApi"
Remi NGUYEN VAN
authored and
Gerrit Code Review
commited 2019-01-22 03:03:37 +00:00
591de4579d
Merge "Add NetworkMonitor constants to SystemApi"
Remi NGUYEN VAN
authored and
Android (Google) Code Review
commited 2019-01-22 01:46:12 +00:00
ea76c43d5a
Merge "Add fields used by NetworkStack to the API" am: ca2d2c268b am: 81bbdbb10f
...
am: 22ce4c1af7
Change-Id: I865a0298a17582c1c2d1f1eeb086979f8955ac33
Remi NGUYEN VAN
authored and
android-build-merger
commited 2019-01-21 15:57:53 -08:00
f76eb47fe3
Merge "Add fields used by NetworkStack to the API" am: ca2d2c268b
...
am: 81bbdbb10f
Change-Id: I5b7cce21b8692184f9d6121f0641bc2318370671
Remi NGUYEN VAN
authored and
android-build-merger
commited 2019-01-21 15:47:28 -08:00
22ce4c1af7
Merge "Add fields used by NetworkStack to the API"
Remi NGUYEN VAN
authored and
Gerrit Code Review
commited 2019-01-21 23:20:26 +00:00
ca2d2c268b
Merge "Add stable AIDL parcelables for IIpClient API" am: df5f539427 am: 2ec1342261
...
am: 10b0b4e128
Change-Id: Ieac619f043a7142cbbec3eaec334b7fac97ce7fc
Remi NGUYEN VAN
authored and
android-build-merger
commited 2019-01-21 11:19:54 -08:00
6be4e67962
Merge "Add stable AIDL parcelables for IIpClient API" am: df5f539427
...
am: 2ec1342261
Change-Id: Ifae5ae9e6e396452ce4c432d8aa613d03ba59824
Remi NGUYEN VAN
authored and
android-build-merger
commited 2019-01-21 11:09:28 -08:00
10b0b4e128
Add fields used by NetworkStack to the API
...
Test: m
Bug: 112869080
Change-Id: I59f6d5ae8a601b7496548b87f137a577f2365a37
Remi NGUYEN VAN
commited 2019-01-21 23:03:25 +09:00
5af2e292e1
Add API for VPN apps to query always-on and lockdown.
...
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Bug: 72628179
Change-Id: I73cb0888f7049b12ab0cdfa62678c3846e074d3b
Pavel Grafov
commited 2019-01-21 13:48:45 +00:00
23d6570821
Add NetworkMonitor constants to SystemApi
...
NetworkMonitor lives in the NetworkStack which must only use system
APIs. This includes constants used by NetworkMonitor and captive portal
login.
Bug: 112869080
Test: m
Merged-In: I8b5f0bb61c3ef0d2f33af7dd67b72ac6c5a1d1b5
Change-Id: I4879568d3fbf9435767c8d4d0ab5198d421a2f4f
Remi NGUYEN VAN
commited 2019-01-21 21:11:15 +09:00
e541d1811b
Add NetworkMonitor constants to SystemApi
...
NetworkMonitor lives in the NetworkStack which must only use system
APIs. This includes constants used by NetworkMonitor and captive portal
login.
Bug: 112869080
Test: m
(Cherry-pick of aosp I4879568d3fbf9435767c8d4d0ab5198d421a2f4f)
Change-Id: I8b5f0bb61c3ef0d2f33af7dd67b72ac6c5a1d1b5
Remi NGUYEN VAN
commited 2019-01-21 21:07:10 +09:00
c0e07e58ff
Add stable AIDL parcelables for IIpClient API
...
Test: atest FrameworksNetTests NetworkStackTests
Bug: b/112869080
Change-Id: Ia4ac1eb482850a06c4dc1b6c1fe55d33d4087388
Remi NGUYEN VAN
commited 2019-01-21 12:54:24 +09:00
297c2d6086
Merge "Add Nat64Prefix to LinkProperties copy constructor" am: 202d9f1837 am: ae8a5f9ec3
...
am: 401a478678
Change-Id: I79e600d35770710f07adc55e9a7c55eb7c0f5ff1
Remi NGUYEN VAN
authored and
android-build-merger
commited 2019-01-16 01:06:17 -08:00
ba0e87cd25
Merge "Add Nat64Prefix to LinkProperties copy constructor" am: 202d9f1837
...
am: ae8a5f9ec3
Change-Id: I793230bd65e24c5976849e860defa159cf22507b
Remi NGUYEN VAN
authored and
android-build-merger
commited 2019-01-16 00:57:04 -08:00
401a478678
Add Nat64Prefix to LinkProperties copy constructor
...
The attribute is copied when parceling/unparceling so should also be
preserved in the copy constructor.
Test: tests based on this pass
Change-Id: Ia48d94fc075e6414f537dad181a236be5a32b41b
Remi NGUYEN VAN
commited 2019-01-16 15:27:27 +09:00
0dd72a25de
Merge "Add the NAT64 prefix to LinkProperties." am: 983e77db4a am: 64b4c729b9
...
am: 2a7ddd7017
Change-Id: I53948d2c3f50b9973e5b9483cf172b5932028f51
Lorenzo Colitti
authored and
android-build-merger
commited 2019-01-14 20:40:25 -08:00
37ac0647b1
Merge "Add the NAT64 prefix to LinkProperties." am: 983e77db4a
...
am: 64b4c729b9
Change-Id: I808042e00cbc1da8d3e878add9b643a75968919e
Lorenzo Colitti
authored and
android-build-merger
commited 2019-01-14 20:29:10 -08:00
2a7ddd7017
Add the NAT64 prefix to LinkProperties.
...
Currently we support exactly one NAT64 prefix. This matches what
other components in the system (Dns64Configuration, clatd, etc.)
support.
Test: atest FrameworksNetTests
Change-Id: I45a11cebe43a5e1c60d50eca7889cb317565b598
Lorenzo Colitti
commited 2019-01-12 02:16:34 +09:00
3d680287a3
Merge "Move NetworkMonitor to NetworkStack" am: 197460b8d5 am: 6cd05b8739
...
am: 77a7561f5d
Change-Id: Ia5d742bd5186e92b8a45bb72fb414b9dbdd38f78
Remi NGUYEN VAN
authored and
android-build-merger
commited 2019-01-10 21:39:06 -08:00
ae7835c4c6
Merge "Move NetworkMonitor to NetworkStack" am: 197460b8d5
...
am: 6cd05b8739
Change-Id: I438b95e135d0d86be53ea3a8ab61105a886e2a2e
Remi NGUYEN VAN
authored and
android-build-merger
commited 2019-01-10 21:29:38 -08:00
77a7561f5d
Merge "Move NetworkMonitor to NetworkStack"
Remi NGUYEN VAN
authored and
Gerrit Code Review
commited 2019-01-11 05:08:52 +00:00
197460b8d5
Move NetworkMonitor to NetworkStack
...
Bug: b/112869080
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: I1b8b6a3f4390adbabf92fb9e48da61c47b08b2ec
Remi NGUYEN VAN
commited 2019-01-11 09:59:11 +09:00
1becbe7015
Merge "Add PCSCF to LinkProperties." am: 2bcdb1acfa am: 736e813e38
...
am: 769062d78d
Change-Id: I16eedc51ad4932b7ec6a32d9e718c48cf203c2f0
Chalard Jean
authored and
android-build-merger
commited 2019-01-09 22:29:15 -08:00
58b50492c8
Merge "Add PCSCF to LinkProperties." am: 2bcdb1acfa
...
am: 736e813e38
Change-Id: I491e99f7225233d5841b61ce383325e7a1c43fa0
Chalard Jean
authored and
android-build-merger
commited 2019-01-09 22:19:14 -08:00
769062d78d
Merge "Add PCSCF to LinkProperties."
Chalard Jean
authored and
Gerrit Code Review
commited 2019-01-10 05:55:05 +00:00
2bcdb1acfa
Merge "Move DhcpServer to NetworkStack app" am: 5f81a668e8 am: ce4dabf951
...
am: ea5ca4b41c
Change-Id: I466c7cefbd30b05708e2d2201ca46fa5bcbb6ff9
Remi NGUYEN VAN
authored and
android-build-merger
commited 2019-01-09 05:53:53 -08:00
0e6823554a
Merge "Move DhcpServer to NetworkStack app" am: 5f81a668e8
...
am: ce4dabf951
Change-Id: Ib25c0422fda31c5df7743b481d5f50da209c38fa
Remi NGUYEN VAN
authored and
android-build-merger
commited 2019-01-09 05:27:59 -08:00
ea5ca4b41c
Merge "Move DhcpServer to NetworkStack app"
Remi NGUYEN VAN
authored and
Gerrit Code Review
commited 2019-01-09 10:42:48 +00:00
5f81a668e8
Move DhcpServer to NetworkStack app
...
Test: atest FrameworksNetTests && atest NetworkStackTests
Bug: b/112869080
Change-Id: I96c40e63e9ceb37b67705bdd4d120307e114715b
Remi NGUYEN VAN
commited 2019-01-09 15:42:16 +09:00
081eb96c77
Merge "Add nullability annotations to public methods of ConnManager." am: 805e2ad9db am: adf96f8103
...
am: d13e509290
Change-Id: I156f825d4f878ef9de394b38abb934de96b01038
Chalard Jean
authored and
android-build-merger
commited 2019-01-08 00:29:39 -08:00
43db24866e
Merge "Add nullability annotations to public methods of ConnManager." am: 805e2ad9db
...
am: adf96f8103
Change-Id: If2e704e1f8ddf504be9e777ec226b2ce524438dc
Chalard Jean
authored and
android-build-merger
commited 2019-01-08 00:19:52 -08:00
d13e509290
Add nullability annotations to public methods of ConnManager.
...
This is mainly for Kotlin compatibility.
https://android-developers.googleblog.com/2018/08/android-pie-sdk-is-now-more-kotlin.html
Bug: 122437895
Test: no logic changes
Change-Id: Ic1b9a774aee0099397b1ccfd958ff3b61d69a7fb
Chalard Jean
commited 2019-01-07 19:35:09 +09:00
42a9c2910f
Merge "Limit access to suspected false positives." am: aeda49d185
...
am: cc464ce183
Change-Id: I8e10322e69d2d479079df5cf8fec0287c7c117f1
Mathew Inwood
authored and
android-build-merger
commited 2019-01-02 05:00:54 -08:00
b73d5b77cf
Limit access to suspected false positives.
...
Members modified herein are suspected to be false positives: i.e. things
that were added to the greylist in P, but subsequent data analysis
suggests that they are not, in fact, used after all.
Add a maxTargetSdk=P to these APIs. This is lower-risk that simply
removing these things from the greylist, as none of out data sources are
perfect nor complete.
For APIs that are not supported yet by annotations, move them to
hiddenapi-greylist-max-p.txt instead which has the same effect.
Exempted-From-Owner-Approval: Automatic changes to the codebase
affecting only @UnsupportedAppUsage annotations, themselves added
without requiring owners approval earlier.
Bug: 115609023
Test: m
Change-Id: Ia937d8c41512e7f1b6e7f67b9104c1878b5cc3a0
Merged-In: I020a9c09672ebcae64c5357abc4993e07e744687
Mathew Inwood
commited 2018-12-28 14:26:35 +00:00
ac5968e81e
Limit access to suspected false positives.
...
Members modified herein are suspected to be false positives: i.e. things
that were added to the greylist in P, but subsequent data analysis
suggests that they are not, in fact, used after all.
Add a maxTargetSdk=P to these APIs. This is lower-risk that simply
removing these things from the greylist, as none of out data sources are
perfect nor complete.
For APIs that are not supported yet by annotations, move them to
hiddenapi-greylist-max-p.txt instead which has the same effect.
Exempted-From-Owner-Approval: Automatic changes to the codebase
affecting only @UnsupportedAppUsage annotations, themselves added
without requiring owners approval earlier.
Bug: 115609023
Test: m
Change-Id: I020a9c09672ebcae64c5357abc4993e07e744687
Mathew Inwood
commited 2018-12-28 11:50:04 +00:00
782dea53bd
Merge "Unhide LinkProperties, NetworkCapabilities, NetworkRequest APIs" am: 4d52ab7341 am: 7b341a8dba
...
am: 83ce7ae831
Change-Id: I65cd4c326a1fe64c09b131f1b1924f12e522a664
Paul Hu
authored and
android-build-merger
commited 2018-12-21 07:57:58 -08:00
a29040af2d
Merge "Unhide LinkProperties, NetworkCapabilities, NetworkRequest APIs" am: 4d52ab7341
...
am: 7b341a8dba
Change-Id: Ic641472bab2e5aa7b443caaac13deae260c3902d
Paul Hu
authored and
android-build-merger
commited 2018-12-21 07:48:38 -08:00
83ce7ae831
Merge "Unhide LinkProperties, NetworkCapabilities, NetworkRequest APIs"
Paul Hu
authored and
Gerrit Code Review
commited 2018-12-21 15:21:03 +00:00
4d52ab7341
Merge "Deprecate NetworkInfo" am: 9f66465984 am: add792f1ae
...
am: 1c0ed50d38
Change-Id: Iefce7f71ac10d0b9c96ce7d6af345e96880cfa1c
Junyu Lai
authored and
android-build-merger
commited 2018-12-21 02:28:11 -08:00
ec26640fc8
Merge "Deprecate NetworkInfo" am: 9f66465984
...
am: add792f1ae
Change-Id: Ia646a8754bcd5ef62573e3b1730df3987bf9fd15
Junyu Lai
authored and
android-build-merger
commited 2018-12-21 02:16:39 -08:00
1c0ed50d38