OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Disable LTO on -eng"
John Reck [Wed, 11 Jul 2018 21:48:50 +0000 (14:48 -0700)]
Merge "Disable LTO on -eng"
am: 1918b39942

Change-Id: I925182b722d7bf6b1bb63c298a8ec9e345f0c4ac

6 years agoMerge "Disable LTO on -eng"
Treehugger Robot [Wed, 11 Jul 2018 20:21:19 +0000 (20:21 +0000)]
Merge "Disable LTO on -eng"

6 years agoMerge "Update Wcdma and Tdscdma CellInfo for HAL 1.2"
Nathan Harold [Wed, 11 Jul 2018 19:09:10 +0000 (12:09 -0700)]
Merge "Update Wcdma and Tdscdma CellInfo for HAL 1.2"
am: c1e5c3ea82

Change-Id: I4bbedcc3f47706d677a1c66273bf1643c8f21be5

6 years agoDisable LTO on -eng
John Reck [Wed, 11 Jul 2018 18:21:09 +0000 (11:21 -0700)]
Disable LTO on -eng

Speeds up incremental compile of one cpp file change
from over a minute to around 15 seconds

Bug: 111277863
Test: touch a .cpp file in hwui & mmm
Change-Id: I946ecad411a7a59f87ed9e1eeb146d6f57bd038a

6 years agoMerge "Update Wcdma and Tdscdma CellInfo for HAL 1.2"
Nathan Harold [Wed, 11 Jul 2018 17:58:50 +0000 (17:58 +0000)]
Merge "Update Wcdma and Tdscdma CellInfo for HAL 1.2"

6 years agoresolve merge conflicts of 6e3c86c8ed7a1bcfcbc63bbded0043d4b4efbe10 to stage-aosp...
David Brazdil [Wed, 11 Jul 2018 10:56:34 +0000 (11:56 +0100)]
resolve merge conflicts of 6e3c86c8ed7a1bcfcbc63bbded0043d4b4efbe10 to stage-aosp-master

BUG: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ide3c4e229b47e4242cacafc04b70d8b392712cc8

6 years agoMerge "Compile android.test.*.stubs into dex"
David Brazdil [Wed, 11 Jul 2018 09:18:15 +0000 (09:18 +0000)]
Merge "Compile android.test.*.stubs into dex"

6 years agoMark installable jars with installable: true
Colin Cross [Tue, 10 Jul 2018 21:24:31 +0000 (14:24 -0700)]
Mark installable jars with installable: true

Most jars don't need to be installed on the device.  Instead of
using java_library and java_library_static to distinguish between
them make java_library and java_library_static identical and use
installable: true to identify the few jars that need to be dexed
and installed on the device.

Bug: 110885583
Test: m checkbuild
Change-Id: I19c0e723285c7088700f50567b9c2140289f9edf

6 years agoUpdate Wcdma and Tdscdma CellInfo for HAL 1.2
Nathan Harold [Wed, 28 Mar 2018 15:39:43 +0000 (08:39 -0700)]
Update Wcdma and Tdscdma CellInfo for HAL 1.2

In HAL 1.2 WCDMA and TDSCMA were updated to bring
them in line with the other CellInfo types. WCDMA
was missing support for Rscp and Ec/No; the former
being the primary measurement used for WCDMA signal
strength. TDSCDMA was missing support for RSSI, and
the definition for RSCP was incorrect, so it was fixed
to use the PCCPH RSCP.

Furthermore, TDSCDMA support was unavailable except
in the CellIdentity. This patch pipes support from the
HAL to the framework, adding CellInfoTdscdma, which is
primarily for Asia.

-Add RSCP and Ec/No fields to CellSignalStrengthWcdma
-Add CellInfoTdscdma and CellSignalStrengthTdscdma
-Add UARFCN and Alphas support for CellIdentityTdscdma
-Fix a bug in the equals() check for CellIdentity
-Update documentation for CellInfo<RAT> classes and
 the getLevel() methods of CellSignalStrength<RAT>

Bug: 76153768
Test: RILTests added for TDSCDMA
Merged-In: I71e0998f1a9bd7656d495003a8ee5ef616ca4f43
Change-Id: I71e0998f1a9bd7656d495003a8ee5ef616ca4f43
(cherry picked from commit 88f44024bb068829358d66107360223dc73131f7)

6 years agoMerge "Add build rule for API->source mapping."
Mathew Inwood [Tue, 10 Jul 2018 18:41:48 +0000 (11:41 -0700)]
Merge "Add build rule for API->source mapping."
am: b4919259ab

Change-Id: I616da3024e5d310ae6993b4437611cb188c8145a

6 years ago[automerger skipped] Merge "Java side setup and access to Binder Proxy Tracking"
Michael Wachenschwanz [Tue, 10 Jul 2018 17:36:25 +0000 (10:36 -0700)]
[automerger skipped] Merge "Java side setup and access to Binder Proxy Tracking"
am: 62d5e041a2  -s ours

