OSDN Git Service

android-x86/frameworks-base.git
5 years ago[automerger skipped] Merge "glob pattern is used for AIDL files under frameworks...
Jiyong Park [Tue, 20 Aug 2019 16:49:45 +0000 (09:49 -0700)]
[automerger skipped] Merge "glob pattern is used for AIDL files under frameworks/base"
am: bd8e232e20 -s ours
am skip reason: change_id I59728ed06d66d44bc19bcd8530042c01add5fc2b with SHA1 0c6dc7b709 is in history

Change-Id: Ib8f2525133a03860bea23924dcd7b7fd6bf55f4b

5 years agoMerge "glob pattern is used for AIDL files under frameworks/base"
Treehugger Robot [Tue, 20 Aug 2019 16:12:23 +0000 (16:12 +0000)]
Merge "glob pattern is used for AIDL files under frameworks/base"

5 years agoMerge "Add agent startup-attach" into stage-aosp-master
Alex Light [Tue, 20 Aug 2019 15:39:48 +0000 (15:39 +0000)]
Merge "Add agent startup-attach" into stage-aosp-master

5 years ago[automerger skipped] Merge "Start platform compat service eariler."
Anna Trostanetski [Tue, 20 Aug 2019 12:14:00 +0000 (05:14 -0700)]
[automerger skipped] Merge "Start platform compat service eariler."
am: c0442d5b80 -s ours
am skip reason: change_id Ie1130a3f0bdd1769fe0755db0089702ea64d9db6 with SHA1 8266ae32ba is in history

Change-Id: I2f0b9275750b4c778f6b550cbd765352f37af098

5 years agoMerge "Start platform compat service eariler."
Anna Trostanetski [Tue, 20 Aug 2019 11:00:40 +0000 (11:00 +0000)]
Merge "Start platform compat service eariler."

5 years agoMerge "glob pattern is used for AIDL files under frameworks/base" into stage-aosp...
TreeHugger Robot [Tue, 20 Aug 2019 09:34:38 +0000 (09:34 +0000)]
Merge "glob pattern is used for AIDL files under frameworks/base" into stage-aosp-master

5 years agoMerge "Start platform compat service eariler." into stage-aosp-master
Anna Trostanetski [Tue, 20 Aug 2019 09:07:33 +0000 (09:07 +0000)]
Merge "Start platform compat service eariler." into stage-aosp-master

5 years agoglob pattern is used for AIDL files under frameworks/base
Jiyong Park [Wed, 7 Aug 2019 13:45:07 +0000 (22:45 +0900)]
glob pattern is used for AIDL files under frameworks/base

This change removes the manullay curated list of AIDL files and replace
them with globs.

In addition, framework-aidl-mappings no longer sets frameworks-defaults
to its src property, but instead uses the several variables like
framework_srcs, framework_aidl_local_include_dirs, etc. to get the
same files/dirs list as the framework.

The variables will eventually be replaced with filegroups when aidl
include paths are better handled (i.e. 'path' property of all filegroups
for a module contributes to the AIDL include paths for all AIDL files in
the module).

Bug: 70046217
Test: m

Merged-In: I59728ed06d66d44bc19bcd8530042c01add5fc2b
(cherry picked from commit 1cc9566ee26ff2e4ef9d738062409e868a21e34f)
Change-Id: I59728ed06d66d44bc19bcd8530042c01add5fc2b

5 years agoglob pattern is used for AIDL files under frameworks/base
Jiyong Park [Wed, 7 Aug 2019 13:45:07 +0000 (22:45 +0900)]
glob pattern is used for AIDL files under frameworks/base

This change removes the manullay curated list of AIDL files and replace
them with globs.

In addition, framework-aidl-mappings no longer sets frameworks-defaults
to its src property, but instead uses the several variables like
framework_srcs, framework_aidl_local_include_dirs, etc. to get the
same files/dirs list as the framework.

The variables will eventually be replaced with filegroups when aidl
include paths are better handled (i.e. 'path' property of all filegroups
for a module contributes to the AIDL include paths for all AIDL files in
the module).

Bug: 70046217
Test: m

Merged-In: I59728ed06d66d44bc19bcd8530042c01add5fc2b
(cherry picked from commit 1cc9566ee26ff2e4ef9d738062409e868a21e34f)
Change-Id: I59728ed06d66d44bc19bcd8530042c01add5fc2b

5 years agoMerge "Do not notify SS change with invalid subId"
Jordan Liu [Tue, 20 Aug 2019 00:24:34 +0000 (17:24 -0700)]
Merge "Do not notify SS change with invalid subId"
am: 3878f50107

Change-Id: Ic8e760342a288dc7fe0f38408dea468a9e8c31a6

5 years agoMerge "Do not notify SS change with invalid subId"
Jordan Liu [Mon, 19 Aug 2019 23:57:24 +0000 (23:57 +0000)]
Merge "Do not notify SS change with invalid subId"

5 years agoMerge "BatteryService: scheduleUpdate asynchronously"
Yifan Hong [Mon, 19 Aug 2019 20:47:09 +0000 (13:47 -0700)]
Merge "BatteryService: scheduleUpdate asynchronously"
am: 238a04ef59

