OSDN Git Service

android-x86/frameworks-base.git
8 years agoMediaExtractor: add getDrmInitData API
Robert Shih [Thu, 28 Jan 2016 00:50:08 +0000 (16:50 -0800)]
MediaExtractor: add getDrmInitData API

Bug: 26070802
Change-Id: I32e256f5988e206188f43d1bef0ad2ffdce8caec

8 years agoAdd account locked notification when users are encrypted
Jim Miller [Thu, 28 Jan 2016 03:05:43 +0000 (19:05 -0800)]
Add account locked notification when users are encrypted

Fixes bug 26407543

Change-Id: Ic66669cd5f75b5fa41449e33133439752cef112b

8 years agoMerge "API to query recording format and device on AudioRecordConfiguration"
Jean-Michel Trivi [Thu, 28 Jan 2016 04:23:04 +0000 (04:23 +0000)]
Merge "API to query recording format and device on AudioRecordConfiguration"

8 years agoMerge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user" am: 26fdbc1833
Pavlin Radoslavov [Thu, 28 Jan 2016 04:21:25 +0000 (04:21 +0000)]
Merge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user" am: 26fdbc1833
am: dc84cff34f

* commit 'dc84cff34f020e4768e99fa08749bbe0b87a2233':
  Grant CAP_WAKE_ALARM to the Bluetooth process for any user

8 years agoMerge "Unhide DocumentsContract.isTreeUri."
Tomasz Mikolajewski [Thu, 28 Jan 2016 04:20:43 +0000 (04:20 +0000)]
Merge "Unhide DocumentsContract.isTreeUri."

8 years agoMerge "SoundTrigger system API changes."
Arunesh Mishra [Thu, 28 Jan 2016 04:10:38 +0000 (04:10 +0000)]
Merge "SoundTrigger system API changes."

8 years agoDO NOT MERGE Add capability to determine if downgrade to audio is denied.
Tyler Gunn [Thu, 28 Jan 2016 04:08:49 +0000 (04:08 +0000)]
DO NOT MERGE Add capability to determine if downgrade to audio is denied.
am: a3fc54f0d8  -s ours

* commit 'a3fc54f0d879cbf0bdbb5bd2fe5043dd19232191':
  DO NOT MERGE Add capability to determine if downgrade to audio is denied.

8 years agoAdd preview section to nav bar tuner.
Jason Monk [Sun, 24 Jan 2016 17:03:19 +0000 (12:03 -0500)]
Add preview section to nav bar tuner.

It uses density scaling to show a slightly smaller real time version
of the nav bar, so you can see edits without possibly breaking the
nav bar.

Also fix rotation in the tuner, cause it was broken.

Change-Id: I3de89c3df25c6adb18f0aef41b597c96446d1631

8 years agoAdd keycode buttons to nav bar tuner
Jason Monk [Sun, 24 Jan 2016 15:15:55 +0000 (10:15 -0500)]
Add keycode buttons to nav bar tuner

Allow a keycode (list generated from KeyEvent.java) and a image to
be selected as a new KeyButtonView to be shown in the nav bar.

Change-Id: I26fcad5b74a96090f2c5574fd214b4afbcadbb30

8 years agoAdd clipboard to tuner
Jason Monk [Sat, 23 Jan 2016 21:47:59 +0000 (16:47 -0500)]
Add clipboard to tuner

Allow button to be added to nav bar that acts as a drag target/source
for the clipboard.

Change-Id: I94ca3c7decd1a1b178ceb9a4b4ab9e275c90acbb

8 years agoAllow width control of nav bar buttons
Jason Monk [Sat, 23 Jan 2016 20:28:10 +0000 (15:28 -0500)]
Allow width control of nav bar buttons

Encode the width as part of the spec as a float. For instance:
"home[.5]" is a home button with half its normal width.

The UI will allow users to adjust the width of standard buttons and
spaces from .25 to 1.75, excluding the app shelf, which fills all
available space.

Change-Id: Icd2f498c164933d61f55d779b3e9be0afaba9c2d

8 years agoNav bar tuner
Jason Monk [Fri, 22 Jan 2016 15:01:44 +0000 (10:01 -0500)]
Nav bar tuner

Allows reorginization of the navigation bar.  First pass.

Change-Id: If546ca5835412d15c05c41ffd5c5aa0857b9417f

8 years agoSysUI Tuner: Color mod v2
Jason Monk [Thu, 21 Jan 2016 03:24:50 +0000 (22:24 -0500)]
SysUI Tuner: Color mod v2

