OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "DCB whitelist short code for user association"
JC [Thu, 29 Mar 2018 09:06:39 +0000 (09:06 +0000)]
Merge "DCB whitelist short code for user association"
am: 722282ec62

Change-Id: Id8c380c715a94336cd21af4b6a3e3ae9da11a1e1

6 years agoMerge "Fix network usage stats on 464xlat tethered."
Remi NGUYEN VAN [Thu, 29 Mar 2018 07:36:21 +0000 (07:36 +0000)]
Merge "Fix network usage stats on 464xlat tethered."
am: 83088dcd8e

Change-Id: I0e13c2a6b9f6b5d0701a073ddc835781d5d2aace

6 years agoMerge "DCB whitelist short code for user association"
Treehugger Robot [Thu, 29 Mar 2018 07:29:00 +0000 (07:29 +0000)]
Merge "DCB whitelist short code for user association"

6 years agoMerge "Fix network usage stats on 464xlat tethered."
Remi NGUYEN VAN [Thu, 29 Mar 2018 06:04:02 +0000 (06:04 +0000)]
Merge "Fix network usage stats on 464xlat tethered."

6 years agoMerge "Bluetooth HIDD: Remove unplug()"
Hansong Zhang [Thu, 29 Mar 2018 01:28:41 +0000 (01:28 +0000)]
Merge "Bluetooth HIDD: Remove unplug()"
am: 18aa649b8f

Change-Id: I2daad6cc9185c1d81dad440574e392752bece7fd

6 years agoMerge "Add additional logging for EMBMS edge cases"
Hall Liu [Thu, 29 Mar 2018 01:25:09 +0000 (01:25 +0000)]
Merge "Add additional logging for EMBMS edge cases"
am: de57d0d024

Change-Id: If9af4947275e18154c93d9d8f6756cac16317768

6 years agoMerge "Address comments from API Review."
Holly Jiuyu Sun [Thu, 29 Mar 2018 01:22:38 +0000 (01:22 +0000)]
Merge "Address comments from API Review."
am: 18e47b6108

Change-Id: I3a4c1a0592df3b3c4f7625553bc9b92296da5c73

6 years agoMerge "Remove non-tombstoned ANR path."
Elliott Hughes [Wed, 28 Mar 2018 23:03:55 +0000 (23:03 +0000)]
Merge "Remove non-tombstoned ANR path."
am: ff95c80198

Change-Id: Ifdf565635e1707822794d88db7117ca5ac986d1d

6 years agoMerge "Bluetooth HIDD: Remove unplug()"
Treehugger Robot [Wed, 28 Mar 2018 23:02:57 +0000 (23:02 +0000)]
Merge "Bluetooth HIDD: Remove unplug()"

6 years agoMerge "Add additional logging for EMBMS edge cases"
Hall Liu [Wed, 28 Mar 2018 22:25:44 +0000 (22:25 +0000)]
Merge "Add additional logging for EMBMS edge cases"

6 years agoMerge "Address comments from API Review."
Holly Jiuyu Sun [Wed, 28 Mar 2018 21:56:40 +0000 (21:56 +0000)]
Merge "Address comments from API Review."

6 years agoMerge "Remove non-tombstoned ANR path."
Treehugger Robot [Wed, 28 Mar 2018 21:25:13 +0000 (21:25 +0000)]
Merge "Remove non-tombstoned ANR path."

6 years agoMerge "Clean new TelephonyManager API."
Malcolm Chen [Wed, 28 Mar 2018 20:47:45 +0000 (20:47 +0000)]
Merge "Clean new TelephonyManager API."
am: 8d8921d7fc

Change-Id: I6a6ffe87a6b19f5723da955308ec39c83ed5aca3

6 years agoMerge "MessageQueue: explicitly remove FD event listeners."
David Pursell [Wed, 28 Mar 2018 20:43:07 +0000 (20:43 +0000)]
Merge "MessageQueue: explicitly remove FD event listeners."
am: b43daf5f7b

Change-Id: Ia6d04879f1007344d58ce9b9dbc5b1aeeafb1db7

6 years agoMerge "Parse SMS locally upon error to get message ref"
Brad Ebinger [Wed, 28 Mar 2018 20:40:37 +0000 (20:40 +0000)]
Merge "Parse SMS locally upon error to get message ref"
am: 7a5653599c

Change-Id: I95d354c130697849e6a7953fdf4f089c557f5a4e

6 years agoBluetooth HIDD: Remove unplug()
Hansong Zhang [Wed, 28 Mar 2018 19:56:05 +0000 (12:56 -0700)]
Bluetooth HIDD: Remove unplug()

