OSDN Git Service
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
Treehugger Robot [Tue, 30 Jul 2019 02:28:52 +0000 (02:28 +0000)]
Merge "Add helpers to check whether the BluetoothCodecConfig instance is selectable"
Brad Ebinger [Mon, 29 Jul 2019 20:10:38 +0000 (20:10 +0000)]
Merge "Add APIs for ImsService RCS UCE implementation"
Oliver Nguyen [Mon, 29 Jul 2019 17:37:30 +0000 (17:37 +0000)]
Merge "Change coverage dump to specify the output file instead of directory."
Amy Zhang [Mon, 29 Jul 2019 17:32:08 +0000 (17:32 +0000)]
Merge "Add Key mapping to CEC_KEYCODE_SOUND_SELECT"
Anna Trostanetski [Mon, 29 Jul 2019 12:57:36 +0000 (12:57 +0000)]
Merge "Read compat config in CompatConfig class."
elvis.chien [Fri, 19 Jul 2019 03:17:40 +0000 (11:17 +0800)]
Add Key mapping to CEC_KEYCODE_SOUND_SELECT
Map Android KeyCode KEYCODE_MEDIA_AUDIO_TRACK, to CEC_KEYCODE_SOUND_SELECT.
[Buganizer]
b/
136423086
Change-Id: I3d83da95bcfe2b606fed9088d1d0e0c7c5082ce1
Treehugger Robot [Sat, 27 Jul 2019 02:40:37 +0000 (02:40 +0000)]
Merge changes I12b38fa5,Ia11195b1
* changes:
[viewcompiler] Add support for static field put to DexBuilder
[viewcompiler] Add static field get instructions to DexBuilder
Josh Gao [Fri, 26 Jul 2019 21:43:53 +0000 (21:43 +0000)]
Merge "SharedMemory: clear file descriptor when explicitly closed."
Nathan Harold [Fri, 26 Jul 2019 18:37:34 +0000 (18:37 +0000)]
Merge "Expose RSSI as GSM RAT-specific Signal Strength"
Brad Ebinger [Sat, 1 Dec 2018 00:16:38 +0000 (16:16 -0800)]
Add APIs for ImsService RCS UCE implementation
Includes APIs for RCS User Capability Echange,
including presence and SIP OPTIONS.
Note: This CL only defines the API changes
needed for this, not the telephony implementation
to unblock vendor implementation and testing.
Test: Manual
Bug:
111305845
Change-Id: I91227a05cb7062f17aac78657e25e28fac2b4d5d
Eric Holk [Fri, 26 Jul 2019 16:37:46 +0000 (09:37 -0700)]
[viewcompiler] Add support for static field put to DexBuilder
Bug:
111895153
Change-Id: I12b38fa520790debec545d7d1f6b3522a65ce03b
Eric Holk [Thu, 25 Jul 2019 22:14:01 +0000 (15:14 -0700)]
[viewcompiler] Add static field get instructions to DexBuilder
This allows us to generate code that can read static fields in a class. Once we
include several other field operations, we will be able to generate more
specialized inflation code in the view compiler.
Bug:
111895153
Change-Id: Ia11195b1cea6d5a3ddbc60d972922586a062c853
atrost [Wed, 24 Jul 2019 13:12:48 +0000 (14:12 +0100)]
Read compat config in CompatConfig class.
Use the auto generated parser, and test by feeding streams of XML.
Test: atest FrameworksServicesTests
Bug:
138222871
Change-Id: Id523d31e7b6d2def9371753ae34cba883cd62a54
Merged-In: Id523d31e7b6d2def9371753ae34cba883cd62a54
Robert Chou [Fri, 26 Jul 2019 02:51:57 +0000 (02:51 +0000)]
Merge "Resolve NumberPicker display abnormal issue."
Treehugger Robot [Thu, 25 Jul 2019 23:38:08 +0000 (23:38 +0000)]
Merge "Remove the dependencies to ext and framework from the stubs build"
Treehugger Robot [Thu, 25 Jul 2019 23:34:52 +0000 (23:34 +0000)]
Merge "Remove legacy-performance-test-hostdex"
Josh Gao [Thu, 25 Jul 2019 20:54:23 +0000 (13:54 -0700)]
SharedMemory: clear file descriptor when explicitly closed.
We run the Cleaner in close, but after the fix in commit
6ca916a6, this
no longer clears the value stored in the FileDescriptor, which means
that subsequent operations on an explicitly closed SharedMemory will
operate on a bogus fd number. Clearing the FileDescriptor value in close
is sufficient, because Cleaner.clean is idempotent, and the only other
case where it executes is when the FileDescriptor is phantom reachable,
which means no one can access it to get its integer value.
Bug: http://b/
138392115
Bug: http://b/
138323667
Test: treehugger
Change-Id: I8bdb4c745466532a0712976416184c53fcf0dbf6
Colin Cross [Thu, 25 Jul 2019 17:42:06 +0000 (10:42 -0700)]
Remove legacy-performance-test-hostdex
The only user was removed.
Bug:
122332340
Test: m checkbuild
Change-Id: Ia937c04f171d6dfeff88a0c70a38cc87c900e0cc
Andrei-Valentin Onea [Thu, 25 Jul 2019 17:24:54 +0000 (17:24 +0000)]
Merge changes from topic "dumpsys-compatinfo"
* changes:
Dump PlatformCompat overrides to dumpsys
Make PlatformCompat a Binder class
Anna Trostanetski [Thu, 25 Jul 2019 15:24:13 +0000 (15:24 +0000)]
Merge "Add a platform compat config schema API."
Treehugger Robot [Thu, 25 Jul 2019 14:41:45 +0000 (14:41 +0000)]
Merge "Remove preload2 as it is not used"
Nicolas Geoffray [Thu, 25 Jul 2019 13:46:05 +0000 (13:46 +0000)]
Merge "Add an empty boot profile."
Andrei Onea [Wed, 10 Jul 2019 15:43:09 +0000 (16:43 +0100)]
Dump PlatformCompat overrides to dumpsys
Dump info related to compat flags.
Test: adb shell am compat enable 42 foo.bar; \
dumpsys platform_compat
Bug:
137183175
Change-Id: Ic429731a3364dab5902caeb12f48fecf2e49bb65
Merged-In: Ic429731a3364dab5902caeb12f48fecf2e49bb65
Andrei Onea [Wed, 17 Jul 2019 18:03:10 +0000 (19:03 +0100)]
Make PlatformCompat a Binder class
This allows PlatformCompat to be called from anywhere in the platform.
In follow-up CLs, we'll define permissions for each method and/or
filtering rules to prevent abuse from apps.
Test: m
Bug:
137769727
Change-Id: I19e5fbfefcf59e0b53b197ea8e9e3cb78439b4c4
Merged-In: I19e5fbfefcf59e0b53b197ea8e9e3cb78439b4c4
atrost [Tue, 23 Jul 2019 17:04:47 +0000 (18:04 +0100)]
Add a platform compat config schema API.
As decribed in go/xsdc-for-partners.
This defines the schema of the XML file generated by @ChangeId
annotation processor.
The schema requires unique ids.
Test: Used https://www.freeformatter.com/xml-validator-xsd.html to
validate an example config.
Bug:
138222363
Change-Id: Iaf37e049ddd483c4fd7d512475614476ac6606a5
Treehugger Robot [Thu, 25 Jul 2019 08:29:00 +0000 (08:29 +0000)]
Merge "Add platform_apis in Android.bp"
Paul Duffin [Tue, 23 Jul 2019 10:11:52 +0000 (11:11 +0100)]
Remove preload2 as it is not used
Bug:
137634816
Test: m checkbuild
Change-Id: Ib182a53bc4b7509d725a8bc24a691b1cec90f726
Nicolas Geoffray [Thu, 25 Jul 2019 08:13:09 +0000 (09:13 +0100)]
Add an empty boot profile.
Bug:
119800099
Test: m
Change-Id: Ia9c807f2cc3beaee125bd2c9d6a655af61bdf782
Treehugger Robot [Thu, 25 Jul 2019 07:02:25 +0000 (07:02 +0000)]
Merge "Get wakelock stats from SystemSuspend"
Treehugger Robot [Thu, 25 Jul 2019 04:40:22 +0000 (04:40 +0000)]
Merge "SharedMemory: break Cleaner reference cycle."
Remi NGUYEN VAN [Thu, 25 Jul 2019 02:49:00 +0000 (02:49 +0000)]
Merge "Add ktlint to preupload hooks"
Treehugger Robot [Thu, 25 Jul 2019 01:54:25 +0000 (01:54 +0000)]
Merge "Add tmfang as a owner of settings_enums.proto"
Josh Gao [Wed, 24 Jul 2019 22:40:57 +0000 (15:40 -0700)]
SharedMemory: break Cleaner reference cycle.
Previously, the Cleaner we create to close the ashmem file descriptor
used a thunk that held a strong reference to the FileDescriptor we
wanted to clean up, which prevented the Cleaner from ever running.
Break the cycle by storing the integer value of the file descriptor
instead.
Bug: http://b/
138323667
Test: treehugger
Change-Id: I613a7d035892032f9567d59acb04672957c96011
tmfang [Wed, 24 Jul 2019 22:33:32 +0000 (06:33 +0800)]
Add tmfang as a owner of settings_enums.proto
Test: Rebuild
Change-Id: I070bdeb57291e6b983c1a7219afbcb091812178c
Deqiang Chen [Wed, 24 Jul 2019 21:04:55 +0000 (21:04 +0000)]
Merge "Define intent for receive vendor specific response and define a function to send vendor AT command from Hfp client"
Brad Ebinger [Wed, 24 Jul 2019 20:54:08 +0000 (20:54 +0000)]
Merge "Call out IllegalArgumentException in docs for ImsMmTelManager"
Ryan Prichard [Wed, 24 Jul 2019 20:46:32 +0000 (20:46 +0000)]
Merge "Categorize [anon:stack_and_tls:{}] as stack memory"
Aurimas Liutikas [Wed, 24 Jul 2019 20:22:23 +0000 (20:22 +0000)]
Merge "EasterEgg: Remove unnecessary safe call on a non-null"
Luca Stefani [Wed, 24 Jul 2019 15:18:19 +0000 (17:18 +0200)]
EasterEgg: Remove unnecessary safe call on a non-null
Change-Id: I352c235ca68ba46d026ca92ba5ce88d0d0b564ae
Treehugger Robot [Wed, 24 Jul 2019 13:33:45 +0000 (13:33 +0000)]
Merge "Create feature flags for OMAPI readers supportiveness"
Mingyan Liu [Wed, 24 Jul 2019 07:42:19 +0000 (15:42 +0800)]
Resolve NumberPicker display abnormal issue.
Bugid: https://partnerissuetracker.corp.google.com/u/0/issues/
138241751
Change-Id: Id5971e59d30506b0be2c5347a1e2dd4bb8371eaa
Remi NGUYEN VAN [Wed, 24 Jul 2019 06:48:44 +0000 (15:48 +0900)]
Add ktlint to preupload hooks
The kotlin linter is particularly useful for tests written in Kotlin in
frameworks/base.
This is already merged in internal master.
Test: Tried uploading change with/without kotlin style problems.
Merged-In: Ie8659765b674ac7b2d82ed3d343f387195c07d83
Change-Id: I420366c49d071e022b8988c3d6293dbc8e9a283a
Kalesh Singh [Thu, 18 Jul 2019 21:09:44 +0000 (14:09 -0700)]
Get wakelock stats from SystemSuspend
Read wakelock stats from SystemSuspend if possible else fallback to
/d/wakeup_source, /proc/wakelocks.
Bug:
128923994
Test: KernelWakelockReaderTest
Change-Id: I859092d53d7697a4940f9369480e203181f0c370
Cheney Ni [Thu, 18 Jul 2019 13:45:10 +0000 (21:45 +0800)]
Add helpers to check whether the BluetoothCodecConfig instance is selectable
There will be a helper in the BluetoothCodecStatus to check whether the
codec config is matched the selectable array. It uses 3 smaller helpers
to confirm the codec config has none (wildcard matching), or one and only
one value for the audio feeding parameters.
Besides, this CL also adds a helper to compare whether two codec configs
are similar or not, and uses NONE values as wildcard.
Bug:
131147224
Bug:
133719424
Test: atest -t BluetoothInstrumentationTests:com.android.bluetooth.a2dp
Change-Id: I7d8f1a16b8358c440841801d95471b2d010739ec
Jack Yu [Fri, 19 Jul 2019 05:46:42 +0000 (13:46 +0800)]
Create feature flags for OMAPI readers supportiveness
Bug:
131062577
Test: CTS OMAPI
Change-Id: I20c1159489ea0bd5cc9fb651914d6bfd2a6b25ca
Treehugger Robot [Tue, 23 Jul 2019 06:34:17 +0000 (06:34 +0000)]
Merge "Do not turn on Bluetooth when booting into Safe Mode"
Treehugger Robot [Tue, 23 Jul 2019 02:13:28 +0000 (02:13 +0000)]
Merge "Fix bootanimation stack overflow"
Ryan Prichard [Tue, 18 Jun 2019 00:58:46 +0000 (17:58 -0700)]
Categorize [anon:stack_and_tls:{}] as stack memory
Bug: http://b/
134795155
Test: run "dumpsys meminfo" and verify that this CL increases the reported
stack memory usage
Change-Id: Id929671d6c52ba92b4ea11c83297f3af3ced89e4
Merged-In: Id929671d6c52ba92b4ea11c83297f3af3ced89e4
Mathew Inwood [Mon, 22 Jul 2019 13:27:28 +0000 (13:27 +0000)]
Merge "Always apply compat changes to system apps."
Andrei-Valentin Onea [Mon, 22 Jul 2019 12:44:18 +0000 (12:44 +0000)]
Merge "Add adb command for overriding platform compat config"
Mathew Inwood [Mon, 22 Jul 2019 10:38:16 +0000 (11:38 +0100)]
Always apply compat changes to system apps.
System apps should always get the "latest" behaviour from the platform
since they are updated with the platform.
Bug:
135010838
Test: atest CompatConfigTest
Change-Id: Ieacac20dc0eb02e4687dfe0b7b4800b3fce3db83
Frank Li [Sun, 21 Jul 2019 05:47:53 +0000 (05:47 +0000)]
Merge "Add one field(sampling_rate_denom) in NetworkDnsEventReported for recording sample rate."
lifr [Sat, 20 Jul 2019 07:28:28 +0000 (15:28 +0800)]
Add one field(sampling_rate_denom) in NetworkDnsEventReported for recording sample rate.
The sample rate of DNS stats(to statsd) is 1/sampling_rate_denom.
Bug:
133111380
Test: ./out/host/linux-x86/bin/statsd_testdrive 116
Change-Id: I85acc8cb8ec4c38e95f7e97b0dd8da1294d9ceb3
Treehugger Robot [Fri, 19 Jul 2019 13:45:36 +0000 (13:45 +0000)]
Merge "Compatibility API implementation for app processes."
Treehugger Robot [Fri, 19 Jul 2019 11:28:16 +0000 (11:28 +0000)]
Merge "Remove voip-common to the dependency list of *-api-stubs-docs"
Treehugger Robot [Fri, 19 Jul 2019 08:54:31 +0000 (08:54 +0000)]
Merge "Add @NonNull annotation to CONTENT_URI"
Jordan Liu [Thu, 18 Jul 2019 19:28:03 +0000 (19:28 +0000)]
Merge "Fix sim pin on DSDS"
Oliver Nguyen [Tue, 16 Jul 2019 21:09:38 +0000 (14:09 -0700)]
Change coverage dump to specify the output file instead of directory.
Bug:
137857876
Test: manual
Change-Id: I2d835856d7a1b6b1ded561eca923f455b39317e4
Mathew Inwood [Mon, 24 Jun 2019 11:07:22 +0000 (12:07 +0100)]
Compatibility API implementation for app processes.
Pass the set of disabled changes from the system server into the app in the
bindApplication() call. Use this to instantiate an implementation of
Compatibility.Callbacks() to implement the API.
Test: Manual.
Bug:
135010838
Merged-In: I2fcf25264c62acc801f9e62967072cd04e4641e7
Change-Id: I2fcf25264c62acc801f9e62967072cd04e4641e7
Zongheng Wang [Mon, 8 Jul 2019 22:22:04 +0000 (15:22 -0700)]
Do not turn on Bluetooth when booting into Safe Mode
Bug:
122691743
Test: Boot into Safe Mode and Bluetooth is not turned on.
Change-Id: I653b2f58c462631e9c4cc868c4ec1932ff907999
Jeffrey Vander Stoep [Thu, 18 Jul 2019 02:02:00 +0000 (02:02 +0000)]
Merge "Renderscript: rename .rs extension to .rscript"
Kyeongkab.Nam [Wed, 17 Jul 2019 07:41:48 +0000 (16:41 +0900)]
Fix bootanimation stack overflow
length of input from scanf is not limited even though MAX char of path
is defined as 256. This could cause stack corruption when length of input
is over MAX.
Test: run bootanimation with desc.txt which has over 256 length of path.
Change-Id: Ic60081ca82067ad671508e766c495546af9233d1
Jeff Vander Stoep [Fri, 12 Jul 2019 17:28:50 +0000 (10:28 -0700)]
Renderscript: rename .rs extension to .rscript
Reserve .rs extension for Rust.
Bug:
137365032
Test: make checkbuild
Test: cd frameworks/compile/slang/tests
./slang_tests.py
Test: atest CtsRenderscriptTestCases
Test: CtsRsCppTestCases
Change-Id: Ic49fc7f5265d49cd4f8efd6a2b6a60b77bbd40dc
Merged-In: Ic49fc7f5265d49cd4f8efd6a2b6a60b77bbd40dc
Jordan Liu [Tue, 16 Jul 2019 00:05:20 +0000 (17:05 -0700)]
Fix sim pin on DSDS
Fixes the issue where only one SIM's PIN is checked when unlocking.
Test: manual
Bug:
135496265
Merged-In: I8db4565c4e5d5bcfb166b5962e878531a84dbafb
Change-Id: I8db4565c4e5d5bcfb166b5962e878531a84dbafb
(cherry picked from commit
560fe75f696c262fbe12985fe379c1b0868f348c)
Brad Ebinger [Tue, 16 Jul 2019 20:16:30 +0000 (13:16 -0700)]
Call out IllegalArgumentException in docs for ImsMmTelManager
There are situations where the ImsMmTelManager APIs will
throw an IllegalArgumentException that were not explicitly called
out. These situations are now documented correctly.
Also internally moved to a SystemSpecificException that is
rethrown as an IllegalArgumentException in case we need to
add other Exception cases to the API.
Will follow up with API changes that deprecate the current
APIs and throw a checked exception instead.
Bug:
137222412
Bug:
137225292
Test: manual
Change-Id: I416b20dc4e7723c752cc028866348c97dbeeb5a8
Treehugger Robot [Tue, 16 Jul 2019 20:27:17 +0000 (20:27 +0000)]
Merge "libbootanimation: remove unused deps"
Paul Duffin [Tue, 16 Jul 2019 19:07:10 +0000 (19:07 +0000)]
Merge "Remove libnativehelper directories from include_dirs"
Paul Duffin [Fri, 12 Jul 2019 13:42:46 +0000 (14:42 +0100)]
Remove libnativehelper directories from include_dirs
Uses libnativehelper_header_only library headers instead.
Needed as libnativehelper is part of the runtime module and so will not
be present in an unbundled build, instead its build targets will be
provided as prebuilts.
Bug:
134379140
Test: m checkbuild
Change-Id: I8becbda3a202ddaed52eaf861ac94fe4b08807c2
Alan Stokes [Tue, 16 Jul 2019 11:32:13 +0000 (11:32 +0000)]
Merge "DO NOT MERGE: Disable failing test."
Alan Stokes [Tue, 16 Jul 2019 09:59:39 +0000 (10:59 +0100)]
DO NOT MERGE: Disable failing test.
This code is going away soon, so not attempting a more nuanced fix.
Bug:
137574238
Test: atest DexLoggerIntegrationTests:com.android.server.pm.dex.DexLoggerIntegrationTests#testDexLoggerReconcileGeneratesEvents -- --abi x86
Change-Id: I021c49470d23fd5a3a75d53b8f44f088e167116b
Orion Hodson [Tue, 16 Jul 2019 09:55:21 +0000 (09:55 +0000)]
Merge "[FRAMEWORK] Ignore signal registration for debugging"
Jiyong Park [Tue, 16 Jul 2019 03:15:33 +0000 (12:15 +0900)]
Remove the dependencies to ext and framework from the stubs build
The two dependencies are not needed. This will cut the circular
dependency that might happen when we separate some framework classes
into a separate jar.
Bug:
135922046
Test: m api-stubs-docs system-api-stubs-docs
Change-Id: I63fc1bce5f2a51366580b5ed3b53c03377a797b2
Jiyong Park [Wed, 10 Jul 2019 08:08:01 +0000 (17:08 +0900)]
Remove voip-common to the dependency list of *-api-stubs-docs
All classes for voip-common are provided opt-net-voip-srcs filegroup.
Bug:
135922046
Test: m api-stubs-docs system-api-stubs-docs
Change-Id: Iffee73ef6316803066521731901824d50c95838f
randy.jeong [Wed, 29 May 2019 01:43:39 +0000 (10:43 +0900)]
[FRAMEWORK] Ignore signal registration for debugging
It's difficult to identify native crash/error of 3rd party app.
Because they can control their app with own signal handling.
Therefore I would like to support the way to ignore signal
registration in 3rd party app with the specific property.
To enable this, do just setprop "debug.ignoreappsignalhandler 1".
Test: test app to hook signal, then setprop debug.ignoreappsignalhandler 1
Change-Id: I2af98a0f58e5ac039eab0ebe9c3780357aca7820
Merged-In: I2af98a0f58e5ac039eab0ebe9c3780357aca7820
Signed-off-by: randy.jeong <randy.jeong@samsung.com>
Treehugger Robot [Mon, 15 Jul 2019 18:28:27 +0000 (18:28 +0000)]
Merge "Framework: Improve binder Error logging"
Treehugger Robot [Mon, 15 Jul 2019 08:39:55 +0000 (08:39 +0000)]
Merge "Call ActivityManagerService.enterSafeMode"
Tao Bao [Sat, 13 Jul 2019 16:29:49 +0000 (16:29 +0000)]
Merge "Add a new API applyPayloadFd() of UpdateEngine"
Brad Ebinger [Fri, 12 Jul 2019 22:59:43 +0000 (22:59 +0000)]
Merge "Switch DDS during MSIM emergency call"
Brad Ebinger [Fri, 12 Jul 2019 21:40:40 +0000 (21:40 +0000)]
Merge "Make RcsMessageStore a top level API"
Brad Ebinger [Fri, 12 Jul 2019 21:08:06 +0000 (21:08 +0000)]
Merge "Add CAPABILITY_EMERGENCY_PREFERRED in PhoneAccount"
Patrick Baumann [Fri, 28 Jun 2019 17:28:22 +0000 (10:28 -0700)]
Call ActivityManagerService.enterSafeMode
This fixes the accidental removal (change ID
If2e6afe21f6efcb141f3a4428ff9154b68f08a1d)
of a call to ActivityManagerService.enterSafeMode, ensuring that
when the rest of the device is in safe mode, ActivityManagerService
and PackageManagerService are made aware of it and properly filter
app launches.
Fixes:
137052912
Test: manual; safe mode correctly blocks 3p apps
Change-Id: Ie2caf6d2fd74b241927a245393fb31658201962f
Merged-In: Ie2caf6d2fd74b241927a245393fb31658201962f
Xiangyu/Malcolm Chen [Fri, 12 Jul 2019 19:04:17 +0000 (19:04 +0000)]
Merge "Mark two unfinished APIs as "DO NOT USE"."
Leland Miller [Thu, 11 Jul 2019 23:31:40 +0000 (16:31 -0700)]
Add @NonNull annotation to CONTENT_URI
Test: None, simple annotation
Bug:
124791757
Change-Id: Ic56c4e15c73a414f7da257585578eaaaec5f9818
Deqiang Chen [Tue, 25 Jun 2019 21:30:55 +0000 (14:30 -0700)]
Define intent for receive vendor specific response and define a function to send vendor AT command from Hfp client
Bug:
132813146
Test: Local test with Kitchensink: able to send vendor command and
receive response.
Change-Id: I9a6debbacb1a5ad6445416c067d3d35849906685
Treehugger Robot [Fri, 12 Jul 2019 16:44:46 +0000 (16:44 +0000)]
Merge "Convert preload2 from .mk to .bp"
Jordan Liu [Fri, 12 Jul 2019 01:08:11 +0000 (01:08 +0000)]
Merge "Use TM SubId in getDataState and getDataActivity"
Brad Ebinger [Thu, 30 May 2019 23:31:57 +0000 (16:31 -0700)]
Switch DDS during MSIM emergency call
Add carrier config to force DDS switch if device
does not support SUPL on non DDS for emergency and
also does not support control plane fallback.
Test: atest FrameworksTelephonyTests
Merged-In: Ic49e126ae0abfe71edd1fe000c2a0dfd2360dece
Change-Id: Ic49e126ae0abfe71edd1fe000c2a0dfd2360dece
(cherry picked from commit
c9654c1b57ee4f4296e784ce9e95b7de198a4357)
Brad Ebinger [Tue, 21 May 2019 22:28:19 +0000 (15:28 -0700)]
Add CAPABILITY_EMERGENCY_PREFERRED in PhoneAccount
Allow Telephony to mark a SIM PhoneAccount as
emergency preferred, meaning that Telecom will
override a user's PhoneAccount preference for
emergency calls if the PhoneAccount has the
CAPABILITY_EMERGENCY_PREFERRED capability.
Bug:
131203278
Test: Manual testing, Telecom/Telephony unit testing
Merged-In: If70d917cfb3d825f375d282012b8788d69a2f144
Change-Id: I88b8bbfa444f5445b2f0d6a1542c6406a19b240f
Malcolm Chen [Tue, 18 Jun 2019 20:57:03 +0000 (13:57 -0700)]
Mark two unfinished APIs as "DO NOT USE".
The two APIs at this point are not well defined and implemented due to
design changes after they were introduced. Marking them as DO NOT USE
until further re-define or clean up.
Test: build
Bug:
135222940
Change-Id: I3f06040fdda25c7aa27be45cd90177136f7e996f
Merged-In: I3f06040fdda25c7aa27be45cd90177136f7e996f
Steven Moreland [Thu, 11 Jul 2019 23:16:31 +0000 (16:16 -0700)]
libbootanimation: remove unused deps
Bug:
137311188
Test: library still builds
Change-Id: I105cedd7ca6311a767fa627ca4b869e3f077498a
Treehugger Robot [Thu, 11 Jul 2019 20:41:31 +0000 (20:41 +0000)]
Merge "Replace HashMap with ArrayMap for services"
Nathan Harold [Fri, 14 Jun 2019 23:56:05 +0000 (16:56 -0700)]
Use TM SubId in getDataState and getDataActivity
-Update getDataState() API to use the SubId specified
by the TelephonyManager instance.
-Update the getDataActivity() API to use the SubId
specified by the TelephonyManager instance.
(This CL is an un-revert of aosp/984377)
Bug:
135205433
Test: manual (automated test is infeasible)
Change-Id: I035f2c44a7955e88608b1c336acb72fb68c3e450
Paul Duffin [Thu, 11 Jul 2019 11:18:56 +0000 (12:18 +0100)]
Convert preload2 from .mk to .bp
Allows removal of dependency on apache-harmony-jdwp-tests-host.
Test: m preload2 preload-tool
Bug:
134379140
Change-Id: Idb75a7d4d4d27354511f9ff08194c2e738605f56
Jeongik Cha [Thu, 11 Jul 2019 06:37:30 +0000 (15:37 +0900)]
Add platform_apis in Android.bp
platform_apis must be true when sdk_version is empty.
So add platform_apis into file that is not included it.
Bug:
132780927
Test: m
Change-Id: Ie7badd61248bbabaf51ef8fb30bdd832af88da15
Treehugger Robot [Thu, 11 Jul 2019 03:52:58 +0000 (03:52 +0000)]
Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190705.004) into master"
Jay Patel [Thu, 11 Jul 2019 00:14:14 +0000 (00:14 +0000)]
Merge "[Purpose of this Feature/Patch] fix an issue that speaker volume suddenly increase after connected to a BT headset success"
JiLin Wan [Mon, 17 Jun 2019 11:29:44 +0000 (19:29 +0800)]
[Purpose of this Feature/Patch]
fix an issue that speaker volume suddenly increase after connected to a BT headset success
From hci log,we can see the GET_REPORT cmd not be send, and trace stack,
discovery the function bta_hh_co_get_rpt_rsp have a issue: when
p_dev->get_rpt_snt--, if p_dev->get_rpt_snt value is 0, It will become
to 255.
[Buganizer]
b/
136195302
Change-Id: I4d0131a15720e597ceb3692ffc831e6eb9a6c334
Andreas Gampe [Mon, 8 Jul 2019 15:31:27 +0000 (08:31 -0700)]
Framework: Improve binder Error logging
In protracted cases, diagnostic code cannot retrieve any Java-side
data. Add two specific cases and instanceof checks (which require
no allocation etc), and a special message, so that aborts have
meaningful data (in case logcat is missing).
Sample:
Abort message: 'JNI FatalError called: java.lang.Error thrown during binder transaction: (Unknown exception message) (Error was OutOfMemoryError) (toString() error was OutOfMemoryError)'
Bug:
136482507
Test: m
Test: manual
Change-Id: I5c0c1d74ba8a6aeafee95b578a422a80b9899196
Treehugger Robot [Wed, 10 Jul 2019 17:07:45 +0000 (17:07 +0000)]
Merge "App that changes screen to multiple colors"