379391 Commits

Author SHA1 Message Date
Lorenzo Colitti
166c3aa030 Merge changes If54fa3a8,Ie7bd1459
* changes:
  Extract network observer code from NetworkManagementService.
  Change the signature of notifyInterfaceClassActivity.
2019-01-25 00:25:51 +00:00
Treehugger Robot
1f9d80f6ee Merge "Fix IPMS tests timeout." 2019-01-25 00:15:50 +00:00
Jordan Liu
23a6598fe4 Merge "Fix NPE in parcel constructor" 2019-01-24 22:50:43 +00:00
Treehugger Robot
1bed967833 Merge "Add a new bugreport error code" 2019-01-24 22:21:16 +00:00
Pengquan Meng
123cd32a6f A get method for NR status in ServiceState
Bug: 111453000
Bug: 123099654
Test: build
Merged-In: I07749ff00fc9d53796208ca78721b498ed4c16fd
Change-Id: I07749ff00fc9d53796208ca78721b498ed4c16fd
2019-01-24 13:45:54 -08:00
Dan Albert
9f73671651 Merge "Revert "Whitelist packages from VPN lockdown."" 2019-01-24 21:08:46 +00:00
Dan Albert
ee8e6a0fae Revert "Whitelist packages from VPN lockdown."
This reverts commit bb9cef04c5b6699412d43d82bdd31c7a4f692cbc.

Reason for revert: broke pi-dev-plus-aosp

Change-Id: Iaf5c8aa4a8720eb2852da8cd91c81a77ccb92b68
2019-01-24 21:05:39 +00:00
Treehugger Robot
961a43eae2 Merge "Define Nfc statistic data atoms" 2019-01-24 20:25:57 +00:00
Jordan Liu
f745debf89 Fix NPE in parcel constructor
Instead of calling .getClass().getClassLoader, we use .class to avoid
NPE on the uninitialized PreciseCallState and CallQuality.

Test: manual
Bug: 110107501
Change-Id: I1092122a69aa17235627a22fd973f21d49fc4812
2019-01-24 10:55:15 -08:00
Josh Gao
8d7976a37e Merge "ParcelFileDescriptor: fix various ownership mistakes." 2019-01-24 18:49:03 +00:00
Chenbo Feng
48f46ac83c Merge "Use delta reads for per uid traffic stats" 2019-01-24 18:16:25 +00:00
Brad Ebinger
3fc958475b Merge changes from topics "ut_provision_api", "ims_prov_api_defs"
* changes:
  Add new UT provisioning CarrierConfig options
  Define a subset of provisioning integers as public
