OSDN Git Service

android-x86/frameworks-base.git
5 years ago[PT14] No-op refactoring of sendProxyBroadcast
Chalard Jean [Fri, 8 Jun 2018 10:39:24 +0000 (19:39 +0900)]
[PT14] No-op refactoring of sendProxyBroadcast

If mGlobalProxy is non-null, then getDefaultProxy returns mGlobalProxy
so the first change is a no-op.
If mGlobalProxy is null and mDefaultProxyEnabled is true, then
getDefaultProxy returns mDefaultProxy, which has just been set to
proxyInfo, so the second change is a no-op.
If mGlobalProxy is null and mDefaultProxyEnabled is true, then
getDefaultProxy returns mDefaultProxy ; if mGlobalProxy is null and
mDefaultProxyEnabled is false, then getDefaultProxy returns null,
therefore the third change is a no-op.

Test: runtest
Change-Id: I7c21062302bf54f4fc917c82e0175975051a55ec

5 years agoMerge "Build com.android.media.remotedisplay with java_sdk_library"
Treehugger Robot [Mon, 15 Oct 2018 01:32:16 +0000 (01:32 +0000)]
Merge "Build com.android.media.remotedisplay with java_sdk_library"

5 years agoMerge "Drop unused libcore.io imports."
Tobias Thierer [Sat, 13 Oct 2018 13:08:13 +0000 (13:08 +0000)]
Merge "Drop unused libcore.io imports."

5 years agoDrop unused libcore.io imports.
Tobias Thierer [Sat, 13 Oct 2018 01:06:58 +0000 (02:06 +0100)]
Drop unused libcore.io imports.

This removes the last import of libcore.io.Libcore from frameworks.
This means that it can be safely hidden from frameworks in a follow-up
CL. Both of the unused imports in this CL were already removed on the
internal master branch (commit a05a994610a8e55b5cda1059fa816f8796135d9c),
but that commit doesn't cherry-pick cleanly onto AOSP master.

The IoUtils import also appears unused, but it wasn't touched by the
above CL so this CL also leaves it alone.

Bug: 117548625
Test: Treehugger
Change-Id: Icc68c64ef2907372af848d74d9cf96070c89d52b

5 years agoMerge "Remove unused imports of libcore.io.Libcore."
Treehugger Robot [Sat, 13 Oct 2018 00:47:45 +0000 (00:47 +0000)]
Merge "Remove unused imports of libcore.io.Libcore."

5 years agoMerge "Enable lint_as_errors for frameworks/base docs"
Nan Zhang [Sat, 13 Oct 2018 00:19:45 +0000 (00:19 +0000)]
Merge "Enable lint_as_errors for frameworks/base docs"

5 years agoMerge "Fix implicit fallthrough warnings."
Treehugger Robot [Fri, 12 Oct 2018 23:37:23 +0000 (23:37 +0000)]
Merge "Fix implicit fallthrough warnings."

5 years agoFix implicit fallthrough warnings.
Chih-Hung Hsieh [Fri, 12 Oct 2018 22:05:01 +0000 (15:05 -0700)]
Fix implicit fallthrough warnings.

Test: make checkbuild
Bug: 112564944
Change-Id: Ia33bf816fb6b179ac0a5a6a20bcb50c11b47431d

5 years agoEnable lint_as_errors for frameworks/base docs
Nan Zhang [Fri, 12 Oct 2018 01:06:10 +0000 (18:06 -0700)]
Enable lint_as_errors for frameworks/base docs

Add back various error/warning related args while running doclava for
frameworks/base docs.

Test: m -j docs
Bug: b/116163454
Change-Id: I9cbe3f0bd1b6acfe0b6e2c6567c78bb70f892c77

5 years agoMerge "refactor data/voice roaming states"
Chen Xu [Fri, 12 Oct 2018 18:02:17 +0000 (18:02 +0000)]
Merge "refactor data/voice roaming states"

5 years agoMerge "Remove BluetoothDevice.ACTION_DISAPPEARED"
Treehugger Robot [Fri, 12 Oct 2018 17:35:14 +0000 (17:35 +0000)]
Merge "Remove BluetoothDevice.ACTION_DISAPPEARED"

5 years agoMerge "Add DumpstateOptions java implementation"
Nandana Dutt [Fri, 12 Oct 2018 17:31:39 +0000 (17:31 +0000)]
Merge "Add DumpstateOptions java implementation"

