231257 Commits

Author SHA1 Message Date
Miao Wang
6ebdbfa549 Merge "[RenderScript] Implement APIs for better multi-frame process support." 2016-01-27 21:30:00 +00:00
Ruchi Kandoi
a0d65dc0db Merge "PowerManager: Adds the Sustained performance API." 2016-01-27 21:21:06 +00:00
Ruchi Kandoi
0abc001275 PowerManager: Adds the Sustained performance API.
Adds a new type of wakelock - SUSTAINED_PERFORMANCE_WAKELOCK. This
wakelock can only be acquired when the application is in the foreground.
And it is not effective when the application is no longer in the
foreground.

Acquiring this wakelock enables the Sustained performance mode which
guarantees a certain level of performance.

Bug: 22864186

Change-Id: Id0ececc756fe014779db6efde7aede23ea181dc5
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-01-27 13:15:30 -08:00
Marie Janssen
21e74cb751 Merge "IBluetooth: remove dump(), support arguments" am: d63847a866
am: f3c5230bf3  -s ours

* commit 'f3c5230bf36401e9c8be718a9f2e620ba77e55bd':
  IBluetooth: remove dump(), support arguments
2016-01-27 21:04:14 +00:00
Lenka Trochtova
2b04a58dca Merge "Add policy for enforcing that all users are ephemeral." 2016-01-27 20:58:55 +00:00
Arunesh Mishra
21d2113139 Merge "SoundTrigger API improvements." 2016-01-27 20:57:18 +00:00
Jeremy Klein
3e32150aa7 Merge "Remove the unused Looper param from Tethering constructor." 2016-01-27 20:54:01 +00:00
Marie Janssen
f3c5230bf3 Merge "IBluetooth: remove dump(), support arguments"
am: d63847a866

* commit 'd63847a86680df271cc518a6baaac30a7e07c9f5':
  IBluetooth: remove dump(), support arguments
2016-01-27 20:49:55 +00:00
Arunesh Mishra
a772e5fc06 SoundTrigger API improvements.
This CL implements the SoundTrigger API improvements as given in b/22860713. Only the java-level
parts are implemented in this CL.

Key changes include:

* Addition of a SoundTriggerManager/SoundTriggerDetector system API to manage
  the sound-trigger based sound models.
* Addition of a SoundTriggerService service that manages all sound models
  including voice (keyphrase) and sound-trigger based models.
* Includes logic to write sound-trigger based models to the database.
* VoiceInteractionManager service now uses SoundTriggerService instead of
  SoundTriggerHelper.

Bug: 22860713
Change-Id: I7b5c0ed80702527c4460372efeb5e542d3693a69
2016-01-27 12:49:20 -08:00
Marie Janssen
d63847a866 Merge "IBluetooth: remove dump(), support arguments" 2016-01-27 20:42:07 +00:00
Adam Lesinski
b95d4ae257 Merge "Add WorkSource to BLE scanning API" 2016-01-27 20:41:45 +00:00
Jason Monk
13548550a3 Merge "Add data disabled icon" 2016-01-27 20:34:28 +00:00
Jason Monk
1a95c86281 Add data disabled icon
Change-Id: Ic6d7c367e99a9460a42d9eaab062c73a75c292fd
2016-01-27 15:32:22 -05:00
Ronghua Wu
f37f9ba8c8 media: define vp9 profile and level
Bug: 25684127
Change-Id: I806f87847e0c75c3a39cea0c5ffcc3df28d60a75
2016-01-27 12:21:00 -08:00
Carlos Valdivia
8a38a136e1 Need to call getApplicationInfo from System id
Otherwise it trys to enforce INTERACT_ACROSS_USERs when a package is in
a different INTERACT_ACROSS_USERs. Still figuring out why this is
triggering for the regular getApplicationInfo call.

Change-Id: I9b07646aeaf35e2db4a6849e217129077b50b624
2016-01-27 12:16:25 -08:00
Lenka Trochtova
f348e8e22b Add policy for enforcing that all users are ephemeral.
BUG: 24883058