Change-Id: Id2734c2f4ee8724ef7d7e633fed124454e2d8c5a

8 years agoDO NOT MERGE Add capability to determine if downgrade to audio is denied.
Tyler Gunn [Tue, 19 Jan 2016 23:59:34 +0000 (15:59 -0800)]
DO NOT MERGE Add capability to determine if downgrade to audio is denied.

By default we assume downgrade to audio is permitted; this capability
probides a means for a carrier to specifically deny that.

Bug: 22728624

Change-Id: I75e0a5b9e5ad2d970003a4691b6fc0ac0dcfe9e0

8 years agoMerge "Gradient for VectorDrawable's fill and stroke"
Tenghui Zhu [Thu, 28 Jan 2016 03:41:15 +0000 (03:41 +0000)]
Merge "Gradient for VectorDrawable's fill and stroke"

8 years agoAPI to query recording format and device on AudioRecordConfiguration
Jean-Michel Trivi [Thu, 28 Jan 2016 03:05:29 +0000 (19:05 -0800)]
API to query recording format and device on AudioRecordConfiguration

Bug 22876530

Change-Id: I5d529cecbef91361afce64f20faca17f6ebb8ba9

8 years agoMerge "Add varietions of MtpDevice's mehtods using long."
Daichi Hirono [Thu, 28 Jan 2016 02:56:34 +0000 (02:56 +0000)]
Merge "Add varietions of MtpDevice's mehtods using long."

8 years agoAdd varietions of MtpDevice's mehtods using long.
Daichi Hirono [Fri, 15 Jan 2016 05:42:53 +0000 (14:42 +0900)]
Add varietions of MtpDevice's mehtods using long.

BUG=26525304

Change-Id: I0a0b187910cf498720d8e7b8fbe9b0590e67e65e

8 years agoMerge "Dynamic audio policies by UID"
Jean-Michel Trivi [Thu, 28 Jan 2016 02:48:00 +0000 (02:48 +0000)]
Merge "Dynamic audio policies by UID"

8 years agoMerge "Added a constant to be used as an Intent extra"
Suprabh Shukla [Thu, 28 Jan 2016 02:32:34 +0000 (02:32 +0000)]
Merge "Added a constant to be used as an Intent extra"

8 years agoMerge "Part 2: Adding clear-all to history"
Winson Chung [Thu, 28 Jan 2016 02:20:55 +0000 (02:20 +0000)]
Merge "Part 2: Adding clear-all to history"

8 years agoMerge "Remodel Network Selection" into mm-wireless-dev
xin He [Thu, 28 Jan 2016 02:15:56 +0000 (02:15 +0000)]
Merge "Remodel Network Selection" into mm-wireless-dev
am: 2fdee90b68

* commit '2fdee90b685781ec5e30f0788b727f692df32d40':
  Remodel Network Selection

8 years agoMerge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user"
Pavlin Radoslavov [Thu, 28 Jan 2016 02:12:42 +0000 (02:12 +0000)]
Merge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user"
am: 26fdbc1833

* commit '26fdbc18337a8e9d16e18255e39ce7a16e83d57b':
  Grant CAP_WAKE_ALARM to the Bluetooth process for any user

8 years agoMerge "Remodel Network Selection" into mm-wireless-dev
xin He [Thu, 28 Jan 2016 02:08:23 +0000 (02:08 +0000)]
Merge "Remodel Network Selection" into mm-wireless-dev

8 years agoMerge changes from topic 'camera-hardening'
Chien-Yu Chen [Thu, 28 Jan 2016 02:04:37 +0000 (02:04 +0000)]
Merge changes from topic 'camera-hardening'

* changes:
  Add cameraserver process
  Camera: update connect call

8 years agoSoundTrigger system API changes.
Arunesh Mishra [Thu, 28 Jan 2016 00:20:08 +0000 (16:20 -0800)]
SoundTrigger system API changes.

This CL exposes the SoundTriggerManager and SoundTriggerDetector as a
system/privileged API. The API is protected by a system/priv permission
and also via SEpolicy rules.

Bug: 22860713

Change-Id: I07ee3548ef0d5c584570004645267f5021dfa84c

8 years agoMerge changes from topic '2016 GPS Changes'
Lifu Tang [Thu, 28 Jan 2016 02:02:18 +0000 (02:02 +0000)]
Merge changes from topic '2016 GPS Changes'

* changes:
  Framework support to read newly added fields
  Added an API to query GPS hardware version info
  GPS Measurement and Navigation APIs go public
  Supported GNSS multi-constellation in frameworks