Remove the hidden unplug() API because it is not used and it can cause
the remote device to be unpaired. System apps should use unbond() and
user apps should not use reflection to invoke it.

Bug: 67866553
Test: SL4A
Change-Id: I1bdc06dbb5460c9fd52230b78cbf9434a4349d24

6 years agoMerge "Clean new TelephonyManager API."
Treehugger Robot [Wed, 28 Mar 2018 18:40:17 +0000 (18:40 +0000)]
Merge "Clean new TelephonyManager API."

6 years agoMerge "Use commas to separate API exemptions list, not colon."
Mathew Inwood [Wed, 28 Mar 2018 18:38:48 +0000 (18:38 +0000)]
Merge "Use commas to separate API exemptions list, not colon."
am: 2fddfcdced

Change-Id: I8435589ca414dec8ac7a857f6639b8d39fa18d98

6 years agoMerge "MessageQueue: explicitly remove FD event listeners."
Treehugger Robot [Wed, 28 Mar 2018 18:06:31 +0000 (18:06 +0000)]
Merge "MessageQueue: explicitly remove FD event listeners."

6 years agoRemove non-tombstoned ANR path.
Elliott Hughes [Fri, 23 Mar 2018 18:06:36 +0000 (11:06 -0700)]
Remove non-tombstoned ANR path.

Bug: http://b/73140330
Test: boots with ANR
Change-Id: Ib58724a0a6b831c05cb59d053520a4169ea591fd
Merged-In: Ib58724a0a6b831c05cb59d053520a4169ea591fd

6 years agoMerge "Parse SMS locally upon error to get message ref"
Brad Ebinger [Wed, 28 Mar 2018 16:59:41 +0000 (16:59 +0000)]
Merge "Parse SMS locally upon error to get message ref"

6 years agoMerge "Use commas to separate API exemptions list, not colon."
Treehugger Robot [Wed, 28 Mar 2018 16:57:30 +0000 (16:57 +0000)]
Merge "Use commas to separate API exemptions list, not colon."

6 years agoUse commas to separate API exemptions list, not colon.
Mathew Inwood [Wed, 28 Mar 2018 12:01:37 +0000 (13:01 +0100)]
Use commas to separate API exemptions list, not colon.

A colon appears in the type signature of a field, so is not safe to use in
this context.

Test: m
Test: $ adb shell settings put global hidden_api_blacklist_exemptions \
Test: > Landroid/app/Activity;->mResumed:Z,Landroid/view/RemoteAnimationDefinition\\\;

Bug: 73337509
Change-Id: Ia9171fecc9c3ed265b87921b31458de25304486e

6 years agoMerge "Allow third party cookies in the captive portal login app."
Lorenzo Colitti [Wed, 28 Mar 2018 10:34:30 +0000 (10:34 +0000)]
Merge "Allow third party cookies in the captive portal login app."
am: be6d45fe92

Change-Id: I5cb87e87aa64aebebfd9969dfb1ddbf02418b174

6 years agoMerge "Allow third party cookies in the captive portal login app."
Lorenzo Colitti [Wed, 28 Mar 2018 09:17:41 +0000 (09:17 +0000)]
Merge "Allow third party cookies in the captive portal login app."

6 years agoAddress comments from API Review.
Holly Jiuyu Sun [Fri, 16 Mar 2018 01:06:42 +0000 (18:06 -0700)]
Address comments from API Review.

Bug: 74975825
Bug: 74976716
Bug: 74976875
Test: test on phone
Merged-In: I5417e5dd95c75fd3fd9fa98d7559511bd0fcd8a0
Change-Id: I5417e5dd95c75fd3fd9fa98d7559511bd0fcd8a0

6 years agoMerge "BgDexopt: Reschedule job on timeout"
Andreas Gampe [Wed, 28 Mar 2018 04:11:57 +0000 (04:11 +0000)]
Merge "BgDexopt: Reschedule job on timeout"
am: 45bd60b4e2

Change-Id: Ibe4e54f2f3ab0a7b1db3396cb1928a16b084f262

6 years agoFix network usage stats on 464xlat tethered.
Remi NGUYEN VAN [Tue, 27 Feb 2018 07:47:22 +0000 (16:47 +0900)]
Fix network usage stats on 464xlat tethered.

Usage stats corrections for 464xlat in NetworkStatsFactory are not applied
to tethered traffic. Add adjustments in NetworkStatsService. After
migrating external callers off NetworkStatsFactory, we will be able to
only apply adjustments in NetworkStatsService and remove stacked
interface tracking from NetworkStatsFactory.
Bug: 72107146
Fixes: 72107146
Test: runtest frameworks-net & manual - checked corrected network usage

