OSDN Git Service

android-x86/frameworks-base.git
6 years agoAdd Settings support for Bluetooth Multi-A2DP and Multi-HFP
Pavlin Radoslavov [Sun, 21 Jan 2018 10:59:15 +0000 (02:59 -0800)]
Add Settings support for Bluetooth Multi-A2DP and Multi-HFP

When there are multiple connected A2DP/HFP devices, if a connected
device's name is clicked on, that device will be chosen as
Active - i.e., it will be the device chosen for audio out / phone call.

Also:
 * Listen to the BluetoothA2dp.ACTION_ACTIVE_DEVICE_CHANGED
   and BluetoothHeadset.ACTION_ACTIVE_DEVICE_CHANGED intents
   and update the the status of the current active device.
 * When connecting a new device, and Multi-A2DP is enabled, don't
   disconnect the currently connected device.
 * Update the implementation of isA2dpPlaying() so it correctly checks
   all connected devices, not only the first one.

Test: Manual: multiple connected A2DP devices, and selecting each as
      the Active Device.
Bug: 64767509

Change-Id: I69f3c85ebf5a7f07f6deed484c6dd65705460ae4

6 years agoMerge "Skip user restriction tests when synchronizing PDB"
TreeHugger Robot [Mon, 22 Jan 2018 19:37:50 +0000 (19:37 +0000)]
Merge "Skip user restriction tests when synchronizing PDB"

6 years agoMerge "Unhide printing policy API."
Vladislav Kuzkokov [Mon, 22 Jan 2018 19:16:48 +0000 (19:16 +0000)]
Merge "Unhide printing policy API."

6 years agoMerge "Use generic native routing event handler in MediaRecorder."
TreeHugger Robot [Mon, 22 Jan 2018 19:12:42 +0000 (19:12 +0000)]
Merge "Use generic native routing event handler in MediaRecorder."

6 years agoMerge "Add StaticLayoutPerfTest for drawing"
TreeHugger Robot [Mon, 22 Jan 2018 19:07:30 +0000 (19:07 +0000)]
Merge "Add StaticLayoutPerfTest for drawing"

6 years agoMerge "Use proper user id."
Andrew Sapperstein [Mon, 22 Jan 2018 18:59:10 +0000 (18:59 +0000)]
Merge "Use proper user id."

6 years agoMerge "Add broadcast action for carrier setup"
Qingxi Li [Mon, 22 Jan 2018 18:18:15 +0000 (18:18 +0000)]
Merge "Add broadcast action for carrier setup"

6 years agoMerge "Expand error codes in messages"
Fyodor Kupolov [Mon, 22 Jan 2018 18:04:30 +0000 (18:04 +0000)]
Merge "Expand error codes in messages"

6 years agoMerge "Add setting/experiment for small battery devices to have all forced app standb...
Nancy Zheng [Mon, 22 Jan 2018 17:59:35 +0000 (17:59 +0000)]
Merge "Add setting/experiment for small battery devices to have all forced app standby enabled except for when the device is charging."

6 years agoMerge "Screenshots - add edit action and remove delete."
TreeHugger Robot [Mon, 22 Jan 2018 17:55:13 +0000 (17:55 +0000)]
Merge "Screenshots - add edit action and remove delete."

6 years agoMerge "Unhide audio offload for android.media.AudioTrack"
Jean-Michel Trivi [Mon, 22 Jan 2018 17:29:01 +0000 (17:29 +0000)]
Merge "Unhide audio offload for android.media.AudioTrack"

6 years agoMerge "Added @NonNull to Instrumentation.startActivitySync"
TreeHugger Robot [Mon, 22 Jan 2018 17:02:28 +0000 (17:02 +0000)]
Merge "Added @NonNull to Instrumentation.startActivitySync"

6 years agoMerge "Fix dumpsys network_watchlist NPE when watchlist xml is not ready yet"
Ricky Wai [Mon, 22 Jan 2018 16:51:24 +0000 (16:51 +0000)]
Merge "Fix dumpsys network_watchlist NPE when watchlist xml is not ready yet"

6 years agoMerge "QS visual updates for P"
TreeHugger Robot [Mon, 22 Jan 2018 16:48:59 +0000 (16:48 +0000)]
Merge "QS visual updates for P"

6 years agoMerge "Initial support for camera cutout in CollapsedStatusBar"
TreeHugger Robot [Mon, 22 Jan 2018 16:39:25 +0000 (16:39 +0000)]
Merge "Initial support for camera cutout in CollapsedStatusBar"

