Lorenzo Colitti
0b5ea32574
Add default route constants to RouteInfo. am: b00860f1ad
...
Original change: undetermined
Change-Id: I2f5cc5d4935074e6c059af84625f6f5e50a0a04f
2021-05-31 05:55:57 +00:00
Robert Greenwalt
25f626beec
Improve ConnectivityManager docs am: 26744a5f52
...
Original change: undetermined
Change-Id: Ibcbbebdc879b0f9893e481039113f05b335fd579
2021-05-31 05:55:16 +00:00
Jeff Sharkey
770ab27e71
Improve notification UI for lockdown VPN. am: 6932ff654e
...
Original change: undetermined
Change-Id: I44ddd248ed8e2d33aac922bdea299d478a207e7d
2021-05-31 05:55:01 +00:00
Russell Brenner
8b3c3089cb
Adjust captive portal test for setup wizard am: 4774b0208e
...
Original change: undetermined
Change-Id: I598773844ac151fb1783be07abc1c7c1df8eaf30
2021-05-31 05:54:08 +00:00
Robert Greenwalt
3957f8f7db
Merge "Up our DNS server support from 2 > 4" am: f345cde69e
...
Original change: undetermined
Change-Id: I7384411327f7631c50c07a72fb0fdf271aea641e
2021-05-31 05:51:55 +00:00
Jeff Sharkey
a18f262a5d
Expose roaming flag for testing. am: e35bff840d
...
Original change: undetermined
Change-Id: I3acdd09db2e766de9854c7ff604a112ba488c91c
2021-05-31 05:51:33 +00:00
Robert Greenwalt
ce3aa40e80
Fix javadoc break am: 1ee3d2c33e
...
Original change: undetermined
Change-Id: I9fdfd42e9cc0154a1f69a08908c749292f317144
2021-05-31 05:51:07 +00:00
Jianzheng Zhou
c98a894ebf
Refactor getPersistedNetworkPreference am: a8aa160836
...
Original change: undetermined
Change-Id: Ifc544d6b8f094995520b4693fded8a96cde1b1c3
2021-05-31 05:50:54 +00:00
Robert Greenwalt
e9b9567f1b
Merge "Support for dns domain." am: ff31bee14a
...
Original change: undetermined
Change-Id: I15fc7fdc8b73adae2e64df434099d2b4dea0653d
2021-05-31 05:50:40 +00:00
Robert Greenwalt
b7ea39f7b6
Merge "Remove DhcpInfoInternal" am: 2be645a342
...
Original change: undetermined
Change-Id: I5146d6392f0ab9f64b4b12d90f64ace6b6bee47d
2021-05-31 05:50:03 +00:00
Jeff Sharkey
1f713c5178
am 65f4de10: am 3a8af8ef: Merge "Migrate more Secure settings to Global." into jb-mr1-dev am: b1ed51bc0e
...
Original change: undetermined
Change-Id: I35ddc8afb63c59d551e66128c852c7dedd940f8e
2021-05-31 05:49:26 +00:00
Jeff Sharkey
e311bbc849
am 116e0ed0: am c3e3311c: Merge "Migrate network stats from removed users." into jb-mr1-dev am: aab7d3b292
...
Original change: undetermined
Change-Id: I9a7fe89d2b009273b4716df98e0e2dd5eee07137
2021-05-31 05:48:19 +00:00
Irfan Sheriff
57cf5c5294
Merge commit '949dcad8' into manualmerge am: 04327607d0
...
Original change: undetermined
Change-Id: Icb01bb1b9ae845b0e152d7cda3b6e2d3f0542b6a
2021-05-31 05:46:21 +00:00
Jeff Sharkey
251f1fdfda
am f261d88f: am 116ee10b: Merge "Always-on VPN." into jb-mr1-dev am: 03ca5c9f83
...
Original change: undetermined
Change-Id: I7b62064b2f4b99c76e63d92040a09889c24aa792
2021-05-31 05:35:35 +00:00
Jeff Sharkey
df20a146df
am 33f94286: am 34f86312: Merge "Migrate legacy VPN arguments to system_server." into jb-mr1-dev am: 31b50e628d
...
Original change: undetermined
Change-Id: Icd8ddfdc79188341c38bd284071f6d4002918aa0
2021-05-31 05:35:21 +00:00
Jeff Sharkey
57026e4f63
Merge "Include network type that caused broadcast." into jb-mr1-dev am: 976942a8ee
...
Original change: undetermined
Change-Id: I200833519100685474c282353239b5818374dbec
2021-05-31 05:33:37 +00:00
Haoyu Bai
17319ab7c7
Network data activity change intent for network interfaces. am: b5da575fc7
...
Original change: undetermined
Change-Id: I2d89198295e658bf70053dfd8dbee53234273f96
2021-05-31 05:32:48 +00:00
Nicolas Falliere
dd41b308bd
am 56bb344c: Merge "Added or fixed doctrings for required permissions." into jb-dev am: 5889983f0b
...
Original change: undetermined
Change-Id: Ib57570da47d7054773df637a8e1895ec9d10f51d
2021-05-31 05:32:00 +00:00
Jeff Sharkey
d4dbd985b8
Merge "Begin collecting xtables iface counters." into jb-dev am: 1e329235a6
...
Original change: undetermined
Change-Id: Ibda8099e60ccf095f14ac433896c344d4ad874b5
2021-05-31 05:29:58 +00:00
Jeff Sharkey
b2649bbe67
Support full 32 bits for socket tags. am: 528cf48b34
...
Original change: undetermined
Change-Id: I0f3805aead4ccbe44738f66d34c8d0be7f3f6b97
2021-05-31 05:29:14 +00:00
Jeff Sharkey
f09e632335
Pipe DHCP vendor info towards framework. am: d6075598cb
...
Original change: undetermined
Change-Id: I036af97e82b8ffc62bd745733ece4974093e6e6e
2021-05-31 05:28:23 +00:00
Jeff Sharkey
10485cf869
API to report if active network is metered. am: d00b130332
...
Original change: undetermined
Change-Id: Iec8831e29ecdae115d1468380467e01802f75eb6
2021-05-31 05:27:56 +00:00
Jeff Sharkey
99732343de
Migrate to @Override to remove warnings. am: 078d356a9b
...
Original change: undetermined
Change-Id: Iaba016fbd8e2803aae910cec366d14b71d05da61
2021-05-31 05:27:42 +00:00
Jeff Sharkey
2d6480dd66
Support metered Wi-Fi NetworkPolicy. am: 2d9e5a5f9e
...
Original change: undetermined
Change-Id: Ib8038840a80ab8b21b1f425afc6427169745ae7e
2021-05-31 05:27:14 +00:00
Irfan Sheriff
80a9c0bbec
Improve Wi-Fi hand-off am: b9f329f633
...
Original change: undetermined
Change-Id: I718d815a282684a97427802c2ca1f5632fb5481a
2021-05-31 05:26:34 +00:00
Doug Zongker
97c9b10241
store the hw addr in the extraInfo field of ethernet NetworkInfos am: b1a238dbb3
...
Original change: undetermined
Change-Id: I4fc5d3cc752ce7b7b88ef313f26c1e9af47c1a63
2021-05-31 05:25:20 +00:00
Jeff Sharkey
d1b9e02bc9
Unify shorthand for byte-based units. am: b3a842ef9c
...
Original change: undetermined
Change-Id: Ic9124ec7ec56f56bbd9263c2541c30a35470861f
2021-05-31 05:24:51 +00:00
Jeff Sharkey
db4ca2cb46
Deprecate ACTION_BACKGROUND_DATA_SETTING_CHANGED. am: c958c77f1a
...
Original change: undetermined
Change-Id: Ic3944170c85029ce52fd7c6b85a0bb8fd9203438
2021-05-31 05:24:38 +00:00
Lorenzo Colitti
b00860f1ad
Add default route constants to RouteInfo.
...
Bug: 8276725
Change-Id: I9c3ad7393430de9275f5b1c0189a94e5a27975fc
2013-03-07 11:08:08 -08:00
Robert Greenwalt
26744a5f52
Improve ConnectivityManager docs
...
Also fix some permission problems.
bug:5738328
Change-Id: Ib32c223f425b1fc03b8cce528456bcb50b540fdf
2013-02-22 10:39:20 -08:00
Jeff Sharkey
6932ff654e
Improve notification UI for lockdown VPN.
...
Bug: 7064111
Change-Id: I9554f6a426697b4abeb2ddd0827d314920e88ed6
2013-02-21 09:47:11 -08:00
Russell Brenner
4774b0208e
Adjust captive portal test for setup wizard
...
During setup wizard, perform captive portal test without the typical
delays.
Change-Id: If596948e732966817aae6201440e87e19be0c2f8
2013-02-14 11:02:10 -08:00
Robert Greenwalt
f345cde69e
Merge "Up our DNS server support from 2 > 4"
2013-01-11 15:38:03 -08:00
Robert Greenwalt
433c98a848
Up our DNS server support from 2 > 4
...
bug:5958524
Change-Id: I81a9d9293049bcfc16c15ee856887aa7ed076638
2013-01-11 09:47:46 -08:00
Jeff Sharkey
e35bff840d
Expose roaming flag for testing.
...
Change-Id: I29ef6fc59926a97f4e97c561387ac9bc0e4e4769
2013-01-03 14:07:46 -08:00
Robert Greenwalt
1ee3d2c33e
Fix javadoc break
...
Change-Id: Ia69a5cbead61747537269e267dcd8da320d61ba3
2012-12-07 09:56:50 -08:00
Jianzheng Zhou
a8aa160836
Refactor getPersistedNetworkPreference
...
Optimize for updating mNetworkPreference according to device's networkAttributes
setting from overlay config.xml when connectivityservice start.
Change-Id: I90286332d4f453038f1ddac7dd9d1265d96b4859
Signed-off-by: Jianzheng Zhou <jianzheng.zhou@freescale.com >
2012-12-06 12:00:04 -08:00
Robert Greenwalt
0bc6c967cc
Support for dns domain.
...
bug:6799630
Change-Id: I10070eddb65b7b60f0bc2b3e1e320e1aa4ec6e98
2012-11-16 11:25:32 -08:00
Robert Greenwalt
e110d00751
Remove DhcpInfoInternal
...
First step in accepting a set of patches.
bug:6799630
Change-Id: I6c894c60aeb3022960c2aaa45451bb1dde2b493b
2012-11-09 09:46:32 -08:00
Jeff Sharkey
5eccd9c147
Migrate more Secure settings to Global.
...
Migrate networking, storage, battery, DropBox, and PackageManager
related Secure settings to Global table.
Bug: 7232014, 7231331, 7231198
Change-Id: I772c2a9586a2f708c9db95622477f235064b8f4d
2012-09-27 16:22:53 -07:00
Jeff Sharkey
4126de53fc
Migrate network stats from removed users.
...
When a user is removed, migrate all network stats belonging to that
user into special UID_REMOVED bucket. Also removes those stats from
kernel to avoid double-counting if another user is created.
Bug: 7194784
Change-Id: I03f1d660fe3754566326b7749cae8068fc224ea9
2012-09-19 14:54:05 -07:00
Irfan Sheriff
ba8388bf7a
Captive portal handling
...
We now notify the user of a captive portal before switching to the network as default.
This allows background applications to continue to work until the user confirms he
wants to sign in to the captive portal.
Also, moved out captive portal handling out of wifi as a seperate component.
Change-Id: I7c7507481967e33a1afad0b4961688bd192f0d31
2012-08-27 22:27:06 -07:00
Jeff Sharkey
f2e722a507
Always-on VPN.
...
Adds support for always-on VPN profiles, also called "lockdown." When
enabled, LockdownVpnTracker manages the netd firewall to prevent
unencrypted traffic from leaving the device. It creates narrow rules
to only allow traffic to the selected VPN server. When an egress
network becomes available, LockdownVpnTracker will try bringing up
the VPN connection, and will reconnect if disconnected.
ConnectivityService augments any NetworkInfo based on the lockdown
VPN status to help apps wait until the VPN is connected.
This feature requires that VPN profiles use an IP address for both
VPN server and DNS. It also blocks non-default APN access when
enabled. Waits for USER_PRESENT after boot to check KeyStore status.
Bug: 5756357
Change-Id: If615f206b1634000d78a8350a17e88bfcac8e0d0
2012-08-27 12:35:05 -07:00
Jeff Sharkey
c2a8e40c7a
Migrate legacy VPN arguments to system_server.
...
Generate the racoon and mtpd daemon arguments in system_server,
instead of accepting them from Settings.
Bug: 5756357
Change-Id: I42c1a644f6add477fe4222342640d7db15982cb8
2012-08-24 11:29:58 -07:00
Jeff Sharkey
47905d1f1d
Include network type that caused broadcast.
...
Network type can be obtained through EXTRA_NETWORK_INFO, but offer
it as first-class extra since the returned NetworkInfo is deprecated.
Bug: 6936247
Change-Id: Ief59577afd2bd930f0f4c5650b413feef86bfbc3
2012-08-06 11:45:01 -07:00
Haoyu Bai
b5da575fc7
Network data activity change intent for network interfaces.
...
The activity notification is received from netd, an intent
DATA_ACTIVITY_CHANGE is then raised for other part of the system to
consume.
Change-Id: Idfcc4763c51c5b314c57f546c12557082f06bebf
2012-07-17 17:13:03 -07:00
Nicolas Falliere
7842df58d0
Added or fixed doctrings for required permissions.
...
Bug: 6591338
Change-Id: Ia2092f9994854701b5fa1425c371817367ae07ec
2012-06-18 17:22:34 -07:00
Jeff Sharkey
1e329235a6
Merge "Begin collecting xtables iface counters." into jb-dev
2012-05-04 12:53:02 -07:00
Jeff Sharkey
528cf48b34
Support full 32 bits for socket tags.
...
Bug: 5321184
Change-Id: Iadb3a4ad541ef012cea35b70ad440eca4c879f42
2012-05-02 16:01:14 -07:00
Jeff Sharkey
5cc4da38f0
Begin collecting xtables iface counters.
...
Add method to parse new iface_stat_fmt proc stats, or return null
when kernel support is unavailable. Add test and remove older, unused
parsing code. Create new "xt" recorder to persist the new xtables
counters when available.
Add SSID support to NetworkIdentity to fix policy tests.
Bug: 6422414
Change-Id: I77f70e9acb79a559ab626f3af5c4f3599801ed43
2012-05-01 21:04:26 -07:00