Change-Id: I5ce450e616b4fddf21f2a491fe5d0c9e9f969bda

6 years agoMerge "BgDexopt: Reschedule job on timeout"
Andreas Gampe [Wed, 28 Mar 2018 02:53:57 +0000 (02:53 +0000)]
Merge "BgDexopt: Reschedule job on timeout"

6 years agoMerge changes I70eafe03,Ia44e16c5
Hansong Zhang [Wed, 28 Mar 2018 01:20:03 +0000 (01:20 +0000)]
Merge changes I70eafe03,Ia44e16c5
am: b52f49153c

Change-Id: I58da92a4ad77166f68a0aaec6f3fcc4ceeefc3f9

6 years agoMerge "Add documentation for TCP interactions with transforms"
Benedict Wong [Wed, 28 Mar 2018 01:15:22 +0000 (01:15 +0000)]
Merge "Add documentation for TCP interactions with transforms"
am: b454937f06

Change-Id: I2733218b5b3489902f80b694a1dd6b0d4c1198da

6 years agoMerge "Add constants for reporting criteria"
Eric Schwarzenbach [Tue, 27 Mar 2018 23:02:53 +0000 (23:02 +0000)]
Merge "Add constants for reporting criteria"
am: a36ada4b95

Change-Id: Ib928d0de3e7e33a5efec3b5d5fe6e99f2782058d

6 years agoClean new TelephonyManager API.
Malcolm Chen [Sat, 24 Mar 2018 01:45:42 +0000 (18:45 -0700)]
Clean new TelephonyManager API.

This is to apply API council's review opinion on a previous commit.

We are reverting previous change, which renamed isDataEnabled and
setDataEnabled to isUserMobileDataEnabled and setUserMobileDataEnabled.
So this commit will remove the new APIs isUserMobileDataEnabled and
setUserMobileDataEnabled, and also rename hidden API isMobileDataEnabled
to isDataCapable.

Bug: 71584593
Test: unittest
Change-Id: I84d65776874e7a7f6e3a9af9ff7ec7dcbd715c2c

6 years agoMerge changes I70eafe03,Ia44e16c5
Treehugger Robot [Tue, 27 Mar 2018 22:45:18 +0000 (22:45 +0000)]
Merge changes I70eafe03,Ia44e16c5

* changes:
  Hearing Aid Profile: set and get activeDevice
  Move the setActiveDevice logic from Settings to SettingsLib (1/2)

6 years agoMerge "Add documentation for TCP interactions with transforms"
Benedict Wong [Tue, 27 Mar 2018 22:19:37 +0000 (22:19 +0000)]
Merge "Add documentation for TCP interactions with transforms"

6 years agoMerge "Configurable hidden API exemptions."
Mathew Inwood [Tue, 27 Mar 2018 22:05:14 +0000 (22:05 +0000)]
Merge "Configurable hidden API exemptions."
am: 4b8285b907

Change-Id: Ia61896bdedff170d75715094ce87b97dc96994ed

6 years agoBgDexopt: Reschedule job on timeout
Andreas Gampe [Tue, 27 Mar 2018 22:04:19 +0000 (15:04 -0700)]
BgDexopt: Reschedule job on timeout

When the background dexopt job times out, tell the scheduler to
reschedule it, as we have more work to do.

Bug: 76425903
Test: m
Test: manual
Change-Id: Ibbdb979bceb1ff0a25f8aed2b3cc26a7f30057e2

6 years agoAllow third party cookies in the captive portal login app.
Lorenzo Colitti [Sun, 25 Mar 2018 16:32:33 +0000 (01:32 +0900)]
Allow third party cookies in the captive portal login app.

Fix: 73909651
Test: Captive portal login app still works
Change-Id: I3ffda92e7d764ea9957df1a5408839cf10a26be5
Merged-In: I0174124cad9c108a26594b0ddd6162ca3ea6e68d
(cherry picked from commit c3c95bab8ec7f3ef4e7649b5d24ea6525a407c44)

6 years agoParse SMS locally upon error to get message ref
Brad Ebinger [Mon, 19 Mar 2018 21:30:32 +0000 (14:30 -0700)]
Parse SMS locally upon error to get message ref

Parse the SMS locally to get the message ref when
onSmsReceived fails due to the platform being
unavailable. This allows the correct message ref
to be sent back via acknowledgeSms, instead of
the incorrect "0" value.

Bug: 74551838
Test: Manual
Merged-In: I3b75da909f1f07125c5696f7f9e525736732f3c1
Change-Id: I2f8128d8ff4e07bb3720a344cee70fa5fd5d7535