5 years agoMerge "Remove explicit dependencies on "core" libraries"
Neil Fuller [Fri, 12 Oct 2018 09:49:03 +0000 (09:49 +0000)]
Merge "Remove explicit dependencies on "core" libraries"

5 years agoMerge "NetworkMonitor: add log of CaptivePortal result"
Chalard Jean [Fri, 12 Oct 2018 07:57:35 +0000 (07:57 +0000)]
Merge "NetworkMonitor: add log of CaptivePortal result"

5 years agoMerge "[PT13] Simple cleanup of ProxyTracker."
Chalard Jean [Fri, 12 Oct 2018 07:34:43 +0000 (07:34 +0000)]
Merge "[PT13] Simple cleanup of ProxyTracker."

5 years agoMerge "Fix incorrect javadoc link"
Treehugger Robot [Fri, 12 Oct 2018 04:26:49 +0000 (04:26 +0000)]
Merge "Fix incorrect javadoc link"

5 years agoMerge "[PT12] Factor some code into ProxyTracker."
Chalard Jean [Fri, 12 Oct 2018 04:23:16 +0000 (04:23 +0000)]
Merge "[PT12] Factor some code into ProxyTracker."

5 years agoMerge "Add log for debugging ConnectivityManager"
Chalard Jean [Fri, 12 Oct 2018 03:14:48 +0000 (03:14 +0000)]
Merge "Add log for debugging ConnectivityManager"

5 years agoMerge "Add the metalava_enabled property"
Treehugger Robot [Fri, 12 Oct 2018 00:50:32 +0000 (00:50 +0000)]
Merge "Add the metalava_enabled property"

5 years agoFix incorrect javadoc link
Nan Zhang [Thu, 11 Oct 2018 23:44:28 +0000 (16:44 -0700)]
Fix incorrect javadoc link

Test: m -j docs with -lerror enabled for frameworks/base docs.
Bug: b/116163454
Change-Id: I02a164b676397dd2d9e8a52ae344c1033b1a4029

5 years agoMerge "Introduce AlternativeNetwork APIs"
Sooraj Sasindran [Thu, 11 Oct 2018 22:58:32 +0000 (22:58 +0000)]
Merge "Introduce AlternativeNetwork APIs"

5 years agorefactor data/voice roaming states
chen xu [Thu, 4 Oct 2018 02:07:09 +0000 (19:07 -0700)]
refactor data/voice roaming states

1. migrate set/get roamingType from ServiceState to
NetworkRegState.set/get roamingType
2. migrate set/get roamingStateFromRegstate from ServiceState
to NetworkRegState.regState
3. new System API for neworkRegistration.isRoaming().

Bug: 116127096
Test: ServiceStateTest, ServiceStateProviderTest

Change-Id: Ib89744089c98713819c8d313240d629ddb77d0bf

5 years agoRemove BluetoothDevice.ACTION_DISAPPEARED
Jack He [Thu, 11 Oct 2018 00:42:33 +0000 (17:42 -0700)]
Remove BluetoothDevice.ACTION_DISAPPEARED

This intent was never sent by the Bluetooth stack

Fixes: 112115770
Test: make
Change-Id: Iaf71aeafa21f44ec9b59c1b766c936ab7dde39f1

5 years agoMerge "Camera: Trivial doc update"
Shuzhen Wang [Thu, 11 Oct 2018 21:02:32 +0000 (21:02 +0000)]
Merge "Camera: Trivial doc update"

5 years agoMerge "getTelephonyProperty returns defaultVal"
Treehugger Robot [Thu, 11 Oct 2018 20:30:17 +0000 (20:30 +0000)]
Merge "getTelephonyProperty returns defaultVal"

5 years agoMerge "Update PROPERTY_HIGH_DEF_AUDIO API docs."
Treehugger Robot [Thu, 11 Oct 2018 20:15:46 +0000 (20:15 +0000)]
Merge "Update PROPERTY_HIGH_DEF_AUDIO API docs."

5 years agoMerge changes I7070326d,I8346e53c
Treehugger Robot [Thu, 11 Oct 2018 19:05:27 +0000 (19:05 +0000)]
Merge changes I7070326d,I8346e53c

* changes:
  Add OWNERS file to AndroidKeystoreSPI implementation
  KeyguardStateMonitor looses connection with keystore if keystore dies