6 years agoMerge "base: core: java: android: security: keymaster: Synced with updates to keymast...
Allen Webb [Mon, 22 Jan 2018 16:29:59 +0000 (16:29 +0000)]
Merge "base: core: java: android: security: keymaster: Synced with updates to keymaster HAL."

6 years agoScreenshots - add edit action and remove delete.
Alison Cichowlas [Sat, 20 Jan 2018 00:16:31 +0000 (19:16 -0500)]
Screenshots - add edit action and remove delete.

Test: Manually verified new notification action.
Bug: 65386835
Change-Id: Ia71ffc202970e32062d4c3561db9ab1da9137bf2

6 years agoMerge "Disable IpConnectivityMetricsTest."
Lorenzo Colitti [Mon, 22 Jan 2018 15:09:57 +0000 (15:09 +0000)]
Merge "Disable IpConnectivityMetricsTest."

6 years agoMerge "Attempt to fix ANR's"
TreeHugger Robot [Mon, 22 Jan 2018 15:09:21 +0000 (15:09 +0000)]
Merge "Attempt to fix ANR's"

6 years agoAdded @NonNull to Instrumentation.startActivitySync
Wale Ogunwale [Mon, 22 Jan 2018 14:54:48 +0000 (06:54 -0800)]
Added @NonNull to Instrumentation.startActivitySync

Per API council recommendation.

Change-Id: Ib45381278a2bf7f3d1d2c68b84422a645bd706e3
Fixes: 71584604
Test: N/A

6 years agoMerge "Revert "Add accessibility support for tooltips""
Artem Iglikov [Mon, 22 Jan 2018 13:56:10 +0000 (13:56 +0000)]
Merge "Revert "Add accessibility support for tooltips""

6 years agoMerge "Revert "Reject apks targeting deprecated sdk""
Przemyslaw Szczepaniak [Mon, 22 Jan 2018 13:47:15 +0000 (13:47 +0000)]
Merge "Revert "Reject apks targeting deprecated sdk""

6 years agoSkip user restriction tests when synchronizing PDB
Andrew Scull [Fri, 19 Jan 2018 16:56:22 +0000 (16:56 +0000)]
Skip user restriction tests when synchronizing PDB

Some legacy user restrictions are tests when update the OEM lock bit in
the persistent data block. Those tests should be skipped when
synchronising the bit to the HAl's authoritative state. Before this
change, opening developer options on a freshly flashed and wipe device
would raise a SecurityException.

Test: Open developer options on a device using the vendor lock
Change-Id: I1481c9e9af3c4d2127ef606a797d3cf94b7b1ee5

6 years agoMerge "Implement binder native side for IArcVideoBridge"
TreeHugger Robot [Mon, 22 Jan 2018 12:42:53 +0000 (12:42 +0000)]
Merge "Implement binder native side for IArcVideoBridge"

6 years agoDisable IpConnectivityMetricsTest.
Lorenzo Colitti [Mon, 22 Jan 2018 03:50:58 +0000 (12:50 +0900)]
Disable IpConnectivityMetricsTest.

This test has been failing for a while, and we are do not have
bandwidth to fix it during the next week.

Test: make -j64 FrameworksNetTests RUN_ERROR_PRONE=true
Test: atest FrameworksNetTests:IpConnectivityMetricsTest
Test: runtest -x frameworks/base/tests/net/java/com/android/server/connectivity/IpConnectivityMetricsTest.java
Change-Id: I59d73c1773e160a726996f3ab4ad20312decc127

6 years agoAttempt to fix ANR's
Jorim Jaggi [Mon, 22 Jan 2018 11:49:04 +0000 (12:49 +0100)]
Attempt to fix ANR's

There seems to be some cases where we change the app visibility
but somehow we miss setting the client visiblity. This usually
shouldn't happen: Client visibility gets set to visible already
in AppWindowContainerController.setVisibility if the token is
hidden or the activity is stopped. However, there seems to be some
edge case where we don't update the client visibility to true.

We started observing monkey ANR's with
I8deb6a97ca1c3d8f4a70a6e045f45a6bc16604bb, but the idea of that CL
was to only change the behavior when becoming invisible, i.e.
defer client visibility until animation is done. This CL reverts
the opposite path back to the original behavior when becoming
visible, most probably fixing the client visibility / AWT.mHidden
inconsistency.

I'm not entirely sure why missing setting client visibility has
caused ANR's, but seems likely given the ANR message:

"Input dispatching timed out (Waiting because no window has focus
but there is a focused application that may eventually add a
window when it finishes starting up.)"

And the client visibility / AWT.mHidden inconsistency is observed
in the window manager dump during every single ANR.

Test: go/wm-smoke
Test: Hope for the best
Change-Id: Ie0c51fa5f3347ba1a2a4652188265d8fb69e6e11
Fixes: 72160186

6 years agoFix dumpsys network_watchlist NPE when watchlist xml is not ready yet
Ricky Wai [Fri, 19 Jan 2018 23:54:12 +0000 (23:54 +0000)]
Fix dumpsys network_watchlist NPE when watchlist xml is not ready yet

Bug: 63908748
Test: dumpsys network_watchlist won't cause NPE anymore
Change-Id: I4e15516cc3b0efa113a00acc90179f7008fc1525

6 years agoRevert "Reject apks targeting deprecated sdk"
Przemyslaw Szczepaniak [Fri, 19 Jan 2018 11:16:16 +0000 (11:16 +0000)]
Revert "Reject apks targeting deprecated sdk"

This reverts commit ab223112d1a163e641e7c1adb6429e27e37675a6.

Reason for revert: Android P will only show a warning dialog for
deprecated apks.

Test: -
Change-Id: Iff792b9d371cffbb0ba0d2ba53a4758a9779b1c7

6 years agoImplement binder native side for IArcVideoBridge
Hirokazu Honda [Tue, 16 Jan 2018 07:11:28 +0000 (16:11 +0900)]
Implement binder native side for IArcVideoBridge

Bug: 63828247
Test: C2VDAComponent_test
Change-Id: I9b17c91512c32ec3119ff9420cc96c17027b2b8b

6 years agoRevert "Add accessibility support for tooltips"
Artem Iglikov [Sun, 21 Jan 2018 13:04:41 +0000 (13:04 +0000)]
Revert "Add accessibility support for tooltips"

This reverts commit 4365cef6ddca2503524853a62655e226636831de.

Reason for revert: Cannot access views by resource-id via uiautomator

Bug: 72271943

Change-Id: I5e07a8c5775aa79df0c240b2133daaf62f6d460b

6 years agoMerge "Add more information to incident header. Especially add config keys to check...
TreeHugger Robot [Mon, 22 Jan 2018 09:20:52 +0000 (09:20 +0000)]
Merge "Add more information to incident header. Especially add config keys to check if the report is uploadable."

6 years agoMerge "Policy transparency for mandatory backups."
TreeHugger Robot [Mon, 22 Jan 2018 09:17:50 +0000 (09:17 +0000)]
Merge "Policy transparency for mandatory backups."

6 years agoMerge "Add status/navigation bar existing check before create input consumer."
TreeHugger Robot [Mon, 22 Jan 2018 08:24:27 +0000 (08:24 +0000)]
Merge "Add status/navigation bar existing check before create input consumer."

6 years agoMerge "Check attached to window before calling addTransientView."
TreeHugger Robot [Mon, 22 Jan 2018 08:11:17 +0000 (08:11 +0000)]
Merge "Check attached to window before calling addTransientView."

6 years agoAdd more information to incident header. Especially add config keys
Yi Jin [Wed, 10 Jan 2018 19:34:26 +0000 (11:34 -0800)]
Add more information to incident header. Especially add config keys
to check if the report is uploadable.

Move incidentheader.proto to libincident so statds is able to include a lite
proto class for incident header.

Change IncidentReportArgs to add the proto object instead of serialized
bytes to prevent caller gives meaningless data.

Bug: 70241842
Test: push config to statsd and verify incidentd generate the report
with correct header.

Change-Id: If95b655be71047b019b229e5903a08f3c21a1f29

6 years agoMerge "Remove unneeded reference to SkRasterizer"
TreeHugger Robot [Sun, 21 Jan 2018 23:04:21 +0000 (23:04 +0000)]
Merge "Remove unneeded reference to SkRasterizer"

6 years agoRemove unneeded reference to SkRasterizer
Leon Scroggins III [Sun, 21 Jan 2018 21:03:04 +0000 (16:03 -0500)]
Remove unneeded reference to SkRasterizer

Bug: skbug.com/7500
Test: No change in behavior, no new tests.

Should fix the Skia roll.

Change-Id: I880eb93bf9c1b8bb29649b3dfd1b82e2c3178e78

6 years agoMake StatsdDogfood build again.
Yao Chen [Sun, 21 Jan 2018 20:50:18 +0000 (12:50 -0800)]
Make StatsdDogfood build again.