Change-Id: I77add2054b9f9e1c19067dfa169476a9e9d583f6

5 years ago[automerger skipped] Merge changes Ie18bce98,I1c600bc2
Siarhei Vishniakou [Mon, 19 Aug 2019 20:25:47 +0000 (13:25 -0700)]
[automerger skipped] Merge changes Ie18bce98,I1c600bc2
am: 778250f57f -s ours
am skip reason: change_id Ie18bce987b512211d3e91bd1f7334afe11d83cf8 with SHA1 07749b72c6 is in history

Change-Id: Id34c9f958d43b6a0abf2ea61de64b591ca22cf3f

5 years agoDo not notify SS change with invalid subId
Jordan Liu [Mon, 24 Jun 2019 18:27:34 +0000 (11:27 -0700)]
Do not notify SS change with invalid subId

(This is a reupload of ag/8541406.)

If a service state change is reported as a subscription is becoming
invalid (i.e. no longer connected to a phone), the current behavior can
sometimes notify this change to all PhoneStateListeners regardless of
which subId they registered to listen on (namely this happens when the
subscription was attached to the default phone).

This change removes that behavior so that no listeners are notified if
the subscription is invalid.

Test: manually verified on DSDS that when
  1. erasing eSIM when it is default and
  2. removing pSIM when it is default,
  the service state triangle for the other SIM is unaffected
  Also made sure that signal strength is rebroadcast when sub becomes
  valid, so b/138357571 did not show up 5/5 times
Bug: 133140128
Change-Id: I2ba6a971fff4e29ccd2166c381308fcd953f5bc0
Merged-In: I2ba6a971fff4e29ccd2166c381308fcd953f5bc0

5 years agoMerge "BatteryService: scheduleUpdate asynchronously"
Yifan Hong [Mon, 19 Aug 2019 20:14:15 +0000 (20:14 +0000)]
Merge "BatteryService: scheduleUpdate asynchronously"

5 years agoMerge changes Ie18bce98,I1c600bc2
Treehugger Robot [Mon, 19 Aug 2019 19:57:35 +0000 (19:57 +0000)]
Merge changes Ie18bce98,I1c600bc2

* changes:
  Add keylayout for Xbox One USB controller
  Keylayout for xbox controllers

5 years agoAdd keylayout for Xbox One USB controller
Siarhei Vishniakou [Tue, 11 Jun 2019 02:51:14 +0000 (19:51 -0700)]
Add keylayout for Xbox One USB controller

We are currently missing the key layout for the Xbox One USB controller
with the following meta information:
vendor 045e, product 02ea

This layout was copied from product 02d1.

Also fix the mappings of the middle buttons to generate "select - mode -
start", similar to what has already been done for the other xbox
controllers in ag/4836521 and ag/3162575

Bug: 132451971
Bug: 133514907
Bug: 139512030
Test: tested using custom app. CTS tests will be added later.

Change-Id: Ie18bce987b512211d3e91bd1f7334afe11d83cf8
Merged-In: Ie18bce987b512211d3e91bd1f7334afe11d83cf8

5 years agoKeylayout for xbox controllers
Siarhei Vishniakou [Sat, 15 Jun 2019 00:19:29 +0000 (17:19 -0700)]
Keylayout for xbox controllers

Add layout for Xbox elite controller

Test: tested with a custom app
Bug: 132451971
Bug: 139512030
Change-Id: I1c600bc2c41db9d79d7a4e184ef41abe2b5f860e
Merged-In: I1c600bc2c41db9d79d7a4e184ef41abe2b5f860e

5 years agoStart platform compat service eariler.
atrost [Thu, 15 Aug 2019 15:53:01 +0000 (16:53 +0100)]
Start platform compat service eariler.

It's needed by ActivityManager and PackageManager.
Also use a constant in Context for the name.

Test: flashed device with ag/9025572 and ag/9204795 and the platfrom
compat was accessible.
Bug: 137769727

Change-Id: Ie1130a3f0bdd1769fe0755db0089702ea64d9db6
Merged-In: Ie1130a3f0bdd1769fe0755db0089702ea64d9db6

5 years agoStart platform compat service eariler.
atrost [Thu, 15 Aug 2019 15:53:01 +0000 (16:53 +0100)]
Start platform compat service eariler.

It's needed by ActivityManager and PackageManager.
Also use a constant in Context for the name.

Test: flashed device with ag/9025572 and ag/9204795 and the platfrom
compat was accessible.
Bug: 137769727
Change-Id: Ie1130a3f0bdd1769fe0755db0089702ea64d9db6
Merged-In: Ie1130a3f0bdd1769fe0755db0089702ea64d9db6

5 years agoMerge "Fix incorrect descriptions under SMS contract"
Leland Miller [Mon, 19 Aug 2019 15:02:38 +0000 (08:02 -0700)]
Merge "Fix incorrect descriptions under SMS contract"
am: 8f48cb7e7e

Change-Id: I9b8659b91e72608100efbba3d36cb0b86066feb3