5 years agoMerge "Create URI for individual user settings in SIMINFO"
Chen Xu [Thu, 11 Oct 2018 18:19:12 +0000 (18:19 +0000)]
Merge "Create URI for individual user settings in SIMINFO"

5 years agoUpdate PROPERTY_HIGH_DEF_AUDIO API docs.
Tyler Gunn [Thu, 11 Oct 2018 17:42:10 +0000 (10:42 -0700)]
Update PROPERTY_HIGH_DEF_AUDIO API docs.

Make it more clear that the intention of the property is to convey whether
a call is high definition on the UI or not, and NOT to report the actual
audio codec in use.

Test: Build
Bug: 78550833
Change-Id: Id002cd1c9cc1d5aea6f8d9ab4e3d99956b7c42b2

5 years agoIntroduce AlternativeNetwork APIs
Sooraj Sasindran [Mon, 6 Aug 2018 22:24:45 +0000 (15:24 -0700)]
Introduce AlternativeNetwork APIs

Introduce AlternativeNetwork APIs

Bug: 113106744
Test: Verified using test app to make api calls
Change-Id: I134d1aef40f014378fd1364e0bfec6926fe2093e
Merged-In: I7f470cd6028a12cc66a660d58720f803271d38eb

5 years agoMerge "Remove ResponseCache from apache-http"
Treehugger Robot [Thu, 11 Oct 2018 16:37:03 +0000 (16:37 +0000)]
Merge "Remove ResponseCache from apache-http"

5 years agoAdd OWNERS file to AndroidKeystoreSPI implementation
Janis Danisevskis [Thu, 11 Oct 2018 16:19:41 +0000 (09:19 -0700)]
Add OWNERS file to AndroidKeystoreSPI implementation

Change-Id: I7070326d680c6bff00839d847f8fadbbe2b16fa7

5 years agoCamera: Trivial doc update
Shuzhen Wang [Thu, 11 Oct 2018 16:17:08 +0000 (09:17 -0700)]
Camera: Trivial doc update

Change-Id: I63198c6d2cb348380e718974dd356d48137ae376

5 years agoAdd DumpstateOptions java implementation
Nandana Dutt [Wed, 3 Oct 2018 09:01:25 +0000 (10:01 +0100)]
Add DumpstateOptions java implementation

DumpstateOptions will be used to pass options to Dumpstate service
for specifying arguments for taking bugreports.

Test: m
Test: adb bugreport

Change-Id: I4dc9511f0be2f86239ea9094a3c527b6ce0d1d41

5 years agoKeyguardStateMonitor looses connection with keystore if keystore dies
Janis Danisevskis [Wed, 10 Oct 2018 16:32:39 +0000 (09:32 -0700)]
KeyguardStateMonitor looses connection with keystore if keystore dies

When keystore dies it no longer gets information about the lock screen
visibility state. This state is vital to enforcing the "unlocked
device required" authorization of keymaster keys.

With this patch KeyguardStateMonitor tries to reestablish the connection
to keystore if communication fails.

Test: run atest android.keystore.cts.CipherTest#testKeyguardLockAndUnlock
      after killing keystore
Bug: 117552147

Change-Id: I8346e53c342bdba0f5960b1feba7c26db5cef33e

5 years agoRemove explicit dependencies on "core" libraries
Neil Fuller [Thu, 4 Oct 2018 09:45:21 +0000 (10:45 +0100)]
Remove explicit dependencies on "core" libraries

The dependencies are unnecessary since bouncycastle, okhttp
and conscrypt are included in the "standard libraries".

Test: build
Bug: 113148576
Change-Id: Ic8d15d911decbdd6391db8c1231b845353586a54

5 years agoMerge changes Icd51c4c7,I836ecb94
David Brazdil [Thu, 11 Oct 2018 15:35:58 +0000 (15:35 +0000)]
Merge changes Icd51c4c7,I836ecb94

* changes:
  Add entries to hidden api greylist
  Add method to hidden api greylist

5 years agoMerge "Frameworks: Add VMRuntime.hasBootImageSpaces check"
Treehugger Robot [Thu, 11 Oct 2018 15:10:34 +0000 (15:10 +0000)]
Merge "Frameworks: Add VMRuntime.hasBootImageSpaces check"