Test: manual
Change-Id: I14614c060cf0bfb49809315b3ef0482d8a64a1a5

6 years agoMerge "Add tests for NotificationGutsManager"
TreeHugger Robot [Sun, 21 Jan 2018 19:35:21 +0000 (19:35 +0000)]
Merge "Add tests for NotificationGutsManager"

6 years agoMerge "Update output chooser for calls"
TreeHugger Robot [Sun, 21 Jan 2018 19:30:26 +0000 (19:30 +0000)]
Merge "Update output chooser for calls"

6 years agoMerge "No camera for idle uids - framework"
TreeHugger Robot [Sun, 21 Jan 2018 19:27:26 +0000 (19:27 +0000)]
Merge "No camera for idle uids - framework"

6 years agoMerge "Revert "Revert "Slices permission model"""
Jason Monk [Sun, 21 Jan 2018 18:53:04 +0000 (18:53 +0000)]
Merge "Revert "Revert "Slices permission model"""

6 years agoUse proper user id.
Andrew Sapperstein [Sun, 21 Jan 2018 17:45:05 +0000 (09:45 -0800)]
Use proper user id.

Responding to comments from previous review that came in
post submit.

Bug: 6370335370640329
Test: manual
Change-Id: I0565683472f7c9597db8ec314cb374e550ec2353

6 years agoRevert "Revert "Slices permission model""
Jason Monk [Sun, 21 Jan 2018 15:10:35 +0000 (10:10 -0500)]
Revert "Revert "Slices permission model""

This reverts commit 1214c878a839d99b1b29c8c31fc93af2ba949338.

Test: boot device
Bug: 72270082
Bug: 68751119
Change-Id: I7d0e709a04ffeb8b877aef539a978ee251a75742

6 years agoMerge changes from topic "multipath-datausage"
Lorenzo Colitti [Sun, 21 Jan 2018 16:07:29 +0000 (16:07 +0000)]
Merge changes from topic "multipath-datausage"

* changes:
  Add the defaultNetwork element to the netstats.proto.
  Add getDefaultNetwork to the NetworkStats public API.

6 years agoMerge "Revert "Slices permission model""
TreeHugger Robot [Sun, 21 Jan 2018 13:14:37 +0000 (13:14 +0000)]
Merge "Revert "Slices permission model""

6 years agoRevert "Slices permission model"
Artem Iglikov [Sun, 21 Jan 2018 10:43:48 +0000 (10:43 +0000)]
Revert "Slices permission model"

This reverts commit f762496b7f51f7b00bcb624ecac94a0d72d0b711.

Reason for revert: continuous crash, blocks LON from working on master

Test: flashed build from TreeHugger and verified that it boots and doesn't crash anymore
Bug: 72270082
Change-Id: I68d771357488c5c17ab00803d8f51a6c7ed37d01

6 years agoNo camera for idle uids - framework
Svet Ganov [Sat, 13 Jan 2018 06:08:40 +0000 (22:08 -0800)]
No camera for idle uids - framework

If a UID is idle (being in the background for more than
cartain amount of time) it should not be able to use the
camera. If the UID becomes idle we generate an eror and
close the cameras for this UID. If an app in an idle UID
tries to use the camera we immediately generate an error.
Since apps already should handle these errors it is safe
to apply this policy to all apps to protect user privacy.

Test: Pass - cts-tradefed run cts -m CtsCameraTestCases
      Added - CameraTest#testCameraAccessForIdleUid

Change-Id: If6ad1662f2af6592b6aca1aeee4bd481389b5e00

6 years agoMerge "Slices permission model"
TreeHugger Robot [Sun, 21 Jan 2018 03:31:27 +0000 (03:31 +0000)]
Merge "Slices permission model"

6 years agoMerge "Send valid and invalid rotation proposal changes to SysUI"
Mike Digman [Sun, 21 Jan 2018 02:23:43 +0000 (02:23 +0000)]
Merge "Send valid and invalid rotation proposal changes to SysUI"

6 years agoSlices permission model
Jason Monk [Wed, 17 Jan 2018 22:50:29 +0000 (17:50 -0500)]
Slices permission model

 - Launcher/assistant get access to all slices
 - Apps with uri access to access a specific slice
 - Apps without access get a permission granting slice
 - If the user authorizes access to the slice for the app
   then the app will be granted access to the app's slices
   (this happens through a temp grant in the service, and a
   full uri grant from the app the next time it binds)
 - Add a hint that apps to add to allow them to return different
   slices depending on the caller, this allows custom permission
   checks.