5 years agoMerge "Fix incorrect descriptions under SMS contract"
Treehugger Robot [Mon, 19 Aug 2019 14:22:21 +0000 (14:22 +0000)]
Merge "Fix incorrect descriptions under SMS contract"

5 years agoMerge "Cover framework code in hiddenapi-mappings."
satayev [Mon, 19 Aug 2019 09:37:47 +0000 (02:37 -0700)]
Merge "Cover framework code in hiddenapi-mappings."
am: d39df1d0ac

Change-Id: Ia3d88cfe55d48959d56fd8755d72d1eb4107d0bd

5 years agoMerge "Cover framework code in hiddenapi-mappings."
satayev [Mon, 19 Aug 2019 09:13:55 +0000 (09:13 +0000)]
Merge "Cover framework code in hiddenapi-mappings."

5 years agoBatteryService: scheduleUpdate asynchronously
Yifan Hong [Fri, 16 Aug 2019 20:20:57 +0000 (13:20 -0700)]
BatteryService: scheduleUpdate asynchronously

IBatteryPropertiesRegistrar.scheduleUpdate calls IHealth.update()
asynchronously.

BatteryStatsImpl calls scheduleUpdate while holding a lock, which
may lead to deadlocks if the remote process calls back to the
framework.

Fixes: 139503418
Test: monitor HealthScheduleUpdate trace points
Change-Id: I8168d7c4e4a0b1d31343360d2c7f6d36c7aa692a

5 years agoCover framework code in hiddenapi-mappings.
Artur Satayev [Fri, 2 Aug 2019 15:42:07 +0000 (16:42 +0100)]
Cover framework code in hiddenapi-mappings.

It was missing most of the source code outside of core/...

Test: m, m hiddenapi-mappings
Change-Id: I9559346d306499c2f9659b73a68962d640fe644d
Merged-In: I9559346d306499c2f9659b73a68962d640fe644d

5 years agoMerge "API updated for ICU4J 64.2"
vichang [Fri, 16 Aug 2019 11:01:41 +0000 (04:01 -0700)]
Merge "API updated for ICU4J 64.2"
am: 4c322503bb

Change-Id: Ifc90aefe3f13a82c6b484362216ecc2d82099082

5 years agoMerge "API updated for ICU4J 64.2"
vichang [Fri, 16 Aug 2019 10:50:08 +0000 (10:50 +0000)]
Merge "API updated for ICU4J 64.2"

5 years agoMerge "Update wifi interface ip state upon receiving ap disable event"
Jianpeng Li [Fri, 16 Aug 2019 05:48:54 +0000 (22:48 -0700)]
Merge "Update wifi interface ip state upon receiving ap disable event"
am: 25d4c75c26

Change-Id: Ia58a409f63c59ece7817f9412695595708a95c77

5 years agoMerge "Update wifi interface ip state upon receiving ap disable event"
Treehugger Robot [Fri, 16 Aug 2019 05:15:12 +0000 (05:15 +0000)]
Merge "Update wifi interface ip state upon receiving ap disable event"

5 years agoMerge "DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage...
TreeHugger Robot [Thu, 15 Aug 2019 23:02:12 +0000 (23:02 +0000)]
Merge "DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master" into stage-aosp-master

5 years agoMerge "Move Half implementations to libcore to allow ART optimizations"
Hans Boehm [Thu, 15 Aug 2019 21:22:03 +0000 (14:22 -0700)]
Merge "Move Half implementations to libcore to allow ART optimizations"
am: 6bf381b5b1

Change-Id: I14db6620050fe8f1bf592961a3472ed0dc6ef368

5 years agoMerge "Move Half implementations to libcore to allow ART optimizations"
Hans Boehm [Thu, 15 Aug 2019 20:35:13 +0000 (20:35 +0000)]
Merge "Move Half implementations to libcore to allow ART optimizations"

5 years ago[automerger skipped] Merge "Move IPlatformCompat.aidl definition to framework.jar"
Anna Trostanetski [Thu, 15 Aug 2019 20:27:57 +0000 (13:27 -0700)]
[automerger skipped] Merge "Move IPlatformCompat.aidl definition to framework.jar"
am: 1261967c52 -s ours
am skip reason: change_id Ifc1b97ad40c2baf65a86169e101acfa72e3aae5f with SHA1 fee45aa4dc is in history

Change-Id: I74dcbe51d59637a967e5217104d56f43379de527

5 years agoMerge "Move telephony/cdma/ classes into appropriate package."
satayev [Thu, 15 Aug 2019 20:18:41 +0000 (13:18 -0700)]
Merge "Move telephony/cdma/ classes into appropriate package."
am: 46c04b7bb8

Change-Id: I1fb05b0e09c492fa95af92e6b146364492177f61

5 years agoMerge "Move IPlatformCompat.aidl definition to framework.jar"
Anna Trostanetski [Thu, 15 Aug 2019 19:34:09 +0000 (19:34 +0000)]
Merge "Move IPlatformCompat.aidl definition to framework.jar"

5 years agoUpdate wifi interface ip state upon receiving ap disable event
Jianpeng Li [Fri, 24 May 2019 08:40:15 +0000 (17:40 +0900)]
Update wifi interface ip state upon receiving ap disable event