5 years agoMerge "Revert "DO NOT MERGE: Move AM/WM unit tests out of FrameworksServicesTests...
Treehugger Robot [Thu, 11 Oct 2018 13:24:02 +0000 (13:24 +0000)]
Merge "Revert "DO NOT MERGE: Move AM/WM unit tests out of FrameworksServicesTests to WmTests""

5 years agoMerge "Whitelist free short code batch for 2018 Q3"
Fabrício Ferracioli [Thu, 11 Oct 2018 13:06:16 +0000 (13:06 +0000)]
Merge "Whitelist free short code batch for 2018 Q3"

5 years agoMerge "[PT11] Move handleDeprecatedGlobalHttpProxy to ProxyTracker"
Treehugger Robot [Thu, 11 Oct 2018 12:50:17 +0000 (12:50 +0000)]
Merge "[PT11] Move handleDeprecatedGlobalHttpProxy to ProxyTracker"

5 years agoAdd entries to hidden api greylist
David Brazdil [Thu, 11 Oct 2018 11:24:48 +0000 (12:24 +0100)]
Add entries to hidden api greylist

Bug: 115387204
Test: m appcompat
Change-Id: Icd51c4c7d446ea72211804fbb050f4fee742db17

5 years agoAdd method to hidden api greylist
David Brazdil [Thu, 11 Oct 2018 11:19:53 +0000 (12:19 +0100)]
Add method to hidden api greylist

Bug: 114488777
Test: m appcompat
Change-Id: I836ecb947390f7fc6986f6848299375c7599fc97

5 years agoMerge "Remove unused import"
Neil Fuller [Thu, 11 Oct 2018 08:06:48 +0000 (08:06 +0000)]
Merge "Remove unused import"

5 years agoRevert "DO NOT MERGE: Move AM/WM unit tests out of FrameworksServicesTests to WmTests"
Tadashi G. Takaoka [Thu, 11 Oct 2018 07:51:35 +0000 (07:51 +0000)]
Revert "DO NOT MERGE: Move AM/WM unit tests out of FrameworksServicesTests to WmTests"

This reverts commit dee5a4dc2a5a6829e5509fc0e94903e30dcc238f.

Reason for revert: CLs on upstream branch are on hold.

Change-Id: I253294d080efdfd1dbf377812f12880e03dff1f6

5 years agoMerge "Refactor tetherGetStats by using stable aidl structure"
Luke Huang [Thu, 11 Oct 2018 05:58:22 +0000 (05:58 +0000)]
Merge "Refactor tetherGetStats by using stable aidl structure"

5 years agoMerge "Remove BluetoothDevice.ACTION_DISAPPEARED"
Treehugger Robot [Thu, 11 Oct 2018 03:32:10 +0000 (03:32 +0000)]
Merge "Remove BluetoothDevice.ACTION_DISAPPEARED"

5 years agoMerge "Make setAirplaneMode @SystemApi for SetupWizard."
Treehugger Robot [Thu, 11 Oct 2018 02:44:21 +0000 (02:44 +0000)]
Merge "Make setAirplaneMode @SystemApi for SetupWizard."

5 years agoRemove BluetoothDevice.ACTION_DISAPPEARED
Jack He [Thu, 11 Oct 2018 00:42:48 +0000 (17:42 -0700)]
Remove BluetoothDevice.ACTION_DISAPPEARED

This intent was never sent by the Bluetooth stack

Bug: 112115770
Test: make
Change-Id: I6c2b87529af7e6a7123cde8141fbdb9d1822ec9f
Merged-In: I6c2b87529af7e6a7123cde8141fbdb9d1822ec9f
(cherry picked from commit dd1c592fcd11e2bee25db0077da0ef3f59071d5d)

5 years agoMerge "Fix incorrect javadoc links"
Treehugger Robot [Wed, 10 Oct 2018 23:23:53 +0000 (23:23 +0000)]
Merge "Fix incorrect javadoc links"

5 years agoMerge changes from topic "aapt2-manifest-elements"
Treehugger Robot [Wed, 10 Oct 2018 22:29:57 +0000 (22:29 +0000)]
Merge changes from topic "aapt2-manifest-elements"

* changes:
  Remove workarounds for b/79755007
  AAPT2: Add the rest of supported manifest elements
  AAPT2: Add supported manifest elements

