OSDN Git Service

android-x86/frameworks-base.git
5 years agoMerge "Allow light HAL to exit if it's a lazy HAL"
Peter Kalauskas [Thu, 24 Jan 2019 15:26:40 +0000 (07:26 -0800)]
Merge "Allow light HAL to exit if it's a lazy HAL"
am: 1146f76c55

Change-Id: Iaaa50c53383eae94bf07eda443589e647301f248

5 years agoMerge "Allow light HAL to exit if it's a lazy HAL"
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"

5 years agoMerge "Add jar files from the runtime APEX in the whitelist."
Nicolas Geoffray [Thu, 24 Jan 2019 14:54:57 +0000 (06:54 -0800)]
Merge "Add jar files from the runtime APEX in the whitelist."
am: 4d3a2f95c6

Change-Id: I78c60b3a378298531a7ef219ae0930965ddfb64d

5 years agoMerge "Add jar files from the runtime APEX in the whitelist."
Nicolas Geoffray [Thu, 24 Jan 2019 14:38:17 +0000 (14:38 +0000)]
Merge "Add jar files from the runtime APEX in the whitelist."

5 years agoMerge "Include OrgApacheHttpLegacyUpdater unconditionally"
Paul Duffin [Thu, 24 Jan 2019 11:32:25 +0000 (03:32 -0800)]
Merge "Include OrgApacheHttpLegacyUpdater unconditionally"
am: 87c1081c42

Change-Id: I724fa0b8b997aa58ce444aa8a929f47af665abed

5 years agoMerge "Popup a notification after logging in the captive portal network"
Lucas Lin [Thu, 24 Jan 2019 11:27:36 +0000 (03:27 -0800)]
Merge "Popup a notification after logging in the captive portal network"
am: 6fa3d391b8

Change-Id: I78321e10014525dfb02da29ee2f3cd4487bf30db

5 years agoMerge "Include OrgApacheHttpLegacyUpdater unconditionally"
Paul Duffin [Thu, 24 Jan 2019 11:12:47 +0000 (11:12 +0000)]
Merge "Include OrgApacheHttpLegacyUpdater unconditionally"

5 years agoMerge "Popup a notification after logging in the captive portal network"
Lucas Lin [Thu, 24 Jan 2019 11:06:12 +0000 (11:06 +0000)]
Merge "Popup a notification after logging in the captive portal network"

5 years agoMerge "Add RIL_RADIO_TECHNOLOGY_NR to IntDef"
Pengquan Meng [Thu, 24 Jan 2019 10:51:46 +0000 (02:51 -0800)]
Merge "Add RIL_RADIO_TECHNOLOGY_NR to IntDef"
am: 54d74bbf06

Change-Id: Ie6cd95f5f6b1569c6b3d84a24ecd69664fcdad67

5 years agoMerge "Add RIL_RADIO_TECHNOLOGY_NR to IntDef"
Pengquan Meng [Thu, 24 Jan 2019 10:35:40 +0000 (10:35 +0000)]
Merge "Add RIL_RADIO_TECHNOLOGY_NR to IntDef"

5 years agoMerge "Add additional SystemApi for NetworkStack"
Remi NGUYEN VAN [Thu, 24 Jan 2019 10:06:15 +0000 (02:06 -0800)]
Merge "Add additional SystemApi for NetworkStack"
am: 2ffdcc26b0

Change-Id: I2614b1484498ad9d285be5f6628a94983f1561e4

5 years agoMerge "Add additional SystemApi for NetworkStack"
Remi NGUYEN VAN [Thu, 24 Jan 2019 09:55:01 +0000 (09:55 +0000)]
Merge "Add additional SystemApi for NetworkStack"

5 years agoAdd jar files from the runtime APEX in the whitelist.
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

5 years agoPopup a notification after logging in the captive portal network
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

