OSDN Git Service
Remi NGUYEN VAN [Fri, 25 Jan 2019 05:55:08 +0000 (05:55 +0000)]
Merge "Fix IpClientTest"
Christian Wailes [Fri, 25 Jan 2019 02:06:47 +0000 (02:06 +0000)]
Merge "Enables the use of the blastula pool."
Christian Wailes [Fri, 25 Jan 2019 02:06:28 +0000 (02:06 +0000)]
Merge "Added Java Language methods for blastula management."
Chris Wailes [Sat, 12 Jan 2019 01:13:00 +0000 (17:13 -0800)]
Enables the use of the blastula pool.
This commit adds the code necessar to initialize and use the blastula
pool during application launching. Highlights include:
* Modifying ZygoteState to allow the creation of blastula session
sockets
* Modified application startup to track if a web view process is being
created.
* Initialization of the blastula pool during Zygote initialization.
* Blastula lifecycle management via reporting pipes and event FDs.
* Launching of applications via the blastula pool.
The creation, maintenance, and use of the blastula pool can be disabled
by setting Zygote.BLASTULA_POOL_ENABLED to false. When this feature is
disabled applications will launch as they did before this patch.
Topic: zygote-prefork
Test: make & flash & launch app & check log message
Bug:
68253328
Change-Id: I46c32ad09400591e866b6c6121d5a9b0332092f3
Merged-In: I46c32ad09400591e866b6c6121d5a9b0332092f3
Chris Wailes [Sat, 12 Jan 2019 01:04:41 +0000 (17:04 -0800)]
Added Java Language methods for blastula management.
This commit adds Java Language wrappers for native blastula management
functions. No changes are made to the application lifecycle.
Topic: zygote-prefork
Test: make & flash & launch apps & check log for messages
Bug:
68253328
Change-Id: Ie9fd0aea2952dbd3baaca22c820e9af700f5e89d
Merged-In: Ie9fd0aea2952dbd3baaca22c820e9af700f5e89d
Pengquan Meng [Fri, 25 Jan 2019 00:40:48 +0000 (00:40 +0000)]
Merge "A get method for NR status in ServiceState"
Lorenzo Colitti [Fri, 25 Jan 2019 00:25:51 +0000 (00:25 +0000)]
Merge changes If54fa3a8,Ie7bd1459
* changes:
Extract network observer code from NetworkManagementService.
Change the signature of notifyInterfaceClassActivity.
Treehugger Robot [Fri, 25 Jan 2019 00:15:50 +0000 (00:15 +0000)]
Merge "Fix IPMS tests timeout."
Jordan Liu [Thu, 24 Jan 2019 22:50:43 +0000 (22:50 +0000)]
Merge "Fix NPE in parcel constructor"
Treehugger Robot [Thu, 24 Jan 2019 22:21:16 +0000 (22:21 +0000)]
Merge "Add a new bugreport error code"
Pengquan Meng [Fri, 7 Dec 2018 01:48:05 +0000 (17:48 -0800)]
A get method for NR status in ServiceState
Bug:
111453000
Bug:
123099654
Test: build
Merged-In: I07749ff00fc9d53796208ca78721b498ed4c16fd
Change-Id: I07749ff00fc9d53796208ca78721b498ed4c16fd
Dan Albert [Thu, 24 Jan 2019 21:08:46 +0000 (21:08 +0000)]
Merge "Revert "Whitelist packages from VPN lockdown.""
Dan Albert [Thu, 24 Jan 2019 21:05:39 +0000 (21:05 +0000)]
Revert "Whitelist packages from VPN lockdown."
This reverts commit
bb9cef04c5b6699412d43d82bdd31c7a4f692cbc.
Reason for revert: broke pi-dev-plus-aosp
Change-Id: Iaf5c8aa4a8720eb2852da8cd91c81a77ccb92b68
Treehugger Robot [Thu, 24 Jan 2019 20:25:57 +0000 (20:25 +0000)]
Merge "Define Nfc statistic data atoms"
Jordan Liu [Thu, 24 Jan 2019 18:55:15 +0000 (10:55 -0800)]
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
Josh Gao [Thu, 24 Jan 2019 18:49:03 +0000 (18:49 +0000)]
Merge "ParcelFileDescriptor: fix various ownership mistakes."
Chenbo Feng [Thu, 24 Jan 2019 18:16:25 +0000 (18:16 +0000)]
Merge "Use delta reads for per uid traffic stats"
Brad Ebinger [Thu, 24 Jan 2019 18:09:14 +0000 (18:09 +0000)]
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
Treehugger Robot [Thu, 24 Jan 2019 18:08:05 +0000 (18:08 +0000)]
Merge "Introduce system APIs for Bluetooth silence mode."
Treehugger Robot [Thu, 24 Jan 2019 17:52:22 +0000 (17:52 +0000)]
Merge "Add API for proxy configuration over VPN."
Pavel Grafov [Thu, 24 Jan 2019 17:34:55 +0000 (17:34 +0000)]
Merge "Whitelist packages from VPN lockdown."
Pavel Grafov [Wed, 5 Dec 2018 10:40:23 +0000 (10:40 +0000)]
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
Irina Dumitrescu [Wed, 5 Dec 2018 16:19:47 +0000 (16:19 +0000)]
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
Lorenzo Colitti [Thu, 24 Jan 2019 04:28:50 +0000 (13:28 +0900)]
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
Lorenzo Colitti [Thu, 24 Jan 2019 07:00:25 +0000 (16:00 +0900)]
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
Peter Kalauskas [Thu, 24 Jan 2019 15:11:02 +0000 (15:11 +0000)]
Merge "Allow light HAL to exit if it's a lazy HAL"
Nicolas Geoffray [Thu, 24 Jan 2019 14:38:17 +0000 (14:38 +0000)]
Merge "Add jar files from the runtime APEX in the whitelist."
Remi NGUYEN VAN [Thu, 24 Jan 2019 11:13:09 +0000 (20:13 +0900)]
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
Paul Duffin [Thu, 24 Jan 2019 11:12:47 +0000 (11:12 +0000)]
Merge "Include OrgApacheHttpLegacyUpdater unconditionally"
Lucas Lin [Thu, 24 Jan 2019 11:06:12 +0000 (11:06 +0000)]
Merge "Popup a notification after logging in the captive portal network"
Pengquan Meng [Thu, 24 Jan 2019 10:35:40 +0000 (10:35 +0000)]
Merge "Add RIL_RADIO_TECHNOLOGY_NR to IntDef"
Chalard Jean [Thu, 24 Jan 2019 10:34:39 +0000 (19:34 +0900)]
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
Remi NGUYEN VAN [Thu, 24 Jan 2019 09:55:01 +0000 (09:55 +0000)]
Merge "Add additional SystemApi for NetworkStack"
Nicolas Geoffray [Tue, 22 Jan 2019 20:56:44 +0000 (20:56 +0000)]
Add jar files from the runtime APEX in the whitelist.
Those files moved from /system to the APEX.
Test: m && boots
Change-Id: I68c4c8243dae3eab321da4b0923c1a422d300c10
lucaslin [Thu, 24 Jan 2019 07:55:30 +0000 (15:55 +0800)]
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
Jack Yu [Wed, 23 Jan 2019 09:42:54 +0000 (17:42 +0800)]
Define Nfc statistic data atoms
Test: Manual
Bug:
116641110
Change-Id: Ia7e56c159d64804049abf39717e3eeae43373a76
Merged-In: Ib521a9f2d4d098022d973fe6c775231a518f3f49
Chiachang Wang [Thu, 24 Jan 2019 07:11:27 +0000 (07:11 +0000)]
Merge "Align coding format in data_stall_event.proto"
Treehugger Robot [Thu, 24 Jan 2019 07:07:49 +0000 (07:07 +0000)]
Merge "Change MetadataListener to a abstract static class"
Suren Baghdasaryan [Thu, 24 Jan 2019 06:57:55 +0000 (06:57 +0000)]
Merge "DO NOT MERGE: Revert "Add libprocessgroup dependency and fix sched_policy include""
Junyu Lai [Thu, 24 Jan 2019 05:06:39 +0000 (05:06 +0000)]
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
Scott Randolph [Thu, 24 Jan 2019 05:01:05 +0000 (05:01 +0000)]
Merge "Implementation of Remote-SIM."
Treehugger Robot [Thu, 24 Jan 2019 04:50:18 +0000 (04:50 +0000)]
Merge "Add FEATURE_TELEPHONY_IMS definition"
Suren Baghdasaryan [Thu, 24 Jan 2019 04:38:14 +0000 (20:38 -0800)]
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>
Treehugger Robot [Thu, 24 Jan 2019 04:36:44 +0000 (04:36 +0000)]
Merge "Add generic SelectTest JUnit filter and CoreTestsFilter"
Treehugger Robot [Thu, 24 Jan 2019 04:29:10 +0000 (04:29 +0000)]
Merge "Add part ID reuse to API contract"
Chiachang Wang [Thu, 24 Jan 2019 04:26:44 +0000 (04:26 +0000)]
Merge "Add NetworkStack into AidToUidMapping"
Pengquan Meng [Wed, 19 Dec 2018 18:29:33 +0000 (10:29 -0800)]
Add RIL_RADIO_TECHNOLOGY_NR to IntDef
Bug:
121263364
Bug:
123099654
Test: build
Merged-In: I4bec8de081efe1020409351afa284fd2e69a25b5
Change-Id: I4bec8de081efe1020409351afa284fd2e69a25b5
Pengquan Meng [Thu, 24 Jan 2019 04:22:47 +0000 (04:22 +0000)]
Merge "Fix doc of NETWORK_TYPE_NR & add converter"
Chiachang Wang [Thu, 24 Jan 2019 03:41:36 +0000 (11:41 +0800)]
Align coding format in data_stall_event.proto
Bug:
121185319
Bug:
120452078
Test: Build pass
Change-Id: I660bdf7b9db9966096a7d91f95a4e6570d142c04
Jack Yu [Thu, 24 Jan 2019 02:35:14 +0000 (02:35 +0000)]
Merge "Supported data handover in DcTracker/DataConnection/ApnContext"
Chen Xu [Thu, 24 Jan 2019 02:00:55 +0000 (02:00 +0000)]
Merge "add missing permission check in PhoneStateListener"
Ugo Yu [Thu, 24 Jan 2019 01:13:00 +0000 (09:13 +0800)]
Change MetadataListener to a abstract static class
Bug:
121051445
Test: build pass
Change-Id: I8148d13d2eb0899d54817197ae0be236e2914e47
Xiangyu/Malcolm Chen [Thu, 24 Jan 2019 01:45:07 +0000 (01:45 +0000)]
Merge "Don't show signal bar of hidden Cellular subscription."
Treehugger Robot [Thu, 24 Jan 2019 01:37:05 +0000 (01:37 +0000)]
Merge "Add Android APIs for Hearing Aids Profile"
Treehugger Robot [Thu, 24 Jan 2019 01:34:24 +0000 (01:34 +0000)]
Merge "Add 2 new ways to check for Support for Hearing Aids Profile"
Christian Wailes [Thu, 24 Jan 2019 01:13:41 +0000 (01:13 +0000)]
Merge "Refactored ZygoteConnection.Arguments to ZygoteArguments."
Christian Wailes [Thu, 24 Jan 2019 01:13:20 +0000 (01:13 +0000)]
Merge "Code cleanup in ZygoteInit."
Christian Wailes [Thu, 24 Jan 2019 01:12:46 +0000 (01:12 +0000)]
Merge "Code cleanup to conform to style guide / linter."
Christian Wailes [Thu, 24 Jan 2019 01:12:19 +0000 (01:12 +0000)]
Merge "Implemented native functions and types for blastula management."
Treehugger Robot [Thu, 24 Jan 2019 01:11:58 +0000 (01:11 +0000)]
Merge "Add the blastula pool sockets to the Zygote whitelist."
Christian Wailes [Thu, 24 Jan 2019 01:05:02 +0000 (01:05 +0000)]
Merge "Added mitigation for b/
122921367"
Treehugger Robot [Thu, 24 Jan 2019 01:02:26 +0000 (01:02 +0000)]
Merge "Removed false positives from the greylist."
Brad Ebinger [Mon, 14 Jan 2019 21:46:05 +0000 (13:46 -0800)]
Add new UT provisioning CarrierConfig options
Adds two new carrier config options for UT:
1) Whether or not the carrier supports UT over IMS
2) Whether or not the carrier requires a carrier app to
provision the device to use UT over IMS.
Also adds new ITelephony AIDL for querying/setting
provisioning for MMTEL currently used for UT over
IMS only.
Bug:
119896853
Test: atest FrameworksTelephonyTests
Change-Id: I51260afed85b99cf6ed89374daf417c3a25c7fb9
Ugo Yu [Sat, 12 Jan 2019 18:50:07 +0000 (02:50 +0800)]
Introduce system APIs for Bluetooth silence mode.
Policies of silence mode:
1) If an active device (for A2DP or HFP) enters silence mode,
the active device for that profile will be set to null.
2) If a device exits silence mode while the A2DP or HFP active
device is null, the device will be set as the active device
for that profile.
3) If a device is disconnected, it exits silence mode.
4) If a device is set as the active device for A2DP or HFP,
while silence mode is enabled, then the device will exit
silence mode.
5) If a device is in silence mode, AVRCP position change event
and HFP AG indicators will be disabled.
6) If a device is not connected with A2DP or HFP, it cannot
enter silence mode.
Bug:
112323989
Test: Manual, runtest bluetooth
Change-Id: If7f340de38c350f17c37f00a3a2e871876baa20d
Brad Ebinger [Sat, 12 Jan 2019 00:36:34 +0000 (16:36 -0800)]
Define a subset of provisioning integers as public
There are a few non-OMADM specific configs that need to
be exposed in ProvisioningManager to handle cases
like turning on WFC "non-persistently" for provisioning
on certain networks. These should be well defined for
compatibility as well as ease of use.
Test: atest FrameworksTelephonyTests, turn on WFC
Change-Id: I79c9492664d4bf41b10639c0596d4f2697cd46f2
Brad Ebinger [Wed, 23 Jan 2019 23:01:54 +0000 (15:01 -0800)]
Add FEATURE_TELEPHONY_IMS definition
Bug:
118823723
Test: manual
Change-Id: Ic1e65cfba8ecb117199db6ebd636e0d39007b6c6
Peter Kalauskas [Wed, 16 Jan 2019 23:36:13 +0000 (15:36 -0800)]
Allow light HAL to exit if it's a lazy HAL
Test: Manual
Change-Id: I3dfd0201125f6522ef68784211720d1fbd54941e
Pengquan Meng [Fri, 7 Dec 2018 22:41:18 +0000 (14:41 -0800)]
Fix doc of NETWORK_TYPE_NR & add converter
This fix some documents related to NETWORK_TYPE_NR and add a converter
from ril rat to NETWORK_TYPE_NR.
Bug:
111453000
Bug:
123099654
Test: build
Merged-In: Ib9ee0dbe0234ef1bf9ef22900b00ddd47195914f
Change-Id: Ib9ee0dbe0234ef1bf9ef22900b00ddd47195914f
Jack Yu [Wed, 16 Jan 2019 19:29:26 +0000 (11:29 -0800)]
Supported data handover in DcTracker/DataConnection/ApnContext
Added data handover support in DcTracker/DataConnection/ApnContext.
Test: Telephony sanity tests + unit tests
Bug:
73659459
Merged-In: I1dfecbe48e230b3cab1b8b83e8d9f9dfd241752e
Change-Id: I1dfecbe48e230b3cab1b8b83e8d9f9dfd241752e
(cherry picked from commit
faa7a525435649983ea421b9fd744d6302bf3ca6)
Leland Miller [Wed, 23 Jan 2019 01:28:55 +0000 (17:28 -0800)]
Add part ID reuse to API contract
This make explicit that part IDs should not be reused to point to new
parts as this may cause issues in applications that expect pars to
remain consistent.
Test: Documentation change, will follow up with a CTS test
Change-Id: I990aa5848f59cc85c76d129701cba1ca27c78894
Vasu Nori [Tue, 4 Sep 2018 18:19:59 +0000 (11:19 -0700)]
Implementation of Remote-SIM.
Design doc http://shortn/_GG690j15js
1. Modified SmsManager to send message thru Bluetooth if the subscription
is for a Remote-SIM.
2. Added new column 'subscriptionType' to SubscriptionInfo.
3. SubscriptionManager:
a. Added new constants for Local SIM and Remote SIM
b. Added hidden APIs to add/remove Remote SIM subscriptions
Bug:
112321331
Test: tested manually and w/ unittests
Change-Id: Ib15553a806691a258fc00f7aaf812b8a9d49c2e9
Chris Wailes [Sat, 12 Jan 2019 00:14:43 +0000 (16:14 -0800)]
Refactored ZygoteConnection.Arguments to ZygoteArguments.
This commit moves the ZygoteConnection.Arguments class into its own file
and re-names it to ZygoteArgumens. Doing this also required small
changes to files that used ZygoteConnection.Arguments. In turn, this
required some changes to make the files conform to the Frameworks style
guide.
Highlights include:
* Moving ZygoteConnection.Arguments to ZygoteArguments
* Moving helper functions from ZygoteConnection to Zygote
* Re-named member variables in the ZygoteArguments class
* Removed unused imports.
Topic: zygote-prefork
Test: make & flash & launch apps & check log for messages
Bug:
68253328
Change-Id: Ideb414c87a92020128a644147949ef4f4133ae33
Merged-In: Ideb414c87a92020128a644147949ef4f4133ae33
Chris Wailes [Fri, 11 Jan 2019 22:30:43 +0000 (14:30 -0800)]
Code cleanup in ZygoteInit.
This commit mostly re-flows the code in ZygoteInit.java to conform to
the Frameworks style guide.
Topic: zygote-prefork
Test: make & flash & launch apps
Bug:
68253328
Change-Id: I0d348caa1d9ca2a4c1e32430e0eebdd91672e473
Merged-In: I0d348caa1d9ca2a4c1e32430e0eebdd91672e473
Chris Wailes [Fri, 11 Jan 2019 21:19:20 +0000 (13:19 -0800)]
Code cleanup to conform to style guide / linter.
This commit made the following changes to make the code conform to the
Frameworks style guide:
* Re-named variables
* Re-flowed code
* Organized includes
Topic: zygote-prefork
Test: make & flash & launch apps
Bug:
68253328
Change-Id: I9274b32f1f606f29f6eb3a1e5068ca18f607afe7
Merged-In: I9274b32f1f606f29f6eb3a1e5068ca18f607afe7
Chris Wailes [Fri, 11 Jan 2019 00:55:32 +0000 (16:55 -0800)]
Implemented native functions and types for blastula management.
This patch adds native support for spawning and managing blastula pools,
as well as several code cleanups and modernizations.
Changes includes:
* A function to fork blastulas
* A table for managing blastula-related data
* Functions for adding and removing blastula data from the
aforementioned table
* Switching from NULL to nullptr
* Replacing string-passing error handling with a curried failure
function
* Utility functions for handling managed objects
* JNI functions for blastula pool management
Topic: zygot-prefork
Test: make & flash & launch apps & check log for messages
Bug:
68253328
Change-Id: I12cd9f2c87a2e3c00d64b683edf3631e29a51551
Merged-In: I12cd9f2c87a2e3c00d64b683edf3631e29a51551
Chris Wailes [Sat, 19 Jan 2019 01:52:27 +0000 (17:52 -0800)]
Add the blastula pool sockets to the Zygote whitelist.
This adds the blastula pool sockets from aosp/843736 to the Zygote FD
white list in fd_utils.cpp.
Bug:
68253328
Test: m & flash image & boot
Change-Id: I1ff4bea0a2ea163bf9c1ccc0d80ffd5d04c49191
Merged-In: I1ff4bea0a2ea163bf9c1ccc0d80ffd5d04c49191
Chris Wailes [Thu, 17 Jan 2019 22:57:10 +0000 (14:57 -0800)]
Added mitigation for b/
122921367
Without this patch aosp/870566 will cause clang to abort during x86-eng
asan builds (due to b/
122921367). This is being committed separately to
enable easy reversion in the future.
Test: m
Bug:
122921367
Change-Id: Id38a6ccabdcd0da02a53e76c47850e197016e781
Merged-In: Id38a6ccabdcd0da02a53e76c47850e197016e781
Chris Wailes [Thu, 10 Jan 2019 23:03:29 +0000 (15:03 -0800)]
Removed false positives from the greylist.
This commit removes several Zygote related functions and types from the
greylist that are not required to be there.
Topic: zygote-prefork
Test: make
Bug:
68253328
Change-Id: I25022d976e7444489aad1aeb1ce6b05736233476
Merged-In: I25022d976e7444489aad1aeb1ce6b05736233476
Colin Cross [Wed, 23 Jan 2019 20:18:02 +0000 (20:18 +0000)]
Merge "Replace annotation_processors with plugins"
chen xu [Fri, 18 Jan 2019 21:16:31 +0000 (13:16 -0800)]
add missing permission check in PhoneStateListener
Bug:
122612337
Test: cts
Change-Id: I85e3d4ce1dd4473eb43ece801c24a0e79362a18b
Nandana Dutt [Wed, 23 Jan 2019 19:11:01 +0000 (19:11 +0000)]
Add a new bugreport error code
Add an error code for consent request timing out.
BUG:
111441001
Test: builds
Change-Id: I91b947545c3adcb2104759e4d277dd1686de41ee
Steven Moreland [Wed, 23 Jan 2019 18:05:25 +0000 (18:05 +0000)]
Merge "jarjar hidl core libs."
Nathan Harold [Wed, 23 Jan 2019 17:37:03 +0000 (17:37 +0000)]
Merge "Deprecate Duplicate SignalStrength Methods"
Mathieu Chartier [Wed, 23 Jan 2019 17:02:31 +0000 (17:02 +0000)]
Merge "[view compilation] Add --compile-layouts flag to `pm compile`"
Treehugger Robot [Wed, 23 Jan 2019 17:00:48 +0000 (17:00 +0000)]
Merge "Improvements to Bugreporting API."
junyulai [Tue, 15 Jan 2019 03:32:44 +0000 (11:32 +0800)]
[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
Remi NGUYEN VAN [Wed, 23 Jan 2019 12:35:52 +0000 (21:35 +0900)]
Add additional SystemApi for NetworkStack
Members in this CL were missed in earlier changes.
Test: m
Bug:
112869080
Merged-In: I8b5b80ea7b267357eb0387d504a2f78358d6d502
Change-Id: I8b9b15f8b91962f3ef554fd222a825e471806c9e
junyulai [Thu, 27 Dec 2018 09:25:29 +0000 (17:25 +0800)]
[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
Remi NGUYEN VAN [Wed, 23 Jan 2019 15:05:00 +0000 (15:05 +0000)]
Merge changes I1250730c,I7d00848c
* changes:
Create a wrapper for IpClient
Move IpClient to NetworkStack
Treehugger Robot [Wed, 23 Jan 2019 14:48:19 +0000 (14:48 +0000)]
Merge "Add OWNERS"
Tadashi G. Takaoka [Wed, 23 Jan 2019 13:09:52 +0000 (22:09 +0900)]
Add generic SelectTest JUnit filter and CoreTestsFilter
The JUnit filter com.android.test.filters.SelectTest is a generic test
filter that can supersede |-e package| and |-e class| options of
AndroidJUnitRunner.
The com.android.server.wm.test.filters.CoreTestsFilter extends SelectTest
filter to filter out Window Manager Service releated tests in
FrameworksCoreTests.
Bug:
122451194
Test: Can select some tests from WmTests.
$ adb shell am instrument -w \
-e filter com.android.test.filters.SelectTest \
-e selectTest com.android.test.filters.,com.android.server.wm.DummyTests \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
Test: CoreTestsFilter works for FrameworksCoreTests.
$ adb shell am instrument -w \
-e filter com.android.server.wm.test.filters.CoreTestsFilter \
-e selectTest_verbose true \
com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: Ic72637997bf17debef914e2596049f6cf3e753de
Merged-In: Ic72637997bf17debef914e2596049f6cf3e753de
Lorenzo Colitti [Wed, 23 Jan 2019 12:29:40 +0000 (12:29 +0000)]
Merge "Stop depending on the ConnectivityService default request."
Luke Huang [Wed, 23 Jan 2019 12:02:14 +0000 (12:02 +0000)]
Merge "Netd unsolicited event porting"
Treehugger Robot [Wed, 23 Jan 2019 11:01:43 +0000 (11:01 +0000)]
Merge "[MS11] Implement findL2Key"
Nandana Dutt [Wed, 23 Jan 2019 08:39:05 +0000 (08:39 +0000)]
Improvements to Bugreporting API.
* Add cancelBugreport method.
* Remove unused arguments to onFinished listener call.
* Publish the system service now that sepolicy for it
is submitted.
* Use the new bugreportd service.
Test: boots
BUG:
111441001
Change-Id: I12d72e0e1f4ca72d285fd02a3fc1a44f5c179885
Lorenzo Colitti [Wed, 23 Jan 2019 08:54:08 +0000 (17:54 +0900)]
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
Luke Huang [Wed, 23 Jan 2019 08:48:23 +0000 (08:48 +0000)]
Merge changes from topic "Java async dns"
* changes:
Add asynchronous DNS query API in Java
Add jni method for DnsResolver
Luke Huang [Tue, 4 Sep 2018 09:08:18 +0000 (17:08 +0800)]
Netd unsolicited event porting
Test: atest FrameworksNetTests passes
Test: 1. manual test datacall/wifi work
2. manual test tethering work
3. run cts StrictModeTest pass
4. manual test data alert work
5. manual test idletimer work
Change-Id: Ia4c12510c9c97fed76e4b31fb9756c28fff72853
Chalard Jean [Fri, 18 Jan 2019 11:21:26 +0000 (20:21 +0900)]
[MS11] Implement findL2Key
Bug:
113554482
Test: old tests pass, new tests added
Change-Id: I2e93c88c30eae614a6db04abe698e8edf7fa6a43
Remi NGUYEN VAN [Wed, 23 Jan 2019 07:24:30 +0000 (16:24 +0900)]
Create a wrapper for IpClient
The wrapper allows migrating clients of the IpClient in the NetworkStack
independently.
Test: atest FrameworksNetTests NetworkStackTests FrameworksWifiTests
Bug:
112869080
Change-Id: I1250730c07166298bee2816f05351ba95416994a