Change-Id: Ic9cbde38cded481a75ce772f91c741f39de0360f

6 years agoMerge "Add build rule for API->source mapping."
Mathew Inwood [Tue, 10 Jul 2018 17:12:37 +0000 (17:12 +0000)]
Merge "Add build rule for API->source mapping."

6 years agoMerge "Java side setup and access to Binder Proxy Tracking"
Treehugger Robot [Tue, 10 Jul 2018 16:24:47 +0000 (16:24 +0000)]
Merge "Java side setup and access to Binder Proxy Tracking"

6 years agoMerge "Mark installable jars with installable: true"
Colin Cross [Tue, 10 Jul 2018 16:12:46 +0000 (09:12 -0700)]
Merge "Mark installable jars with installable: true"
am: 1035f48f61

Change-Id: Ia3176e68ddd7cfdb8351b2a0ea95efc9dd94d922

6 years agoMerge "Mark installable jars with installable: true"
Colin Cross [Tue, 10 Jul 2018 14:51:50 +0000 (14:51 +0000)]
Merge "Mark installable jars with installable: true"

6 years agoCompile android.test.*.stubs into dex
David Brazdil [Thu, 28 Jun 2018 09:23:50 +0000 (10:23 +0100)]
Compile android.test.*.stubs into dex

Adjust the build rules of android.test.*.stubs packages to also
produce a jar with dex files. This will be used by the `hiddenapi`
tool to categorize the boot class path equivalents as public API.

Bug: 79409988
Test: m android.test.base.stubs ; check javalib.jar contains dex
Merged-In: I1d0850b18044c559ea4b9893d929dc45884b32c3
Change-Id: Ief28cd5e6d0cdd58f22fab751e0173ccf8c69a0c

6 years agoMerge "Add a getTransactionName method to Binder."
Olivier Gaillard [Tue, 10 Jul 2018 08:50:30 +0000 (01:50 -0700)]
Merge "Add a getTransactionName method to Binder."
am: 079f03f584

Change-Id: Ie157d490cf074d5b015406cb9739366cc4d46b87

6 years agoAdd build rule for API->source mapping.
Mathew Inwood [Fri, 22 Jun 2018 14:30:02 +0000 (15:30 +0100)]
Add build rule for API->source mapping.

This is used to get source positions of all class members in the boot
class path, to automate the addition of annotations. See
go/hidden-api-annotations for more context.

Mappings printed in:
out/soong/.intermediates/frameworks/base/hiddenapi-mappings
    /android_common/dex-mapping.txt

Test: make hiddenapi-mappings
Bug: 110868826
Change-Id: Ie67a8be6a5a71447a25d081bd466b8b5e01b0725

6 years agoMerge "Add a getTransactionName method to Binder."
Olivier Gaillard [Tue, 10 Jul 2018 07:23:14 +0000 (07:23 +0000)]
Merge "Add a getTransactionName method to Binder."

6 years agoMerge "Remove CSV support"
Haibo Huang [Mon, 9 Jul 2018 21:41:03 +0000 (14:41 -0700)]
Merge "Remove CSV support"
am: 0faecf7b89

Change-Id: I02e8b74299afda2642567e3fcf9a41653cb7b888

6 years agoAdd a getTransactionName method to Binder.
Olivier Gaillard [Thu, 5 Jul 2018 14:07:35 +0000 (15:07 +0100)]
Add a getTransactionName method to Binder.

This method transforms a binder call code to a human readable name.
AIDL generator will have the ability to override this method.

Test: n/a
Bug: 111200705

Change-Id: Ic1d82e9b403ab40c8b625ca977a819ccd521dd97

6 years agoMerge "Remove CSV support"
Haibo Huang [Mon, 9 Jul 2018 20:32:31 +0000 (20:32 +0000)]
Merge "Remove CSV support"

6 years agoRemove CSV support
Haibo Huang [Fri, 6 Jul 2018 23:55:27 +0000 (16:55 -0700)]
Remove CSV support

CSV is deprecated upstream. See:
https://github.com/google/benchmark/commit/7b8d0249d8d66040ce9ffe6b94cc8421ef3e61d8

Test: m checkbuild
Change-Id: I4b85535d4296c6f0d1f0eec95b40c065b3143134

6 years agoMerge "Type Allocation Code & Manufacturer Code"
Jordan Liu [Fri, 6 Jul 2018 19:06:39 +0000 (12:06 -0700)]
Merge "Type Allocation Code & Manufacturer Code"
am: ff801e5fd7

Change-Id: I95b5fd3d2fb977db3f37dcf23c2125c521c1ccd1

6 years agoMerge "Type Allocation Code & Manufacturer Code"
Jordan Liu [Fri, 6 Jul 2018 17:51:42 +0000 (17:51 +0000)]
Merge "Type Allocation Code & Manufacturer Code"