5 years agoMerge "Align coding format in data_stall_event.proto"
Chiachang Wang [Thu, 24 Jan 2019 07:24:47 +0000 (23:24 -0800)]
Merge "Align coding format in data_stall_event.proto"
am: 0d4002db35

Change-Id: I8fbf9ba20fd870143a264216e80e93224f14d0ab

5 years agoMerge "Change MetadataListener to a abstract static class"
Ugo Yu [Thu, 24 Jan 2019 07:20:44 +0000 (23:20 -0800)]
Merge "Change MetadataListener to a abstract static class"
am: 9d3ce3e55e

Change-Id: Iad82a0046826c548db25c50dcc7cbdb0a90de25a

5 years agoMerge "Align coding format in data_stall_event.proto"
Chiachang Wang [Thu, 24 Jan 2019 07:11:27 +0000 (07:11 +0000)]
Merge "Align coding format in data_stall_event.proto"

5 years agoMerge "Change MetadataListener to a abstract static class"
Treehugger Robot [Thu, 24 Jan 2019 07:07:49 +0000 (07:07 +0000)]
Merge "Change MetadataListener to a abstract static class"

5 years ago[automerger skipped] Merge "DO NOT MERGE: Revert "Add libprocessgroup dependency...
Suren Baghdasaryan [Thu, 24 Jan 2019 07:07:37 +0000 (23:07 -0800)]
[automerger skipped] Merge "DO NOT MERGE: Revert "Add libprocessgroup dependency and fix sched_policy include""
am: 71e3387254 -s ours
am skip reason: subject contains skip directive

Change-Id: Iec09ea850784c0aece711c559f2c4adeb64a5a2b

5 years agoMerge "DO NOT MERGE: Revert "Add libprocessgroup dependency and fix sched_policy...
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""

5 years agoMerge changes from topic "ka05"
Junyu Lai [Thu, 24 Jan 2019 05:24:06 +0000 (21:24 -0800)]
Merge changes from topic "ka05"
am: b3656c7b1b

Change-Id: I2448348d1501ca50daac87f4c06c120b4de3b2ae

5 years agoMerge "Implementation of Remote-SIM."
Scott Randolph [Thu, 24 Jan 2019 05:13:57 +0000 (21:13 -0800)]
Merge "Implementation of Remote-SIM."
am: 9f7bc7d616

Change-Id: I0fdd92ff987f49a5528687a84ba3115d3dc24997

5 years agoMerge changes from topic "ka05"
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

5 years agoMerge "Add FEATURE_TELEPHONY_IMS definition"
Brad Ebinger [Thu, 24 Jan 2019 05:01:57 +0000 (21:01 -0800)]
Merge "Add FEATURE_TELEPHONY_IMS definition"
am: ad075a3837

Change-Id: Ic1ec5ab56e6f944362032da3c4d1723a99dc8ca3

5 years agoMerge "Implementation of Remote-SIM."
Scott Randolph [Thu, 24 Jan 2019 05:01:05 +0000 (05:01 +0000)]
Merge "Implementation of Remote-SIM."

5 years agoMerge "Add generic SelectTest JUnit filter and CoreTestsFilter"
Tadashi G. Takaoka [Thu, 24 Jan 2019 04:54:11 +0000 (20:54 -0800)]
Merge "Add generic SelectTest JUnit filter and CoreTestsFilter"
am: 4864bfa722

Change-Id: Iece5642c2909c11d5057dbc630c1723dc3569560

5 years agoMerge "Add FEATURE_TELEPHONY_IMS definition"
Treehugger Robot [Thu, 24 Jan 2019 04:50:18 +0000 (04:50 +0000)]
Merge "Add FEATURE_TELEPHONY_IMS definition"

5 years agoMerge "Add part ID reuse to API contract"
Leland Miller [Thu, 24 Jan 2019 04:47:39 +0000 (20:47 -0800)]
Merge "Add part ID reuse to API contract"
am: d49a6c86f4

Change-Id: I6bddd19ea31e012f340e62e035ca7a0867eb239e

