OSDN Git Service

android-x86/frameworks-base.git
6 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."

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

6 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."

6 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"

6 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"

6 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

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

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

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

6 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."

6 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

6 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"

6 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

6 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

6 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"

6 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

6 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

6 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

6 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

6 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"

6 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""

6 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"

6 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"

6 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

6 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

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

6 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

6 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"

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

6 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."

6 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)

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

6 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

6 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"

6 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."

6 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

6 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"

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

6 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

6 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

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

6 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"

6 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

6 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"

6 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

6 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

6 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."

6 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

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

6 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

6 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."

6 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

6 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

6 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"

6 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"

6 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

6 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)"

6 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"

6 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

6 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

6 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

6 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"

6 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"

6 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"

6 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."

6 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

6 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

6 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

6 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

6 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"

6 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

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

6 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"

6 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

6 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

6 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

6 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

6 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

6 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"

6 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"

6 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"

6 years agoMerge "Fix incorrect API comments of getSubId()"
Pengquan Meng [Sat, 6 Oct 2018 00:13:01 +0000 (00:13 +0000)]
Merge "Fix incorrect API comments of getSubId()"

6 years agostatsd: Add AID mappings for iorapd
Igor Murashkin [Fri, 5 Oct 2018 23:25:21 +0000 (16:25 -0700)]
statsd: Add AID mappings for iorapd

Bug: 117295673
Change-Id: Ie0c7a7bf823159492259ac1ec6680b45784afb84

6 years agoMerge "Add Parcelable EmergencyNumber and APIs"
Shuo Qian [Fri, 5 Oct 2018 22:29:36 +0000 (22:29 +0000)]
Merge "Add Parcelable EmergencyNumber and APIs"

6 years agoFix incorrect API comments of getSubId()
Pengquan Meng [Fri, 5 Oct 2018 05:42:06 +0000 (22:42 -0700)]
Fix incorrect API comments of getSubId()

getSubid() return the SubscriptionManager#getDefaultSubscriptionId()
when TelephonyManager created without the subId.

Bug: 111453847
Test: Build
Merged-In: I8e38ef43b5f23bbedc4d584df78c12f250b88fcc
Change-Id: I8e38ef43b5f23bbedc4d584df78c12f250b88fcc

6 years agoMake isUsableSubIdValue public
sqian [Wed, 12 Sep 2018 23:31:17 +0000 (16:31 -0700)]
Make isUsableSubIdValue public

Rename subId to subscriptionId

Bug: 113072551
Test: Treehugger
Change-Id: I54303bab4d40d6168332d0263e9de1603205bb75

6 years agoMerge "Add finer grained call fail reasons."
Tyler Gunn [Fri, 5 Oct 2018 20:35:55 +0000 (20:35 +0000)]
Merge "Add finer grained call fail reasons."

6 years agoMerge changes I10c01f2b,Ie05bc535
Yan Yan [Fri, 5 Oct 2018 17:38:41 +0000 (17:38 +0000)]
Merge changes I10c01f2b,Ie05bc535

* changes:
  Check to ensure UDP-encap is used only for IPv4
  Add UDP encapsulation tests for IpSecService.

6 years agoMerge "Refine frameworks/base/services/tests/runtest.py"
Howard Chen [Fri, 5 Oct 2018 17:03:59 +0000 (17:03 +0000)]
Merge "Refine frameworks/base/services/tests/runtest.py"

6 years agoMerge "statsd: Add missing AIDs to UidMap"
Treehugger Robot [Fri, 5 Oct 2018 16:52:11 +0000 (16:52 +0000)]
Merge "statsd: Add missing AIDs to UidMap"

6 years agoMerge "DO NOT MERGE Synchronize ZenModeControllerImpl callbacks"
Treehugger Robot [Fri, 5 Oct 2018 15:38:39 +0000 (15:38 +0000)]
Merge "DO NOT MERGE Synchronize ZenModeControllerImpl callbacks"