Test: runtest --path frameworks/base/services/tests/uiservices
Bug: 68751119
Change-Id: I8f8cd0182cfcbfba3f307e2eaba5aae6f6fbe214

6 years agoMerge "Update SysUI tuner so rotation button can be added/removed"
Mike Digman [Sun, 21 Jan 2018 00:56:44 +0000 (00:56 +0000)]
Merge "Update SysUI tuner so rotation button can be added/removed"

6 years agoMerge "Multi-A2DP support - add a new internal API to suppress Audio Noisy intent...
Pavlin Radoslavov [Sun, 21 Jan 2018 00:42:20 +0000 (00:42 +0000)]
Merge "Multi-A2DP support - add a new internal API to suppress Audio Noisy intent" am: 7e3b1832c4 am: 5bd12d0bf4
am: 65ff8a65b6

Change-Id: I58cd7c04fafd517fe8cae3121d9add8808d34920

6 years agoMerge "Multi-A2DP support - add a new internal API to suppress Audio Noisy intent...
Pavlin Radoslavov [Sun, 21 Jan 2018 00:33:40 +0000 (00:33 +0000)]
Merge "Multi-A2DP support - add a new internal API to suppress Audio Noisy intent" am: 7e3b1832c4
am: 5bd12d0bf4

Change-Id: I52b1adc5ce9f3dea56b0045581d7736cbe62de73

6 years agoMerge "Multi-A2DP support - add a new internal API to suppress Audio Noisy intent"
Pavlin Radoslavov [Sun, 21 Jan 2018 00:26:11 +0000 (00:26 +0000)]
Merge "Multi-A2DP support - add a new internal API to suppress Audio Noisy intent"
am: 7e3b1832c4

Change-Id: I4b75e8565dc0b80d6ca3825e87370a72c726bd25

6 years agoMerge "Multi-A2DP support - add a new internal API to suppress Audio Noisy intent"
Treehugger Robot [Sat, 20 Jan 2018 23:30:34 +0000 (23:30 +0000)]
Merge "Multi-A2DP support - add a new internal API to suppress Audio Noisy intent"

6 years agoAdd StaticLayoutPerfTest for drawing
Seigo Nonaka [Sat, 20 Jan 2018 22:06:00 +0000 (14:06 -0800)]
Add StaticLayoutPerfTest for drawing

Bug: 63897135
Test: Here is the sample result on walleye-userdebug

draw MeasuredText NoStyled             :    714,657
draw MeasuredText NoStyled WithoutCache:  9,775,025
draw MeasuredText Styled               :  3,341,118
draw MeasuredText Styled WithoutCache  : 13,214,933
draw RandomText NoStyled               :    649,611
draw RandomText NoStyled WithoutCache  :  9,625,940
draw RandomText Styled                 :  3,296,206
draw RandomText Styled WithoutCache    : 13,735,996

Change-Id: I9c784014ffda997fe60d667734d0e41975198265

6 years agoMerge "Fix AOD battery updates"
TreeHugger Robot [Sat, 20 Jan 2018 21:49:16 +0000 (21:49 +0000)]
Merge "Fix AOD battery updates"

6 years agoUnhide audio offload for android.media.AudioTrack
Jean-Michel Trivi [Sat, 20 Jan 2018 01:53:40 +0000 (17:53 -0800)]
Unhide audio offload for android.media.AudioTrack

Unhide some compressed audio formats for offloading
  or direct output.
Unhide AudioManager method to query whether a given
  format can be offloaded on the device.
Unhide AudioTrack.Builder method to request offload.
Unhide callback for new AudioTrack events and
  associated methods.

Bug: 63934228
Test: same as MediaPlayer2 tests
Change-Id: If763eb2424baa6aa55cb60e96bb3564c4234e23f

6 years agoFix AOD battery updates
Lucas Dupin [Sat, 20 Jan 2018 03:06:45 +0000 (19:06 -0800)]
Fix AOD battery updates

It's not accurate to assume that events are only interesting when
the keyguard is visible. The user might be unlocked watching a
video or executing any other task and will miss a battery update.

Now dumping KeyguardIndicationController internals, to make it
easier to debug future issues.

Change-Id: I20efa011e20e92713a19fac32acea40604133f6d
Fixes: 72211244
Test: adb bugreport
Test: Play video, look at battery on AOD
Test: Lock phone, wait for battery update