5 years agoMerge "Add NetworkStack into AidToUidMapping"
Chiachang Wang [Thu, 24 Jan 2019 04:43:38 +0000 (20:43 -0800)]
Merge "Add NetworkStack into AidToUidMapping"
am: a3dd0a5050

Change-Id: Ieea0a8b43c5e652ad00132b8b0a9bc9a0362f4e0

5 years agoDO NOT MERGE: Revert "Add libprocessgroup dependency and fix sched_policy include"
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>
5 years agoMerge "Fix doc of NETWORK_TYPE_NR & add converter"
Pengquan Meng [Thu, 24 Jan 2019 04:37:47 +0000 (20:37 -0800)]
Merge "Fix doc of NETWORK_TYPE_NR & add converter"
am: 1abe6aa53f

Change-Id: I60d839b62e9b9365df48c72b040f1f5b2e7b011c

5 years agoMerge "Add generic SelectTest JUnit filter and CoreTestsFilter"
Treehugger Robot [Thu, 24 Jan 2019 04:36:44 +0000 (04:36 +0000)]
Merge "Add generic SelectTest JUnit filter and CoreTestsFilter"

5 years agoMerge "Add part ID reuse to API contract"
Treehugger Robot [Thu, 24 Jan 2019 04:29:10 +0000 (04:29 +0000)]
Merge "Add part ID reuse to API contract"

5 years agoMerge "Add NetworkStack into AidToUidMapping"
Chiachang Wang [Thu, 24 Jan 2019 04:26:44 +0000 (04:26 +0000)]
Merge "Add NetworkStack into AidToUidMapping"

5 years agoAdd RIL_RADIO_TECHNOLOGY_NR to IntDef
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

5 years agoMerge "Fix doc of NETWORK_TYPE_NR & add converter"
Pengquan Meng [Thu, 24 Jan 2019 04:22:47 +0000 (04:22 +0000)]
Merge "Fix doc of NETWORK_TYPE_NR & add converter"

5 years agoAlign coding format in data_stall_event.proto
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

5 years agoMerge "Supported data handover in DcTracker/DataConnection/ApnContext"
Jack Yu [Thu, 24 Jan 2019 02:48:53 +0000 (18:48 -0800)]
Merge "Supported data handover in DcTracker/DataConnection/ApnContext"
am: 56e1062ce3

Change-Id: I46d4f4855ddb99af80a87de03116cb6aa0826a67

5 years agoMerge "Supported data handover in DcTracker/DataConnection/ApnContext"
Jack Yu [Thu, 24 Jan 2019 02:35:14 +0000 (02:35 +0000)]
Merge "Supported data handover in DcTracker/DataConnection/ApnContext"

5 years agoMerge "add missing permission check in PhoneStateListener"
Chen Xu [Thu, 24 Jan 2019 02:22:29 +0000 (18:22 -0800)]
Merge "add missing permission check in PhoneStateListener"
am: feb7d14aa8

Change-Id: I7ccfab5789cd2adf654d6d593cec22f496a9a767

5 years agoMerge "Don't show signal bar of hidden Cellular subscription."
Xiangyu/Malcolm Chen [Thu, 24 Jan 2019 02:15:38 +0000 (18:15 -0800)]
Merge "Don't show signal bar of hidden Cellular subscription."
am: 2f2a4199fc

Change-Id: I3fa6a5b7baec94bd085a86fb4cce5062c5fd1a0f

5 years agoMerge "Add Android APIs for Hearing Aids Profile"
Stanley Tng [Thu, 24 Jan 2019 02:09:19 +0000 (18:09 -0800)]
Merge "Add Android APIs for Hearing Aids Profile"
am: a53fc20213

Change-Id: Ib91747b26a3fffbfe4a87377fde7cbc01f50d0c1

5 years agoMerge "Add 2 new ways to check for Support for Hearing Aids Profile"
Stanley Tng [Thu, 24 Jan 2019 02:03:26 +0000 (18:03 -0800)]
Merge "Add 2 new ways to check for Support for Hearing Aids Profile"
am: 7982e6f346