8 years agoFramework support to read newly added fields
Lifu Tang [Tue, 26 Jan 2016 02:02:17 +0000 (18:02 -0800)]
Framework support to read newly added fields

Change-Id: Ie43395addd102656a4dbf9c25111ac50ec9afe41

8 years agoAdded a constant to be used as an Intent extra
Suprabh Shukla [Wed, 27 Jan 2016 20:57:24 +0000 (12:57 -0800)]
Added a constant to be used as an Intent extra

Added a constant which can be specified to skip the uninstallation
confirmation dialog. Useful in cases where we want to show a different
warning message to the user before starting the UninstallerActivity

Change-Id: Ia87184a9ad715b628118feb447388625b8bf7f1c

8 years agoMerge "Revert "Deprecated platform Android testing APIs""
Stephan Linzner [Thu, 28 Jan 2016 01:42:21 +0000 (01:42 +0000)]
Merge "Revert "Deprecated platform Android testing APIs""

8 years agoRevert "Deprecated platform Android testing APIs"
Stephan Linzner [Thu, 28 Jan 2016 01:40:29 +0000 (01:40 +0000)]
Revert "Deprecated platform Android testing APIs"

This reverts commit d46a7d0d6edbb36aa1a851af3769cc528d943ba0.

Change-Id: I4e4079d17f3bcdde7dc84e440a2168bb3e6d89d3

8 years agoAdded an API to query GPS hardware version info
Lifu Tang [Fri, 22 Jan 2016 02:15:33 +0000 (18:15 -0800)]
Added an API to query GPS hardware version info

Change-Id: Ic45357d30da350759f56c9d061e60196acb3255b

8 years agoMerge "Pinning components in ChooserActivity"
Adam Powell [Thu, 28 Jan 2016 01:38:05 +0000 (01:38 +0000)]
Merge "Pinning components in ChooserActivity"

8 years agoPart 2: Adding clear-all to history
Winson [Tue, 26 Jan 2016 21:37:37 +0000 (13:37 -0800)]
Part 2: Adding clear-all to history

Change-Id: I9cd51f2a97ebe0f306e4934cdcac1a522526cf50