6 years agoMulti-A2DP support - add a new internal API to suppress Audio Noisy intent
Pavlin Radoslavov [Sat, 20 Jan 2018 02:20:04 +0000 (18:20 -0800)]
Multi-A2DP support - add a new internal API to suppress Audio Noisy intent

The new API setBluetoothA2dpDeviceConnectionStateSuppressNoisyIntent()
is similar to the existing setBluetoothA2dpDeviceConnectionState()
except that it takes one extra argument that indicates whether the
AudioManager.ACTION_AUDIO_BECOMING_NOISY intent will be sent:

  setBluetoothA2dpDeviceConnectionStateSuppressNoisyIntent(
      ..., boolean suppressNoisyIntent)

This API is needed so the Active A2DP Sink device can be changed
while audio is streaming, and the audio continues playing on the new
Active Device.

Bug: 69269748
Test: Manual: multiple connected A2DP devices, and selecting each as
      the Active Device.

Change-Id: I75766a58d9e6b42b3ce68bd9ad3a7a72ca5a1023
(cherry picked from commit 82e06463f2571a06286f9da0bf3ad5a0e58461a2)

6 years agoMerge "Multi-A2DP support - add a new internal API to suppress Audio Noisy intent"
TreeHugger Robot [Sat, 20 Jan 2018 17:58:25 +0000 (17:58 +0000)]
Merge "Multi-A2DP support - add a new internal API to suppress Audio Noisy intent"

6 years agoMerge "Add new HardwareBuffer usages and formats."
TreeHugger Robot [Sat, 20 Jan 2018 16:42:51 +0000 (16:42 +0000)]
Merge "Add new HardwareBuffer usages and formats."

6 years agoMerge "add atoms for cpu power calculation"
TreeHugger Robot [Sat, 20 Jan 2018 16:29:05 +0000 (16:29 +0000)]
Merge "add atoms for cpu power calculation"

6 years agoMerge "Split string properly in package name validator"
TreeHugger Robot [Sat, 20 Jan 2018 16:24:30 +0000 (16:24 +0000)]
Merge "Split string properly in package name validator"

6 years agoUpdate output chooser for calls
Julia Reynolds [Wed, 20 Dec 2017 14:53:59 +0000 (09:53 -0500)]
Update output chooser for calls

- Hide media routes while in call
- Change the title while in call
- Add a title while not in call, too

Bug: 63096355
Test: manual
Change-Id: Ib7bcd314efb010fe903327dd4d9bdbfe521c1f73

6 years agoSplit string properly in package name validator
Michal Karpinski [Sat, 20 Jan 2018 14:31:25 +0000 (14:31 +0000)]
Split string properly in package name validator

Test: atest frameworks/base/core/tests/coretests/src/android/provider/SettingsValidatorsTest.java
Bug: 64988620
Change-Id: I35b93a9ba317dc31494bffb7ad3576ad7290220f

6 years agoMerge "Generate new API signatures from doclava" am: fa208b4226 am: 72b7f03179
David Brazdil [Sat, 20 Jan 2018 11:43:40 +0000 (11:43 +0000)]
Merge "Generate new API signatures from doclava" am: fa208b4226 am: 72b7f03179
am: ccc31988ee

Change-Id: Ibc40df91d9aa4f1258856ddcd85204ce62297bf1

6 years agoMerge "Generate new API signatures from doclava" am: fa208b4226
David Brazdil [Sat, 20 Jan 2018 11:33:16 +0000 (11:33 +0000)]
Merge "Generate new API signatures from doclava" am: fa208b4226
am: 72b7f03179

Change-Id: I7dbf94c493bc79f4200afc45e6ed58543359c9ff

6 years agoMerge "Generate new API signatures from doclava"
David Brazdil [Sat, 20 Jan 2018 11:23:49 +0000 (11:23 +0000)]
Merge "Generate new API signatures from doclava"
am: fa208b4226

Change-Id: Iae4cc67435b84c868a446dc7ac16a618656bbdbb

6 years agoMerge "Generate new API signatures from doclava"
David Brazdil [Sat, 20 Jan 2018 10:06:22 +0000 (10:06 +0000)]
Merge "Generate new API signatures from doclava"

6 years agoMerge "Add CARD_ID in SubscriptionInfo database" am: 6745e15d17 am: 33de998afe
yinxu [Sat, 20 Jan 2018 10:04:11 +0000 (10:04 +0000)]
Merge "Add CARD_ID in SubscriptionInfo database" am: 6745e15d17 am: 33de998afe
am: a8a799b6a6