Change-Id: I81f18175e61d5c1d1b213d5a112a8c70621e0d07

5 years agoMerge "add missing permission check in PhoneStateListener"
Chen Xu [Thu, 24 Jan 2019 02:00:55 +0000 (02:00 +0000)]
Merge "add missing permission check in PhoneStateListener"

5 years agoMerge "Refactored ZygoteConnection.Arguments to ZygoteArguments."
Christian Wailes [Thu, 24 Jan 2019 01:50:58 +0000 (17:50 -0800)]
Merge "Refactored ZygoteConnection.Arguments to ZygoteArguments."
am: 3a46c1b4ce

Change-Id: Id702f32a15ad134b6d694d0fc53e1721094f78dd

5 years agoChange MetadataListener to a abstract static class
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

5 years agoMerge "Code cleanup in ZygoteInit."
Christian Wailes [Thu, 24 Jan 2019 01:46:44 +0000 (17:46 -0800)]
Merge "Code cleanup in ZygoteInit."
am: 889648df40

Change-Id: I236f851fe38c16e5f0ad54d64b6ff81bcb090b9e

5 years agoMerge "Don't show signal bar of hidden Cellular subscription."
Xiangyu/Malcolm Chen [Thu, 24 Jan 2019 01:45:07 +0000 (01:45 +0000)]
Merge "Don't show signal bar of hidden Cellular subscription."

5 years agoMerge "Code cleanup to conform to style guide / linter."
Christian Wailes [Thu, 24 Jan 2019 01:42:24 +0000 (17:42 -0800)]
Merge "Code cleanup to conform to style guide / linter."
am: f5ff8f0661

Change-Id: If6c04c711b328c114d04ea8b4aa01414a715b7a2

5 years agoMerge "Implemented native functions and types for blastula management."
Christian Wailes [Thu, 24 Jan 2019 01:38:23 +0000 (17:38 -0800)]
Merge "Implemented native functions and types for blastula management."
am: 5222bf368b

Change-Id: I833eef9f333bd7b5bf552beebfdc7cc483aeec26

5 years agoMerge "Add Android APIs for Hearing Aids Profile"
Treehugger Robot [Thu, 24 Jan 2019 01:37:05 +0000 (01:37 +0000)]
Merge "Add Android APIs for Hearing Aids Profile"

5 years agoMerge "Add 2 new ways to check for Support 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"

5 years agoMerge "Add the blastula pool sockets to the Zygote whitelist."
Chris Wailes [Thu, 24 Jan 2019 01:32:34 +0000 (17:32 -0800)]
Merge "Add the blastula pool sockets to the Zygote whitelist."
am: e22f160c2e

Change-Id: I96e522b9a168d32589c3fc178c53adad338b7bb5

5 years agoMerge "Added mitigation for b/122921367"
Christian Wailes [Thu, 24 Jan 2019 01:26:10 +0000 (17:26 -0800)]
Merge "Added mitigation for b/122921367"
am: 80c398b74c

Change-Id: I29c437ba51ff3f4cc90671a0581f41a70581d5a8

5 years agoMerge "Removed false positives from the greylist."
Chris Wailes [Thu, 24 Jan 2019 01:21:27 +0000 (17:21 -0800)]
Merge "Removed false positives from the greylist."
am: 5d33fe94e4

Change-Id: I499062c50b5e0ab5ad2e28f1968b2790adee028e

5 years agoMerge "Refactored ZygoteConnection.Arguments to ZygoteArguments."
Christian Wailes [Thu, 24 Jan 2019 01:13:41 +0000 (01:13 +0000)]
Merge "Refactored ZygoteConnection.Arguments to ZygoteArguments."

5 years agoMerge "Code cleanup in ZygoteInit."
Christian Wailes [Thu, 24 Jan 2019 01:13:20 +0000 (01:13 +0000)]
Merge "Code cleanup in ZygoteInit."