Change-Id: I8e53ca677c935a6c828dd6ece00b345d0eff182a
2016-01-27 21:06:09 +01:00
Steve McKay
0bbf302573 Merge "Remove variants of "show/hide" internal storage string." 2016-01-27 19:47:50 +00:00
Steve McKay
de3f4c89ca Merge "Revert "Eliminate the "productivity_device" setting."" 2016-01-27 19:25:07 +00:00
Steve McKay
8fa9ffcdc0 Revert "Eliminate the "productivity_device" setting."
This reverts commit d0a0fc2cd1fbb629f329cf10e0413a674a8e54b6.

Missed a use. Prema-revert.

Change-Id: I6bce595646e2e2bf1e506388a2da9e1cd8f61a09
2016-01-27 19:24:25 +00:00
Xiaohui Chen
5c461fc36d Merge "sysui: refactor NavigationBarInflaterView" 2016-01-27 19:19:15 +00:00
Anthony Chen
63a398fea4 Merge "Allow volume dialog dimensions to be customized." 2016-01-27 19:15:54 +00:00
Anthony Chen
2f60d111eb Allow volume dialog dimensions to be customized.
The volume dialog originally had the same dimensions as the regular
notification panel. However, Android Auto wants a larger dialog. As a
result, separate out the icon size and dialog size so that they can be
customized.

Change-Id: Idcaf94d64bcd5ce7d8f6f0ad5da916cf7226a527
2016-01-27 11:11:53 -08:00
Chris Wren
37745c3839 Merge "move framework metrics over to new proto" 2016-01-27 19:02:14 +00:00
Xiaohui Chen
548160030a sysui: refactor NavigationBarInflaterView
Bug: 26742568
Change-Id: Id0cb541c39457b3d15b09c98552a22e2d533102d
2016-01-27 18:58:19 +00:00
Ben Kwa
3ca3a3db5e Merge "Eliminate the "productivity_device" setting." 2016-01-27 18:48:01 +00:00
Chris Wren
f6e9228b8a move framework metrics over to new proto
Change-Id: Ie46e946dc787350c15c10aa4385a6b7df7e181a8
2016-01-27 13:47:40 -05:00
Adrian Roos
1e7b0cdec7 Add foreground status to crash report
Bug: 22692162
Change-Id: I9109968d69460359c0ab55eb55b271c1ac09cce6
2016-01-27 10:33:40 -08:00
Shweta Chahar
369a94a413 Merge "Add setting to enable higher text-to-speech rate." 2016-01-27 18:22:50 +00:00
shwetachahar
41604bcba5 Add setting to enable higher text-to-speech rate.
Change-Id: I1e3c78870a5c083bed9dfc6d13601b7874b86583
2016-01-27 18:16:41 +00:00
Sanket Padawe
9f2b02c27b [DO NOT MERGE] Cellinfo: Update to version 12
am: 0491c46227  -s ours

* commit '0491c46227d94ad51a70c549d1529616cea9170b':
  [DO NOT MERGE] Cellinfo: Update to version 12
2016-01-27 18:09:41 +00:00
Hangyu Kuang
8e498db77a Merge "media: Add interface to query and set intra refresh for encoder." 2016-01-27 18:06:25 +00:00
Wonsik Kim
6e0d12ccb8 Merge "media: unhide MediaRecorder.pause()/resume()" 2016-01-27 18:01:28 +00:00
Robin Lee
d39113ea00 Replace broken UserHandle.SYSTEM check in LPU
ActivityManager.getCurrentUser returns the user currently in the
foreground, not the calling or affected process.

Note:
---
This is just an API for setting the default suggestion when choosing a
new lock type in Settings, so it's not much of a security problem
(background users/profiles could only modify the suggestion, not the
 actual encryption setting).

Change-Id: I98c62be7c5726f99fea0ec9320ad9d85cce850ef
2016-01-27 18:01:01 +00:00
Sanket Padawe
0491c46227 [DO NOT MERGE] Cellinfo: Update to version 12
Add support for:
GSM: arfcn, bsic, ta
WCDMA: uarfcn
LTE: earfcn
Updated public APIs for getting above fields.