Change-Id: I2ba99e9fe94621b982a74cf6178afbfc64d32ee2

6 years agoMerge "Add CARD_ID in SubscriptionInfo database" am: 6745e15d17
yinxu [Sat, 20 Jan 2018 09:56:08 +0000 (09:56 +0000)]
Merge "Add CARD_ID in SubscriptionInfo database" am: 6745e15d17
am: 33de998afe

Change-Id: I63246ba54d112ef75ca6989c16d7ae979bde552a

6 years agoMerge "Add CARD_ID in SubscriptionInfo database"
yinxu [Sat, 20 Jan 2018 09:47:20 +0000 (09:47 +0000)]
Merge "Add CARD_ID in SubscriptionInfo database"
am: 6745e15d17

Change-Id: I3df57fc50d9e928d74c50b2b99fde63e757e7e78

6 years agoMerge "Add CARD_ID in SubscriptionInfo database"
Treehugger Robot [Sat, 20 Jan 2018 08:28:24 +0000 (08:28 +0000)]
Merge "Add CARD_ID in SubscriptionInfo database"

6 years agoMerge "Load admin data in DPMS asynchronously during boot."
Sudheer Shanka [Sat, 20 Jan 2018 08:26:32 +0000 (08:26 +0000)]
Merge "Load admin data in DPMS asynchronously during boot."

6 years agoMerge "Update config_wifi_tether_enable value."
TreeHugger Robot [Sat, 20 Jan 2018 07:40:23 +0000 (07:40 +0000)]
Merge "Update config_wifi_tether_enable value."

6 years agoMerge "Change RecoverySystem#wipeEuiccData to public"
Qingxi Li [Sat, 20 Jan 2018 06:20:02 +0000 (06:20 +0000)]
Merge "Change RecoverySystem#wipeEuiccData to public"

6 years agoadd atoms for cpu power calculation
Chenjie Yu [Sat, 13 Jan 2018 20:41:08 +0000 (12:41 -0800)]
add atoms for cpu power calculation

Test: will add cts tests for them
Change-Id: Ifefa3697ff64e8c484f79d08caf053bfc712b794

6 years agoMerge "AudioTrack: support for offloaded playback"
TreeHugger Robot [Sat, 20 Jan 2018 05:48:37 +0000 (05:48 +0000)]
Merge "AudioTrack: support for offloaded playback"

6 years agoMerge "Add accessibility support for tooltips"
Phil Weaver [Sat, 20 Jan 2018 05:13:38 +0000 (05:13 +0000)]
Merge "Add accessibility support for tooltips"

6 years agoMerge "[GLUtils] Pass the correct format into glTexImage2D and glTexSubImage2D."
Peiyong Lin [Sat, 20 Jan 2018 05:11:09 +0000 (05:11 +0000)]
Merge "[GLUtils] Pass the correct format into glTexImage2D and glTexSubImage2D."

6 years agoMerge "Minor API changes on Autofill Field Classification:"
Felipe Leme [Sat, 20 Jan 2018 05:01:43 +0000 (05:01 +0000)]
Merge "Minor API changes on Autofill Field Classification:"

6 years agoMerge "Implemented getAlgorithm() and getDefaultAlgorithm() using manifest metadata."
Felipe Leme [Sat, 20 Jan 2018 04:59:23 +0000 (04:59 +0000)]
Merge "Implemented getAlgorithm() and getDefaultAlgorithm() using manifest metadata."

6 years agoMerge "Add atoms to log memory metrics."
Rajeev Kumar [Sat, 20 Jan 2018 04:30:53 +0000 (04:30 +0000)]
Merge "Add atoms to log memory metrics."

6 years agoMerge "Don't record audio if UID is idle - framework"
TreeHugger Robot [Sat, 20 Jan 2018 04:09:35 +0000 (04:09 +0000)]
Merge "Don't record audio if UID is idle - framework"

6 years agoMulti-A2DP support - add a new internal API to suppress Audio Noisy intent
Pavlin Radoslavov [Sat, 20 Jan 2018 02:20:04 +0000 (18:20 -0800)]
Multi-A2DP support - add a new internal API to suppress Audio Noisy intent

The new API setBluetoothA2dpDeviceConnectionStateSuppressNoisyIntent()
is similar to the existing setBluetoothA2dpDeviceConnectionState()
except that it takes one extra argument that indicates whether the
AudioManager.ACTION_AUDIO_BECOMING_NOISY intent will be sent:

  setBluetoothA2dpDeviceConnectionStateSuppressNoisyIntent(
      ..., boolean suppressNoisyIntent)