5 years agoMerge "Avoid hidden DataFormat.is24Hour field access"
Neil Fuller [Wed, 10 Oct 2018 22:12:56 +0000 (22:12 +0000)]
Merge "Avoid hidden DataFormat.is24Hour field access"

5 years agoMerge "Phone service state change atom."
Treehugger Robot [Wed, 10 Oct 2018 19:51:36 +0000 (19:51 +0000)]
Merge "Phone service state change atom."

5 years agoPhone service state change atom.
Yangster [Wed, 10 Oct 2018 00:09:02 +0000 (17:09 -0700)]
Phone service state change atom.

Background: BatteryStatsService tracks the phone scanning time metric. In Q,
we are migrating the dumpsys-based collection to the new infra. This CL is to
instrument the new logging mechanism.

Test: statsd test
FIX: b/116748990

Change-Id: I3cf5e0026bfc6f594c5f7b524f14b3a43b702afb

5 years agoMerge "dex/TEST_MAPPING: referenced non-test modules"
Treehugger Robot [Wed, 10 Oct 2018 18:40:13 +0000 (18:40 +0000)]
Merge "dex/TEST_MAPPING: referenced non-test modules"

5 years agoMerge "Mark getInstallerPackageName @Nullable"
Treehugger Robot [Wed, 10 Oct 2018 18:13:28 +0000 (18:13 +0000)]
Merge "Mark getInstallerPackageName @Nullable"

5 years agoAvoid hidden DataFormat.is24Hour field access
Neil Fuller [Wed, 10 Oct 2018 18:13:19 +0000 (19:13 +0100)]
Avoid hidden DataFormat.is24Hour field access

DateFormat.is24Hour is not part of the CorePlatformApi but
DateFormat.set24HourTimePref(Boolean) is. Switch over.

Bug: 113148576
Test: build
Change-Id: I27103890f94cfe3679f386ea33b0450b453a7625

5 years agoRemove unused import
Neil Fuller [Wed, 10 Oct 2018 16:05:12 +0000 (17:05 +0100)]
Remove unused import

StructGroupReq is imported but not used.
The import can be removed.

Bug: 113148576
Test: build only
Change-Id: I6b2ec5eb3f6c6e298fcde8e47dfd0979f889ca1d

5 years agoMerge "Remove usage of StringFactory"
Treehugger Robot [Wed, 10 Oct 2018 16:05:20 +0000 (16:05 +0000)]
Merge "Remove usage of StringFactory"

5 years agoRemove unused imports of libcore.io.Libcore.
Tobias Thierer [Mon, 8 Oct 2018 14:14:45 +0000 (15:14 +0100)]
Remove unused imports of libcore.io.Libcore.

Test: Treehugger
Bug: 115503977
Bug: 117548625
Change-Id: I122fa68ddc2bd531f627dcac00834b47249bd56e

5 years agoMerge "Remove dependency on internal libcore method"
Neil Fuller [Wed, 10 Oct 2018 15:12:21 +0000 (15:12 +0000)]
Merge "Remove dependency on internal libcore method"

5 years agoRemove usage of StringFactory
Neil Fuller [Wed, 10 Oct 2018 14:49:31 +0000 (15:49 +0100)]
Remove usage of StringFactory

Code outside of the runtime should not use StringFactory.
The java.lang.String API works fine.

Bug: 113148576
Test: build only
Change-Id: I2912e02265306dcd5c5923de019b2c376349ea29

5 years agoMerge "Switch test to TestIoUtils from IoUtils"
Neil Fuller [Wed, 10 Oct 2018 13:57:36 +0000 (13:57 +0000)]
Merge "Switch test to TestIoUtils from IoUtils"

5 years agoRemove dependency on internal libcore method
Neil Fuller [Wed, 10 Oct 2018 13:49:24 +0000 (14:49 +0100)]
Remove dependency on internal libcore method

The test already uses FileUtils.deleteContents() in several
places so the one usage of IoUtils.deleteContents() which is
functionally equivalent can be switched over to that instead.

Bug: 113148576
Test: build only
Change-Id: Ic5569c82701e89ae9178c1438caf1e8885861a76

5 years agoMake setAirplaneMode @SystemApi for SetupWizard.
Lorenzo Colitti [Tue, 9 Oct 2018 09:50:32 +0000 (18:50 +0900)]
Make setAirplaneMode @SystemApi for SetupWizard.

