Lucas Lin
d2b0ad1fb5
Merge "Popup a notification after logging in the captive portal network" am: 08bf40cfd1
...
am: 0c3a341e99
Change-Id: I46598799c8a21d986d1790afc5c4b01726081e97
2019-01-24 03:41:40 -08:00
Lucas Lin
0c3a341e99
Merge "Popup a notification after logging in the captive portal network"
...
am: 08bf40cfd1
Change-Id: I78321e10014525dfb02da29ee2f3cd4487bf30db
2019-01-24 03:27:36 -08:00
Lucas Lin
08bf40cfd1
Merge "Popup a notification after logging in the captive portal network"
2019-01-24 11:06:12 +00:00
Remi NGUYEN VAN
371d617c4b
Merge "Add additional SystemApi for NetworkStack" am: 962a145379
...
am: a60b0e6188
Change-Id: I5bdc50e7886731f61222bd1edd33765941118175
2019-01-24 02:17:38 -08:00
Remi NGUYEN VAN
a60b0e6188
Merge "Add additional SystemApi for NetworkStack"
...
am: 962a145379
Change-Id: I2614b1484498ad9d285be5f6628a94983f1561e4
2019-01-24 02:06:15 -08:00
Remi NGUYEN VAN
962a145379
Merge "Add additional SystemApi for NetworkStack"
2019-01-24 09:55:01 +00:00
lucaslin
1ac7239053
Popup a notification after logging in the captive portal network
...
Captive portal app will be auto dismissed after user login the
captive portal network. In order to improve the user experience,
popup a notification to notify user that the captive portal
network is connected.
Bug: 113629026
Test: 1.atest FrameworksNetTests:NetworkNotificationManagerTest
2.Connect to a captive portal network and login, check if
there is a notification popup.
Change-Id: Id54d12268e107af2f213c2bb348c5f7908e880f4
2019-01-24 15:55:30 +08:00
Junyu Lai
ee5162e5b5
Merge changes from topic "ka05" am: 908eb08326
...
am: 9a4614f4b0
Change-Id: I08979872a03c52e933daa39730fd71e998272613
2019-01-23 21:44:11 -08:00
Junyu Lai
9a4614f4b0
Merge changes from topic "ka05"
...
am: 908eb08326
Change-Id: I2448348d1501ca50daac87f4c06c120b4de3b2ae
2019-01-23 21:24:06 -08:00
Junyu Lai
908eb08326
Merge changes from topic "ka05"
...
* changes:
[KA05] Export keepalive offload api for IpSec Nat-T file descriptor
[KA01] export SocketKeepalive API for NAT-T keepalive
2019-01-24 05:06:39 +00:00
Remi NGUYEN VAN
1cb4137701
Merge changes I1250730c,I7d00848c am: c391533617
...
am: 0e12b04421
Change-Id: I31c9f6c11d0f52a34f68151fc2baca1921dcadad
2019-01-23 08:40:50 -08:00
junyulai
48a5938ee8
[KA05] Export keepalive offload api for IpSec Nat-T file descriptor
...
Adds system api of createSocketKeepalive to take file descriptor,
so privileged apps could use it without the need of IpSecService.
Bug: 114151147
Test: atest FrameworksNetTests
Change-Id: If926c21704b6ed73a0adfcadad732b97b42bacae
2019-01-24 00:40:25 +08:00
Remi NGUYEN VAN
0e12b04421
Merge changes I1250730c,I7d00848c
...
am: c391533617
Change-Id: I2f19490a2340bdc2630162dfe9a277dffc5041fa
2019-01-23 08:26:33 -08:00
Lorenzo Colitti
237cbb7b83
Merge "Stop depending on the ConnectivityService default request." am: af9048348f
...
am: db0eb579ee
Change-Id: I93532a44b070dfbca74e8b68c3e26aa96ed5c480
2019-01-23 08:25:19 -08:00
Lorenzo Colitti
db0eb579ee
Merge "Stop depending on the ConnectivityService default request."
...
am: af9048348f
Change-Id: Iae908cb959d50870923bce4dbe1bfed5f4c26c2c
2019-01-23 08:14:33 -08:00
Remi NGUYEN VAN
155b7b7342
Add additional SystemApi for NetworkStack
...
Members in this CL were missed in earlier changes.
Test: m
Bug: 112869080
Merged-In: I8b5b80ea7b267357eb0387d504a2f78358d6d502
Change-Id: I8b9b15f8b91962f3ef554fd222a825e471806c9e
2019-01-24 01:01:13 +09:00
junyulai
a86defca11
[KA01] export SocketKeepalive API for NAT-T keepalive
...
The new set of API replace the PacketKeepalive system API
which is only specific for IPsec NAT-T keepalive packet. Allows
applications to request different types of keepalives through
the same set of API.
By using keepalives, applications could request system to
periodically send specific packets on their behalf, using
hardware offload to save battery power.
This change would only address interface change and test part of
original functionality. After all reference of PacketKeepalive
are removed, another change would be submitted to remove old
API.
Bug: 114151147
Test: atest FrameworksNetTests
Change-Id: I3367666810acc44d5ad20e19acd4bf936e8b5d9c
2019-01-23 23:17:17 +08:00
Remi NGUYEN VAN
c391533617
Merge changes I1250730c,I7d00848c
...
* changes:
Create a wrapper for IpClient
Move IpClient to NetworkStack
2019-01-23 15:05:00 +00:00
Lorenzo Colitti
af9048348f
Merge "Stop depending on the ConnectivityService default request."
2019-01-23 12:29:40 +00:00
Luke Huang
4757e61c18
Merge changes from topic "Java async dns" am: 8c684211f0
...
am: 10fb7d86f8
Change-Id: I305cf0ae791f9503519884bdf382863002357ac7
2019-01-23 01:14:34 -08:00
Lorenzo Colitti
4d4798edba
Stop depending on the ConnectivityService default request.
...
This avoids the need to expose ConnectivityService implementation
details as @SystemApi and the complexities that would be required
to make NetworkCapabilities parcelable in stable AIDL.
Bug: 112869080
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: Icd5d25b9b8e9b7a7d1899b000c92dc4976c3b3d7
2019-01-23 18:10:06 +09:00
Luke Huang
10fb7d86f8
Merge changes from topic "Java async dns"
...
am: 8c684211f0
Change-Id: Ia08a8300887315d673f398b1340b2f44ce501b14
2019-01-23 01:06:19 -08:00
Luke Huang
8c684211f0
Merge changes from topic "Java async dns"
...
* changes:
Add asynchronous DNS query API in Java
Add jni method for DnsResolver
2019-01-23 08:48:23 +00:00
Remi NGUYEN VAN
9cfced4623
Move IpClient to NetworkStack
...
Test: atest FrameworksNetTests NetworkStackTests
Bug: b/112869080
Change-Id: I7d00848c052382cd1b6ce458868bed6a1e9e8ec5
2019-01-23 16:44:21 +09:00
Remi NGUYEN VAN
86709f4871
Merge "Add getAvoidBadWifi system API" am: eafed7dcba
...
am: 7afbd81a03
Change-Id: Ide4ffc316c9301b795e8c0dabea3322aaf0b3184
2019-01-22 17:53:09 -08:00
Remi NGUYEN VAN
7afbd81a03
Merge "Add getAvoidBadWifi system API"
...
am: eafed7dcba
Change-Id: Ifdf913669df84df3e3b158d5527895236e6758b7
2019-01-22 17:41:46 -08:00
Remi NGUYEN VAN
eafed7dcba
Merge "Add getAvoidBadWifi system API"
2019-01-23 01:13:01 +00:00
Chalard Jean
5a79e49e8d
Merge changes If71fadd2,I42047185 am: a5ca09f7ce
...
am: 0b8d5e2217
Change-Id: Id181b0c617c209bdf01ce25a8920d96025f8421d
2019-01-22 15:20:30 -08:00
Chalard Jean
0b8d5e2217
Merge changes If71fadd2,I42047185
...
am: a5ca09f7ce
Change-Id: Ie15258f09adb7f1cc53c558e1d3d5fdaf8d93476
2019-01-22 15:12:54 -08:00
Chalard Jean
a5ca09f7ce
Merge changes If71fadd2,I42047185
...
* changes:
[MS10] Address leftover comments on MS03 and MS07
[MS09] Implement isSameNetwork.
2019-01-22 22:50:21 +00:00
Remi NGUYEN VAN
e4ce181b98
Merge "Migrate ICaptivePortal to stable AIDL" am: eb7c53718a
...
am: b43fd41baa
Change-Id: I6fa53f6f7c45aa801a1e48e04bdb3ca6004f565d
2019-01-22 14:35:29 -08:00
Remi NGUYEN VAN
b43fd41baa
Merge "Migrate ICaptivePortal to stable AIDL"
...
am: eb7c53718a
Change-Id: Id0844ec4d438dcc1f6c1028552dd21da6bd76584
2019-01-22 14:25:09 -08:00
Luke Huang
2f6112a31a
Add asynchronous DNS query API in Java
...
DnsResolver for asynchronous DNS querying
DnsPacket for parsing answer
Test: built, flashed, booted
atest DnsResolverTest
atest DnsPacketTest
Change-Id: Id014bc7387dd940cfaa270f68e7d4d85fab320a0
2019-01-23 00:07:43 +08:00
Luke Huang
577b2e31fc
Add jni method for DnsResolver
...
Test: built, flashed, booted
atest DnsResolverTest
Change-Id: Iff730ec918f4db1ba0216f90a12550fe26e271d0
2019-01-23 00:07:43 +08:00
Remi NGUYEN VAN
3436b6ffd9
Add getAvoidBadWifi system API
...
This helps remove the dependency on MultinetworkPolicyTracker from
IpClient.
Test: atest FrameworksNetTests NetworkStackTests
Bug: 112869080
Change-Id: If56791dbed564772f25a859f301b8b52d84e38a3
2019-01-22 15:57:34 +00:00
Remi NGUYEN VAN
48bc72ac38
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
Merged-In: I62b457e709fa199822bb8f80b0eab990be4ded93
Change-Id: I62b457e709fa199822bb8f80b0eab990be4ded93
2019-01-23 00:53:13 +09:00
Pavel Grafov
ec53cd06b0
Merge "Add API for VPN apps to query always-on and lockdown." am: c9ea55c3f7
...
am: 721dbccad1
Change-Id: I48f3441f06af2a69776eacc5ee52463873739bdb
2019-01-22 07:09:43 -08:00
Pavel Grafov
721dbccad1
Merge "Add API for VPN apps to query always-on and lockdown."
...
am: c9ea55c3f7
Change-Id: Icb11cdd5c7384eacf1df9b7a0c42e451641f0e04
2019-01-22 07:00:53 -08:00
Pavel Grafov
c9ea55c3f7
Merge "Add API for VPN apps to query always-on and lockdown."
2019-01-22 14:43:06 +00:00
Remi NGUYEN VAN
66c8e76081
Merge "Add LinkProps and NetworkCaps methods to SystemApi" am: 4bde11491b
...
am: e090d600c5
Change-Id: Ic15474fe0b7da8062114367ec4f692e30e73d549
2019-01-22 03:27:36 -08:00
Remi NGUYEN VAN
e090d600c5
Merge "Add LinkProps and NetworkCaps methods to SystemApi"
...
am: 4bde11491b
Change-Id: I7ba317e49a6ad7a7413d9ff4e312aed0b700e695
2019-01-22 03:14:19 -08:00
Chalard Jean
e4ff75ecc2
[MS09] Implement isSameNetwork.
...
Test: Old tests pass, new tests pass too.
Bug: 113554482
Change-Id: I420471853f3fab7725cba7ae500cebdce1912e43
2019-01-22 19:10:48 +09:00
Remi NGUYEN VAN
d093468b8d
Merge "Add NetworkStack metrics to system API" am: 8fada525d2
...
am: 2102e2d628
Change-Id: I8d711dcf76935d28d8a610d6a18da77cea77268e
2019-01-22 00:18:58 -08:00
Remi NGUYEN VAN
2102e2d628
Merge "Add NetworkStack metrics to system API"
...
am: 8fada525d2
Change-Id: I686e0ffb8d226d9245f1ef6c04bbc8d586c61e81
2019-01-22 00:09:31 -08:00
Remi NGUYEN VAN
048c9413e6
Add LinkProps and NetworkCaps methods to SystemApi
...
Added methods are used by the NetworkStack.
Test: atest FrameworksNetTests NetworkStackTests
Bug: 112869080
Change-Id: I8822d43c1a4981ca39289525685b3f975fb0e8d5
2019-01-22 16:57:16 +09:00
Remi NGUYEN VAN
8fada525d2
Merge "Add NetworkStack metrics to system API"
2019-01-22 07:48:39 +00:00
Lorenzo Colitti
6fb16a0ef0
Merge "Properly expect all callbacks in testStackedLinkProperties." am: 4129d435c1
...
am: 6d8a63cf80
Change-Id: I9b066e4242d52f917e36a05911bdcd843c3f5c84
2019-01-21 22:50:47 -08:00
Lorenzo Colitti
6d8a63cf80
Merge "Properly expect all callbacks in testStackedLinkProperties."
...
am: 4129d435c1
Change-Id: Ida7b6da29e46856b504cc5b58afa78404a54cb4e
2019-01-21 22:41:16 -08:00
Lorenzo Colitti
4129d435c1
Merge "Properly expect all callbacks in testStackedLinkProperties."
2019-01-22 06:31:23 +00:00
Remi NGUYEN VAN
c90d59e401
Merge "Add NetworkMonitor constants to SystemApi" am: 591de4579d
...
am: b78f2a5d68
Change-Id: I0281ff981cbd5d26a2f2874db23244bebad9c66b
2019-01-21 19:25:05 -08:00