5 years agoMerge "Code cleanup to conform to style guide / linter."
Christian Wailes [Thu, 24 Jan 2019 01:12:46 +0000 (01:12 +0000)]
Merge "Code cleanup to conform to style guide / linter."

5 years agoMerge "Implemented native functions and types for blastula management."
Christian Wailes [Thu, 24 Jan 2019 01:12:19 +0000 (01:12 +0000)]
Merge "Implemented native functions and types for blastula management."

5 years agoMerge "Add the blastula pool sockets to the Zygote whitelist."
Treehugger Robot [Thu, 24 Jan 2019 01:11:58 +0000 (01:11 +0000)]
Merge "Add the blastula pool sockets to the Zygote whitelist."

5 years agoMerge "Added mitigation for b/122921367"
Christian Wailes [Thu, 24 Jan 2019 01:05:02 +0000 (01:05 +0000)]
Merge "Added mitigation for b/122921367"

5 years agoMerge "Removed false positives from the greylist."
Treehugger Robot [Thu, 24 Jan 2019 01:02:26 +0000 (01:02 +0000)]
Merge "Removed false positives from the greylist."

5 years agoAdd FEATURE_TELEPHONY_IMS definition
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

5 years agoAllow light HAL to exit if it's a lazy HAL
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

5 years agoFix doc of NETWORK_TYPE_NR & add converter
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

5 years agoSupported data handover in DcTracker/DataConnection/ApnContext
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)

5 years agoAdd part ID reuse to API contract
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

5 years agoImplementation of Remote-SIM.
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

5 years agoRefactored ZygoteConnection.Arguments to ZygoteArguments.
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

5 years agoCode cleanup in ZygoteInit.
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

5 years agoCode cleanup to conform to style guide / linter.
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

5 years agoImplemented native functions and types for blastula management.
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

5 years agoAdd the blastula pool sockets to the Zygote whitelist.
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

5 years agoAdded mitigation for b/122921367
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

5 years agoRemoved false positives from the greylist.
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

5 years agoMerge "Replace annotation_processors with plugins"
Colin Cross [Wed, 23 Jan 2019 20:37:11 +0000 (12:37 -0800)]
Merge "Replace annotation_processors with plugins"
am: bc40469e19

Change-Id: I0f91aa05eca9635ce0bc59e40714adff908af682

5 years agoMerge "Replace annotation_processors with plugins"
Colin Cross [Wed, 23 Jan 2019 20:18:02 +0000 (20:18 +0000)]
Merge "Replace annotation_processors with plugins"

5 years agoadd missing permission check in PhoneStateListener
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

5 years agoMerge "jarjar hidl core libs."
Steven Moreland [Wed, 23 Jan 2019 18:20:23 +0000 (10:20 -0800)]
Merge "jarjar hidl core libs."
am: 436e2ad4c7

Change-Id: I05314143d12bab29062d1309074c7d710a38b1f4

5 years agoMerge "jarjar hidl core libs."
Steven Moreland [Wed, 23 Jan 2019 18:05:25 +0000 (18:05 +0000)]
Merge "jarjar hidl core libs."

5 years agoMerge "Deprecate Duplicate SignalStrength Methods"
Nathan Harold [Wed, 23 Jan 2019 17:55:26 +0000 (09:55 -0800)]
Merge "Deprecate Duplicate SignalStrength Methods"
am: a3ab270ce1

Change-Id: Ifacba0cbb949fa0b35e1f22bf3225f5c608f36a6

5 years agoMerge "Deprecate Duplicate SignalStrength Methods"
Nathan Harold [Wed, 23 Jan 2019 17:37:03 +0000 (17:37 +0000)]
Merge "Deprecate Duplicate SignalStrength Methods"

5 years agoMerge "[view compilation] Add --compile-layouts flag to `pm compile`"
Mathieu Chartier [Wed, 23 Jan 2019 17:26:26 +0000 (09:26 -0800)]
Merge "[view compilation] Add --compile-layouts flag to `pm compile`"
am: 52cf4adf70