Bug: 23528586
Change-Id: I1e741ec73f2f683a796d430898b62921fe6e75e9
2016-01-27 09:59:59 -08:00
Siyamed Sinir
0b9e35ab30 Merge "AbsListView invalidates data when it isn’t changed" 2016-01-27 17:53:32 +00:00
Sanket Padawe
b663adfb0c Merge "Cellinfo: Update to version 12" 2016-01-27 17:52:06 +00:00
Chris Banes
8d47b675f5 Merge "Allow setActionBar() to take a null param" 2016-01-27 17:28:48 +00:00
Nicolas Prevot
697397a28e Don't show suspended applications in system intent picker dialog.
BUG:26461656
Change-Id: I49cf501cb9992ee19091ab4909adb373cbb4bdce
2016-01-27 17:20:07 +00:00
Felipe Leme
3cb48cd2a8 Minor improvements on parseCommandArgs,
- Added --receiver-foreground flag.
- Documented -f flag.

BUG: 26805230
Change-Id: Iee7a45dba549773abd7b026f5205ab94f0a8ef2a
2016-01-27 09:11:49 -08:00
Daniel U
eef9c38833 Merge "Encode BulletSpan in toHtml() conversion" 2016-01-27 16:58:08 +00:00
Felipe Leme
10f673a2ff Merge "Initial implementation of OPEN_EXTERNAL_DIRECTORY." 2016-01-27 16:56:20 +00:00
Felipe Leme
b012f913cb Initial implementation of OPEN_EXTERNAL_DIRECTORY.
It opens a an alert dialog that tells user application X is requesting
access to folder Y on volume Z; if user accepts, it returns the proper
URI, otherwise it returns RESULT_CANCELED.

The requested path must satisfy the following requirements:

1.It's directory (getName()) must be one of the pre-definied folders on
  Environment.
2.It's root (getParent()) must be a valid external storage root.

In order to satisfy #2, DocumentsUI calls the ExternalStorageProvider,
through a custom call() implementation.

BUG:  23011462
Change-Id: I8e491e82ae320df88f7b8923286c4c1ad050ae80
2016-01-27 08:52:58 -08:00
Adrian Roos
5c42df13a4 Flipping the bit on the HIC
Bug: 25186740
Change-Id: If1931cb1672ac9fcd588b621ce802200571cff8e
2016-01-27 08:48:42 -08:00
Andrei Stingaceanu
0122f651d1 Suspend apps - disable notifications
Disable notifications and posts for suspended apps by
verifying if the package is suspended in NotificationManagerService
where AppOpsManager.OP_POST_NOTIFICATION is checked.

Note that the notificationEnabled user preference is
preserved when unsuspending.

In a following CL will make the "Block all" notifications
setting while an app is suspended (in Settings -> App Info)
readonly so that the user can not turn notifications on.

Bug: 22776761
Change-Id: Ie8edba508bd23406445f9a014404b6d3b17cb223
2016-01-27 16:47:08 +00:00
Daniel U
ca124ab1e2 Encode BulletSpan in toHtml() conversion
Changes in toHtml() conversion with TO_HTML_PARAGRAPH_LINES_INDIVIDUAL:

- Wrap each paragraph inside a block-level element
Each paragraph delimited by '\n' is now wrapped individually inside either
a <p> or a <li> block to allow per-paragraph formatting.

- Wrap paragraphs covered by BulletSpans as <li> instead of <p> blocks

- Encode text alignment at paragraph level
Instead of creating <div> blocks outside of the block quote level.

- Encode AlignmentSpan as CSS style instead of the ALIGN attribute
The ALIGN attribute is obsolete.

Change-Id: I3a8b315224b762af99eda69cb19f5cf6b3f05dac
2016-01-27 16:41:33 +00:00
Hangyu Kuang
e9618e810a media: Add interface to query and set intra refresh for encoder.
Bug:26587630
Change-Id: I913a56b4888e2c46ad30ba0e9c3130da7101f7a4
2016-01-27 16:37:04 +00:00
Jaesung Chung
04e18bb2fa Fix GpsTimeStamp format string
Bug: 26816278
Change-Id: If3694ec44f5a5d6109c1895eac305d0a1a7e1ca2
2016-01-28 01:31:18 +09:00
Jaesung Chung
18b6618f92 Merge "Fix build" 2016-01-27 16:28:31 +00:00
Jaesung Chung
d4c505c9b4 Fix build
Change-Id: I91e10406da341e226180b14dd2446cadbdab5684
2016-01-28 01:16:56 +09:00
Ronghua Wu
2a01921fdf Merge "media: add dolby vision profile and level defines in CodecProfileLevel." 2016-01-27 16:13:17 +00:00