When turning on/off SoftAp with high frequency, sometime calling
WifiManager#updateInterfaceIpState with IFACE_IP_MODE_TETHERED
is performed after handling WIFI_AP_STATE_DISABLED event in
WifiServiceImpl while SoftAp is being terminated. This leads to
the issue that SoftAp is unable to start as startSoftAp always
returns "false". This is because mIfaceIpModes in WifiServiceImpl
keeps the mode WifiManager.IFACE_IP_MODE_TETHERED and the CL below
rejects SoftAp start request.

e257c5c9e79e3675375ca20731cfb74df02b1064 @ frameworks/opt/net/wifi
(WifiServiceImpl: Reject startSoftAp when already tethering)

This CL updates the interface ip state upon receiving ap disable
event from Tethering class to set proper state to mIfaceIpModes.

Bug: 134806980
Test: Ran script to turn on/off soft ap frequently
Signed-off-by: Daichi Ueura <daichi.ueura@sony.com>
Change-Id: I2f89214414d93f1aa942fb8a21264a9baae3452a

5 years agoMerge "Move telephony/cdma/ classes into appropriate package."
satayev [Thu, 15 Aug 2019 17:29:37 +0000 (17:29 +0000)]
Merge "Move telephony/cdma/ classes into appropriate package."

5 years agoMerge "Move IPlatformCompat.aidl definition to framework.jar" into stage-aosp-master
Anna Trostanetski [Thu, 15 Aug 2019 13:35:29 +0000 (13:35 +0000)]
Merge "Move IPlatformCompat.aidl definition to framework.jar" into stage-aosp-master

