Erik Kline
48c3c00ee1
Merge "Add additional mocking for Context innards" am: a65aa77c1c am: 35182218d3
...
am: f22995eed5
Change-Id: Ibde5e3e048236d32ea3c1ba2c2700bb6a75323e6
2017-06-07 09:51:52 +00:00
Erik Kline
35182218d3
Merge "Add additional mocking for Context innards"
...
am: a65aa77c1c
Change-Id: I7f780c05c46b00457b194bfb13df5814735f0809
2017-06-07 09:40:37 +00:00
Erik Kline
ec37275ec9
Add additional mocking for Context innards
...
Test: as follows
- built
- flashed
- booted
- runtest frameworks-net passes
- cherry-picked to master and verified there as well
Bug: 32163131
Bug: 32561414
Change-Id: I0b5b1b12d55547d08c332c7d274f19f0023a7b07
2017-06-07 17:44:53 +09:00
Erik Kline
6ce08f623c
Merge "Support setting upstream parameters." am: faf8d67749 am: 4e5024131b
...
am: e2018a407a
Change-Id: I8e0f7188ff29b2fd7c34fd2a340c8b4abaac2be7
2017-06-06 05:16:27 +00:00
Erik Kline
4e5024131b
Merge "Support setting upstream parameters."
...
am: faf8d67749
Change-Id: I0be9ad265fa664f0ce6e1e098996b46c88317b97
2017-06-06 04:54:04 +00:00
Erik Kline
7990aef63b
Support setting upstream parameters.
...
Test: as follows
- built
- flashed
- booted
- runtest frameworks-net passes
Bug: 29337859
Bug: 32163131
Bug: 34361337
Change-Id: Id88cae4beed7d38aec3d29a0e2f59a5c7e6a9a4e
2017-06-06 12:02:13 +09:00
Erik Kline
729c31c2e9
Merge "Handle Wi-Fi passing explicit interface name and AP/IP mode" am: 3478ff8c9e am: 1536453059
...
am: 00956c4f7c
Change-Id: I599813c4b4d866623344df56f62ed6a40b4025d6
2017-06-02 05:39:23 +00:00
Erik Kline
1536453059
Merge "Handle Wi-Fi passing explicit interface name and AP/IP mode"
...
am: 3478ff8c9e
Change-Id: I489f7e6b8ca4af584879a4c9e8f00570da6e400c
2017-06-02 05:26:49 +00:00
Erik Kline
2efb827f61
Handle Wi-Fi passing explicit interface name and AP/IP mode
...
Test: as follows
- built
- flashed
- booted
- runtest frameworks-net passes
Bug: 31466854
Bug: 32163131
Bug: 62076211
Change-Id: I3557a9c14f4e9f1de1869084566a179003d98ffe
2017-06-02 12:21:15 +09:00
Erik Kline
9d2abb4b40
Merge "Add a tethering offload settings kill switch" am: 7cf3086f37 am: 503a6952b2
...
am: 03941982dc
Change-Id: I7e15919817c59579ff6e7b28e858f13c3090ee5c
2017-06-01 08:10:51 +00:00
Erik Kline
503a6952b2
Merge "Add a tethering offload settings kill switch"
...
am: 7cf3086f37
Change-Id: I13264b4ae23c8754b61ff46cafbb1b5f31bd14a3
2017-06-01 07:59:11 +00:00
Erik Kline
92c4db04e5
Add a tethering offload settings kill switch
...
Check for tether_offload_disabled (defaulting to false if not present)
before starting the OffloadController.
Test: as follows
- built
- flashed
- booted
- runtest frameworks-net passes
Bug: 29337859
Bug: 32163131
Bug: 34361337
Change-Id: Ifcc0eb1a41f09ad9e717c9252d2d55e69789669b
2017-05-31 20:33:05 +09:00
Erik Kline
3f5f551042
Merge "Minor improvement in logging in TetheringConfiguration" am: 39ce589f0b am: 8211c36db9
...
am: 1315903420
Change-Id: I77b4db07f2a43a576146537ae2ab72d2d0ebdde6
2017-05-28 11:31:32 +00:00
Erik Kline
8211c36db9
Merge "Minor improvement in logging in TetheringConfiguration"
...
am: 39ce589f0b
Change-Id: I1d61308cf21f3c4ebcc37f78bdd102f96a676462
2017-05-28 11:16:32 +00:00
Erik Kline
6bd7453206
Minor improvement in logging in TetheringConfiguration
...
Test: as follows
- built
- booted
- flashed
- runtest frameworks-net passes
- dumpsys connectivity shows expected output
Bug: 32163131
Bug: 36504926
Bug: 36988090
Bug: 38152109
Bug: 38186915
Bug: 38218697
Change-Id: I4a2129d780dfec7bca693486a100ea3c78465430
2017-05-28 18:05:23 +09:00
Erik Kline
aa75fc4ec9
Merge "Support registration of offload control callbacks." am: 7ee96625c2 am: 66cc06c2c7
...
am: 96c6d201f4
Change-Id: Ie3c4b0929ccf311b4f02fffe0908571cbbb7d772
2017-05-26 10:29:13 +00:00
Erik Kline
66cc06c2c7
Merge "Support registration of offload control callbacks."
...
am: 7ee96625c2
Change-Id: Ica4f51762b577e3868e87622df3963cd89daacae
2017-05-26 10:16:26 +00:00
Erik Kline
f4b6e34fc0
Support registration of offload control callbacks.
...
Test: as follows
- built
- flashed
- booted
- runtest frameworks-net passes
Bug: 29337859
Bug: 32163131
Bug: 34361337
Change-Id: I054cdf6a277c77e4cbf5c81145446a9be1c5fe39
2017-05-26 16:47:04 +09:00
Jayachandran C
0223c80846
Merge "Fix up upstream interface types for case DUN_UNSPECIFIED"
...
am: 485d103083
Change-Id: I8e7c513b206cbc5f19d582ec48e529ce067e2aa9
2017-05-24 02:01:12 +00:00
Jayachandran C
5805982027
Fix up upstream interface types for case DUN_UNSPECIFIED
...
The existing logic will add TYPE_MOBILE and TYPE_MOBILE_HIPRI
even if the carrier config has TYPE_DUN for DUN_UNSPECIFIED.
A check is added not to modify the upstream interface types
if there is already a cellular interface type. Add TYPE_MOBILE
and TYPE_MOBILE_HIPRI if there is no cellular types found.
Test: Hotspot on Verizon and T-Mobile US.
Verified the requestNetwork has the DUN capability.
Bug: 38186915
Change-Id: I74fc5c791fee2885bf66df8975e92c2b48f1668c
2017-05-23 14:02:46 -07:00
Jayachandran Chinnakkannu
128898d7e1
Merge "Fix up upstream interface types for case DUN_UNSPECIFIED" into oc-dev
...
am: be67aefca2
Change-Id: Ibfee591728c5cf01d8e11b7ccf2418194d398b59
2017-05-23 20:51:30 +00:00
Jayachandran C
ab571a1ba4
Fix up upstream interface types for case DUN_UNSPECIFIED
...
The existing logic will add TYPE_MOBILE and TYPE_MOBILE_HIPRI
even if the carrier config has TYPE_DUN for DUN_UNSPECIFIED.
A check is added not to modify the upstream interface types
if there is already a cellular interface type. Add TYPE_MOBILE
and TYPE_MOBILE_HIPRI if there is no cellular types found.
Test: Hotspot on Verizon and T-Mobile US.
Verified the requestNetwork has the DUN capability.
Bug: 38186915
Change-Id: I74fc5c791fee2885bf66df8975e92c2b48f1668c
2017-05-18 00:33:24 -07:00
Erik Kline
308ed7f467
Merge "Expand logging capabilities of Tethering subsystem" am: 0373340b07 am: 96f9371a66
...
am: 945ff184c2
Change-Id: Ia9d15f0dcc49ce070f8684eb8c8481310859faa5
2017-05-18 03:54:30 +00:00
Erik Kline
96f9371a66
Merge "Expand logging capabilities of Tethering subsystem"
...
am: 0373340b07
Change-Id: I1381b8457781dcfafe52371a5dc7628282cb8efc
2017-05-18 03:38:43 +00:00
Hugo Benichi
13f0d10115
Merge "Fix NetworkNotificationManagerTest"
...
am: c13a80deee
Change-Id: I8f02be13da5790d0fd60f04886e87de04c96de08
2017-05-18 03:29:50 +00:00
Treehugger Robot
0373340b07
Merge "Expand logging capabilities of Tethering subsystem"
2017-05-18 03:25:30 +00:00
Hugo Benichi
9fdc903af7
Merge "Move NetworkNotificationManagerTest to tests/net"
...
am: c01fbf0f0c
Change-Id: I10ce85211ac0305e8d05ca02b58b819297f59bbf
2017-05-18 02:23:12 +00:00
Hugo Benichi
e6181b0c47
Fix NetworkNotificationManagerTest
...
The testNotificationsShownAndCleared test was not doing anything
because the list of notification to show was always empty.
This patch fixes this issue and actually makes the test loop on
non-empty collections, and also fixes another ordering issue in
assertions themselves, hidden until now by the first issue.
Bug: 32561414
Test: runtest -x frameworks/base/tests/net/java/com/android/server/connectivity/NetworkNotificationManagerTest.java
Merged-In: I4837b1175d7c9133e9156e33acaa1e7e3341cc62
Change-Id: Ia30587bd68a87b83b62f57eeeb28fef7d95dbf81
(cherry picked from commit f8b804be5a )
2017-05-18 11:08:31 +09:00
Hugo Benichi
c01fbf0f0c
Merge "Move NetworkNotificationManagerTest to tests/net"
2017-05-18 02:01:40 +00:00
Erik Kline
7747fd4ce0
Expand logging capabilities of Tethering subsystem
...
Introduce a SharedLog that can be shared among all Tethering
components. All log entries go to the same log, and each includes
its subsystem name. Additionally, all entries emitted to the
system log shared the same tag, so can easily be watched.
More subsystems can inherit a SharedLog, but to minimize cherry-pick
conflicts we limit ourselves to these changes only.
Test: as follows
- built
- flashed
- booted
- log output observed via dumpsys
- runtest frameworks-net passes
Bug: 32163131
Bug: 36988090
Bug: 38218697
Change-Id: I1229d4c55987402d84b0d4a2c8a595e0c829aa3e
2017-05-18 09:46:45 +09:00
Hugo Benichi
d8ddab6ba5
Move NetworkNotificationManagerTest to tests/net
...
Bug: 32561414
Test: no functional change
Change-Id: Iad17e3336a4a589da5cf88fd6359323e34b747e1
2017-05-17 22:24:05 +09:00
Erik Kline
f421d60824
Merge "Add tethering offload HAL call via JNI"
...
am: 8f65e470b0
Change-Id: Ib8403f685371b44f0fdad6d15ae372787d457d13
2017-05-17 07:18:51 +00:00
Erik Kline
5a7c8a0b24
Add tethering offload HAL call via JNI
...
Additionally, try to locate java Control interface.
Test: as follows
- built
- flashed
- booted
- OffloadController log messages observed, but only ever
"not enabled" messages (needs a supporting implementation)
Bug: 29337859
Bug: 32163131
Bug: 34361337
Merged-In: I5251d05f2d2fd732a33a8955a6c346b3a2401e46
Change-Id: I5251d05f2d2fd732a33a8955a6c346b3a2401e46
(cherry picked from commit 58ed1b051b )
2017-05-17 13:44:25 +09:00
Erik Kline
47222fc935
Add tethering offload HAL call via JNI
...
Additionally, try to locate java Control interface.
Test: as follows
- built
- flashed
- booted
- OffloadController log messages observed, but only ever
"not enabled" messages (needs a supporting implementation)
Bug: 29337859
Bug: 32163131
Bug: 34361337
Merged-In: I5251d05f2d2fd732a33a8955a6c346b3a2401e46
Change-Id: I5251d05f2d2fd732a33a8955a6c346b3a2401e46
(cherry picked from commit 58ed1b051b )
2017-05-17 13:41:30 +09:00
Erik Kline
5afccc6251
Fix broken DUN evaluation logic
...
Test: as follows
- built
- booted
- flashed
- runtest frameworks-net passes
Bug: 32163131
Bug: 38152109
Bug: 38186915
Merged-In: Ib9a469b16a598c47b615a15fc7cce420bfe4b8b7
Merged-In: I293b4cd57dcd1968c2b38f4e92e24cc0d2e135a9
Change-Id: Id4803504e825290d62c0b51a2b9bd664dcef30b1
(cherry picked from commit 54f2f3704e )
2017-05-16 17:31:14 +09:00
Erik Kline
260fa1dd9e
Merge "Fix broken DUN evaluation logic" am: b0daeeb879 am: dd76dd1eea
...
am: 5d1bcf5bca
Change-Id: Ib9a469b16a598c47b615a15fc7cce420bfe4b8b7
2017-05-16 08:19:22 +00:00
Erik Kline
dd76dd1eea
Merge "Fix broken DUN evaluation logic"
...
am: b0daeeb879
Change-Id: Iae7450ef21485c5a13f45fab570bf658b2da8f28
2017-05-16 08:06:42 +00:00
Erik Kline
54f2f3704e
Fix broken DUN evaluation logic
...
Test: as follows
- built
- booted
- flashed
- runtest frameworks-net passes
Bug: 32163131
Bug: 38152109
Bug: 38186915
Change-Id: Id4803504e825290d62c0b51a2b9bd664dcef30b1
2017-05-16 15:14:45 +09:00
Erik Kline
38356e9024
Refactor and improve logging.
...
Test: as follows
- build
- flashed
- booted
- "runtest frameworks-net" passed
- "dumpsys connectivity" shows new log output
Bug: 32163131
Bug: 36504926
Merged-In: Ieb9a8e3f85f41d18056a7827997f12986ff13ca1
Merged-In: I744b048224e0b8bf6fe4da763833b755441c0911
Merged-In: Ic0c384547687572058d5ef62977163b2560bfc69
Merged-In: Iae91c43d1bfd9fbedc88821a0bd3a5168ad3b719
Merged-In: I52606d4375c9b16de03123995737a994ba58b4d7
Merged-In: I35110b6479280abc650e0ee257045d241923faf9
Change-Id: I14d6da18660223f7cace156cb6594ee18928a7b0
(cherry picked from commit 1fdc2e23b5 )
2017-05-10 13:07:08 +09:00
Erik Kline
d1ea33a039
Merge "Refactor and improve logging." am: c3d41d5093 am: 8af8235bca
...
am: 9f76683c59
Change-Id: Ieb9a8e3f85f41d18056a7827997f12986ff13ca1
2017-05-09 10:53:36 +00:00
Erik Kline
8af8235bca
Merge "Refactor and improve logging."
...
am: c3d41d5093
Change-Id: I8ef193a9ee0f5bf04ae18620c1a68228ed7ed929
2017-05-09 10:40:29 +00:00
Erik Kline
1fdc2e23b5
Refactor and improve logging.
...
Test: as follows
- build
- flashed
- booted
- "runtest frameworks-net" passed
- "dumpsys connectivity" shows new log output
Bug: 32163131
Bug: 36504926
Change-Id: I14d6da18660223f7cace156cb6594ee18928a7b0
2017-05-09 17:29:47 +09:00
Erik Kline
45cb5e37b0
Merge "Notify WifiManager of interface state changes" am: 8e97274186 am: 241a7f15f2
...
am: 2439781719
Change-Id: I5b3f640f4dd5cfac7555ddf1f6ae752899caddb0
2017-04-28 08:16:11 +00:00
Erik Kline
241a7f15f2
Merge "Notify WifiManager of interface state changes"
...
am: 8e97274186
Change-Id: I6e9594805f9f55da53cf29e322829b1d2ff2f058
2017-04-28 08:04:31 +00:00
Erik Kline
080f9734d6
Notify WifiManager of interface state changes
...
Test: as follows
- built
- flashed
- booted
- "runtest frameworks-net" passes
(except for an unrelated IpConnectivityMetricsTest error)
Bug: 31466854
Bug: 32163131
Change-Id: I702ea79eb2c02604761e4e1ebcd5f9e445178efb
2017-04-28 16:19:54 +09:00
Erik Kline
216af6d3fe
Notify WifiManager of interface state changes
...
Test: as follows
- built
- flashed
- booted
- "runtest frameworks-net" passes
(except for an unrelated IpConnectivityMetricsTest error)
Bug: 31466854
Bug: 32163131
Change-Id: I702ea79eb2c02604761e4e1ebcd5f9e445178efb
2017-04-28 13:46:41 +09:00
Erik Kline
413190bed6
Switch to WifiManager.{start,stop}SoftAp()
...
Test: as follows
- built
- flashed
- booted
- "runtest frameworks-net" passes
Bug: 31466854
Change-Id: I730d029128a14b936c111ae159b9708d935f4656
(cherry picked from commit ceb54c63dc )
2017-04-27 22:32:37 +09:00
Robin Lee
5d30d86372
Merge "Use Vpn rules (not firewall) for always-on VPN" am: e4f56a7e44 am: cd8557d15a
...
am: 4de3794c26
Change-Id: Ic1e96eac68ddc8a713b3c71b5c126cb8b99c59f5
2017-04-21 22:17:15 +00:00
Robin Lee
cd8557d15a
Merge "Use Vpn rules (not firewall) for always-on VPN"
...
am: e4f56a7e44
Change-Id: I80b3607fd1c61875be8354439e09db56a0bd391d
2017-04-21 22:05:33 +00:00
Treehugger Robot
e4f56a7e44
Merge "Use Vpn rules (not firewall) for always-on VPN"
2017-04-21 21:53:15 +00:00