6 years agoresolve merge conflicts of 7980b19bc8fa1fb0c4b4b3abea891d6e245b3edd to stage-aosp...
Neil Fuller [Fri, 6 Jul 2018 15:32:44 +0000 (16:32 +0100)]
resolve merge conflicts of 7980b19bc8fa1fb0c4b4b3abea891d6e245b3edd to stage-aosp-master

BUG: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ica0d3578c6e3fcd17b350f63b4acd471774ac014

6 years agoMerge "Track changes in libcore to remove a constructor"
Treehugger Robot [Fri, 6 Jul 2018 13:58:29 +0000 (13:58 +0000)]
Merge "Track changes in libcore to remove a constructor"

6 years agoMerge "Remove unusual static method call"
Neil Fuller [Thu, 5 Jul 2018 12:24:39 +0000 (05:24 -0700)]
Merge "Remove unusual static method call"
am: cbe9c295a3

Change-Id: I3ae602232226ef3a1e482dd5a34e1025118c30b7

6 years agoMerge "Always close file descriptors"
Erik Kline [Thu, 5 Jul 2018 12:20:25 +0000 (05:20 -0700)]
Merge "Always close file descriptors"
am: 26025a06ec

Change-Id: Ib1d8f74832b8b649dc83de39f8f16651a9924e69

6 years agoMerge "Track constructor changes in libcore/"
Neil Fuller [Thu, 5 Jul 2018 12:14:26 +0000 (05:14 -0700)]
Merge "Track constructor changes in libcore/"
am: f94eb29500

Change-Id: I344d9210bd173f78651318366c852f65afe969d6

6 years agoMerge "Remove unusual static method call"
Treehugger Robot [Thu, 5 Jul 2018 11:12:35 +0000 (11:12 +0000)]
Merge "Remove unusual static method call"

6 years agoRemove unusual static method call
Neil Fuller [Wed, 4 Jul 2018 15:41:14 +0000 (16:41 +0100)]
Remove unusual static method call

The code is using static method Calendar.getInstance() but via a
subclass of Calendar. It works, and getInstance() returns a
GregorianCalendar on Android, but it's odd and was probably unintended.

Noticed during static analysis of SystemUI bytecode.

Bug: 111055375
Test: build / boot
Change-Id: I1762cbeb2cc7882868f84ec11100815671cd29ec

6 years agoMerge "Always close file descriptors"
Treehugger Robot [Thu, 5 Jul 2018 09:07:21 +0000 (09:07 +0000)]
Merge "Always close file descriptors"

6 years agoMerge "Track constructor changes in libcore/"
Neil Fuller [Thu, 5 Jul 2018 08:57:13 +0000 (08:57 +0000)]
Merge "Track constructor changes in libcore/"

6 years agoAlways close file descriptors
Erik Kline [Wed, 4 Jul 2018 08:57:51 +0000 (17:57 +0900)]
Always close file descriptors

Every error thrown leaked a netlink NETFILTER socket.

Test: as follows
    - built, flashed, booted
    - runtest frameworks-net passes
    - enabled tethering and tried to cause conntrack updates to sessions
      that had expired (which causes ErrnoExceptions to be thrown)
      while monitoring lsof for system_server's NETFILTER sockets

Bug: 32163131
Bug: 64976634
Bug: 110122306

Change-Id: Ib52b812e8434c27ad9f2596666400c13e03c2216

6 years agoMerge "Fix the logic to get tv_pip_settings_class_name"
Shuichi.Noguchi [Thu, 5 Jul 2018 00:07:32 +0000 (17:07 -0700)]
Merge "Fix the logic to get tv_pip_settings_class_name"
am: d004710e0e

Change-Id: Ieecde6f75fd7788835fa34300f1fbec5eb963862

6 years agoMerge "Fix the logic to get tv_pip_settings_class_name"
Treehugger Robot [Wed, 4 Jul 2018 22:45:16 +0000 (22:45 +0000)]
Merge "Fix the logic to get tv_pip_settings_class_name"

6 years agoType Allocation Code & Manufacturer Code
David Kelly [Mon, 12 Mar 2018 14:17:24 +0000 (14:17 +0000)]
Type Allocation Code & Manufacturer Code

- Addition of getTypeAllocationCode & getManufacturerCode to
android.telephony.TelephonyManager.

- The Type Allocation Code is the first eight characters of the IMEI.
The Type Allocation Code identifies a particular GSM device model.

- The Manufacturer Code is the first eight characters of the MEID.
The Manufacturer Code identifies the manufacturer of a CDMA device.

- The reasoning behind adding getTypeAllocationCode is to be
able to obtain the Type Allocation Code without requiring the
READ_PHONE_STATE permission. Currently in order to obtain the
Type Allocation Code a substring operation must be performed on
getImei which is protected by the READ_PHONE_STATE permission.