6 years agoWhitelist free short code batch for 2018 Q3
Fabrício Ferracioli [Fri, 5 Oct 2018 13:41:49 +0000 (10:41 -0300)]
Whitelist free short code batch for 2018 Q3

Included 21 numbers to the free shor codes for the following countries: Nigeria, Portugal, New
Zealand, United Kingdom and France.

Test: Tested with a Brazilian SIM card from Vivo, by changing the
original Brazil country code line to an invalid country and pushing a
new file to the phone for each country added identified as BR. Messages
should be sent to the added numbers without any warning.

BUG: 111393528

Change-Id: I270163bb89f82d9c78d3f2858bca42a69f16a309
Signed-off-by: Fabrício Ferracioli <fferracioli@google.com>
6 years agoMerge "[PT10] Move loadGlobalProxy into ProxyTracker."
Chalard Jean [Fri, 5 Oct 2018 09:07:12 +0000 (09:07 +0000)]
Merge "[PT10] Move loadGlobalProxy into ProxyTracker."

6 years agoMerge "Swap libcore annotations for framework versions"
Neil Fuller [Fri, 5 Oct 2018 08:09:13 +0000 (08:09 +0000)]
Merge "Swap libcore annotations for framework versions"

6 years ago[PT13] Simple cleanup of ProxyTracker.
Chalard Jean [Fri, 8 Jun 2018 10:32:17 +0000 (19:32 +0900)]
[PT13] Simple cleanup of ProxyTracker.

ProxyInfo#getPacFileUrl() is guaranteed to return non-null.

Test: runtest
Change-Id: Id206829441f01c6ed4066028de3e1f7fcbe8930b

6 years ago[PT12] Factor some code into ProxyTracker.
Chalard Jean [Fri, 8 Jun 2018 10:08:25 +0000 (19:08 +0900)]
[PT12] Factor some code into ProxyTracker.

Test: runtest
Change-Id: Ic61ef1e735dcc988cf8fc698b853f3b3be331d8b

6 years ago[PT11] Move handleDeprecatedGlobalHttpProxy to ProxyTracker
Chalard Jean [Fri, 8 Jun 2018 05:24:49 +0000 (14:24 +0900)]
[PT11] Move handleDeprecatedGlobalHttpProxy to ProxyTracker

This contains a significant logic change : it will load the
deprecated proxy settings synchronously instead of on the next
run loop. I think this is okay because it would happen almost
immediately anyway, and there is nothing in ConnectivityService
that might be changing this setting in the mean time. As for
the possibility that this was executed in the handler because
of possible disk access, I want to point out that the
loadGlobalProxy method that now calls this was already doing
those same similar accesses.

Test: runtest
Change-Id: Idc6f260e2a337689dc274eb758eb00f6a31089bb

6 years ago[PT10] Move loadGlobalProxy into ProxyTracker.
Chalard Jean [Fri, 8 Jun 2018 03:47:42 +0000 (12:47 +0900)]
[PT10] Move loadGlobalProxy into ProxyTracker.

Test: runtest
Change-Id: Id1c57ebb575c8742310be4822ec6e3fa03f487c3

6 years agoAdd Parcelable EmergencyNumber and APIs
sqian [Sat, 8 Sep 2018 04:01:26 +0000 (21:01 -0700)]
Add Parcelable EmergencyNumber and APIs

Test: unit test
Bug: 112657134
Change-Id: If926291e3f6fb6d2a3acd3d28d2ead85fbf01364

6 years agoSwap libcore annotations for framework versions
Neil Fuller [Thu, 4 Oct 2018 21:37:18 +0000 (22:37 +0100)]
Swap libcore annotations for framework versions

Swap libcore nullability annotations for android.annotation
equivalents.

Bug: 113148576
Test: build
Change-Id: Ie571062779e9bdf3890f6fcbd99be905aaf1adf9