6 years agoMerge "Add constants for reporting criteria"
Eric Schwarzenbach [Tue, 27 Mar 2018 20:59:20 +0000 (20:59 +0000)]
Merge "Add constants for reporting criteria"

6 years agoMerge "Configurable hidden API exemptions."
Treehugger Robot [Tue, 27 Mar 2018 20:49:45 +0000 (20:49 +0000)]
Merge "Configurable hidden API exemptions."

6 years agoMerge "Tell the user to toggle Bluetooth when enabling HCI logs"
Myles Watson [Tue, 27 Mar 2018 19:56:36 +0000 (19:56 +0000)]
Merge "Tell the user to toggle Bluetooth when enabling HCI logs"
am: 5b36567b76

Change-Id: Ia4a564d9117915103a96a0ce0894b35cae0ff730

6 years agoMerge "Tell the user to toggle Bluetooth when enabling HCI logs"
Treehugger Robot [Tue, 27 Mar 2018 18:30:12 +0000 (18:30 +0000)]
Merge "Tell the user to toggle Bluetooth when enabling HCI logs"

6 years agoTell the user to toggle Bluetooth when enabling HCI logs
Myles Watson [Mon, 26 Mar 2018 21:28:46 +0000 (14:28 -0700)]
Tell the user to toggle Bluetooth when enabling HCI logs

Bug: 67634644
Test: Manually inspect the new text in developer settings
Change-Id: Ic8b08c8d6d0c7727a03a265fb6b10a3c55fd96cb

6 years agoFix merge commit
Andreas Gampe [Tue, 27 Mar 2018 17:23:58 +0000 (10:23 -0700)]
Fix merge commit

Follow-up to commit a2640b6f5142697162d4f02b4134e78b268f4a4b

Test: mmma frameworks/base/tests/net
Change-Id: I5cdc873f6d0d0c39c8e0b38cd04c16fd16a47cbf

6 years agoReapply "Notify the user and turn off tethering when the service is disallowed."
Alexandru-Andrei Rotaru [Mon, 26 Jun 2017 16:31:35 +0000 (17:31 +0100)]
Reapply "Notify the user and turn off tethering when the service is disallowed."

Added UserRestrinctionListener for turning the service off one the
DISALLOW_CONFIG_TETHERING is on into Tethering.  Added notification about
tethering being turned off. Also added Unit Tests to test the functionality
of the UserRestrictionListener added.

(cherry picked from commit f8f3fbbd016d12f80c02e136ab4684da807792a1)

Bug: 27936525
Test: Turn the tehering service on (either wifi, usb or bluetooth).
Automatically the system should send a notification about the service
being active.Close settings from recents. From TestDPC User Restrictions
switch on DISALLOW_CONFIG_TETHERING. The tethering should be turned off
and a notification should appear informing that the service is inactive.

Merged-In: Ib7ea8885cedc2a842ebd4487c8b366a6666996bc
Change-Id: I500e51fb44a93e943f8566b544e7ad4983ac6a6e

6 years agoresolve merge conflicts of f8b537d7a3343f178952c2b05a76c4f58c63a9a1 to stage-aosp...
Remi NGUYEN VAN [Tue, 27 Mar 2018 14:02:18 +0000 (23:02 +0900)]
resolve merge conflicts of f8b537d7a3343f178952c2b05a76c4f58c63a9a1 to stage-aosp-master

Test: TODO
Change-Id: I7959d7812f8db31de689154f37b92497a992fb6c

6 years agoMerge "Add tests for IPv4 of dual stack tethering."
Remi NGUYEN VAN [Tue, 27 Mar 2018 10:17:44 +0000 (10:17 +0000)]
Merge "Add tests for IPv4 of dual stack tethering."

6 years agoConfigurable hidden API exemptions.
Mathew Inwood [Fri, 16 Mar 2018 14:26:08 +0000 (14:26 +0000)]
Configurable hidden API exemptions.

Extend the existing hidden_api_blacklist_exemptions config to support a
list of API signature prefixes to exclude from hidden API enforcement.

Push this list down to the zygote process when that process is created,
and when the list changes. This minimizes overhead, but should also ensure
that all new processes get the latest whitelist.

Test: $ adb shell settings put global hidden_api_blacklist_exemptions \
Test:    Landroid/view/RemoteAnimationDefinition\\\;:Landroid/app/ActivityManager\\\$TaskDescription\\\;
Test: Manually verify logcat output from app which uses named APIs
Bug: 73337509
Change-Id: Ib1245b69da4dac50c6968f1be62f1a74591dc433