- The reasoning behind adding getManufacturerCode is to be
able to obtain the Manufacturer Code without requiring the
READ_PHONE_STATE permission. Currently in order to obtain the
Manufacturer Code a substring operation must be performed on
getMeid which is protected by the READ_PHONE_STATE permission.

- The reasoning that these additional methods do not require the
READ_PHONE_STATE permission is that neither the Type Allocation
Code nor the Manufacturer Code can identify a unique device.
The Type Allocation Code and the Manufacturer Code are analogous
to other device information such as device model or device
screen dimensions.

Test: run cts -m CtsTelephonyTestCases
Bug: 74613795
Change-Id: I5a586b5a362b39aae13357329efb19eb93f0434c
Signed-off-by: David Kelly <dkelly@afilias.info>
6 years agoTrack changes in libcore to remove a constructor
Neil Fuller [Tue, 3 Jul 2018 17:46:10 +0000 (18:46 +0100)]
Track changes in libcore to remove a constructor

Track changes in libcore to remove a constructor + lint
import order changes. Instead of the constructor a utility
method is introduced.

Test: Build / boot
Bug: 111055375
Merged-In: Id683a9d9d6e27d4c8df623dae189da9e74a6d410
Change-Id: Id683a9d9d6e27d4c8df623dae189da9e74a6d410

6 years agoMerge "ImsMultiEndPoint - Sip Notify Change"
Tyler Gunn [Tue, 3 Jul 2018 23:27:56 +0000 (16:27 -0700)]
Merge "ImsMultiEndPoint - Sip Notify Change"
am: bc103bdf18

Change-Id: I2dbc17af8694cdb92e189202e0786fc39573b0d1

6 years agoMerge "ImsMultiEndPoint - Sip Notify Change"
Tyler Gunn [Tue, 3 Jul 2018 22:15:21 +0000 (22:15 +0000)]
Merge "ImsMultiEndPoint - Sip Notify Change"

6 years agoImsMultiEndPoint - Sip Notify Change
Sumit Das [Sat, 30 Jun 2018 00:12:01 +0000 (17:12 -0700)]
ImsMultiEndPoint - Sip Notify Change

-Added log message, getter method and set/read from parcel

Change-Id: I832bd2cf51382bb0919ab0ea1b5c7fcba8b2b136

6 years agoMerge "Make Half class use public APIs"
Neil Fuller [Tue, 3 Jul 2018 20:08:26 +0000 (13:08 -0700)]
Merge "Make Half class use public APIs"
am: 7e957e57b7

Change-Id: I7f41f07ed5d35a0c538c90b49b4500ba9952f74d

6 years agoMerge "Make Half class use public APIs"
Neil Fuller [Tue, 3 Jul 2018 18:32:27 +0000 (18:32 +0000)]
Merge "Make Half class use public APIs"

6 years agoTrack constructor changes in libcore/
Neil Fuller [Tue, 3 Jul 2018 18:22:45 +0000 (19:22 +0100)]
Track constructor changes in libcore/

The 2-arg constructor is being removed.

Test: build / boot
Bug: 111055375
Change-Id: I72413a8c7885f9514a88f59deb649fa755deff92

6 years agoMerge "Push DNS configuration on network validation"
Erik Kline [Tue, 3 Jul 2018 10:09:16 +0000 (03:09 -0700)]
Merge "Push DNS configuration on network validation"
am: ef941e192a

Change-Id: I5907831e5f5f1f3659580cc56e2e081cbe88b1cc

6 years agoMerge "Push DNS configuration on network validation"
Treehugger Robot [Tue, 3 Jul 2018 09:03:35 +0000 (09:03 +0000)]
Merge "Push DNS configuration on network validation"

6 years ago[automerger skipped] Merge "Reordered the params for network registration"
Jack Yu [Tue, 3 Jul 2018 08:12:03 +0000 (01:12 -0700)]
[automerger skipped] Merge "Reordered the params for network registration"
am: 38f7576297  -s ours

Change-Id: Ibbe9027176ff14eae912c794fb0724cdc32f4926

6 years agoPush DNS configuration on network validation
Erik Kline [Tue, 26 Jun 2018 09:53:43 +0000 (18:53 +0900)]
Push DNS configuration on network validation

Test: as follows
    - built, flashed, booted
    - runtest frameworks-net passes
    - connected to captive portal network,
      saw failed validation attempt (opportunistic),
      passed portal, saw successful revalidation attempt
Bug: 64133961
Bug: 72344805
Bug: 109928338

Change-Id: I0471685c2234af8a8c7f5b2ad3205eb6e36333c5

6 years agoMerge "Add in-app tracepoints to TouchLatency app."
Carmen Jackson [Tue, 3 Jul 2018 00:57:29 +0000 (17:57 -0700)]
Merge "Add in-app tracepoints to TouchLatency app."
am: 674fd12278