Expose ConnectivityManager#setAirplaneMode and the
NETWORK_SETUP_WIZARD permission so that SetupWizard can call
setAirplaneMode.

Delete setAirplaneMode from the greylist because the permissions
checks on it, since at least 2013, have been for a privileged
permission (CONNECTIVITY_INTERNAL) that normal apps don't have.

Test: m
Bug: 115302596
Change-Id: I28f24d32c4b4b386407e9e0e3514ea9f8854f4a8

5 years agoMerge "Remove ArcVideoBridge service from framework/base."
Treehugger Robot [Wed, 10 Oct 2018 03:06:40 +0000 (03:06 +0000)]
Merge "Remove ArcVideoBridge service from framework/base."

5 years agoAdd log for debugging ConnectivityManager
Soi, Yoshinari [Thu, 12 Nov 2015 03:09:02 +0000 (12:09 +0900)]
Add log for debugging ConnectivityManager

Add log to ConnectivityManager for better investigations of issue.
This patch adds StackTrace to the following APIs.

reportInetCondition()
reportBadNetwork()
reportNetworkConnectivity()
sendRequestForNetwork()
requestNetwork()
releaseNetworkRequest()
registerNetworkCallback()
unregisterNetworkCallback()

Bug: 116751720
Change-Id: I992292cd9d6f3d69c91ddbde5577591f9ec0f39b

5 years agoMerge "Fixed the indentation"
Treehugger Robot [Wed, 10 Oct 2018 01:05:26 +0000 (01:05 +0000)]
Merge "Fixed the indentation"

5 years agoMark getInstallerPackageName @Nullable
Scott Kennedy [Wed, 10 Oct 2018 00:26:19 +0000 (17:26 -0700)]
Mark getInstallerPackageName @Nullable

Test: Just an annotation

Change-Id: Ida4f40e77abec2bbf3791a6b38fdb729f6083811

5 years agoMerge "Add VisibleForTesting to create TelephonyRegistryTest."
Xiangyu/Malcolm Chen [Wed, 10 Oct 2018 00:36:39 +0000 (00:36 +0000)]
Merge "Add VisibleForTesting to create TelephonyRegistryTest."

5 years agodex/TEST_MAPPING: referenced non-test modules
Simran Basi [Tue, 9 Oct 2018 18:12:36 +0000 (11:12 -0700)]
dex/TEST_MAPPING: referenced non-test modules

TreeHugger can only dereference test modules from test mapping.
This change fixes this particular TEST_MAPPING file to target
FrameworksServicesTest for package com.android.server.pm.dex

Bug: 117497435
Test: atest local run & TreeHugger run, verify the right tests runs.
Change-Id: If8731275b492c7788329de08ac09a9f6437de54a

5 years agoFixed the indentation
Jack Yu [Tue, 9 Oct 2018 23:24:23 +0000 (16:24 -0700)]
Fixed the indentation

Test: Build
Change-Id: Id8a30734c1e4607b0396e0a985ab46502d8723b9

5 years agoMerge "Add READ_PRIVILEGED_PHONE_STATE to used permissions"
Michael Groover [Tue, 9 Oct 2018 23:07:13 +0000 (23:07 +0000)]
Merge "Add READ_PRIVILEGED_PHONE_STATE to used permissions"

5 years agoMerge "Convert PrintSpooler to Android.bp"
Treehugger Robot [Tue, 9 Oct 2018 21:50:40 +0000 (21:50 +0000)]
Merge "Convert PrintSpooler to Android.bp"

5 years agoAdd VisibleForTesting to create TelephonyRegistryTest.
Malcolm Chen [Tue, 28 Aug 2018 03:38:29 +0000 (20:38 -0700)]
Add VisibleForTesting to create TelephonyRegistryTest.

Bug: 113305153
Test: unittest
Change-Id: Ie59b2da76fbc813ce011d4d0ab3ff533a6006e14
Merged-In: Ie59b2da76fbc813ce011d4d0ab3ff533a6006e14

5 years agoMerge "libandroidfw: introduce ExecuteBinary (POSIX only)"
Treehugger Robot [Tue, 9 Oct 2018 21:43:38 +0000 (21:43 +0000)]
Merge "libandroidfw: introduce ExecuteBinary (POSIX only)"

5 years agoMerge "libandroidfw: move ConfigDescription from aapt2 to libandroidfw"
Treehugger Robot [Tue, 9 Oct 2018 21:43:38 +0000 (21:43 +0000)]
Merge "libandroidfw: move ConfigDescription from aapt2 to libandroidfw"