6 years agoMerge "Modify Open Mobile API to follow Android API guidelines"
Ruchi Kandoi [Tue, 27 Mar 2018 06:03:08 +0000 (06:03 +0000)]
Merge "Modify Open Mobile API to follow Android API guidelines"
am: ee63876ed4

Change-Id: I29c43bcdccb3ba263c0a6a7e106c3c9180910c75

6 years agoMerge "Modify Open Mobile API to follow Android API guidelines"
Treehugger Robot [Tue, 27 Mar 2018 04:40:40 +0000 (04:40 +0000)]
Merge "Modify Open Mobile API to follow Android API guidelines"

6 years agoMerge "Split the DownloadStateCallback class into two"
Hall Liu [Tue, 27 Mar 2018 01:10:16 +0000 (01:10 +0000)]
Merge "Split the DownloadStateCallback class into two"
am: aa8f09d41a

Change-Id: Id31521d2a138a0a3ef98ea5a56d19621c757dc90

6 years agoMerge "Split the DownloadStateCallback class into two"
Treehugger Robot [Mon, 26 Mar 2018 23:53:40 +0000 (23:53 +0000)]
Merge "Split the DownloadStateCallback class into two"

6 years agoModify Open Mobile API to follow Android API guidelines
Ruchi Kandoi [Thu, 22 Mar 2018 18:06:36 +0000 (11:06 -0700)]
Modify Open Mobile API to follow Android API guidelines

- Add @Nullable/@NonNull to input arguments for APIs
- Remove deprecated methods openBasicChannel(aid) and
  openLogicalChannel(aid)
- SecureElementListener is converted to a stand-alone interface
- serviceConnected() callback is renamed to onServiceConnected()

Bug: 64994044
Test: Run Cts Test
Change-Id: I503044a26a81dae8befb87fb8e8ac96d19de883b

6 years agoMerge "Add exception catching for BlockedNumberContract methods used by Telecom."
Tyler Gunn [Mon, 26 Mar 2018 22:25:35 +0000 (22:25 +0000)]
Merge "Add exception catching for BlockedNumberContract methods used by Telecom."
am: 13791285aa

Change-Id: I91280ca5ce1a146ca0635f95fb2b0d9a311778ea

6 years agoSplit the DownloadStateCallback class into two
Hall Liu [Tue, 20 Mar 2018 01:12:23 +0000 (18:12 -0700)]
Split the DownloadStateCallback class into two

Use individually-registered DownloadStatusListener and
DownloadProgressListener instead to listen for download status and
progress, respectively.

Bug: 74409377
Test: cts
Change-Id: Ifd5289038ffd66eef8bd7916f5256205b49be5f9
Merged-In: Ifd5289038ffd66eef8bd7916f5256205b49be5f9

6 years agoMerge "Add exception catching for BlockedNumberContract methods used by Telecom."
Tyler Gunn [Mon, 26 Mar 2018 21:18:54 +0000 (21:18 +0000)]
Merge "Add exception catching for BlockedNumberContract methods used by Telecom."

6 years agoMerge "Add new trace tag for AIDL."
Martijn Coenen [Mon, 26 Mar 2018 20:26:18 +0000 (20:26 +0000)]
Merge "Add new trace tag for AIDL."
am: fe3877f140

Change-Id: I7aced8041cb8859b0a26db157e7626045e17a006

6 years agoMerge "Add new trace tag for AIDL."
Martijn Coenen [Mon, 26 Mar 2018 19:00:57 +0000 (19:00 +0000)]
Merge "Add new trace tag for AIDL."

6 years agoAdd documentation for TCP interactions with transforms
Benedict Wong [Thu, 15 Mar 2018 02:01:14 +0000 (19:01 -0700)]
Add documentation for TCP interactions with transforms

Updates API documentation to mention that TCP sockets where transforms
are deactivated will not send FIN packets.

Bug: 74851550
Test: API updates only
Change-Id: I8169f221c8c747538a8bddfbf02dcc73c9337189

6 years agoMerge "Better javadoc and rename several methods in ApnSetting."
yuemingw [Mon, 26 Mar 2018 17:56:19 +0000 (17:56 +0000)]
Merge "Better javadoc and rename several methods in ApnSetting."
am: 5d9544cbea

Change-Id: I0f3ebf286462641d2c86ebffd49d95ce30056662

6 years agoMerge "Better javadoc and rename several methods in ApnSetting."
Treehugger Robot [Mon, 26 Mar 2018 16:28:58 +0000 (16:28 +0000)]
Merge "Better javadoc and rename several methods in ApnSetting."