Change-Id: I69a89ba6fac90a454a1d8befe9317af25979ccbf

6 years agoMerge "Reordered the params for network registration"
Treehugger Robot [Mon, 2 Jul 2018 23:56:11 +0000 (23:56 +0000)]
Merge "Reordered the params for network registration"

6 years agoMerge "Add in-app tracepoints to TouchLatency app."
Treehugger Robot [Mon, 2 Jul 2018 23:39:21 +0000 (23:39 +0000)]
Merge "Add in-app tracepoints to TouchLatency app."

6 years agoMerge "Update Docstrings for CellSignalStrengthLte"
Nathan Harold [Mon, 2 Jul 2018 23:07:37 +0000 (16:07 -0700)]
Merge "Update Docstrings for CellSignalStrengthLte"
am: 5e8a5d4b79

Change-Id: Id41fb2ccdeaf43fcc62193c78c93f4ca765d2fa2

6 years agoAdd in-app tracepoints to TouchLatency app.
Carmen Jackson [Thu, 28 Jun 2018 22:15:44 +0000 (15:15 -0700)]
Add in-app tracepoints to TouchLatency app.

Test: Traced the TouchLatency app and saw the added tracepoints.
Change-Id: I72ab8f88731e635f98831f045dddd086a05acc3b

6 years agoMerge "Update Docstrings for CellSignalStrengthLte"
Nathan Harold [Mon, 2 Jul 2018 20:40:55 +0000 (20:40 +0000)]
Merge "Update Docstrings for CellSignalStrengthLte"

6 years agoMerge "Modify catch when addInterfaceToLocalNetwork() is called."
Sehee Park [Mon, 2 Jul 2018 13:23:35 +0000 (06:23 -0700)]
Merge "Modify catch when addInterfaceToLocalNetwork() is called."
am: ccd6a0f6c2

Change-Id: I9842ae51d3bb4665f5cb24b7685a05de2df05097

6 years agoMerge "Modify catch when addInterfaceToLocalNetwork() is called."
Treehugger Robot [Mon, 2 Jul 2018 11:22:28 +0000 (11:22 +0000)]
Merge "Modify catch when addInterfaceToLocalNetwork() is called."

6 years agoMake Half class use public APIs
Neil Fuller [Mon, 2 Jul 2018 11:04:39 +0000 (12:04 +0100)]
Make Half class use public APIs

Half has a dependency on an internal sun.misc.FloatingDecimal
that can be replaced by an equivalent call on java.lang.Float
(which calls through to FloatingDecimal).

Any performance hit is worth it for a smaller API surface.

Bug: 111055375
Test: Build
Change-Id: Iecdf3aa9414922a77edbdc439b0c2b88033b3af8

6 years agoModify catch when addInterfaceToLocalNetwork() is called.
Sehee Park [Tue, 19 Jun 2018 11:07:37 +0000 (20:07 +0900)]
Modify catch when addInterfaceToLocalNetwork() is called.

Fatal Exception is occured in system process. Becuase addInterfaceToLocalNetwork()
throw IllegalStateException but it can not be handled in TetherInterfaceStateMachine.
Modify catch from "RemoteException" to "Exception" when addInterfaceToLocalNetwork() is called.

Test: Repeat on/off tethering
Test: "runtest --no-hidden-api-checks frameworks-net" passes

Bug: 110396460
Change-Id: I2f2f1325cfcce40c3113ccccf69b2bbd5df4ae5b
Signed-off-by: Sehee Park <sehee32.park@samsung.com>
6 years agoMerge "Used APN type instead of APN id"
Jack Yu [Sat, 30 Jun 2018 01:06:39 +0000 (18:06 -0700)]
Merge "Used APN type instead of APN id"
am: 2e371c1b5a

Change-Id: Ib920746cb39937165aa97f79a9ac4e2fed850572

6 years agoMerge "Used APN type instead of APN id"
Jack Yu [Fri, 29 Jun 2018 23:54:32 +0000 (23:54 +0000)]
Merge "Used APN type instead of APN id"

6 years agoMerge changes I0d635067,I1424973b
Nathan Harold [Fri, 29 Jun 2018 22:39:19 +0000 (15:39 -0700)]
Merge changes I0d635067,I1424973b
am: 4d7a010983

Change-Id: I4372305da9b4b6b488bdeda0ec97b412e92bce58

6 years agoUsed APN type instead of APN id
Jack Yu [Tue, 26 Jun 2018 00:40:02 +0000 (17:40 -0700)]
Used APN type instead of APN id

APN id is similar to ApnSetting.ApnType. We can just use the apn
type. No need to use APN id anymore.

Test: Telephony sanity tests + unit tests
Bug: 77511388
Merged-In: If41845604ea14f36272262da110d682eea0d5451
Change-Id: If41845604ea14f36272262da110d682eea0d5451
(cherry picked from commit f42d06010a522b0d519df1a2ce9fa5ba3aefb51f)