5 years agoMerge changes from topic "idmap2-prerequisites"
Treehugger Robot [Tue, 9 Oct 2018 21:43:38 +0000 (21:43 +0000)]
Merge changes from topic "idmap2-prerequisites"

* changes:
  AssetManager2: optionally keep non-matching configs
  AAPT2: optionally keep resources without default value
  libandroidfw: add resource ID iterator

5 years agoAssetManager2: optionally keep non-matching configs
Mårten Kongstad [Mon, 11 Jun 2018 12:11:33 +0000 (14:11 +0200)]
AssetManager2: optionally keep non-matching configs

AssetManager2 maintains a set of configurations [as specified in the
resource blob] compatible with the currently set configuration [as
specified via SetConfiguration]. This helps optimize future resource
lookups by limiting the set of configurations to iterate over.

However, when creating idmaps, all configurations must be considered,
including those not compatible with the currently set configuration. Add
an optional flag to SetApkAssets to disable the optimization described
above.

Test: manual (will be tested by upcoming idmap2 implementation)
Change-Id: I7526a323ddf90e2f2f49c36e8c110a2cec25357e

5 years agoFrameworks: Add VMRuntime.hasBootImageSpaces check
Andreas Gampe [Tue, 9 Oct 2018 17:40:52 +0000 (10:40 -0700)]
Frameworks: Add VMRuntime.hasBootImageSpaces check

Log a wtf in the system server when the runtime does not
use a boot image.

Test: m
Test: system boots
Change-Id: I087c269dd1e95eeeab5db4250133f9c61e9399c7

5 years agoMerge "More descriptions on SubscriptionController#setPreferredData"
Xiangyu/Malcolm Chen [Tue, 9 Oct 2018 18:18:11 +0000 (18:18 +0000)]
Merge "More descriptions on SubscriptionController#setPreferredData"

5 years agoMerge "Add Call Redirection Default Application in Settings"
Treehugger Robot [Tue, 9 Oct 2018 18:06:05 +0000 (18:06 +0000)]
Merge "Add Call Redirection Default Application in Settings"

5 years agoMerge "Add rtmitchell to AAPT2 OWNERS"
Treehugger Robot [Tue, 9 Oct 2018 17:06:50 +0000 (17:06 +0000)]
Merge "Add rtmitchell to AAPT2 OWNERS"

5 years agoMerge "Add yanglu@ and yaochen@ to the proto owner list."
Treehugger Robot [Tue, 9 Oct 2018 16:37:25 +0000 (16:37 +0000)]
Merge "Add yanglu@ and yaochen@ to the proto owner list."

5 years agoAAPT2: optionally keep resources without default value
Mårten Kongstad [Mon, 11 Jun 2018 12:13:37 +0000 (14:13 +0200)]
AAPT2: optionally keep resources without default value

Teach "aapt2 link" about a new flag --no-resource-removal. When given,
aapt2 will not filter out resources that lack default values. This is
useful mostly when building overlay packages that define resources for
non-default configurations, such as only for values-sv.

Test: manual: build package with resource only in values-vs, verify apk with aapt2 dump
Change-Id: Idc513bcb3f43bbff7f073163562c3dfccdb9bc9b
Merged-In: Idc513bcb3f43bbff7f073163562c3dfccdb9bc9b

5 years agoRemove ResponseCache from apache-http
Neil Fuller [Tue, 9 Oct 2018 11:03:52 +0000 (12:03 +0100)]
Remove ResponseCache from apache-http

It is not clear why ResponseCache was included: it doesn't
relate to apache-http. Its inclusion causes
obscure problems related to switching over to building
against "core platform API" stubs so it is being removed
here.

Bug: 117169648
Bug: 113148576
Test: build
Change-Id: If2ce6d49b59207254e8217a5d8bfb393bd2e8c92

5 years agoMore descriptions on SubscriptionController#setPreferredData
Malcolm Chen [Tue, 25 Sep 2018 03:00:08 +0000 (20:00 -0700)]
More descriptions on SubscriptionController#setPreferredData

Bug: 115550764
Test: build
Change-Id: I25c3f89a3c3f8e8e6475221885d995bcb5684da4
Merged-In: I25c3f89a3c3f8e8e6475221885d995bcb5684da4