6 years agoBetter javadoc and rename several methods in ApnSetting.
yuemingw [Wed, 21 Mar 2018 15:20:43 +0000 (15:20 +0000)]
Better javadoc and rename several methods in ApnSetting.

Cherrypicked from ag/3709855.

Test: Manually by TestDpc
Bug: 73087996
Merged-In: I5232c92a44ab505946956f81965a205f170aa52b

6 years agoAdd new trace tag for AIDL.
Martijn Coenen [Fri, 9 Mar 2018 08:26:54 +0000 (09:26 +0100)]
Add new trace tag for AIDL.

So we can auto-generate tracing code for AIDL interfaces.

Bug: 74416314
Test: inspect atrace output
Change-Id: I42eee24358763305d6b4e954087f3331ad20f9b7
Merged-In: I42eee24358763305d6b4e954087f3331ad20f9b7

6 years agoAdd tests for IPv4 of dual stack tethering.
Remi NGUYEN VAN [Thu, 15 Mar 2018 02:57:14 +0000 (11:57 +0900)]
Add tests for IPv4 of dual stack tethering.

Also refactoring some Tethering and TetherInterfaceStateMachine calls
to address testability issues.

This is in preparation of other work to have IPv6-only or 464xlat
tethering working.

Test: runtest frameworks-net
Bug: 38218697
Bug: 64382985
Bug: 64976379
Bug: 64995262

Change-Id: I721aca4789ddfbee5a97316aae0b378d79ee2107

6 years agoMerge "Pass all relevant resolver info to netd"
Erik Kline [Sat, 24 Mar 2018 01:07:10 +0000 (01:07 +0000)]
Merge "Pass all relevant resolver info to netd"
am: 76f64641bb

Change-Id: If4f46b030fe141a6904a48966e5ab34ffb6b10bc

6 years agoMerge "Pass all relevant resolver info to netd"
Treehugger Robot [Fri, 23 Mar 2018 23:41:11 +0000 (23:41 +0000)]
Merge "Pass all relevant resolver info to netd"

6 years agoMerge "Change null behavior of getCellBandwidths"
Eric Schwarzenbach [Fri, 23 Mar 2018 22:13:57 +0000 (22:13 +0000)]
Merge "Change null behavior of getCellBandwidths"
am: d3e1c76a99

Change-Id: I23033f776c9901872d786eced64fdc92e3024bca

6 years agoAdd exception catching for BlockedNumberContract methods used by Telecom.
Tyler Gunn [Fri, 23 Mar 2018 17:16:15 +0000 (10:16 -0700)]
Add exception catching for BlockedNumberContract methods used by Telecom.

The content resolver can throw in some instances when using the blocked
number provider.  Rather than crashing all of telecom, adding exception
handling to provide graceful fallback in these cases.

Test: Compile / build
Bug: 74965829
Change-Id: I2e1accce3ed6fac4ec2b8e6a92585abf630b84fe

6 years agoMerge "Use ABI_STRING."
Elliott Hughes [Fri, 23 Mar 2018 21:12:13 +0000 (21:12 +0000)]
Merge "Use ABI_STRING."
am: ca7ce49ecc

Change-Id: I4be742799d7b160f802a27498e00c14896306fb4

6 years agoMerge "Change null behavior of getCellBandwidths"
Treehugger Robot [Fri, 23 Mar 2018 21:06:45 +0000 (21:06 +0000)]
Merge "Change null behavior of getCellBandwidths"

6 years agoMerge "Prune files from /data/anr/ by number as well as age."
Elliott Hughes [Fri, 23 Mar 2018 19:59:34 +0000 (19:59 +0000)]
Merge "Prune files from /data/anr/ by number as well as age."
am: 6941fcd88c

Change-Id: Ic0c9601520dc0c4a515f5cbffc4dd33cc35ae0c4

6 years agoMerge "Use ABI_STRING."
Elliott Hughes [Fri, 23 Mar 2018 19:51:59 +0000 (19:51 +0000)]
Merge "Use ABI_STRING."

6 years agoHearing Aid Profile: set and get activeDevice
Hansong Zhang [Fri, 16 Mar 2018 16:15:48 +0000 (09:15 -0700)]
Hearing Aid Profile: set and get activeDevice

Add setActiveDevice() for Hearing Aid Profile in SettingsLib

Bug: 69623109
Test: robolectric test and manual test
Change-Id: I70eafe030747053876e2ab8a125d5dd01c5e0eb9
Merged-In: I70eafe030747053876e2ab8a125d5dd01c5e0eb9
(cherry picked from commit d7b359165968199e034bd46ca97526dbf719602d)

