OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Reuse buffer when reading bytes from files."
Daichi Hirono [Thu, 28 Jan 2016 06:08:21 +0000 (06:08 +0000)]
Merge "Reuse buffer when reading bytes from files."

8 years agoMerge "MediaExtractor: add getDrmInitData API"
Lajos Molnar [Thu, 28 Jan 2016 05:55:07 +0000 (05:55 +0000)]
Merge "MediaExtractor: add getDrmInitData API"

8 years agoMerge "PIP: Disable translations for picture-in-picture temporarily"
Jaewan Kim [Thu, 28 Jan 2016 05:42:45 +0000 (05:42 +0000)]
Merge "PIP: Disable translations for picture-in-picture temporarily"

8 years agoMerge "Part 3: Fade in app icons"
Winson Chung [Thu, 28 Jan 2016 05:35:59 +0000 (05:35 +0000)]
Merge "Part 3: Fade in app icons"

8 years agoMerge "Tweaks to user creation intent text and error codes"
Amith Yamasani [Thu, 28 Jan 2016 05:23:08 +0000 (05:23 +0000)]
Merge "Tweaks to user creation intent text and error codes"

8 years agoMerge "Implementation of sensor additioanl info report"
Peng Xu [Thu, 28 Jan 2016 05:21:08 +0000 (05:21 +0000)]
Merge "Implementation of sensor additioanl info report"

8 years agoReuse buffer when reading bytes from files.
Daichi Hirono [Wed, 27 Jan 2016 03:34:29 +0000 (12:34 +0900)]
Reuse buffer when reading bytes from files.

Previously AppFuse getObjectBytes returns byte array and the array's
length needs to equals to the exact number of bytes the method read.

The CL change the function signature so that it can return the number of
read bytes. And reuse a buffer array instead of slicing the array with
valid length.

BUG=None

Change-Id: I78b714554cac9ae71b895cb8929bc98969f5a8ca

8 years agoMerge "Add DocumentsProvider::removeDocument()."
Tomasz Mikolajewski [Thu, 28 Jan 2016 05:08:07 +0000 (05:08 +0000)]
Merge "Add DocumentsProvider::removeDocument()."

8 years agoAdd DocumentsProvider::removeDocument().
Tomasz Mikolajewski [Thu, 28 Jan 2016 03:39:25 +0000 (12:39 +0900)]
Add DocumentsProvider::removeDocument().

Multi-parents are supported already in moveDocument(). For parity, this CL
adds removeDocument, so it's possible to delete a file from a specific
parent.

Bug: 26481380
Change-Id: Icd4213abc0c3413931902f4f8984746c84c65e52

8 years agoPIP: Disable translations for picture-in-picture temporarily
Jaewan Kim [Thu, 28 Jan 2016 04:55:35 +0000 (13:55 +0900)]
PIP: Disable translations for picture-in-picture temporarily

UX and strings are not finalized yet, so do not ask for translation
for a while.

Bug: 26602353
Change-Id: I8d823ace47cae39a07a68ac8867ae58e2cd03f70

8 years agoMerge "Show a warning notification and a dialog in case of conversion when copying."
Tomasz Mikolajewski [Thu, 28 Jan 2016 04:53:50 +0000 (04:53 +0000)]
Merge "Show a warning notification and a dialog in case of conversion when copying."

8 years agoImplementation of sensor additioanl info report
Peng Xu [Wed, 27 Jan 2016 02:42:17 +0000 (18:42 -0800)]
Implementation of sensor additioanl info report

This implements a mechanism for sensor hardware/HAL to deliver additional information beside sensor
readings to application. It includes internal temperature reading, untracked delay of sample,
location and pose of sensor device placement in phone frame, etc. This is also a very expandable
frame to account for future need.

Change-Id: Ifd52ff315ef675086326f118eab773b0194bae23
Note: sensor additional information report used to be called sensor meta data.

8 years agoMerge "Implement MtpDevice#getPartialObject64 in Java API."
Daichi Hirono [Thu, 28 Jan 2016 04:46:16 +0000 (04:46 +0000)]
Merge "Implement MtpDevice#getPartialObject64 in Java API."

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 agoShow a warning notification and a dialog in case of conversion when copying.
Tomasz Mikolajewski [Fri, 22 Jan 2016 07:22:51 +0000 (16:22 +0900)]
Show a warning notification and a dialog in case of conversion when copying.

Change-Id: I451b0944069deb5f0b49b54c514e7761be449e3d

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 agoPart 3: Fade in app icons
Winson [Wed, 27 Jan 2016 01:15:45 +0000 (17:15 -0800)]
Part 3: Fade in app icons

- Fixing misordered call to remove the callbacks when recycling before
  unloading the actual task data
- Prevent thumbnails from being fetched while loading icons in the
  history view.

Change-Id: I8f5dc65f867e60c2d062bb8222c91bf98f54f6d6

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 agoImplement MtpDevice#getPartialObject64 in Java API.
Daichi Hirono [Fri, 22 Jan 2016 10:34:25 +0000 (19:34 +0900)]
Implement MtpDevice#getPartialObject64 in Java API.

BUG=26703522

Change-Id: I08510e3a179b7dc8bf247a9e997dc8a160138fc2

8 years agoTweaks to user creation intent text and error codes
Amith Yamasani [Wed, 27 Jan 2016 22:40:16 +0000 (14:40 -0800)]
Tweaks to user creation intent text and error codes

Return error codes in some cases.
Tweak the message to the user.

Bug: 22776757
Change-Id: Ieff0caf0add9542287b5629d7d97331df0cada1e

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