5 years agoAdd Call Redirection Default Application in Settings
sqian [Mon, 8 Oct 2018 22:15:41 +0000 (15:15 -0700)]
Add Call Redirection Default Application in Settings

Bug: 64959558
Test: compile
Change-Id: Iddac4d5b202db5a88aa82fd9ea4df89544b94b71

5 years agoMerge "Add isManualNetworkSelectionAllowed api to telephonyManager"
Pengquan Meng [Mon, 8 Oct 2018 22:16:52 +0000 (22:16 +0000)]
Merge "Add isManualNetworkSelectionAllowed api to telephonyManager"

5 years agoCreate URI for individual user settings in SIMINFO
chen xu [Wed, 3 Oct 2018 02:34:10 +0000 (19:34 -0700)]
Create URI for individual user settings in SIMINFO

Bug: 112700925
Test: TelephonyProviderTest#testUpdateWfcEnabled
Change-Id: I85639c50c2b3abb27b9a87823726d080a817ed6f

5 years agoMerge "Make isUsableSubIdValue public"
Shuo Qian [Mon, 8 Oct 2018 20:42:00 +0000 (20:42 +0000)]
Merge "Make isUsableSubIdValue public"

5 years agoMerge "statsd: Add AID mappings for iorapd"
Treehugger Robot [Mon, 8 Oct 2018 20:12:59 +0000 (20:12 +0000)]
Merge "statsd: Add AID mappings for iorapd"

5 years agoFix incorrect javadoc links
Tor Norbye [Wed, 3 Oct 2018 07:28:21 +0000 (09:28 +0200)]
Fix incorrect javadoc links

Test: make offline-sdk-docs
Bug: b/116163454
Change-Id: I55de1f71d443713b033ee63fd191bd34b3a52fd2

5 years agoAdd isManualNetworkSelectionAllowed api to telephonyManager
Pengquan Meng [Wed, 3 Oct 2018 19:22:10 +0000 (12:22 -0700)]
Add isManualNetworkSelectionAllowed api to telephonyManager

Bug: 111453847
Test: build
Merged-In: Icdd60ab03fee4b2e7a08dda3c5c127a19ecac7ce
Change-Id: Icdd60ab03fee4b2e7a08dda3c5c127a19ecac7ce

5 years agoAdd READ_PRIVILEGED_PHONE_STATE to used permissions
Michael Groover [Mon, 8 Oct 2018 16:39:24 +0000 (09:39 -0700)]
Add READ_PRIVILEGED_PHONE_STATE to used permissions

Bug: 110099294
Test: cts-tradefed run cts -m CtsTelephonyTestCases -t android.telephony.cts.TelephonyManagerTest
Change-Id: I13fec3d397c200ce92883883c96c07007e823efe

5 years agolibandroidfw: move ConfigDescription from aapt2 to libandroidfw
Mårten Kongstad [Wed, 20 Jun 2018 06:46:41 +0000 (08:46 +0200)]
libandroidfw: move ConfigDescription from aapt2 to libandroidfw

This is to allow idmap2 to access ConfigDescription.

Test: libandroidfw_tests
Test: aapt2_tests
Change-Id: I54210bbbd8dad5903cb7100807df977efa394ad5
Merged-In: I54210bbbd8dad5903cb7100807df977efa394ad5

5 years agoAdd yanglu@ and yaochen@ to the proto owner list.
Yangster [Mon, 8 Oct 2018 16:24:43 +0000 (09:24 -0700)]
Add yanglu@ and yaochen@ to the proto owner list.

Test: cts

Change-Id: I6ad0ced33ec8f0a8fa6e832fbae30828e20fb609

5 years agoMerge "Respect extractNativeLibs in natively bridged environments"
Dimitry Ivanov [Mon, 8 Oct 2018 14:50:08 +0000 (14:50 +0000)]
Merge "Respect extractNativeLibs in natively bridged environments"

5 years agoMerge "Fix UsbDeviceManager null object reference"
Treehugger Robot [Mon, 8 Oct 2018 07:44:48 +0000 (07:44 +0000)]
Merge "Fix UsbDeviceManager null object reference"

5 years agoMerge "Wire up the stopRtt API"
Hall Liu [Sat, 6 Oct 2018 00:49:14 +0000 (00:49 +0000)]
Merge "Wire up the stopRtt API"