6 years agoMove the setActiveDevice logic from Settings to SettingsLib (1/2)
Hansong Zhang [Tue, 20 Mar 2018 01:20:38 +0000 (18:20 -0700)]
Move the setActiveDevice logic from Settings to SettingsLib (1/2)

Currently the Settings app handles the logic of setting active device;
however, this should be handled by SettingsLib so the logic can be shared.

Bug: 75984255
Test: robolectric test
Change-Id: Ia44e16c550d5b57c985e29e46e17044a895b495a
Merged-In: Ia44e16c550d5b57c985e29e46e17044a895b495a
(cherry picked from commit 6a416327e5b52d6bb78202bd05a86ab84cf2304e)

6 years agoChange null behavior of getCellBandwidths
Eric Schwarzenbach [Thu, 22 Mar 2018 20:49:25 +0000 (13:49 -0700)]
Change null behavior of getCellBandwidths

Returns empty array instead of null when there are
no cell bandwidths.

Bug: 73751023
Test: make, runtest
Change-Id: Idc3f034bbea8f6c3f11dcd125f760b121d2c91d9
Merged-In: Idc3f034bbea8f6c3f11dcd125f760b121d2c91d9
(cherry picked from commit c119a863501cc21bfe4853ad46987a2021041e2b)

6 years agoMerge "Revert "Revert "Logging: Bluetooth Enabled"""
Tej Singh [Fri, 23 Mar 2018 18:57:43 +0000 (18:57 +0000)]
Merge "Revert "Revert "Logging: Bluetooth Enabled"""
am: 827a150646

Change-Id: I38a7a8e0124b14d394db96b61d2ac6ceacf4bdb9

6 years agoUse ABI_STRING.
Elliott Hughes [Fri, 23 Mar 2018 18:27:04 +0000 (11:27 -0700)]
Use ABI_STRING.

Bug: N/A
Test: builds
Change-Id: I5a9d2a6604887f1f0e9583086e012a086042b7df

6 years agoAdd constants for reporting criteria
Eric Schwarzenbach [Wed, 14 Feb 2018 01:45:27 +0000 (17:45 -0800)]
Add constants for reporting criteria

Adds RILConstants and TelephonyManager constants for reporting and
setting indication filter bits.

Bug: 72117365
Test: make
Change-Id: Ia52ffdbc9ea2499893ece518aba4a99c6fe4ee90

6 years agoMerge "Prune files from /data/anr/ by number as well as age."
Elliott Hughes [Fri, 23 Mar 2018 17:36:23 +0000 (17:36 +0000)]
Merge "Prune files from /data/anr/ by number as well as age."

6 years agoMerge "Revert "Revert "Logging: Bluetooth Enabled"""
Treehugger Robot [Fri, 23 Mar 2018 17:29:36 +0000 (17:29 +0000)]
Merge "Revert "Revert "Logging: Bluetooth Enabled"""

6 years agoMerge "More flexible API enforcement policy."
Mathew Inwood [Fri, 23 Mar 2018 15:02:12 +0000 (15:02 +0000)]
Merge "More flexible API enforcement policy."
am: 69e1cbc3fe

Change-Id: I8b54dcbca3991b2b076e0648e3948c80d74351d3

6 years agoMerge "More flexible API enforcement policy."
Mathew Inwood [Fri, 23 Mar 2018 13:29:03 +0000 (13:29 +0000)]
Merge "More flexible API enforcement policy."

6 years agoMerge "Fix mini-debug-info generation for apps with wrap.sh script."
David Srbecky [Fri, 23 Mar 2018 12:10:41 +0000 (12:10 +0000)]
Merge "Fix mini-debug-info generation for apps with wrap.sh script."
am: 5c3521d54f

Change-Id: I22f7893925d2d774cc3e3f10287fb54ae1acf0e1

6 years agoMore flexible API enforcement policy.
Mathew Inwood [Fri, 23 Mar 2018 10:05:01 +0000 (10:05 +0000)]
More flexible API enforcement policy.

This CL adds the basics to set black, dark gray or light gray list
enforcement, rather than just black as before. It's not possible to
actually set the policy per-package yet.

PackageDexOptimizer still uses a single bit, for API checks on/off, rather
than the new enum. It assumes blacklist enforcement internally. This can
be improved in a follow up CL.

(cherry-picked from commit e52130ae4cf3b046b38a09fc7cc7712f5b7fb83d)

Test: m
Test: Boot device

BUG: 73337509
Change-Id: Ic0d5b8fa631c2bd583b6fc52b2ee3708c8113f59
Merged-In: Idd73c9938592c5c4d67cfb9efefdffed0dd5f262