Change-Id: I0ad866ef309f31b9dbbc62887f14adf3fcfd7ae4

5 years agoMerge "Improvements to Bugreporting API."
Nandana Dutt [Wed, 23 Jan 2019 17:17:50 +0000 (09:17 -0800)]
Merge "Improvements to Bugreporting API."
am: 212353c896

Change-Id: I1afa04707bcf84aed87bc99695c33b8fdfb08ac4

5 years agoMerge "[view compilation] Add --compile-layouts flag to `pm compile`"
Mathieu Chartier [Wed, 23 Jan 2019 17:02:31 +0000 (17:02 +0000)]
Merge "[view compilation] Add --compile-layouts flag to `pm compile`"

5 years agoMerge "Improvements to Bugreporting API."
Treehugger Robot [Wed, 23 Jan 2019 17:00:48 +0000 (17:00 +0000)]
Merge "Improvements to Bugreporting API."

5 years ago[KA05] Export keepalive offload api for IpSec Nat-T file descriptor
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

5 years agoMerge changes I1250730c,I7d00848c
Remi NGUYEN VAN [Wed, 23 Jan 2019 16:26:33 +0000 (08:26 -0800)]
Merge changes I1250730c,I7d00848c
am: e693d49c0a

Change-Id: I2f19490a2340bdc2630162dfe9a277dffc5041fa

5 years agoMerge "Add OWNERS"
Todd Kennedy [Wed, 23 Jan 2019 16:19:26 +0000 (08:19 -0800)]
Merge "Add OWNERS"
am: 78cccf728d

Change-Id: I448ebe48d5306ca7bc50df23412a45d0988eac53

5 years agoMerge "Stop depending on the ConnectivityService default request."
Lorenzo Colitti [Wed, 23 Jan 2019 16:14:33 +0000 (08:14 -0800)]
Merge "Stop depending on the ConnectivityService default request."
am: e62097f71d

Change-Id: Iae908cb959d50870923bce4dbe1bfed5f4c26c2c

5 years agoAdd additional SystemApi for NetworkStack
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

5 years ago[KA01] export SocketKeepalive API for NAT-T keepalive
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

5 years agoMerge changes I1250730c,I7d00848c
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

5 years agoMerge "Add OWNERS"
Treehugger Robot [Wed, 23 Jan 2019 14:48:19 +0000 (14:48 +0000)]
Merge "Add OWNERS"

5 years agoAdd generic SelectTest JUnit filter and CoreTestsFilter
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

5 years agoMerge "Stop depending on the ConnectivityService default request."
Lorenzo Colitti [Wed, 23 Jan 2019 12:29:40 +0000 (12:29 +0000)]
Merge "Stop depending on the ConnectivityService default request."

5 years agoMerge "Netd unsolicited event porting"
Luke Huang [Wed, 23 Jan 2019 12:14:17 +0000 (04:14 -0800)]
Merge "Netd unsolicited event porting"
am: 98f0c30911

Change-Id: I13d8a53368850b07a65e42adc5d3f5fd0575c12a

5 years agoMerge "Netd unsolicited event porting"
Luke Huang [Wed, 23 Jan 2019 12:02:14 +0000 (12:02 +0000)]
Merge "Netd unsolicited event porting"

5 years agoMerge "[MS11] Implement findL2Key"
Chalard Jean [Wed, 23 Jan 2019 11:14:56 +0000 (03:14 -0800)]
Merge "[MS11] Implement findL2Key"
am: 773f3f5bf3

Change-Id: If429108eddc802f0c13f7b10048b1fe87bd51b22

5 years agoMerge "[MS11] Implement findL2Key"
Treehugger Robot [Wed, 23 Jan 2019 11:01:43 +0000 (11:01 +0000)]
Merge "[MS11] Implement findL2Key"