6 years agoMerge changes I0d635067,I1424973b
Nathan Harold [Fri, 29 Jun 2018 21:23:26 +0000 (21:23 +0000)]
Merge changes I0d635067,I1424973b

* changes:
  Simplify equals() method of ServiceState
  Update ServiceState.hashCode()

6 years agoMerge "Add new carrier config for CDMA registered PLMN when not roaming."
Amit Mahajan [Fri, 29 Jun 2018 21:05:51 +0000 (14:05 -0700)]
Merge "Add new carrier config for CDMA registered PLMN when not roaming."
am: c8eb9ef591

Change-Id: I1cc5af7ab6cbb722c14b549047cccd73a5ad9720

6 years agoMerge "Add new carrier config for CDMA registered PLMN when not roaming."
Treehugger Robot [Fri, 29 Jun 2018 19:55:16 +0000 (19:55 +0000)]
Merge "Add new carrier config for CDMA registered PLMN when not roaming."

6 years agoAdd new carrier config for CDMA registered PLMN when not roaming.
Amit Mahajan [Tue, 5 Jun 2018 23:27:32 +0000 (16:27 -0700)]
Add new carrier config for CDMA registered PLMN when not roaming.

Test: manual
Bug: 80145031
Merged-in: I6533b4097f729df88f287348924563c6f459401c
Change-Id: I6533b4097f729df88f287348924563c6f459401c
(cherry picked from commit 22e89f4773d9cbc8f5911b65b2dae3e3add7bdb6)

6 years agoMerge "Build com.android.future.usb.accessory with java_sdk_library"
Sundong Ahn [Fri, 29 Jun 2018 03:38:09 +0000 (20:38 -0700)]
Merge "Build com.android.future.usb.accessory with java_sdk_library"
am: 10cfc61774

Change-Id: Ie6abdaa1c9f58ada60da5514bbd1ed261d09fd0b

6 years ago[automerger skipped] Merge "Disable hidden API checks on unit tests"
Remi NGUYEN VAN [Fri, 29 Jun 2018 03:34:19 +0000 (20:34 -0700)]
[automerger skipped] Merge "Disable hidden API checks on unit tests"
am: 855f0f03e1  -s ours

Change-Id: I9ad7743e43efd5aaa722e73ea0b2543537d23c50

6 years agoMerge "Build com.android.future.usb.accessory with java_sdk_library"
Treehugger Robot [Fri, 29 Jun 2018 02:51:43 +0000 (02:51 +0000)]
Merge "Build com.android.future.usb.accessory with java_sdk_library"

6 years agoMerge "Disable hidden API checks on unit tests"
Remi NGUYEN VAN [Fri, 29 Jun 2018 02:15:47 +0000 (02:15 +0000)]
Merge "Disable hidden API checks on unit tests"

6 years agoMerge "Emergency SMS carrier config flag"
Brad Ebinger [Fri, 29 Jun 2018 00:26:39 +0000 (17:26 -0700)]
Merge "Emergency SMS carrier config flag"
am: 36a9fa62be

Change-Id: If6a2b0316ee0fdac29eedcf77686694f538d5017

6 years ago[automerger skipped] Merge "Allow Cell Location for SYSTEM_UID and ROOT_UID"
Nathan Harold [Thu, 28 Jun 2018 23:26:56 +0000 (16:26 -0700)]
[automerger skipped] Merge "Allow Cell Location for SYSTEM_UID and ROOT_UID"
am: 9ca4d43922  -s ours

Change-Id: I2e148a4e55510acf0c0425b7e1ed6cdc1fb9eb34

6 years agoReordered the params for network registration
Jack Yu [Sat, 9 Jun 2018 00:27:05 +0000 (17:27 -0700)]
Reordered the params for network registration

Test: Build
Bug: 73659459
Change-Id: I1af2c49a937177173b760d30b030da20f03c01d7

6 years agoMerge "Emergency SMS carrier config flag"
Brad Ebinger [Thu, 28 Jun 2018 22:16:10 +0000 (22:16 +0000)]
Merge "Emergency SMS carrier config flag"

6 years agoMerge "Allow Cell Location for SYSTEM_UID and ROOT_UID"
Nathan Harold [Thu, 28 Jun 2018 22:05:56 +0000 (22:05 +0000)]
Merge "Allow Cell Location for SYSTEM_UID and ROOT_UID"

6 years agoAllow Cell Location for SYSTEM_UID and ROOT_UID
Nathan Harold [Tue, 26 Jun 2018 02:13:29 +0000 (19:13 -0700)]
Allow Cell Location for SYSTEM_UID and ROOT_UID

This change permits the system uid and root uid to
access cellular location information via the binder.
Previously this was restricted to the phone uid, but
running with uid=system is a privileged situation,
which makes me think this this wasn't intentional.