This API is needed so the Active A2DP Sink device can be changed
while audio is streaming, and the audio continues playing on the new
Active Device.

Bug: 69269748
Test: Manual: multiple connected A2DP devices, and selecting each as
      the Active Device.

Change-Id: I75766a58d9e6b42b3ce68bd9ad3a7a72ca5a1023

6 years agoMerge "Add a11y action to take screenshot"
Phil Weaver [Sat, 20 Jan 2018 02:56:04 +0000 (02:56 +0000)]
Merge "Add a11y action to take screenshot"

6 years agoMerge "Statsd -> Perfetto integration"
TreeHugger Robot [Sat, 20 Jan 2018 02:34:40 +0000 (02:34 +0000)]
Merge "Statsd -> Perfetto integration"

6 years agoMerge "Rename getConfigFlag to isConfigFlagSet."
TreeHugger Robot [Sat, 20 Jan 2018 02:22:21 +0000 (02:22 +0000)]
Merge "Rename getConfigFlag to isConfigFlagSet."

6 years agoMerge "Add "exemptForBatterySaver" to ForceAppStandbyTracker"
TreeHugger Robot [Sat, 20 Jan 2018 02:22:15 +0000 (02:22 +0000)]
Merge "Add "exemptForBatterySaver" to ForceAppStandbyTracker"

6 years agoMerge "No sensor access to idle UIDs - framework"
TreeHugger Robot [Sat, 20 Jan 2018 01:37:29 +0000 (01:37 +0000)]
Merge "No sensor access to idle UIDs - framework"

6 years agoMerge "AudioService: fix deadlock between readSettings() and VSS.setAllIndexes()"
TreeHugger Robot [Sat, 20 Jan 2018 01:31:23 +0000 (01:31 +0000)]
Merge "AudioService: fix deadlock between readSettings() and VSS.setAllIndexes()"

6 years agoUpdate SysUI tuner so rotation button can be added/removed
Mike Digman [Sat, 20 Jan 2018 01:16:23 +0000 (17:16 -0800)]
Update SysUI tuner so rotation button can be added/removed

Fixed bug where rotation button could be removed but not added
back.

Test: manual

6 years agoMerge "Update JavaDoc for BackgroundColorSpan and ForegroundColorSpan."
TreeHugger Robot [Sat, 20 Jan 2018 01:00:54 +0000 (01:00 +0000)]
Merge "Update JavaDoc for BackgroundColorSpan and ForegroundColorSpan."

6 years agoAdd atoms to log memory metrics.
Rajeev Kumar [Thu, 18 Jan 2018 23:49:11 +0000 (15:49 -0800)]
Add atoms to log memory metrics.

Test: Manual
Bug: 72177881
Change-Id: I0e77c6651d10e6592e6bbd34c55186e5e49a70e9

6 years agoUpdate config_wifi_tether_enable value.
Doris Ling [Sat, 20 Jan 2018 00:44:59 +0000 (16:44 -0800)]
Update config_wifi_tether_enable value.

The TetherService has moved to a sub package. Update the config value to
reflect the new package info.

Change-Id: I1d0d03117dd6533d96f170e80f7f58c043e96d46
Fixes: 69844871
Test: rebuild

6 years agoAdd broadcast action for carrier setup
Qingxi Li [Fri, 19 Jan 2018 20:24:05 +0000 (12:24 -0800)]
Add broadcast action for carrier setup

This broadcast action is sent by eSIM Manager to let the carrier app
know that the carrier setup is not completed.

Bug: 62639823
Test: TreeHugger
Change-Id: I88ac90cf679d5ec98aa7c0cf7bd9c96010597a1c

6 years agoMerge "Double the battery history size on userdebug/eng"
TreeHugger Robot [Sat, 20 Jan 2018 00:26:24 +0000 (00:26 +0000)]
Merge "Double the battery history size on userdebug/eng"

6 years agoAdd "exemptForBatterySaver" to ForceAppStandbyTracker
Makoto Onuki [Fri, 19 Jan 2018 23:43:16 +0000 (15:43 -0800)]
Add "exemptForBatterySaver" to ForceAppStandbyTracker

Bug: 72125364
Test: atest CtsBatterySavingTestCases
Change-Id: I716dc53f06a74e3854aeaeff5c1567642ebaa0c9