6 years agoMerge "Fix mini-debug-info generation for apps with wrap.sh script."
David Srbecky [Fri, 23 Mar 2018 10:50:32 +0000 (10:50 +0000)]
Merge "Fix mini-debug-info generation for apps with wrap.sh script."

6 years agoMerge "audioservice: Add a property for default voice call volume"
Shuhei Miyazaki [Fri, 23 Mar 2018 10:32:54 +0000 (10:32 +0000)]
Merge "audioservice: Add a property for default voice call volume"
am: 9d9782ec7e

Change-Id: I1830205ecc1a7e7198be1f01095b9043a95af79f

6 years agoMerge "Have the status bar listen to all macro-users VPN changes."
Chalard Jean [Fri, 23 Mar 2018 09:22:36 +0000 (09:22 +0000)]
Merge "Have the status bar listen to all macro-users VPN changes."
am: b16a6053fe

Change-Id: Icc4fe4fbdb75c90abaaee8009f08f1220536686e

6 years agoMerge "audioservice: Add a property for default voice call volume"
Treehugger Robot [Fri, 23 Mar 2018 08:38:21 +0000 (08:38 +0000)]
Merge "audioservice: Add a property for default voice call volume"

6 years agoMerge "Have PermissionMonitor arbiter which app can access background networks"
Chalard Jean [Fri, 23 Mar 2018 08:12:51 +0000 (08:12 +0000)]
Merge "Have PermissionMonitor arbiter which app can access background networks"
am: 06f0fc04e7

Change-Id: Ic05e362af58d667b5be84c3bd421c9250927abe2

6 years agoMerge "Have the status bar listen to all macro-users VPN changes."
Chalard Jean [Fri, 23 Mar 2018 07:33:02 +0000 (07:33 +0000)]
Merge "Have the status bar listen to all macro-users VPN changes."

6 years agoPass all relevant resolver info to netd
Erik Kline [Sun, 4 Mar 2018 12:01:01 +0000 (21:01 +0900)]
Pass all relevant resolver info to netd

Test: runtest frameworks-net passes
Test: manual testing of opportunistic and strict mode works
Bug: 34953048
Bug: 64133961
Bug: 72345192
Change-Id: Ia4f1905e1fa60e7a468c2246fb809191d2ba796b

6 years agoMerge "Have PermissionMonitor arbiter which app can access background networks"
Chalard Jean [Fri, 23 Mar 2018 06:15:00 +0000 (06:15 +0000)]
Merge "Have PermissionMonitor arbiter which app can access background networks"

6 years agoMerge "new WFC registration failure notification string"
Chen Xu [Fri, 23 Mar 2018 05:59:05 +0000 (05:59 +0000)]
Merge "new WFC registration failure notification string"
am: 8bcb7aa971

Change-Id: I7784e82e4b788597ba9c35da7175b485230ab227

6 years agoMerge "Add multisim notifications for SST"
Jordan Liu [Fri, 23 Mar 2018 05:04:15 +0000 (05:04 +0000)]
Merge "Add multisim notifications for SST"
am: 1a6228e595

Change-Id: I2fc3c9195da6bf47d6dcaca26d793e956619ccfa

6 years agoMerge "new WFC registration failure notification string"
Chen Xu [Fri, 23 Mar 2018 04:00:25 +0000 (04:00 +0000)]
Merge "new WFC registration failure notification string"

6 years agoMerge "Add method to NetworkStatsService for UID stats."
Remi NGUYEN VAN [Fri, 23 Mar 2018 03:54:13 +0000 (03:54 +0000)]
Merge "Add method to NetworkStatsService for UID stats."
am: db89ca3c12

Change-Id: I2c6cba3ebbc8c23ade754cfd411ac54a561b020a

6 years agoMerge "Add multisim notifications for SST"
Treehugger Robot [Fri, 23 Mar 2018 03:47:48 +0000 (03:47 +0000)]
Merge "Add multisim notifications for SST"

6 years agoMerge "Add method to NetworkStatsService for UID stats."
Remi NGUYEN VAN [Fri, 23 Mar 2018 02:39:00 +0000 (02:39 +0000)]
Merge "Add method to NetworkStatsService for UID stats."

6 years agoMerge "Enable Checkstyle for "repo upload" for more projects."
Jack Yu [Fri, 23 Mar 2018 02:25:24 +0000 (02:25 +0000)]
Merge "Enable Checkstyle for "repo upload" for more projects."
am: dd6764a522

Change-Id: I0398c058a35fd644aa949375a53719ba85572408