Also add a few lines of debug code to make issues
in LocationAccessPolicy easier to track down in the
future.

Bug: 110806860
Test: manual - ran with SL4A as SYSTEM_UID and
    verified access to getAllCellInfo.

Merged-In: Ie18be2cd72c49f1859d1434428f82f164bed8756
Change-Id: Ie18be2cd72c49f1859d1434428f82f164bed8756

6 years agoJava side setup and access to Binder Proxy Tracking
Michael Wachenschwanz [Tue, 15 Aug 2017 06:10:13 +0000 (23:10 -0700)]
Java side setup and access to Binder Proxy Tracking

Expose Binder Proxy Tracking by Uid from the native side. Enable
 tracking for SYSTEM and killing of any bad behaving uids.

Merged-In: Ifd6d0f30a93fad406417dd83c1495c105bced974
Change-Id: Ifd6d0f30a93fad406417dd83c1495c105bced974
Fixes: 63901963
Test: bit FrameworksCoreTests:android.os.BinderProxyCountingTest
(cherry picked from commit 55182464fb9f6536ee500eac02a031e7b7226fc4)

6 years agoSimplify equals() method of ServiceState
Nathan Harold [Thu, 28 Jun 2018 00:21:17 +0000 (17:21 -0700)]
Simplify equals() method of ServiceState

For whatever reason, ServiceState used a
somewhat-convoluted check for null and
class type. Updating to use a canonical
and brief approach.

Bug: 8675309
Test: compilation
Change-Id: I0d635067a06093affff478e13c28bbbe2bfda7df

6 years agoUpdate ServiceState.hashCode()
Nathan Harold [Thu, 28 Jun 2018 00:07:52 +0000 (17:07 -0700)]
Update ServiceState.hashCode()

hashCode() was missing about 10 fields and was
using some unnecessary bespoke logic to generate
hashes for individual fields. This CL simplifies
the hashCode() implementation and adds the missing
fields.

Bug: 8675309
Test: compilation
Change-Id: I1424973b11fcc6480d6f8c83d5fd0eb1b5533c7f

6 years agoMerge "ImsMultiEndPoint - Sip Notify Change"
Tyler Gunn [Wed, 27 Jun 2018 22:28:10 +0000 (15:28 -0700)]
Merge "ImsMultiEndPoint - Sip Notify Change"
am: af228ca978

Change-Id: I49bcddccfa561ee4464ebcb2f8b07612b8e95e65

6 years agoMerge "Allow Cell Location for SYSTEM_UID and ROOT_UID" into stage-aosp-master
Nathan Harold [Wed, 27 Jun 2018 20:02:59 +0000 (20:02 +0000)]
Merge "Allow Cell Location for SYSTEM_UID and ROOT_UID" into stage-aosp-master

6 years agoMerge "ImsMultiEndPoint - Sip Notify Change"
Tyler Gunn [Wed, 27 Jun 2018 20:02:37 +0000 (20:02 +0000)]
Merge "ImsMultiEndPoint - Sip Notify Change"

6 years agoMerge "Telephony: Introduce a base class for ISMS.aidl."
Brad Ebinger [Wed, 27 Jun 2018 19:46:39 +0000 (12:46 -0700)]
Merge "Telephony: Introduce a base class for ISMS.aidl."
am: f03b8e2471

Change-Id: I2c155c6bb46baa411f531e411f86efe0e56c20dc

6 years agoAllow Cell Location for SYSTEM_UID and ROOT_UID
Nathan Harold [Tue, 26 Jun 2018 02:13:29 +0000 (19:13 -0700)]
Allow Cell Location for SYSTEM_UID and ROOT_UID

This change permits the system uid and root uid to
access cellular location information via the binder.
Previously this was restricted to the phone uid, but
running with uid=system is a privileged situation,
which makes me think this this wasn't intentional.

Also add a few lines of debug code to make issues
in LocationAccessPolicy easier to track down in the
future.

Bug: 110806860
Test: manual - ran with SL4A as SYSTEM_UID and
    verified access to getAllCellInfo.

Change-Id: Ie18be2cd72c49f1859d1434428f82f164bed8756

6 years agoMark installable jars with installable: true
Colin Cross [Wed, 27 Jun 2018 18:00:11 +0000 (11:00 -0700)]
Mark installable jars with installable: true

Most jars don't need to be installed on the device.  Instead of
using java_library and java_library_static to distinguish between
them make java_library and java_library_static identical and use
installable: true to identify the few jars that need to be dexed
and installed on the device.

Bug: 110885583
Test: m checkbuild
Change-Id: I579da7c1a712ec4fb49e288e7f3ab369cb75baf4

6 years ago[automerger skipped] Merge "Support seamless handover between VPN fds."
Rubin Xu [Wed, 27 Jun 2018 18:27:29 +0000 (11:27 -0700)]
[automerger skipped] Merge "Support seamless handover between VPN fds."
am: 9916d4b3e8  -s ours