2019-01-24 18:09:14 +00:00
Treehugger Robot
d17b284bdb Merge "Introduce system APIs for Bluetooth silence mode." 2019-01-24 18:08:05 +00:00
Treehugger Robot
8b5917965d Merge "Add API for proxy configuration over VPN." 2019-01-24 17:52:22 +00:00
Pavel Grafov
efc773525c Merge "Whitelist packages from VPN lockdown." 2019-01-24 17:34:55 +00:00
Tobias Thierer
4dad912145 Track change of some java.nio.Buffer methods to nonfinal.
Another CL in this topic turns the methods into nonfinal
ones in oder to be able to add covariant method overloads
in java.nio.{Byte,Char,Double,Float,Int,Long,ShortBuffer.

Bug: 71597787
Test: Treehugger
Change-Id: Ife6d5938c932f4e881f8f23c85422c84b6c6a41a
2019-01-24 16:27:20 +00:00
Pavel Grafov
bb9cef04c5 Whitelist packages from VPN lockdown.
Bug: 77468593
Test: atest com.android.server.connectivity.VpnTest
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Test: MixedDeviceOwnerTest#testAlwaysOnVpnAcrossReboot
Change-Id: I7f6c5b9172063b588feacd6b9930a6cb88f764ab
Merged-In: I7f6c5b9172063b588feacd6b9930a6cb88f764ab
2019-01-24 16:17:11 +00:00
Irina Dumitrescu
044a436ac9 Add API for proxy configuration over VPN.
Test: runtest -x
frameworks/base/tests/net/java/com/android/server/ConnectivityServiceTest.java
&& atest HostsideVpnTests
Bug: 76001058
Change-Id: Id4dde4a4103fd93bfbbacc52d0e5ade56ae67a6a
Merged-In: Id4dde4a4103fd93bfbbacc52d0e5ade56ae67a6a
2019-01-24 16:07:20 +00:00
Lorenzo Colitti
d8bc829a85 Extract network observer code from NetworkManagementService.
This will allow us to use network observers in the NetworkStack
app without duplicating too much code.

Bug: 112869080
Test: atest FrameworksNetTests
Test: builds, boots, wifi works
Change-Id: If54fa3a88110ffa815899d385dbb0d5770abaead
2019-01-25 00:41:57 +09:00
Lorenzo Colitti
943619d506 Change the signature of notifyInterfaceClassActivity.
This simplifies an upcoming refactoring of the notification code.
There is no change in functionality because DC_POWER_STAET_MEDIUM
was never actually used.

Bug: 112869080
Test: builds, boots
Test: atest FrameworksNetTests
Change-Id: Ie7bd145961bbd7f2a424be4299e2085da9cddc38
2019-01-25 00:33:02 +09:00
Peter Kalauskas
1146f76c55 Merge "Allow light HAL to exit if it's a lazy HAL" 2019-01-24 15:11:02 +00:00
Nicolas Geoffray
4d3a2f95c6 Merge "Add jar files from the runtime APEX in the whitelist." 2019-01-24 14:38:17 +00:00
Adrian Roos
1de5c629eb API: Fix missing @NonNull annotations
In pi-dev, those annotations were added out of band in
tools/metalava/manual/master.txt. The annotations were also
supposed to be added to master, but for some this did not happen.

Bug: 123221743
Test: m api-stubs-docs-check-last-released-api
Change-Id: Ia7589dfcc7f63923890e609dbf03175d2b035d29
Merged-In: Ia7589dfcc7f63923890e609dbf03175d2b035d29
(cherry picked from commit 918c4f1043ec89e699a41d34bbdb458a47bb1170)
2019-01-24 14:19:39 +01:00
Adrian Roos
7a4125e649 API: Add missing nullability annotations
Adds the nullability annotations that were previoiusly
missing, because TYPE_USE annotations were not being
applied.

Bug: 123223339
Test: make api-stubs-docs-check-last-released-api
Change-Id: I44a626b640cbdd9fb21442ecbb1e38e21d0f647e
2019-01-24 12:55:42 +00:00
Olivier Gaillard
661d053916 Add gaillard@ to owners.
Test: n/a
Change-Id: I6f04ee34319c780cd9d7e6c842c3a3e9c29d0b0c
2019-01-24 11:36:13 +00:00
Remi NGUYEN VAN
89485143f1 Fix IpClientTest
NetworkStackTests is run with a version of mockito that allows mocking
final methods, which broke mocking of the ConnectivityService.

Test: atest NetworkStackTests
Change-Id: I430fe12216c43a0c4265a504dbefafad37c09291
2019-01-24 20:14:48 +09:00
Paul Duffin
87c1081c42 Merge "Include OrgApacheHttpLegacyUpdater unconditionally" 2019-01-24 11:12:47 +00:00
Lucas Lin
6fa3d391b8 Merge "Popup a notification after logging in the captive portal network" 2019-01-24 11:06:12 +00:00
Pengquan Meng
54d74bbf06 Merge "Add RIL_RADIO_TECHNOLOGY_NR to IntDef" 2019-01-24 10:35:40 +00:00
Chalard Jean
f735efc833 Fix IPMS tests timeout.
The tests used to correctly detect failures but would mostly wait
for timeout instead of succeeding immediately. If timeout were to
happen, that would not have been detected.

Test: atest IpMemoryStoreServiceTest
Change-Id: Ic1e7fcac3020739af7dc3e2c294d0838d8ffc711
2019-01-24 19:34:39 +09:00
Remi NGUYEN VAN
2ffdcc26b0 Merge "Add additional SystemApi for NetworkStack" 2019-01-24 09:55:01 +00:00
Nicolas Geoffray
fca69e95a9 Add jar files from the runtime APEX in the whitelist.
Those files moved from /system to the APEX.

Test: m && boots
Change-Id: I68c4c8243dae3eab321da4b0923c1a422d300c10
2019-01-24 09:41:32 +00:00
lucaslin
d2e045e040 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
Jack Yu
6d421bc5e5 Define Nfc statistic data atoms
Test: Manual
Bug:116641110

Change-Id: Ia7e56c159d64804049abf39717e3eeae43373a76
Merged-In: Ib521a9f2d4d098022d973fe6c775231a518f3f49
2019-01-24 15:16:20 +08:00
Chiachang Wang
0d4002db35 Merge "Align coding format in data_stall_event.proto" 2019-01-24 07:11:27 +00:00
Treehugger Robot
9d3ce3e55e Merge "Change MetadataListener to a abstract static class" 2019-01-24 07:07:49 +00:00
Suren Baghdasaryan
71e3387254 Merge "DO NOT MERGE: Revert "Add libprocessgroup dependency and fix sched_policy include"" 2019-01-24 06:57:55 +00:00
Junyu Lai
b3656c7b1b 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
Scott Randolph
9f7bc7d616 Merge "Implementation of Remote-SIM." 2019-01-24 05:01:05 +00:00
Treehugger Robot
ad075a3837 Merge "Add FEATURE_TELEPHONY_IMS definition" 2019-01-24 04:50:18 +00:00
Suren Baghdasaryan
c5e0fdab2c DO NOT MERGE: Revert "Add libprocessgroup dependency and fix sched_policy include"
This reverts commit 09a29e161f6a240da19d550b267e0ed0f02d37a0.

Reason for revert: Broke AOSP

Change-Id: If056993a8678675ede4c586af1b2a1540e209c5c
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2019-01-24 04:39:34 +00:00
Treehugger Robot
4864bfa722 Merge "Add generic SelectTest JUnit filter and CoreTestsFilter" 2019-01-24 04:36:44 +00:00
Treehugger Robot
d49a6c86f4 Merge "Add part ID reuse to API contract" 2019-01-24 04:29:10 +00:00
Chiachang Wang
a3dd0a5050 Merge "Add NetworkStack into AidToUidMapping" 2019-01-24 04:26:44 +00:00
Pengquan Meng
bb1ff15ca9 Add RIL_RADIO_TECHNOLOGY_NR to IntDef
Bug: 121263364
Bug: 123099654
Test: build
Merged-In: I4bec8de081efe1020409351afa284fd2e69a25b5
Change-Id: I4bec8de081efe1020409351afa284fd2e69a25b5
2019-01-23 20:25:43 -08:00
Pengquan Meng
1abe6aa53f Merge "Fix doc of NETWORK_TYPE_NR & add converter" 2019-01-24 04:22:47 +00:00
Chiachang Wang
43b575a185 Align coding format in data_stall_event.proto
Bug: 121185319
Bug: 120452078
Test: Build pass
Change-Id: I660bdf7b9db9966096a7d91f95a4e6570d142c04
2019-01-24 11:41:36 +08:00
Jack Yu
56e1062ce3 Merge "Supported data handover in DcTracker/DataConnection/ApnContext" 2019-01-24 02:35:14 +00:00
Chen Xu
feb7d14aa8 Merge "add missing permission check in PhoneStateListener" 2019-01-24 02:00:55 +00:00
Ugo Yu
d9a0a7fd55 Change MetadataListener to a abstract static class
Bug: 121051445
Test: build pass
Change-Id: I8148d13d2eb0899d54817197ae0be236e2914e47
2019-01-24 09:48:20 +08:00