8 years ago[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d -s ours...
Joe LaPenna [Thu, 28 Jan 2016 01:21:38 +0000 (01:21 +0000)]
[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d  -s ours am: 2bccc45cec  -s ours am: b47972df80  -s ours
am: ab00e4e38c  -s ours

* commit 'ab00e4e38c113e2e0b60cde5d210e39683c75040':
  [DO NOT MERGE ANYWHERE]: Allow button events in ambient.

8 years agoPinning components in ChooserActivity
Adam Powell [Wed, 27 Jan 2016 17:09:35 +0000 (09:09 -0800)]
Pinning components in ChooserActivity

Move ChooserActivity to SystemUI. This is a safer place for it to live
and still be able to persist data to storage.

Add a context menu to long press for chooser targets allowing users to
'pin' a target component from an app. This causes it to sort to the
front of the list so that a user's favorite apps are always available
from share UIs, etc. Similarly, all ChooserTargets from a pinned
component receive an impossibly large boost for sorting so that they
will always appear first.

Bug 26791843

Change-Id: Ib4e603d9d4263403e98ce619287452ddab593044

8 years ago[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d -s ours...
Joe LaPenna [Thu, 28 Jan 2016 01:17:24 +0000 (01:17 +0000)]
[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d  -s ours am: 2bccc45cec  -s ours
am: b47972df80  -s ours

* commit 'b47972df80ffa40c4ea8541f96275c25ed939d7b':
  [DO NOT MERGE ANYWHERE]: Allow button events in ambient.

8 years ago[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d -s ours
Joe LaPenna [Thu, 28 Jan 2016 01:12:36 +0000 (01:12 +0000)]
[DO NOT MERGE ANYWHERE]: Allow button events in ambient. am: 7528f57c4d  -s ours
am: 2bccc45cec  -s ours

* commit '2bccc45cec5201c5b613134ebb0b398bc45483ef':
  [DO NOT MERGE ANYWHERE]: Allow button events in ambient.

8 years agoMerge "Remember view mode by root."
Steve McKay [Thu, 28 Jan 2016 01:08:51 +0000 (01:08 +0000)]
Merge "Remember view mode by root."

8 years agoMerge "Make CallScreening.CallResponse static"
Sailesh Nepal [Thu, 28 Jan 2016 01:07:24 +0000 (01:07 +0000)]
Merge "Make CallScreening.CallResponse static"

8 years ago[DO NOT MERGE ANYWHERE]: Allow button events in ambient.
Joe LaPenna [Thu, 28 Jan 2016 01:06:28 +0000 (01:06 +0000)]
[DO NOT MERGE ANYWHERE]: Allow button events in ambient.
am: 7528f57c4d  -s ours

* commit '7528f57c4ddbde1c6d0a2a352bd8a1af43711013':
  [DO NOT MERGE ANYWHERE]: Allow button events in ambient.

8 years agoMerge "Deprecated platform Android testing APIs"
Stephan Linzner [Thu, 28 Jan 2016 01:05:34 +0000 (01:05 +0000)]
Merge "Deprecated platform Android testing APIs"

8 years agoUnhide DocumentsContract.isTreeUri.
Tomasz Mikolajewski [Thu, 28 Jan 2016 00:50:01 +0000 (09:50 +0900)]
Unhide DocumentsContract.isTreeUri.

Bug: 22212976
Change-Id: I5267e5de0037559eba5bd3adf16d552c25ca8037

8 years agoMerge "Fix GpsTimeStamp format string"
Jaesung Chung [Thu, 28 Jan 2016 00:53:34 +0000 (00:53 +0000)]
Merge "Fix GpsTimeStamp format string"

8 years agoMake CallScreening.CallResponse static
Sailesh Nepal [Thu, 28 Jan 2016 00:45:51 +0000 (16:45 -0800)]
Make CallScreening.CallResponse static

A small mistake in my previous CL. The response object
needs to be static.

Change-Id: Idf9bca7a7076275f53475c2531090f406daecab9

8 years agoMerge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user"
Pavlin Radoslavov [Thu, 28 Jan 2016 00:52:41 +0000 (00:52 +0000)]
Merge "Grant CAP_WAKE_ALARM to the Bluetooth process for any user"

8 years agoMerge "Dynamic Sensor Discovery Implementation"
Peng Xu [Thu, 28 Jan 2016 00:46:29 +0000 (00:46 +0000)]
Merge "Dynamic Sensor Discovery Implementation"

8 years agoDynamic Sensor Discovery Implementation
Peng Xu [Wed, 20 Jan 2016 08:05:45 +0000 (00:05 -0800)]
Dynamic Sensor Discovery Implementation

Defined the dynamic sensor meta data type and UUID of sensor, as well
as the broadcast intent that is related to dynamic sensor status
change.

Modify SensorManager, SystemSensorManager and the JNI layer to support
dynamic sensor discovery.

Added SensorNotificationService to notify apps that sensor connected
or disconnected via broadcast.

Change-Id: I28adfb005357d7e3983d65117d6865830c75027d

8 years agoMerge "Part 1: Tweaking history transition to match design."
Winson Chung [Thu, 28 Jan 2016 00:35:36 +0000 (00:35 +0000)]
Merge "Part 1: Tweaking history transition to match design."

8 years agoGradient for VectorDrawable's fill and stroke
Teng-Hui Zhu [Tue, 15 Dec 2015 19:01:27 +0000 (11:01 -0800)]
Gradient for VectorDrawable's fill and stroke

Add ComplexColor interface for both GradientColor and ColorStateList.
Set up constant state, factory, theme attrs for GradientColor, while
refactoring the ColorStateList's similar code. (Functionality in CSL should
be the same).

Support themeing in both the root and item level in GradientColor.
For example, both startColor in <gradient> tag or color in <item> tag can
have theme color.
Add tests for both simple and complex cases with themeing etc.

Hook up the native VectorDrawable implementation using 2 extra JNI calls for
simplicity. Such calls only happen at inflate and applyTheme call.

b/22564318

Change-Id: Ibdc564ddb4a7ee0133c6141c4784782f0c93ce0e

8 years agoMerge "media: expose media format keys for color characteristics"
Lajos Molnar [Thu, 28 Jan 2016 00:31:43 +0000 (00:31 +0000)]
Merge "media: expose media format keys for color characteristics"

8 years agoRemember view mode by root.
Steve McKay [Tue, 26 Jan 2016 03:00:22 +0000 (19:00 -0800)]
Remember view mode by root.

Now stored in local prefs, not recents DB.
Don't consult preferences for recents from DocumentsActivity.

Bug: 22671255 26689962 26411301
Change-Id: I492d85c450253bce984c929a6dd15d7c31ee6a0b

8 years agoGrant CAP_WAKE_ALARM to the Bluetooth process for any user
Pavlin Radoslavov [Thu, 28 Jan 2016 00:22:15 +0000 (16:22 -0800)]
Grant CAP_WAKE_ALARM to the Bluetooth process for any user

Use multiuser_get_app_id(uid) to check for AID_BLUETOOTH
and allow the CAP_WAKE_ALARM capability for any user.

Bug: 26784675
Change-Id: I11641e212b7c815e9137ae5620da6ad55f95a899

8 years agoMerge "Fix exception message"
Makoto Onuki [Thu, 28 Jan 2016 00:20:35 +0000 (00:20 +0000)]
Merge "Fix exception message"

8 years agoFix exception message
Makoto Onuki [Thu, 28 Jan 2016 00:19:38 +0000 (16:19 -0800)]
Fix exception message

Change-Id: I6fe4b8b745414ed589337079e2893d87dadb34f5

8 years agoGPS Measurement and Navigation APIs go public
Lifu Tang [Tue, 26 Jan 2016 09:22:10 +0000 (01:22 -0800)]
GPS Measurement and Navigation APIs go public

Those APIs are already used by first-party Apps for a while. We now make them
available to third-party Apps as well.

Change-Id: I87d9f0dbb04831fc849228d7df03a2686e2eb383

8 years agoMerge "Reduced more radio log spam" into mm-wireless-dev
Jack Yu [Thu, 28 Jan 2016 00:05:14 +0000 (00:05 +0000)]
Merge "Reduced more radio log spam" into mm-wireless-dev
am: 24c5e7c4ce

* commit '24c5e7c4ceb31c85868fe2c03e8a507e2cb0520f':
  Reduced more radio log spam

8 years agoMerge "Record ModemActivityInfo and distribute power blame to apps"
Adam Lesinski [Thu, 28 Jan 2016 00:03:56 +0000 (00:03 +0000)]
Merge "Record ModemActivityInfo and distribute power blame to apps"

8 years agoMerge "Reduced more radio log spam" into mm-wireless-dev
Jack Yu [Thu, 28 Jan 2016 00:00:04 +0000 (00:00 +0000)]
Merge "Reduced more radio log spam" into mm-wireless-dev

8 years agoMerge "[RenderScript] Unhide new Allocation APIs"
Miao Wang [Wed, 27 Jan 2016 23:49:23 +0000 (23:49 +0000)]
Merge "[RenderScript] Unhide new Allocation APIs"

8 years agoRecord ModemActivityInfo and distribute power blame to apps
Adam Lesinski [Mon, 25 Jan 2016 20:27:06 +0000 (12:27 -0800)]
Record ModemActivityInfo and distribute power blame to apps

Telephony expsoses a getModemActivity() method, which BatteryStats
will poll when a change in network activity occurs (on the modem).

The time spent in various states (tx, idle, rx) are distributed amongst
the apps that did rx/tx traffic during that window.

Bug:23147562
Change-Id: I480a85df95786f87c382b96816fe2ed4bb2d5a42

8 years agoMerge "Add new RIL command for sending ack to solicited async and unsolicited msg...
Sanket Padawe [Wed, 27 Jan 2016 23:29:25 +0000 (23:29 +0000)]
Merge "Add new RIL command for sending ack to solicited async and unsolicited msg." into mm-wireless-dev
am: 2ed3add734

* commit '2ed3add734df1b9b35d91b69f2722b9554d2cf2b':
  Add new RIL command for sending ack to solicited async and unsolicited msg.

8 years agoMerge "Add new RIL command for sending ack to solicited async and unsolicited msg...
Sanket Padawe [Wed, 27 Jan 2016 23:25:09 +0000 (23:25 +0000)]
Merge "Add new RIL command for sending ack to solicited async and unsolicited msg." into mm-wireless-dev

8 years agoAudioTrack: make low latency APIs public
Phil Burk [Mon, 18 Jan 2016 01:27:30 +0000 (17:27 -0800)]
AudioTrack: make low latency APIs public

Allow apps to lower their Java audio latency.

Bug: 21019153
Change-Id: I1be9a083c46e9fcf7db2635e813cab13dbad810a
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoMerge "Minor improvements on parseCommandArgs,"
Felipe Leme [Wed, 27 Jan 2016 23:21:14 +0000 (23:21 +0000)]
Merge "Minor improvements on parseCommandArgs,"

8 years agoMerge "Fix UserAvatarView.setDisabled method."
Sudheer Shanka [Wed, 27 Jan 2016 23:20:52 +0000 (23:20 +0000)]
Merge "Fix UserAvatarView.setDisabled method."

8 years agoDeprecated platform Android testing APIs
Stephan Linzner [Fri, 22 Jan 2016 23:49:47 +0000 (15:49 -0800)]
Deprecated platform Android testing APIs

- Deprecated most android.test.* APIs
- Kept ProviderTestCase2 and LoaderTestCase since we don't have a
replacement yet
- Deprecated android.test.suitebuilder
- Added Javadoc to all deprecated APIs with links to corresponding
Android Testing Support Library APIs
- Removed all trailing whitespace

Change-Id: Iab0699f56c286e29b5af46f7580bec5f29955fd3

8 years agoPart 1: Tweaking history transition to match design.
Winson [Tue, 26 Jan 2016 01:33:34 +0000 (17:33 -0800)]
Part 1: Tweaking history transition to match design.

- Adding background scrim that can be controlled across transitions
  within recents.  As a result, we can remove the status bar scrim.
- Moving the history view into the RecentsView now that it animates in
  parallel with the task stack
- Transition home from history no longer goes back to stack view first
- Removing some extra allocations when going into history and loading
  tasks

Change-Id: I665baefcdd619de5e9366923eaaf4c558261141a

8 years agoMerge "Need to call getApplicationInfo from System id"
Ian Pedowitz [Wed, 27 Jan 2016 22:54:26 +0000 (22:54 +0000)]
Merge "Need to call getApplicationInfo from System id"

8 years agoMerge "Camera2: Clarify LEVEL_3 requirements."
Eino-Ville Talvala [Wed, 27 Jan 2016 22:51:21 +0000 (22:51 +0000)]
Merge "Camera2: Clarify LEVEL_3 requirements."

8 years agoRemodel Network Selection
xinhe [Tue, 26 Jan 2016 18:32:03 +0000 (10:32 -0800)]
Remodel Network Selection

    There are two main changes in this CL:
    (1) Add user selection preference support. If user
    explicitly chooses a network, framework will remember
    it and consider user has a higher preference of this
    network over all other visible networks.

    (2) Seperate user set BSSID and framework chosen BSSID.
    The BSSID under WifiConfiguration is set by user and is
    not allowed to be overrided. The BSSID under Network
    selection status is the best BSSID chosen by the
    framework to associate with.

BUG=26012244
BUG=26721725

Change-Id: Iece91d20b139ef1c6aec05828c734d1706d81007

8 years ago[RenderScript] Unhide new Allocation APIs
Miao Wang [Tue, 26 Jan 2016 22:19:25 +0000 (14:19 -0800)]
[RenderScript] Unhide new Allocation APIs

Bug: 23535524

  - ByteBuffer getByteBuffer()
  - long getStride()
  - Allocation[] createAllocations(rs, type, usage, num)
  - long getTimeStamp()

Change-Id: I0cad88c81f9f48c7aca59af159c49f506b234aee

8 years agomedia: expose media format keys for color characteristics
Lajos Molnar [Wed, 27 Jan 2016 02:57:28 +0000 (18:57 -0800)]
media: expose media format keys for color characteristics

Bug:  25684127
Change-Id: Ib4aa7487d1bca27eff5f31cd736e935f5bb7e8f0

8 years agoMerge "Adding new sensor types."
Ashutosh Joshi [Wed, 27 Jan 2016 22:37:41 +0000 (22:37 +0000)]
Merge "Adding new sensor types."

8 years agoAdding new sensor types.
Ashutosh Joshi [Tue, 26 Jan 2016 04:24:20 +0000 (20:24 -0800)]
Adding new sensor types.

Adding new sensor types for the following -
     i) Stationay Detection
     ii) Motion Detection
     iii) Heart Beat Detection

Change-Id: I95dd81605e0ce2467fe5e0b65dbd25447bba412b

8 years agoCamera2: Clarify LEVEL_3 requirements.
Eino-Ville Talvala [Wed, 27 Jan 2016 22:16:20 +0000 (14:16 -0800)]
Camera2: Clarify LEVEL_3 requirements.

Bug: 25114814
Change-Id: I0d7e0c17c8860e443cded79506e9144db25fe10b

8 years agoMerge "Make DPM.clearProfileOwner() public."
Makoto Onuki [Wed, 27 Jan 2016 22:25:43 +0000 (22:25 +0000)]
Merge "Make DPM.clearProfileOwner() public."

8 years agoMerge changes I80100f39,I4b39c1c4,I65ce9a23,I5094a137,Id898752f, ...
Jorim Jaggi [Wed, 27 Jan 2016 22:23:39 +0000 (22:23 +0000)]
Merge changes I80100f39,I4b39c1c4,I65ce9a23,I5094a137,Id898752f, ...

* changes:
  Make sure SysUI is not constantly redrawing status bar
  Fix app staying in drag resizing when undocking
  Fix flicker when dismissing non-docked stack
  Start drawing immediately
  Improve dismiss/scrolling handling in recents
  Dim harder when dismissing

8 years ago[DO NOT MERGE ANYWHERE]: Allow button events in ambient.
Joe LaPenna [Fri, 22 Jan 2016 15:11:49 +0000 (07:11 -0800)]
[DO NOT MERGE ANYWHERE]: Allow button events in ambient.

See thread: "key presses & Ambient"

BUG: 25964771
BUG: 26524301

Change-Id: I914edd447c38678a06d27677be4597c0ee384635

8 years agoMerge "Added more granular states to DATA_CHANNEL_STATE"
Ta-wei Yen [Wed, 27 Jan 2016 22:18:23 +0000 (22:18 +0000)]
Merge "Added more granular states to DATA_CHANNEL_STATE"

8 years agoMerge "AudioFormat: add ENCODING_IEC61937"
Phil Burk [Wed, 27 Jan 2016 22:17:53 +0000 (22:17 +0000)]
Merge "AudioFormat: add ENCODING_IEC61937"

8 years agoMerge "Add new public API to allow call screening"
Sailesh Nepal [Wed, 27 Jan 2016 22:16:59 +0000 (22:16 +0000)]
Merge "Add new public API to allow call screening"

8 years agoMake sure SysUI is not constantly redrawing status bar
Jorim Jaggi [Wed, 27 Jan 2016 22:16:21 +0000 (14:16 -0800)]
Make sure SysUI is not constantly redrawing status bar

When status bar was collapsed, bounds were negative thus triggering
a infinite draw loop.

Change-Id: I80100f394fa5e0dd5858569f9535563eac3aeeb4

8 years agoMerge "Expose a meta-data value to allow dialer ringing"
Sailesh Nepal [Wed, 27 Jan 2016 22:15:48 +0000 (22:15 +0000)]
Merge "Expose a meta-data value to allow dialer ringing"

8 years agoAudioFormat: add ENCODING_IEC61937
Phil Burk [Wed, 27 Jan 2016 19:45:06 +0000 (11:45 -0800)]
AudioFormat: add ENCODING_IEC61937

Allows applications to wrap compressed audio in a PCM
stream and pass through directly to HDMI output.

Bug: 24541671
Bug: 20891646
Bug: 26373761
Change-Id: I67a25672a3b5066b5747380d013c26e60c14c272
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoMake DPM.clearProfileOwner() public.
Makoto Onuki [Wed, 27 Jan 2016 21:49:19 +0000 (13:49 -0800)]
Make DPM.clearProfileOwner() public.

Bug 26827204

Change-Id: Ib32e5370b493aa3e36b869d9ed3d78782df4c895

8 years agoMerge "[RenderScript] Implement APIs for better multi-frame process support." am...
Miao Wang [Wed, 27 Jan 2016 22:02:17 +0000 (22:02 +0000)]
Merge "[RenderScript] Implement APIs for better multi-frame process support." am: 6ebdbfa549
am: d90b4a3266

* commit 'd90b4a3266ab2af3cbc6f131a0ed320f7a795a09':
  [RenderScript] Implement APIs for better multi-frame process support.

8 years agoMerge "Add KEY_VVM_PREFETCH_BOOLEAN to CarrierConfigManager"
Ta-wei Yen [Wed, 27 Jan 2016 22:00:27 +0000 (22:00 +0000)]
Merge "Add KEY_VVM_PREFETCH_BOOLEAN to CarrierConfigManager"

8 years agoFix app staying in drag resizing when undocking
Jorim Jaggi [Wed, 27 Jan 2016 10:10:08 +0000 (02:10 -0800)]
Fix app staying in drag resizing when undocking

When dismissing the docked stack, the fullscreen stack stayed in drag
resize mode because it got a relayout, but because the bounds didn't
change (it switches to the fullscreen layout a bit earlier) it never
called WM.relayoutWindow, so it stayed in drag resize mode indefinitely.

To fix this, introduce forceRelayout in Window.resized(), which makes
sure the client always calls relayoutWindow. Set this to true whenever
drag resizing is changing.

For some very weird reason this also broke that home button was not
responding anymore.

Bug: 26806532
Change-Id: I4b39c1c419a166aa7093c31226f2a4915f642328

8 years agoFix flicker when dismissing non-docked stack
Jorim Jaggi [Wed, 27 Jan 2016 09:01:06 +0000 (01:01 -0800)]
Fix flicker when dismissing non-docked stack

Because the right/bottom side of divider moves offscreen when dismissing non
docked stack, it results in empty bounds which then results in window manager
thinking the just dismissed activity is fullscreen, which leads to a black
flicker. Make sure not to calculate garbage when calculating the bounds for the
non-docked stack.

Bug: 26070457
Change-Id: I65ce9a23dc216971a3ae4df8058d5b86b1b792a5

8 years agoAdd new public API to allow call screening
Sailesh Nepal [Mon, 25 Jan 2016 02:21:53 +0000 (18:21 -0800)]
Add new public API to allow call screening

This CL adds a new service that the default dialer can implement to
screen incoming calls.

If the service is implemented then Telecom uses it to decide if a call
should be shown to the user or rejected.

Note, I initially tried to simply extend InCallService instead of
creating a whole new service. The problem with this approach is that:
  - this breaks some in call services which show UI as soon as they are
    bound to
  - the in call service lifecycle is tightly coupled to adding and
    removing calls. Call screening happens before a call is added which
    makes it a bad fit to in call service
  - call screening is a function of only the default dialer's in call
    service but the existing code also binds to "controller" call
    services

For these reasons it seemed simpler to just create a new optional
service.

BUG: 22857261
Change-Id: I53f2ef93360e0af19b6ce45af21026be6cf3a7f3

8 years agoMerge "Fix SoundTriggerModel uses to GenericSoundModel."
Arunesh Mishra [Wed, 27 Jan 2016 21:49:58 +0000 (21:49 +0000)]
Merge "Fix SoundTriggerModel uses to GenericSoundModel."

8 years agoStart drawing immediately
Jorim Jaggi [Wed, 27 Jan 2016 02:48:44 +0000 (18:48 -0800)]
Start drawing immediately

We used to have a condition to start drawing only in the second traversal,
which added a delay of about 10-15ms. We believe that we don't need this
anymore, because we have other means of synchronizing the app transition
animation with the app drawing - we wait for all surfaces to be drawn
in window manager.

Bug: 21035872
Change-Id: I5094a1377817dc7e0a2392cc8f522e99cd7b4d6e

8 years agoImprove dismiss/scrolling handling in recents
Jorim Jaggi [Wed, 27 Jan 2016 02:34:13 +0000 (18:34 -0800)]
Improve dismiss/scrolling handling in recents

Make sure to only enter dismiss mode if xDiff is bigger than yDiff,
and only start scrolling if yDiff is bigger than xDiff.

Change-Id: Id898752ff7a08df549e234678aed0dad074b202d

8 years agoDim harder when dismissing
Jorim Jaggi [Tue, 26 Jan 2016 03:45:42 +0000 (19:45 -0800)]
Dim harder when dismissing

Also fix a bug when selecting the dim target stack.

Change-Id: Id9d5e28caf5e810c7eef1e3b0fd7a9f945f8d146

8 years agoMerge "[RenderScript] Implement APIs for better multi-frame process support."
Miao Wang [Wed, 27 Jan 2016 21:43:27 +0000 (21:43 +0000)]
Merge "[RenderScript] Implement APIs for better multi-frame process support."
am: 6ebdbfa549

* commit '6ebdbfa5498c486a96f2b8b07858eb1a25a6d08a':
  [RenderScript] Implement APIs for better multi-frame process support.

8 years agoMerge "media: define vp9 profile and level"
Ronghua Wu [Wed, 27 Jan 2016 21:37:59 +0000 (21:37 +0000)]
Merge "media: define vp9 profile and level"

8 years agoFix SoundTriggerModel uses to GenericSoundModel.
Arunesh Mishra [Wed, 27 Jan 2016 21:29:12 +0000 (13:29 -0800)]
Fix SoundTriggerModel uses to GenericSoundModel.

Change-Id: I30308b39536864d7b9640367861730e3b1b12129

8 years agoMerge "[RenderScript] Implement APIs for better multi-frame process support."
Miao Wang [Wed, 27 Jan 2016 21:30:00 +0000 (21:30 +0000)]
Merge "[RenderScript] Implement APIs for better multi-frame process support."

8 years agoMerge "PowerManager: Adds the Sustained performance API."
Ruchi Kandoi [Wed, 27 Jan 2016 21:21:06 +0000 (21:21 +0000)]
Merge "PowerManager: Adds the Sustained performance API."