OSDN Git Service
Treehugger Robot [Tue, 26 Feb 2019 06:58:52 +0000 (06:58 +0000)]
Merge "Convert FrameworksCoreTests to Android.bp"
Treehugger Robot [Tue, 26 Feb 2019 06:20:24 +0000 (06:20 +0000)]
Merge "Add more test case and some clean up"
Colin Cross [Tue, 19 Feb 2019 21:54:49 +0000 (13:54 -0800)]
Convert FrameworksCoreTests to Android.bp
See build/soong/README.md for more information.
Bug:
122332340
Test: atest FrameworksCoreTests fails in all the same ways
Change-Id: I2f83f381f914afeff7cdbbb9d8faa67551ed0c61
Merged-In: I2f83f381f914afeff7cdbbb9d8faa67551ed0c61
(cherry picked from commit
85e2be0e908b8c1cf7a518fec7ad4c065f4d0928)
Chiachang Wang [Tue, 26 Feb 2019 03:32:18 +0000 (11:32 +0800)]
Add more test case and some clean up
Bug:
120452078
Test: atest NetworkStackTests
Change-Id: Ifb981ccdaa7818bf2bebec98e91979007222910b
Nathan Harold [Tue, 26 Feb 2019 01:55:49 +0000 (01:55 +0000)]
Merge "Fix Order of Operations for Converting RSSI to ASU"
Nathan Harold [Mon, 25 Feb 2019 18:31:08 +0000 (10:31 -0800)]
Fix Order of Operations for Converting RSSI to ASU
Due to the wrong order of operations, the conversion
from RSSI to ASU was returning bad results. Fix the
equation so that the ASU is correctly calculated.
Bug:
126199198
Test: (force device to GSM) - atest CellInfoTest
verified on aosp_taimen
Change-Id: Iaeb9a2a6d8efb5b39fc1f81e8d2969694cc06422
Chen Xu [Mon, 25 Feb 2019 22:26:05 +0000 (22:26 +0000)]
Merge "getSimLocale should return locale rather than string tag"
Jordan Liu [Mon, 25 Feb 2019 21:49:11 +0000 (21:49 +0000)]
Merge "CallAttributes uses the call network type"
chen xu [Fri, 22 Feb 2019 07:08:47 +0000 (23:08 -0800)]
getSimLocale should return locale rather than string tag
Bug:
124767220
Test: Build
Change-Id: Ib4938652f2e6541b44894ae1a2b0cb2ea4c899be
Merged-in: I850108ce0905d16e538e46ccd4bbf92a2bcfba42
Nicolas Geoffray [Mon, 25 Feb 2019 17:52:25 +0000 (17:52 +0000)]
Merge "Add gctype device config property for GC experiments"
Treehugger Robot [Mon, 25 Feb 2019 16:10:52 +0000 (16:10 +0000)]
Merge "Check recycled when createBitmap"
Mathieu Chartier [Mon, 28 Jan 2019 19:11:25 +0000 (11:11 -0800)]
Add gctype device config property for GC experiments
Added to the runtime_native namespace.
The new property overrides dalvik.vm.gctype if it's set.
Bug:
120794191
Test: adb shell device_config put runtime_native gctype CC,preverify
Test: adb reboot
(cherry picked from commit
d2a975adb5b97be5e8f86a603666a66bdc934fd6)
Change-Id: I9ca29e9a5a0c94234fb14a725334dae82171679b
Merged-In: I30a2a3bcfb83f502f168c0d8588d80982a5f7d76
Treehugger Robot [Sat, 23 Feb 2019 01:27:07 +0000 (01:27 +0000)]
Merge "Fixes for touchpad capture"
Cuiping.x.Shu [Wed, 22 Nov 2017 05:30:31 +0000 (13:30 +0800)]
Check recycled when createBitmap
This is to avoid framework crash when application used
the recycled bitmap memory in createBitmap.
Bug:
123656975
Change-Id: I98f93ce48c7bc91913d0b31bca1dc0a10eb319d7
Treehugger Robot [Fri, 22 Feb 2019 23:27:24 +0000 (23:27 +0000)]
Merge "Remove deleted fields/functions from greylist."
Sahin Caliskan [Fri, 22 Feb 2019 21:56:31 +0000 (21:56 +0000)]
Merge "Hide RcsMessageStore APIs"
Chen Xu [Fri, 22 Feb 2019 21:52:00 +0000 (21:52 +0000)]
Merge "API council feedbacks for preciseCall APIs"
Tyler Gunn [Fri, 22 Feb 2019 21:13:28 +0000 (21:13 +0000)]
Merge "Change data types on CallIdentification API."
Nathan Harold [Fri, 22 Feb 2019 20:42:03 +0000 (20:42 +0000)]
Merge "Add Class-Filtered getCellSignalStrengths"
Tyler Gunn [Sat, 16 Feb 2019 00:04:13 +0000 (16:04 -0800)]
Change data types on CallIdentification API.
Per API council feedback update the call identification name, details,
description and app name to use CharSequence.
Test: Update apis, run tests.
Bug:
123241094
Merged-In: I42df17506535c1dd598ffd61a44cb0d0440b8159
Change-Id: I42df17506535c1dd598ffd61a44cb0d0440b8159
chen xu [Fri, 22 Feb 2019 03:17:22 +0000 (19:17 -0800)]
API council feedbacks for preciseCall APIs
Bug:
125346540
Test: Build
Change-Id: I3a9a8d3e2168d937f085624b80a891b6baddd0e5
Neil Fuller [Fri, 22 Feb 2019 18:32:13 +0000 (18:32 +0000)]
Merge "Update RulesManagerService after APEX files"
Jack Yu [Fri, 22 Feb 2019 17:35:15 +0000 (17:35 +0000)]
Merge "Fixed incorrect data network type when device is on IWLAN"
Neil Fuller [Mon, 18 Feb 2019 10:49:15 +0000 (10:49 +0000)]
Update RulesManagerService after APEX files
Context
=======
The "time zone updates via APK" feature was implemented in O-MR1 to enable
devices to take time zone updates via an APK update and without needing
an OTA. RulesManagerService is an important part of the time zone updates via
APK feature. When RulesManagerService was implemented things were simple; there
was a copy of time zone data in /system. A new (optional) copy was introduced
in /data that could be managed / updated by the RulesManagerService.
Since there were only two copies the /system copy was referred to as the
"system" data.
With the introduction of the runtime APEX and time zone data APEX things
have become more complicated. Android devices can have time zone data in
several places:
1 The copy in /system/usr/share/zoneinfo/ is partially complete and remains
for legacy usecases, e.g. binaries that "know" about the /system path and
cannot be updated, or binaries which run before /apex paths are mounted.
2 The copy in /apex/com.android.runtime/ is a complete set of time zone
data that can be used by libraries on the device.
3 The copy in /apex/com.android.tzdata/ is the "overlay" copy for use when
the time zone data APEX can be updated. For devices that can take APEX
updates it will be present and is expected to start with the same version as
present in /apex/com.android.runtime. Note: Nothing in the code *requires*
this copy to be present but it is expected to be present in most cases.
RulesManagerService is being kept around for devices that may not have the
capability of updating their APEX files but which still want to update time
zone data without taking an OTA. It is assumed that RulesManagerService will
*only* be turned on in these situations and *not* when the time zone
data in /apex/com.android.tzdata/ might actually be updated independently of
the copy in /apex/com.android.runtime/.
The RulesManagerService therefore adds the fourth copy of the data that *could*
be present:
4 The copy /data/misc/zoneinfo/ managed by RulesManagerService.
Important libraries / binaries on device know about all 4 copies and
prioritize them in order 4, 3, 2, 1. i.e. the libraries will use the
first copy of data found in that order.
In scenarios where RulesManagerService is disabled, 4 will not be present
and therefore 3 will be used (or 2 if 3 is also not present).
In scenarios where RulesManagersService is enabled, 4 is present iff an
APK update has been received. It is assumed that *if* /apex/com.android.tzdata/
is present, it contains the same version of tz data as in
/apex/com.android.runtime/, will never be updated, and can therefore
be ignored by RulesManagerService.
The changes
===========
This commit and others in the same topic do the following:
1) Change RulesManagerService references to "system" data to "base" data in a
valiant attempt to limit confusion until it can be removed.
2) Switch RulesManagerService over from using the data in
/system/usr/share/zoneinfo/ as base data to the data in
/apex/com.android.runtime/. As part of this change, the RulesManagerService
can now use the tz_version file to identify the version of tzdb in "base"
rather than reading the header of the tzdata file, so that is done
here too.
3) Update imports neccessary to meet pre-upload check requirements.
Note: tzdatacheck, an independent binary that manages time zone data
after OTA, was updated to use /apex/com.android.runtime/ instead of
/system/usr/share/zoneinfo/ in commit
c6a2737e0861472d1726ed472708d7762ab1e802.
Bug:
119293618
Bug:
113373927
Test: atest FrameworksCoreTests:android.app.timezone
Test: atest FrameworksServicesTests:com.android.server.timezone
Test: CTS: run cts-dev -m CtsLibcoreTestCases -t libcore.libcore.timezone.ZoneInfoDBTest
Test: CTS: run cts-dev -m CtsLibcoreTestCases -t libcore.libcore.icu.TimeZoneIntegrationTest
Change-Id: Idabe245c7ad337938c202b1796ce9d89ec68bbd6
Nandana Dutt [Fri, 22 Feb 2019 08:43:48 +0000 (08:43 +0000)]
Merge "Add a new error code for disallowing concurrent bugreports"
Lorenzo Colitti [Fri, 22 Feb 2019 07:39:20 +0000 (07:39 +0000)]
Merge "Fix RouterAdvertisementDaemon thread leakage problem"
Sooraj Sasindran [Fri, 22 Feb 2019 06:16:45 +0000 (06:16 +0000)]
Merge "use putLong for long config"
Chiachang Wang [Fri, 22 Feb 2019 05:12:42 +0000 (05:12 +0000)]
Merge "Injecting data stall event to statsd"
Chiachang Wang [Fri, 22 Feb 2019 03:13:07 +0000 (11:13 +0800)]
Injecting data stall event to statsd
Bug:
121185319
Bug:
120452078
Test: - Build and test against data stall code
- atest NetworkStackTests
Change-Id: I2ee16085e7861d38bcd203c98ffd682f86fdc867
Treehugger Robot [Fri, 22 Feb 2019 02:30:51 +0000 (02:30 +0000)]
Merge "Convert Android.mk file to Android.bp"
Sudheer Shanka [Fri, 22 Feb 2019 01:24:03 +0000 (01:24 +0000)]
Merge "Fix potential crash when per-procstate cpu times tracking is turned on."
Michele Berionne [Fri, 22 Feb 2019 01:18:41 +0000 (01:18 +0000)]
Merge "Add checks on multisim capabilities."
Sooraj Sasindran [Fri, 22 Feb 2019 00:41:29 +0000 (00:41 +0000)]
Merge "Allow UiAutomation to adopt the shell permission indentity"
Sahin Caliskan [Thu, 21 Feb 2019 23:35:44 +0000 (15:35 -0800)]
Hide RcsMessageStore APIs
This feature is punted from Android Q. This change hides the APIs.
Test: infeasible
Bug:
109759350
Change-Id: Ic278d45ab573b267a7cbf4c930496cc2044fa855
Sasha Smundak [Tue, 12 Feb 2019 17:38:16 +0000 (09:38 -0800)]
Convert Android.mk file to Android.bp
See build/soong/README.md for more information.
Bug:
122332340
Test: treehugger
Change-Id: I23d8d5a019155a0f3296f7ab75e9b44b7621f3c8
Merged-In: I23d8d5a019155a0f3296f7ab75e9b44b7621f3c8
Jack Yu [Wed, 20 Feb 2019 23:48:07 +0000 (15:48 -0800)]
Fixed incorrect data network type when device is on IWLAN
When the device is configured as AP-assisted mode, the cellular
network service should reports the cellular data RAT instead of
IWLAN. However, before we clean up all usages of
ServiceState.getDataNetworkType(), we still need to simulate the
old behavior, which is reporting IWLAN as the data network type.
Once all places are cleaned up, we can remove this temporary
solution.
Test: Manual
Bug:
124994459
Merged-In: I37256517af3bcf7330cefe55a33d6f09af7e1353
Change-Id: I37256517af3bcf7330cefe55a33d6f09af7e1353
(cherry picked from commit
2bd032071b1ccbb9da8ba197d448dd676cc42693)
Sooraj Sasindran [Thu, 21 Feb 2019 03:51:06 +0000 (19:51 -0800)]
use putLong for long config
use putLong for long config
Bug:
124800330
Test: make
Merged-In: Ibb3e9e2fefcc82eab1deecd65ee81aab0fec8c5e
Change-Id: Ibb3e9e2fefcc82eab1deecd65ee81aab0fec8c5e
Jordan Liu [Tue, 19 Feb 2019 22:42:07 +0000 (14:42 -0800)]
CallAttributes uses the call network type
Instead of the ServiceState.getNetworkType(), since the service state
might not match the RAT of the specific call, we use the radio type from
the ImsCall.
Bug:
124785734
Test: manual
Change-Id: I33f84bb415c943d5b766fcd3a4e8257d8f7c1cfe
Tor Norbye [Thu, 21 Feb 2019 22:39:49 +0000 (22:39 +0000)]
Merge "Update MbmsDownloadServiceBase to reflect implements IInterface"
Remi NGUYEN VAN [Thu, 21 Feb 2019 22:13:31 +0000 (22:13 +0000)]
Merge "Add logging to NetworkStackClient"
Michele [Mon, 4 Feb 2019 19:29:10 +0000 (11:29 -0800)]
Add checks on multisim capabilities.
Rename method isMultisimCarrierRestricted to isMultisimSupported to
indicate extended scope that includes checks on the capabilities of the
hardware to support multi-SIM configuration.
Bug:
123537730
Test: Compilation, test application
Change-Id: I20860c7a25b054b8312c144544726337e09559e2
Merged-In: I20860c7a25b054b8312c144544726337e09559e2
Treehugger Robot [Thu, 21 Feb 2019 20:27:58 +0000 (20:27 +0000)]
Merge "Send special permission information to netd"
Treehugger Robot [Thu, 21 Feb 2019 20:27:53 +0000 (20:27 +0000)]
Merge "Use toArray(T[]) instead of toArray()."
Svet Ganov [Mon, 25 Jun 2018 23:39:23 +0000 (16:39 -0700)]
Allow UiAutomation to adopt the shell permission indentity
For testing we often need to run shell commands. This can be done
today via running a shell command from an instrumentation test
started from the shell. However, this requires adding shell commands
which are not in the API contract, involve boilerplate code, require
string parsing, etc.
This change allows an instrumentation started from the shell to
adopt the shell UID permission state. As a result one can call APIs
protected by permissions normal apps cannot get by are granted to
the shell. This enables adding dedicated test APIs protected by
signatures permissions granted to the shell.
Test: cts-tradefed run cts-dev -m CtsUiAutomationTestCases
-t android.app.uiautomation.cts.UiAutomationTest#testAdoptShellPermissions
bug:
80415658
Merged-In: I4bfd4b475225125512abf80ea98cd8fcacb6a1be
Change-Id: I4bfd4b475225125512abf80ea98cd8fcacb6a1be
vichang [Thu, 21 Feb 2019 18:42:06 +0000 (18:42 +0000)]
Merge "Revert "Revert "Delay start of bootanimation until after the Runtime APEX is mounted."""
Amit Mahajan [Thu, 21 Feb 2019 18:04:33 +0000 (10:04 -0800)]
Remove deleted fields/functions from greylist.
Test: build
Bug:
113663617
Change-Id: I63db8585c78043700143ea5c37c4f2e907a4aa13
Treehugger Robot [Thu, 21 Feb 2019 17:32:25 +0000 (17:32 +0000)]
Merge "Add feature flag for Dynamic Android"
Nicolas Geoffray [Thu, 21 Feb 2019 17:24:00 +0000 (17:24 +0000)]
Merge "Pick up the apexBootImage pinner service files when the boot image is apex.art."
Nandana Dutt [Wed, 20 Feb 2019 11:25:35 +0000 (11:25 +0000)]
Add a new error code for disallowing concurrent bugreports
BUG:
123571915
Test: manual
Change-Id: I8787137c3cfeb33aacfa439f6eab1a668977e572
vichang [Thu, 21 Feb 2019 12:54:50 +0000 (12:54 +0000)]
Revert "Revert "Delay start of bootanimation until after the Runtime APEX is mounted.""
This reverts commit
706bf3f6282644d0d536b88a1156fbf6c49d71d3.
Reason for revert: b/
124939955. bootanimation depends on libandroidicu in the Runtime APEX.
Bug:
124939955
Change-Id: I2b5a9d74a5f0ae11978ff4b0850dd7e4becb9b88
Remi NGUYEN VAN [Thu, 21 Feb 2019 14:21:19 +0000 (14:21 +0000)]
Merge "Change getPackageUid to getPackageUidAsUser"
Paul Duffin [Thu, 21 Feb 2019 13:22:15 +0000 (13:22 +0000)]
Merge "Update backwards compatibility support for android.test.base"
Paul Duffin [Thu, 21 Feb 2019 13:21:54 +0000 (13:21 +0000)]
Merge "Allow framework-atb-backward-compatibility to be added to bootclasspath"
Chiachang Wang [Thu, 21 Feb 2019 11:45:10 +0000 (11:45 +0000)]
Merge "Fix build warnings for CaptivePortalLogin"
Paul Duffin [Wed, 16 May 2018 12:06:33 +0000 (13:06 +0100)]
Update backwards compatibility support for android.test.base
Previously, the plan was for android.test.base to be removed from the
bootclasspath in P, i.e. in the same release as org.apache.http.legacy.
Any apps that targeted < P were to have the android.test.base library
added to their app classpath in order to maintain backwards
compatibility.
Unfortunately, it was not possible to remove android.test.base from P
and instead it is being removed from Q. This update prepares for that
by updating the backwards compatibility support and its tests to add
the android.test.base library to apps that target < Q.
The affected code is only used at runtime when
REMOVE_ATB_FROM_BCP=true.
Bug:
73711752
Test: atest FrameworksCoreTests with and without REMOVE_ATB_FROM_BCP=true
Change-Id: I76b40dad14193cd174114a351b1350c18d647bed
Paul Duffin [Fri, 15 Feb 2019 11:39:12 +0000 (11:39 +0000)]
Allow framework-atb-backward-compatibility to be added to bootclasspath
Fixes a build failure that occurs when it is executed with
REMOVE_ATB_FROM_BCP=true.
Setting REMOVE_ATB_FROM_BCP=true adds the
framework-atb-backward-compatibility target to the PRODUCT_BOOT_JARS
path in place of android.test.base. That causes a problem because the
build expects that everything on the PRODUCT_BOOT_JARS is installable.
Bug:
73711752
Test: make droid and flash both with and without REMOVE_ATB_FROM_BCP=true
Change-Id: I6595ff8dba42e6b85abbf6a6cad4d8970b5a91a0
Iris Chang [Fri, 25 Jan 2019 05:36:34 +0000 (13:36 +0800)]
Fix RouterAdvertisementDaemon thread leakage problem
[Prerequisites]
Default value of mRaLength is 0, so getNextMulticastTransmitDelaySec()
returns DAY_IN_SECONDS (1 day) in this scenario.
[Issue Details]
Examine MulticastTransmitter.run() for detail:
676 public void run() {
677 while (isSocketValid()) {
678 try {
679 Thread.sleep(getNextMulticastTransmitDelayMs());
Invoke RouterAdvertisementDaemon.stop() here. Since MulticastTransmitter
is in a sleep, this thread will pend 1 day until the next check of
isSocketValid() triggers the quit action, which causes thread leakage
during Wi-Fi Hotspot on/off stress test.
680 } catch (InterruptedException ignored) {
[Solution]
Invoke maybeNotifyMulticastTransmitter() after closing socket in
RouterAdvertisementDaemon.stop() to interrupt MulticastTransmitter from
waiting.
Bug:
123491872
Test: FrameworksNetTests
adb shell am instrument -w com.android.frameworks.tests.net
Test: CTS - CtsNetTestCases
ANDROID_BUILD_droid-cts/tools/cts-tradefed run cts -m CtsNetTestCases
Test: CTS - CtsNetTestCasesLegacyApi22
ANDROID_BUILD_droid-cts/tools/cts-tradefed run cts -m
CtsNetTestCasesLegacyApi22
Test: CTS - CtsNetTestCasesLegacyPermission22
ANDROID_BUILD_droid-cts/tools/cts-tradefed run cts -m
CtsNetTestCasesLegacyPermission22
Change-Id: I0c0d63b43a88e1026aaecfc1853309ad63f62268
Remi NGUYEN VAN [Mon, 18 Feb 2019 02:20:28 +0000 (11:20 +0900)]
Add logging to NetworkStackClient
The current logging relies on the system log that may rotate. This is a
problem to investigate bugs where the network stack service is not
started. Add a SharedLog to NetworkStackClient and dump it in
ConnectivityService (for lack of a better place to dump it).
Bug:
124307802
Test: Booted, dumpsys connectivity shows the log
Change-Id: If596451d0613645f68a8a32acb032eea76ea506c
Remi NGUYEN VAN [Thu, 21 Feb 2019 08:07:57 +0000 (17:07 +0900)]
Change getPackageUid to getPackageUidAsUser
The wrong overload of PackageManager is being called, setting
USER_SYSTEM as flag instead of the user to resolve the network stack
UID.
Test: phone boots, WiFi works, additional tests in child CLs
Change-Id: I89b11b38c390d0e77a5917c74daccccd74c2d0a3
Howard Chen [Mon, 18 Feb 2019 05:37:48 +0000 (13:37 +0800)]
Add feature flag for Dynamic Android
Bug:
119647479
Test: flashall and check the option exists.
Merged-In: I46efd27a6880dde4bc69aa457a6f3b0fdd9ce5cd
Change-Id: I46efd27a6880dde4bc69aa457a6f3b0fdd9ce5cd
Chiachang Wang [Thu, 21 Feb 2019 06:00:59 +0000 (14:00 +0800)]
Fix build warnings for CaptivePortalLogin
CaptivePortalLogin needs only the defintion in
metrics_constants.proto. This will not need the jarjar_rules.
Thus, remove the unnecessary rule to fix the build warning.
Test: make CaptivePortalLogin and no warning
Bug:
123717273
Change-Id: I5bb3ee61be769989d02a2762a7747d4dafd7bd71
Tor Norbye [Thu, 21 Feb 2019 03:25:15 +0000 (19:25 -0800)]
Update MbmsDownloadServiceBase to reflect implements IInterface
The interface is there in the stubs but was missing from the signature
file; this was added as a special case to be compatible with doclava
but the special case should have been removed when we switched to the
new signature file format.
This makes this signature match the other signature for
MbmsStreamingServiceBase:
public class MbmsDownloadServiceBase extends android.os.Binder implements android.os.IInterface {
public class MbmsStreamingServiceBase extends android.os.Binder implements android.os.IInterface {
Test: make update-api checkapi
Change-Id: I847066580248f47be609e2795db8904f58e550b8
Kiyoung Kim [Thu, 21 Feb 2019 00:16:45 +0000 (00:16 +0000)]
Merge "Schematize Crypto system properties"
Christian Wailes [Wed, 20 Feb 2019 22:53:45 +0000 (22:53 +0000)]
Merge "Updated Zygote IPC related comments."
Treehugger Robot [Wed, 20 Feb 2019 22:07:36 +0000 (22:07 +0000)]
Merge "Add documentation for inserting RCS 1-on-1 thread"
Chenbo Feng [Tue, 8 Jan 2019 00:14:26 +0000 (16:14 -0800)]
Send special permission information to netd
Netd need the list of apps that have permission INTERNET or permission
UPDATE_DEVICE_STATS at run time to make decisions about application
request. To avoid protential deadlock and reduce the traffic between
netd and system server, Use packageManagerServcie to send the list of
apps that have those permissions to netd when device boot and when new
apps get installed.
Bug:
111560570
Bug:
111560739
Test: install and uninstall packages and dumpsys netd trafficcontroller
Change-Id: Idb9905f424557a5c59e35d41f5eafe345aca87e0
Garfield Tan [Sat, 13 Oct 2018 00:45:50 +0000 (17:45 -0700)]
Use toArray(T[]) instead of toArray().
toArray() always creates Object array, which can't be cast to array type
of specific types.
Bug: None
Test: Package can be installed and uninstalled correctly with a package
list.
Change-Id: I9d6c8c2b1c3de767b87643f4c3aaff1044e33fbc
Merged-In: I9d6c8c2b1c3de767b87643f4c3aaff1044e33fbc
Treehugger Robot [Wed, 20 Feb 2019 21:08:21 +0000 (21:08 +0000)]
Merge "Convert Android.mk file to Android.bp"
Nathan Harold [Wed, 20 Feb 2019 21:08:05 +0000 (21:08 +0000)]
Merge "Debug Event for Malformed PLMN ID in CellIdentity"
Nathan Harold [Wed, 13 Feb 2019 00:13:34 +0000 (16:13 -0800)]
Debug Event for Malformed PLMN ID in CellIdentity
Add a debug event to catch the case where the modem
reports a PLMN-ID that is either malformed or incomplete.
Bug:
124332651
Test: compilation
Change-Id: Iffea47349ff999aade2aa26e30f00e5007ba7b4e
Treehugger Robot [Wed, 20 Feb 2019 20:01:14 +0000 (20:01 +0000)]
Merge "Split RCS events into API and internal classes"
Chris Wailes [Wed, 20 Feb 2019 19:19:48 +0000 (11:19 -0800)]
Updated Zygote IPC related comments.
Bug:
124637285
Test: None; comment only changes
Change-Id: Ie567715a1ee08cdf65e3135aa75e3bd95ef5ab0d
Sasha Smundak [Fri, 8 Feb 2019 23:13:25 +0000 (15:13 -0800)]
Convert Android.mk file to Android.bp
See build/soong/README.md for more information.
Bug:
122332340
Test: treehugger
Change-Id: I4ccc0a2e13fc49a0109e9823fbcb4077e11455d5
Merged-In: I4ccc0a2e13fc49a0109e9823fbcb4077e11455d5
Nicolas Geoffray [Wed, 20 Feb 2019 15:41:03 +0000 (15:41 +0000)]
Pick up the apexBootImage pinner service files when the boot image is apex.art.
Test: adb shell dumpsys pinner
Bug:
119800099
Change-Id: I780b65dfba0fc8f7a2807f29fa3a0f7984ae7023
Nathan Harold [Wed, 20 Feb 2019 17:50:41 +0000 (17:50 +0000)]
Merge "Expose the Radio HAL Version for Test Purposes"
Xin Li [Wed, 20 Feb 2019 16:25:58 +0000 (16:25 +0000)]
Merge changes from topic "PPRL.190205.001"
* changes:
Fix merge problems with cherry-picking "Add notification settings to backup&restore" change into pi-dev
DO NOT MERGE - Merge PPRL.190205.001 into master
Leland Miller [Wed, 20 Feb 2019 15:53:49 +0000 (07:53 -0800)]
Add documentation for inserting RCS 1-on-1 thread
Test: None, documentation only
Bug:
124781386
Change-Id: I1ab521aa6ceb54dc513a219b238f66a59fbfab97
Andrei-Valentin Onea [Wed, 20 Feb 2019 14:49:10 +0000 (14:49 +0000)]
Merge "Use sampled value in hidden api logger"
Andrei Onea [Fri, 15 Feb 2019 13:50:47 +0000 (13:50 +0000)]
Use sampled value in hidden api logger
The hidden api logger interface also receives the actual sampled value.
This is an intermediate step before a new logging method is added.
Test: m
Bug:
119217680
(cherry picked from commit
31bde163932dab75a8301e43b2adcb684f0470ec)
Change-Id: I3345bdcdf57e1f60970c85572e503d7b33af7148
Merged-In: I707a2624a254a80391cdae277dd59daa503d055f
Adrian Roos [Wed, 20 Feb 2019 12:50:28 +0000 (12:50 +0000)]
Merge "Fix potential memory leak in SomeArgs"
Treehugger Robot [Wed, 20 Feb 2019 12:00:15 +0000 (12:00 +0000)]
Merge "Skip unreachable route when estimating VPN destinations"
Treehugger Robot [Wed, 20 Feb 2019 11:14:24 +0000 (11:14 +0000)]
Merge "Consider 200 response with "Content-length <= 4" to not be a captive portal."
Bin Chen [Wed, 20 Feb 2019 09:34:04 +0000 (17:34 +0800)]
Fix potential memory leak in SomeArgs
When recycling SomeArgs in pool, some fields are not set to null.
Which result potential memory leak as SomeArgs in pool still holds
the reference object.
To fix this issue, clear all args when recycling.
Change-Id: Ie730c3889da948c60ef746ddbe2e926d94ad7e06
Signed-off-by: Bin Chen <bin0515@gmail.com>
Signed-off-by: Wei Huang <hwbest.v@gmail.com>
Xiangyu/Malcolm Chen [Wed, 20 Feb 2019 05:25:00 +0000 (05:25 +0000)]
Merge "Adding validate before switch feature."
Tyler Gunn [Wed, 20 Feb 2019 04:40:13 +0000 (04:40 +0000)]
Merge "Add support for Telecom logging to obfuscate string phone numbers."
Xiangyu/Malcolm Chen [Wed, 20 Feb 2019 02:58:09 +0000 (02:58 +0000)]
Merge "Move getPhoneCount implementation back to TelephonyManager."
Malcolm Chen [Fri, 25 Jan 2019 00:33:51 +0000 (16:33 -0800)]
Adding validate before switch feature.
In CBRS DSDS mode, switching data to CBRS network will require
validation first. Adding a component of CellularNetworkValidator
to trigger the validation and pass the result back to PhoneSwitcher.
Bug:
118348832
Test: manual
Change-Id: I689aa494f031834b5cee76906922ebdafa9c77ed
Merged-In: I689aa494f031834b5cee76906922ebdafa9c77ed
Hall Liu [Wed, 20 Feb 2019 01:08:04 +0000 (01:08 +0000)]
Merge "Turn on enforcing mode for Q-based location APIs"
Shuo Qian [Wed, 20 Feb 2019 01:08:03 +0000 (01:08 +0000)]
Merge "Add 'hasKnownUserIntentEmergency' into ImsCallProfile Parcel"
Malcolm Chen [Thu, 31 Jan 2019 05:19:57 +0000 (21:19 -0800)]
Move getPhoneCount implementation back to TelephonyManager.
Moving it inside iTelephony creates problems. Some components call
getPhoneCount during initialization while iTelephony service is not
even running, which will cause phone process to crash.
Bug:
123667461
Test: manual
Change-Id: I51199eaf0bd87055c21fe61af50f4c353137d621
Merged-In: I51199eaf0bd87055c21fe61af50f4c353137d621
sqian [Thu, 14 Feb 2019 22:58:03 +0000 (14:58 -0800)]
Add 'hasKnownUserIntentEmergency' into ImsCallProfile Parcel
Test: Treehugger
Bug:
123999640
Change-Id: Ie68a02a7e0f9aabe5dbc37806a495169feb63765
Merged-In: Ie68a02a7e0f9aabe5dbc37806a495169feb63765
(cherry picked from commit
0c86fbf491f4781ef3be68ba51aa3bfdb0bd7bc0)
Treehugger Robot [Tue, 19 Feb 2019 22:21:05 +0000 (22:21 +0000)]
Merge "[DO NOT MERGE] Support trace command on Window Manager dumpsys"
Raman Tenneti [Wed, 6 Feb 2019 00:34:43 +0000 (16:34 -0800)]
Fix merge problems with cherry-picking "Add notification settings to backup&restore" change into pi-dev
On 9/28 CL https://googleplex-android-review.git.corp.google.com/
5116913 was checked into pi-dev. Merge was bad(couple of lines were lost during merge).
https://b.corp.google.com/issues/
35655737#comment34
Adding LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS and LOCK_SCREEN_SHOW_NOTIFICATIONS to SETTINGS_TO_BACKUP array. This fixes apct/framework/presubmit test failure.
Bug:
35655737
Bug:
118674794
Test: presubmit unit tests
Change-Id: I2e9cc95e8827e72ef3c09910d4d3e089bde375e5
Merged-In: I421c7487955ee339f88e3957c973375d0f87e2ff
(cherry picked from commit
33a11bd0e3c29937af311bc55bbbe36ee63608f4)
Nathaniel R. Lewis [Thu, 14 Feb 2019 01:16:17 +0000 (17:16 -0800)]
Fixes for touchpad capture
When touchpad capture is enabled, events still are received via
onGenericMotionEvent. As pointer capture sends events via
onCapturedPointerEvent, this patch changes the callback used by
captured touchpads to also be onCapturedPointerEvent.
Make events from a captured touchpad cause the device to leave touch
mode. Captured mice cause the device to exit touch mode through
the virtual dpad which is mapped to it due to being
derived from SOURCE_CLASS_TRACKBALL.
Test: Write an app that starts pointer capture on a device with a
touchpad. Events from touchpad should be received via
onCapturedPointerEvent.
Test: Using the captured touchpad in the first test should cause the
view to be focusable even when not in touch mode.
Change-Id: If6fa94c66f1d9395a13fd5f31f642567256dd818
Dmitry Dementyev [Tue, 19 Feb 2019 19:49:13 +0000 (19:49 +0000)]
Merge "Lazely initialize AccountManager debug table."
Leland Miller [Wed, 6 Feb 2019 18:07:38 +0000 (10:07 -0800)]
Split RCS events into API and internal classes
This will allow us to inject dependencies into the API classes that are
not parcelable or do not come from ircs.
Bug:
123699565
Test: Unit tests pass
Change-Id: Iab4e6ea3fd983eef7fb0cba7311175ea82a444ff
Treehugger Robot [Tue, 19 Feb 2019 18:18:40 +0000 (18:18 +0000)]
Merge "Convert Android.mk file to Android.bp"
Rubin Xu [Tue, 19 Feb 2019 16:56:47 +0000 (16:56 +0000)]
Skip unreachable route when estimating VPN destinations
Bug:
122652441
Test: atest com.android.server.connectivity.VpnTest
Test: Establish a IPv4 VPN with minimal routes and check
(dumpsys connectivity) the VPN network does not have INTERNET
capability.
Change-Id: Ic7f19ebb7b7f78a6ffb2a8ec3fc3eca5e5421f57
Dario Freni [Tue, 19 Feb 2019 15:43:35 +0000 (15:43 +0000)]
Merge "Add dariofreni to APEX-related files owners."
Nicolas Geoffray [Tue, 19 Feb 2019 14:28:18 +0000 (14:28 +0000)]
Merge "Add a dalvik.vm.boot-image option for zygote and installd."