Change-Id: Ieac6b403e5c242f161da56a917e55b07badc888d

6 years agoMerge "Telephony: Introduce a base class for ISMS.aidl."
Brad Ebinger [Wed, 27 Jun 2018 18:24:51 +0000 (18:24 +0000)]
Merge "Telephony: Introduce a base class for ISMS.aidl."

6 years agoMerge "Track dropping of throws clause in Pattern.java."
Tobias Thierer [Wed, 27 Jun 2018 18:21:42 +0000 (11:21 -0700)]
Merge "Track dropping of throws clause in Pattern.java."
am: 251a0cfb78

Change-Id: Icb30c1ffaba63d9f633bf45c9af2a949ddbf1fcd

6 years agoMerge "Support seamless handover between VPN fds."
Rubin Xu [Wed, 27 Jun 2018 16:27:26 +0000 (16:27 +0000)]
Merge "Support seamless handover between VPN fds."

6 years agoMerge "Track dropping of throws clause in Pattern.java."
Treehugger Robot [Wed, 27 Jun 2018 16:01:14 +0000 (16:01 +0000)]
Merge "Track dropping of throws clause in Pattern.java."

6 years agoEmergency SMS carrier config flag
Avinash Nalluri [Sat, 21 Apr 2018 21:06:06 +0000 (14:06 -0700)]
Emergency SMS carrier config flag

Allow send sms over ims to emergency number when the device is in
lte/limited lte mode without normal ims registration.
Modem will use emergency ims pdn to submit sms to network.

Change-Id: I5762102c695fe309a4a5b318abccded5c50154e0
Bug: 110462046

6 years agoMerge "TextUtils: track behavior change of Pattern.split() when targeting > 28."
Tobias Thierer [Wed, 27 Jun 2018 15:14:58 +0000 (08:14 -0700)]
Merge "TextUtils: track behavior change of Pattern.split() when targeting > 28."
am: b5f35aeaf3

Change-Id: I55ba23bfae8f578eb75a4cbfeb2ed4ad1492867d

6 years agoMerge "TextUtils: track behavior change of Pattern.split() when targeting > 28."
Tobias Thierer [Wed, 27 Jun 2018 13:53:12 +0000 (13:53 +0000)]
Merge "TextUtils: track behavior change of Pattern.split() when targeting > 28."

6 years agoresolve merge conflicts of bc38909bf3790331532c329a867d5a22fbf94016 to stage-aosp...
Neil Fuller [Wed, 27 Jun 2018 10:40:06 +0000 (11:40 +0100)]
resolve merge conflicts of bc38909bf3790331532c329a867d5a22fbf94016 to stage-aosp-master

BUG: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ib06f2869e5aa1788c8d5fc281a8565420e93d8f7

6 years agoMerge "Prepare for migration to the time detector service"
Neil Fuller [Wed, 27 Jun 2018 08:45:36 +0000 (08:45 +0000)]
Merge "Prepare for migration to the time detector service"

6 years agoUpdate Docstrings for CellSignalStrengthLte
Nathan Harold [Tue, 26 Jun 2018 23:55:54 +0000 (16:55 -0700)]
Update Docstrings for CellSignalStrengthLte

Add comments to the docstrings to indicate optional
values that may not always be reported. Users are
still reporting bugs for missing fields, which we
consider optional. This should clarify which methods
are optional vs mandatory for LTE.

For signal strength, RSRP is mandatory, and TA is
mandatory while in LTE_ACTIVE. RSSNR, RSRQ, and CQI
are all optional.

Bug: 36995487
Test: compilation (docstring-only change)
Change-Id: I05af5d42cbf6836109efe6441e95223e81671534

6 years ago[automerger skipped] Merge "Split fork and specialize in zygote"
David Sehr [Wed, 27 Jun 2018 00:13:55 +0000 (17:13 -0700)]
[automerger skipped] Merge "Split fork and specialize in zygote"
am: f40f05229c  -s ours

Change-Id: I3d5162e3967503d85aae73fe6bd37e0f50516b9d

6 years agoMerge "Fix memory leak in RenderThread::dumpGraphicsMemory."
Josh Gao [Wed, 27 Jun 2018 00:09:06 +0000 (17:09 -0700)]
Merge "Fix memory leak in RenderThread::dumpGraphicsMemory."
am: c00dd28164

Change-Id: I788e8747361a5c0e3324aa7ac88951428b5f0829

6 years agoTelephony: Introduce a base class for ISMS.aidl.
Ajay Nambi [Wed, 28 Feb 2018 02:40:14 +0000 (18:40 -0800)]
Telephony: Introduce a base class for ISMS.aidl.

Add a dummy base class implementation for
AIDL APIs defined. Clients can override the
required APIs.

Bug: 73994017
Change-Id: Ifd14e04ae0467a7b963cd993cfd514660f14fa95