5 years ago[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801...
Xin Li [Thu, 15 Aug 2019 07:06:36 +0000 (00:06 -0700)]
[automerger skipped] Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master"
am: 5937562bfb -s ours
am skip reason: subject contains skip directive

Change-Id: I55e101aeb99bcf3e8158c1297f9a3ed5867202a6

5 years ago[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002)...
Xin Li [Thu, 15 Aug 2019 06:31:36 +0000 (23:31 -0700)]
[automerger skipped] DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master
am: 1702a9da19 -s ours
am skip reason: subject contains skip directive

Change-Id: I5d41a28d611092856d9228707097049ff91b395d

5 years agoMerge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master"
Treehugger Robot [Thu, 15 Aug 2019 06:13:48 +0000 (06:13 +0000)]
Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master"

5 years agoAdd agent startup-attach
Alex Light [Mon, 12 Aug 2019 17:58:29 +0000 (10:58 -0700)]
Add agent startup-attach

Add ability to give 'startup-agents' that are automatically loaded
when a (debuggable) app starts. These agents are any files in the
'code_cache/startup_agents' directory. The agents are started with the
apps data_directory as an argument.

Test: Install debuggable apk (here com.antonioleiva.bandhookkotlin)
  walleye:/ $ run-as com.antonioleiva.bandhookkotlin sh
  walleye:/data/data/com.antonioleiva.bandhookkotlin $ mkdir code_cache/startup_agents
  walleye:/data/data/com.antonioleiva.bandhookkotlin $ cp /data/local/tmp/libtifasts32.so code_cache
  walleye:/data/data/com.antonioleiva.bandhookkotlin $ cp /data/local/tmp/libtifasts64.so code_cache
  walleye:/data/data/com.antonioleiva.bandhookkotlin $ cp /data/local/tmp/libchainagentss32.so code_cache/startup_agents/
  walleye:/data/data/com.antonioleiva.bandhookkotlin $ cp /data/local/tmp/libchainagentss64.so code_cache/startup_agents/
  walleye:/data/data/com.antonioleiva.bandhookkotlin $ echo $PWD/code_cache/libtifasts32.so=log,ClassLoad > chain_agents.txt
  walleye:/data/data/com.antonioleiva.bandhookkotlin $ echo $PWD/code_cache/libtifasts64.so=log,ClassLoad >> chain_agents.txt
  Start bandhookkotlin
  Examine logcat

Bug: 135627501

Cherry-picked from commit c0fce111c8b due to merge conflict.

Change-Id: Ib82b27df90c7964a995288d8b2b3d348a11cdd80
Merged-In: Ib82b27df90c7964a995288d8b2b3d348a11cdd80

5 years agoDO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master
Xin Li [Wed, 14 Aug 2019 19:04:06 +0000 (12:04 -0700)]
DO NOT MERGE - Merge qt-dev-plus-aosp-without-vendor (5713463) into stage-aosp-master

Bug: 134405016
Change-Id: I303c0268e8e454b0f0f460eb286812a50c9add88

5 years agoMove IPlatformCompat.aidl definition to framework.jar
atrost [Wed, 14 Aug 2019 15:13:56 +0000 (16:13 +0100)]
Move IPlatformCompat.aidl definition to framework.jar

There are non-app process usecases in framework code that need to have
access to this API.
Created a new package android.compat in frameworks/base/core following
previous definition of android.compat.Compatibility for app processes
(http://cs/android/libcore/luni/src/main/java/android/compat/Compatibility.java).

Bug: 137769727
Test: m
Change-Id: Ifc1b97ad40c2baf65a86169e101acfa72e3aae5f
Merged-In: Ifc1b97ad40c2baf65a86169e101acfa72e3aae5f

5 years agoMove IPlatformCompat.aidl definition to framework.jar
atrost [Wed, 14 Aug 2019 15:13:56 +0000 (16:13 +0100)]
Move IPlatformCompat.aidl definition to framework.jar

There are non-app process usecases in framework code that need to have
access to this API.
Created a new package android.compat in frameworks/base/core following
previous definition of android.compat.Compatibility for app processes
(http://cs/android/libcore/luni/src/main/java/android/compat/Compatibility.java).

Bug: 137769727
Test: m
Change-Id: Ifc1b97ad40c2baf65a86169e101acfa72e3aae5f
Merged-In: Ifc1b97ad40c2baf65a86169e101acfa72e3aae5f

5 years agoMerge "API: Explicitly track incompatibilities with previous API versions"
Adrian Roos [Wed, 14 Aug 2019 15:11:37 +0000 (08:11 -0700)]
Merge "API: Explicitly track incompatibilities with previous API versions"
am: 5f76164a65

Change-Id: I93458fee3894a456f202f1e117538a9e0a81cf7a

5 years agoMerge "API: Explicitly track incompatibilities with previous API versions"
Adrian Roos [Wed, 14 Aug 2019 14:39:18 +0000 (14:39 +0000)]
Merge "API: Explicitly track incompatibilities with previous API versions"

5 years agoMove Half implementations to libcore to allow ART optimizations
xueliang.zhong [Tue, 22 Jan 2019 18:01:45 +0000 (18:01 +0000)]
Move Half implementations to libcore to allow ART optimizations

Move Half FP16 implementations to libcore, to allow ART compiler to
optimize these methods with intrinsic implementations.

For example, on ARM64 with ARMv8.2 FP16 half registers and instructions:
- Half toFloat/toHalf can be implemented with FCVT;
- Half floor/ceil/round can be implmented with FRINT(pna);
- Half max/min can be implmented with FMIN/FMAX.

Such fast Half FP16 intrinsics can help accelerate ColorLong ARGB
encoding/decoding in Android framework.

Change-Id: I6225ebf8aa825b0394ce8f13e12db317f5c6e3fd

5 years agoMerge "Get resource based on subId for multi-SIM"
Chiachang Wang [Wed, 14 Aug 2019 11:30:57 +0000 (04:30 -0700)]
Merge "Get resource based on subId for multi-SIM"
am: 55752cf8d4

Change-Id: I020c2546fa4432d05cf27b20fdb1943508aac671

5 years agoMerge "Get resource based on subId for multi-SIM"
Chiachang Wang [Wed, 14 Aug 2019 10:56:27 +0000 (10:56 +0000)]
Merge "Get resource based on subId for multi-SIM"

5 years agoMove telephony/cdma/ classes into appropriate package.
Artur Satayev [Fri, 2 Aug 2019 15:40:26 +0000 (16:40 +0100)]
Move telephony/cdma/ classes into appropriate package.

Not changing the java packages, but rather moving the source location. This allows running metalava on them.

Test: m
Change-Id: I3b46644361239d85818dd885f461dfc94de49dca

5 years agoGet resource based on subId for multi-SIM
Chiachang Wang [Tue, 13 Aug 2019 13:02:40 +0000 (21:02 +0800)]
Get resource based on subId for multi-SIM

The resource loading is done based on the last SIM to come up
which is not a deterministic design. Thus, update the way to get
the resource based on the subId.

Test: atest FrameworksNetTests
Test: manually test with avoid bad wifi feature supported sim
Bug: 138956509
Change-Id: Ib5b085d97103889600773d269e03b939c29ca47d

5 years agoDO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master
Xin Li [Tue, 13 Aug 2019 23:36:37 +0000 (16:36 -0700)]
DO NOT MERGE - Merge pie-platform-release (PPRL.190801.002) into master

Bug: 139369544
Change-Id: I835905a51836e7218f0be8c25335b9548ae6b2d3

5 years agoMerge "Modify RCS UCE APIs to use AIDL Interfaces."
Brad Ebinger [Tue, 13 Aug 2019 23:34:41 +0000 (16:34 -0700)]
Merge "Modify RCS UCE APIs to use AIDL Interfaces."
am: 4204a6017e

Change-Id: I3c10e76be4266bb4f43306ca3f0c7362499208f7

5 years agoMerge "Modify RCS UCE APIs to use AIDL Interfaces."
Brad Ebinger [Tue, 13 Aug 2019 22:46:18 +0000 (22:46 +0000)]
Merge "Modify RCS UCE APIs to use AIDL Interfaces."

5 years agoAPI updated for ICU4J 64.2
Nikita Iashchenko [Tue, 13 Aug 2019 17:18:35 +0000 (18:18 +0100)]
API updated for ICU4J 64.2

Expose new stable APIs from ICU 64

Bug: 125283072
Test: m api-stubs-docs-update-current-api droid
Change-Id: Id689aab0d4387725929ee41d80f3e8a26c0810fa

5 years agoMerge "Prevent Infinite Recursion in Telecom Sessions"
Brad Ebinger [Tue, 13 Aug 2019 17:25:44 +0000 (10:25 -0700)]
Merge "Prevent Infinite Recursion in Telecom Sessions"
am: 8dec6de25a

Change-Id: I779c9424dc7a1f9f14f7907bba76a24b9026ec5a

5 years agoMerge "Prevent Infinite Recursion in Telecom Sessions"
Brad Ebinger [Tue, 13 Aug 2019 17:10:53 +0000 (17:10 +0000)]
Merge "Prevent Infinite Recursion in Telecom Sessions"

5 years agoSnap for 5674421 from ae0c2eeba3f60c62f63ec83b63d9c0593a0430fe to pi-platform-release
android-build-team Robot [Tue, 13 Aug 2019 16:25:34 +0000 (16:25 +0000)]
Snap for 5674421 from ae0c2eeba3f60c62f63ec83b63d9c0593a0430fe to pi-platform-release

Change-Id: I5b1dc16c0696ce8452f8798e68fe417d7533c5df

5 years agoMerge "Don't allow upstream if entitlement don't know any downstream"
Mark Chien [Tue, 13 Aug 2019 09:49:09 +0000 (02:49 -0700)]
Merge "Don't allow upstream if entitlement don't know any downstream"
am: 161814ffb1

Change-Id: Ibac99a20b470b48597859fe737732f3c6f491805

5 years agoMerge "Don't allow upstream if entitlement don't know any downstream"
Mark Chien [Tue, 13 Aug 2019 09:36:16 +0000 (09:36 +0000)]
Merge "Don't allow upstream if entitlement don't know any downstream"

5 years agoDon't allow upstream if entitlement don't know any downstream
markchien [Fri, 9 Aug 2019 13:43:38 +0000 (21:43 +0800)]
Don't allow upstream if entitlement don't know any downstream

In case tethering donwstream is setup but don't ask EntitlementManager
to run provisioning. Cellular upstream should not be allowed if
EntilementManager don't have any donwstream record.

Bug: 134649258
Test: -build, flash, boot
      -manual test with carrier SIM
Change-Id: I609722c79f0a45a1c2164d39721ef5883e436feb

5 years agoMerge "Add documentation for Locked Messages"
Leland Miller [Tue, 13 Aug 2019 01:21:16 +0000 (18:21 -0700)]
Merge "Add documentation for Locked Messages"
am: 3e85da2d89

Change-Id: Ie2ada062645c674ef35b386272a592f36e1485ee

5 years agoPrevent Infinite Recursion in Telecom Sessions
Brad Ebinger [Thu, 8 Aug 2019 21:23:05 +0000 (14:23 -0700)]
Prevent Infinite Recursion in Telecom Sessions

There looks to be a case where infinite recursion
is occuring when printing information about
Telecom Sessions. Set a reasonable limit of
iterations and throw a warning when this condition
occurs to better track down a root cause.

Bug: 139045282
Test: atest TelecomUnitTests:SessionTest
Merged-In: Iae69c5db070c5e58ae5d37c12d1c4df027138611
Change-Id: Iae69c5db070c5e58ae5d37c12d1c4df027138611

5 years agoMerge "Add documentation for Locked Messages"
Leland Miller [Mon, 12 Aug 2019 23:42:56 +0000 (23:42 +0000)]
Merge "Add documentation for Locked Messages"

5 years ago[automerger skipped] Merge "SurfaceControl: Fix captureLayers JNI"
Brad Ebinger [Mon, 12 Aug 2019 18:23:41 +0000 (11:23 -0700)]
[automerger skipped] Merge "SurfaceControl: Fix captureLayers JNI"
am: ce98a32755 -s ours
am skip reason: change_id I43fa93eea7d79f5b773497e3bb65750866eca2cb with SHA1 fbc22c2b6d is in history

Change-Id: I70e4eec7b690b80e5ec1bfb4610614030d508cb3

5 years agoMerge "SurfaceControl: Fix captureLayers JNI"
Brad Ebinger [Mon, 12 Aug 2019 17:46:33 +0000 (17:46 +0000)]
Merge "SurfaceControl: Fix captureLayers JNI"

5 years agoAPI: Explicitly track incompatibilities with previous API versions
Adrian Roos [Mon, 12 Aug 2019 15:47:39 +0000 (17:47 +0200)]
API: Explicitly track incompatibilities with previous API versions

Bug: 139128921
Test: make checkapi
Change-Id: I1f17b57705e2f7350b55ab278e06fc4e988771ff

5 years agoMerge "Fix reference leak on TvInputHardwareManager"
Sungsoo Lim [Mon, 12 Aug 2019 04:32:00 +0000 (21:32 -0700)]
Merge "Fix reference leak on TvInputHardwareManager"
am: 8b578c9c92

Change-Id: I7fb3e249c5ae0102d61783b6bd2e70a823297a94

5 years agoMerge "Fix reference leak on TvInputHardwareManager"
Sungsoo Lim [Mon, 12 Aug 2019 04:02:56 +0000 (04:02 +0000)]
Merge "Fix reference leak on TvInputHardwareManager"

5 years agoMerge "Fix a lock issue in AudioPortEventHandler"
Kyeongkab.Nam [Mon, 12 Aug 2019 01:38:44 +0000 (18:38 -0700)]
Merge "Fix a lock issue in AudioPortEventHandler"
am: 0985eea389

Change-Id: If2113f4150e35c7aeb1751181dab8aa2ea05dee4

5 years agoMerge "Fix a lock issue in AudioPortEventHandler"
Treehugger Robot [Mon, 12 Aug 2019 01:22:58 +0000 (01:22 +0000)]
Merge "Fix a lock issue in AudioPortEventHandler"

5 years agoSurfaceControl: Fix captureLayers JNI
Robert Carr [Tue, 9 Apr 2019 14:42:02 +0000 (07:42 -0700)]
SurfaceControl: Fix captureLayers JNI

Missed a call-point in last refactoring.

Bug: 135965618
Bug: 130211665
Bug: 133054270
Test: Manual
Merged-In: I43fa93eea7d79f5b773497e3bb65750866eca2cb
Change-Id: I43fa93eea7d79f5b773497e3bb65750866eca2cb
(cherry picked from commit bf9298f1c9b848ff0db4ae0be3913ad531bafa9e)

5 years agoMerge "Add klhyun@ to media OWNERS"
Kyunglyul Hyun [Fri, 9 Aug 2019 14:29:58 +0000 (07:29 -0700)]
Merge "Add klhyun@ to media OWNERS"
am: 454029142c

Change-Id: Ifef678adceb8faeae1cc46b04a4a48ccf29c0924

5 years agoMerge "Add klhyun@ to media OWNERS"
Treehugger Robot [Fri, 9 Aug 2019 14:04:34 +0000 (14:04 +0000)]
Merge "Add klhyun@ to media OWNERS"

5 years agoMerge "Fix ParcelNullabilityTest." into stage-aosp-master
TreeHugger Robot [Fri, 9 Aug 2019 01:59:23 +0000 (01:59 +0000)]
Merge "Fix ParcelNullabilityTest." into stage-aosp-master

5 years agoFix a lock issue in AudioPortEventHandler
Kyeongkab.Nam [Tue, 6 Aug 2019 01:29:01 +0000 (10:29 +0900)]
Fix a lock issue in AudioPortEventHandler

It used "this" as a lock object to guard mListeners. but "this" is
pointing to mHandler in handler thread.
This causes the IndexOutOfBoundsException.

bug: 138951761
Test: manual
Change-Id: I826c7c68ecff4fc0d39addd3d56bc989e00848bc

5 years ago[automerger skipped] Merge "Fix statsd ASAN failure"
Yi Kong [Thu, 8 Aug 2019 22:49:08 +0000 (15:49 -0700)]
[automerger skipped] Merge "Fix statsd ASAN failure"
am: 12140677ea -s ours
am skip reason: SHA1 12140677ea skipped by user yikong

Change-Id: I7b70255b4556c7105523c892a966ef120fac8d87

5 years agoMerge "Fix statsd ASAN failure"
Yi Kong [Thu, 8 Aug 2019 22:09:48 +0000 (22:09 +0000)]
Merge "Fix statsd ASAN failure"

5 years agoFix statsd ASAN failure
Yi Kong [Thu, 8 Aug 2019 00:02:22 +0000 (17:02 -0700)]
Fix statsd ASAN failure

If tagId is not found in kAllPullAtomInfo map, StatsPuller will read
outside of the object. Add a condition check to gracefully handle
unrecognised tagId and fix the ASAN failure.

Bug: 139037732
Test: boot aosp_x86-eng
Change-Id: Ic62b89866dbec82f05e6f8e6afca9b312f44a801
Merged-In: I5db561c4223efc4ef6b1441490d319cc6ec8afc7
Exempt-From-Owner-Approval: trivial change, owner OOO.

5 years agoMerge "Use String8 for UTF16 to UTF8 conversion."
Elliott Hughes [Thu, 8 Aug 2019 19:51:31 +0000 (12:51 -0700)]
Merge "Use String8 for UTF16 to UTF8 conversion."
am: 527c91320d

Change-Id: Ica55f07373dfada4729df8472b1bae71bf0011c3

5 years agoMerge "Use String8 for UTF16 to UTF8 conversion."
Elliott Hughes [Thu, 8 Aug 2019 19:12:04 +0000 (19:12 +0000)]
Merge "Use String8 for UTF16 to UTF8 conversion."

5 years agoFix ParcelNullabilityTest.
Steven Moreland [Thu, 8 Aug 2019 18:15:35 +0000 (11:15 -0700)]
Fix ParcelNullabilityTest.

Test: atest android.os.ParcelNullabilityTest
Fixes: 138999297
Change-Id: I0f5c09a1e8f7a2927409f228a566988d949f34c7

5 years agoFix incorrect descriptions under SMS contract
Leland Miller [Thu, 8 Aug 2019 17:16:31 +0000 (10:16 -0700)]
Fix incorrect descriptions under SMS contract

Fixes: 117203793
Test: N/A, only modifies documentation
Change-Id: I5c4bc23e41bc0d1c97bccf7e288c4c41d8e1a438

5 years agoUse String8 for UTF16 to UTF8 conversion.
Elliott Hughes [Thu, 8 Aug 2019 16:36:14 +0000 (09:36 -0700)]
Use String8 for UTF16 to UTF8 conversion.

This is the only actual user of libcutils' jstring.h.

Test: treehugger
Change-Id: I0444d42e5a3ca57de3bffca48aa265f267c3d4dc

5 years agoMerge "Stop showing disclosure UI when isDisclosureEnabled is false."
Rajeev Kumar [Thu, 8 Aug 2019 16:13:56 +0000 (09:13 -0700)]
Merge "Stop showing disclosure UI when isDisclosureEnabled is false."
am: 6452cc3cc1

Change-Id: Ie616ed1e05c45a30b5ab20873fa07f963f0d3e49

5 years agoMerge "Stop showing disclosure UI when isDisclosureEnabled is false."
Rajeev Kumar [Thu, 8 Aug 2019 15:42:51 +0000 (15:42 +0000)]
Merge "Stop showing disclosure UI when isDisclosureEnabled is false."

5 years agoMerge "Fix interfaceVersion in DhcpServerCallbacks"
Remi NGUYEN VAN [Thu, 8 Aug 2019 13:02:06 +0000 (06:02 -0700)]
Merge "Fix interfaceVersion in DhcpServerCallbacks"
am: e921001f2d

Change-Id: I5e917252cc3632a823d3912094066f96597da3ae

5 years agoMerge "Fix interfaceVersion in DhcpServerCallbacks"
Treehugger Robot [Thu, 8 Aug 2019 12:41:51 +0000 (12:41 +0000)]
Merge "Fix interfaceVersion in DhcpServerCallbacks"

5 years agoMerge "Notify the ART runtime when boot is complete."
Nicolas Geoffray [Thu, 8 Aug 2019 12:11:55 +0000 (05:11 -0700)]
Merge "Notify the ART runtime when boot is complete."
am: f83748ae28

Change-Id: Iea67d64570657173832ee0d61288dc97af11496b

5 years agoMerge "Notify the ART runtime when boot is complete."
Nicolas Geoffray [Thu, 8 Aug 2019 11:58:06 +0000 (11:58 +0000)]
Merge "Notify the ART runtime when boot is complete."

5 years agoMerge "Upload platform compat config generated from framework target."
Anna Trostanetski [Thu, 8 Aug 2019 11:34:15 +0000 (04:34 -0700)]
Merge "Upload platform compat config generated from framework target."
am: d7345e923a

Change-Id: I41a4313e96c68bb8efa644816c7d8278c988265b

5 years agoMerge "Upload platform compat config generated from framework target."
Anna Trostanetski [Thu, 8 Aug 2019 10:54:02 +0000 (10:54 +0000)]
Merge "Upload platform compat config generated from framework target."

5 years agoFix interfaceVersion in DhcpServerCallbacks
Remi NGUYEN VAN [Thu, 8 Aug 2019 08:45:24 +0000 (17:45 +0900)]
Fix interfaceVersion in DhcpServerCallbacks

The getInterfaceVersion method was missed when freezing the AIDL
interface version.
This causes Q devices to return 0 instead of 3 on this interface.

Bug: 139110717
Test: toggle tethering, dumpsys network_stack version
Change-Id: If587cc9ead4191b9c2ad2ae65473bd89e7c37b5c

5 years agoNotify the ART runtime when boot is complete.
David Srbecky [Mon, 5 Aug 2019 14:43:34 +0000 (15:43 +0100)]
Notify the ART runtime when boot is complete.

Needed for jit-zygote performance improvements.

Test: device boots
Bug: 119800099
Change-Id: I1e46f49d94440384473430d8afebe29fbee9c68e

5 years agoAdd klhyun@ to media OWNERS
Kyunglyul Hyun [Thu, 8 Aug 2019 06:27:26 +0000 (15:27 +0900)]
Add klhyun@ to media OWNERS

Test: N/A
Change-Id: I4328217199581fcb181f74a5c3baabd3a9148136

5 years agoMerge "Added disallowed APN types configuration support"
Jack Yu [Thu, 8 Aug 2019 04:34:28 +0000 (21:34 -0700)]
Merge "Added disallowed APN types configuration support"
am: 13b0b1a73d

Change-Id: I6c66b42ba4e39005bb255a9d924aa518810d99f3

5 years agoMerge "Added disallowed APN types configuration support"
Jack Yu [Thu, 8 Aug 2019 04:16:30 +0000 (04:16 +0000)]
Merge "Added disallowed APN types configuration support"

5 years agoStop showing disclosure UI when isDisclosureEnabled is false.
Rajeev Kumar [Tue, 6 Aug 2019 19:02:47 +0000 (12:02 -0700)]
Stop showing disclosure UI when isDisclosureEnabled is false.

Bug: 137395050
Change-Id: Ic7768f7d3306f5d9d5c5c988afda4e8710c4ccd0
Test: Manual tests