10094 Commits

Author SHA1 Message Date
Jeff Brown
cb0392fa1c Merge "Expose Cursor.setExtras()." 2015-04-10 03:11:44 +00:00
Jeff Brown
b77640533f Merge "Clean up AbstractCursor API." 2015-04-10 02:50:08 +00:00
Jeff Brown
4e0951ef7a Expose Cursor.setExtras().
Bug: 19369537
Change-Id: I78e319667cbfaeb51f471d18c4fefeac01d49d80
2015-04-09 19:48:11 -07:00
Jeff Brown
8faab36fdd Clean up AbstractCursor API.
Deprecated three protected fields that should not have been
exposed in the API.

Bug: 6353797
Change-Id: Ic6710f880a452dd1508abf0613907a1d2b1fb557
2015-04-09 19:48:10 -07:00
Chong Zhang
0bb34ca325 Merge "MediaMetadataRetriever: add key for capture fps" 2015-04-10 02:29:38 +00:00
Jeff Tinker
74797f843c Add expiration update and keys change events
In support of unprefixed EME

bug: 19771612
bug: 19771431
Change-Id: Iddef695cfa1a56363a4c173249597e415cb93f50
2015-04-09 22:44:36 +00:00
Dianne Hackborn
24f683523e Merge "More work on device idle mode and other power stuff." 2015-04-09 22:35:36 +00:00
Ronghua Wu
564eb45b00 Merge "media: add new MediaCodec Callback onCodecReleased." 2015-04-09 22:29:14 +00:00
Ronghua Wu
4c302e8b14 media: add new MediaCodec Callback onCodecReleased.
Bug: 19620911
Change-Id: I2912c570678861daf1516757dda2160ffddcfa8d
2015-04-09 14:47:58 -07:00
Dianne Hackborn
4870e9d5eb More work on device idle mode and other power stuff.
Add idle mode support to the alarm manager.  Introduce
a new concept of flags associated with alarms to tell
the alarm manager how to treat the alarm -- they allow
everything from the alarm that will bring us out of idle
mode, to alarms that are allowed when idle or should
also bring us out of idle.  The standalone boolean is
now also a flag.

(Note there is currently no protection from user space
setting the flags however it wants; I will be working
on that in a follow-up change.)

When in idle mode, the alarm manager pushes all alarms
that shouldn't execute during that time over to a
separate list that is not executed until out of idle.
To help with this, I reworked a bit how Alarm objects
are managed, so that when rebatching or moving between
lists we don't have to allocated new objects but can
just use the same existing instance.

Also tweaked the sync manager to deal with idle mode,
which currently just means doing the same thing as when
low on storage -- turning off sync.

Add new ACTION_CHARGING and ACTION_DISCHARGING broadcasts
that apps can listen for to know when the device is actively
charging and discharging.  These are better than the old
POWER_CONNECTED and POWER_DISCONNECTED ones because we only
report charging when we actually see that there is enough
power being provided to charge the battery (and will report
discharging if there is not enough power).

The job controller uses these new actions for scheduling
jobs that want to run while plugged in.  Removed the
"stable charging" stuff while doing so, since the new
charging state serves as an even better signal for that.

Introduced two new process states: FOREGROUND_SERVICE and
TOP_SLEEPING.  This will allow us to treat foreground services
specially (such as still allowing network access to them for
background music playback) while not mixing them together with
whatever happens to be the top activity while the device is
asleep.

Also some other small cleanup here and there.

Change-Id: I7a9808b578bad6f50deb8e1baf919298512a0d3a
2015-04-09 14:05:17 -07:00
Mike Lockwood
d954fbb967 Merge "Add support for Bluetooth MIDI devices" 2015-04-09 21:02:09 +00:00
Mike Lockwood
427a90c57a Merge "Add support for flushing MIDI all scheduled MIDI events on a port" 2015-04-09 21:01:44 +00:00
Christopher Tate
f4ab2b1074 Merge "Add system API for querying the available restore dataset for a package" 2015-04-09 20:20:31 +00:00
Christopher Tate
511d02fcc3 Add system API for querying the available restore dataset for a package
Bug 20123585

Change-Id: Ife6e77a224b5d4175178aacdb7c285e9944b9eab
2015-04-09 13:13:42 -07:00
Mike Lockwood
f0a41d1c59 Add support for Bluetooth MIDI devices
The Bluetooth MIDI devices are handled in the BluetoothMidiService APK.
Apps wishing to connect to Bluetooth MIDI devices call MidiManager.openBluetoothDevice()
which binds to BluetoothMidiService in a similar way as virtual devices are implemented.

Change-Id: Ie3fbca757928fd7873a009f9bf9e0ce0be487da6
2015-04-09 11:49:51 -07:00
Mike Lockwood
b6f50d357b Add support for flushing MIDI all scheduled MIDI events on a port
Change-Id: I39d7862540d4d4b9e2df1265f9dd253541adb4c2
2015-04-09 11:49:45 -07:00
George Mount
9978940208 Merge "Revert "Allow delay of showing/hiding shared element when transferring."" 2015-04-09 18:14:02 +00:00
George Mount
44d15f1c2e Revert "Allow delay of showing/hiding shared element when transferring."
This reverts commit bd93e69c8e0b06fc0b0bbba4bdd9e426b37f98e1.

Change-Id: I38daa39e8560f4901b242acc6394dfa37f3d084a
2015-04-09 18:13:40 +00:00
Tim Kilbourn
f96095c417 Merge "Simplify input-audio device mapping" 2015-04-09 17:06:53 +00:00
Alan Viverette
d278a3f092 Merge "Fix fast scroller thumb and track margins for Material" 2015-04-09 16:44:23 +00:00
George Mount
f7115c84e4 Merge "Allow delay of showing/hiding shared element when transferring." 2015-04-09 15:26:04 +00:00
George Mount
cef8bed515 Merge "Make TransitionManager.endTransitions() public." 2015-04-09 15:25:53 +00:00
Tim Kilbourn
6d85cf2bd7 Simplify input-audio device mapping
Instead of matching on unique ids, allow an .idc file to specify
whether the input device also has a mic.

Bug: 15374820
Change-Id: Ib5f934f1f37f6b98bb906a5be86c6bfa9a5f09c8
2015-04-08 15:44:03 -07:00
Dongwon Kang
ff1f29e1b1 TIF: add a video unavailable constant for audio program case.
Bug: 20019339
Change-Id: Ife3452486c065e6c5809f0cd2bb87794c4279312
2015-04-08 15:21:06 -07:00
George Mount
478673ede2 Make TransitionManager.endTransitions() public.
Bug 19231835

Change-Id: I151bae1d10aaab72f8fea73eaf0538f0aa5d810a
2015-04-08 14:51:36 -07:00
George Mount
bd93e69c8e Allow delay of showing/hiding shared element when transferring.
Bug 18932344

Change-Id: Ic967551a4dd27967d2312a6c6c8a83b34c220031
2015-04-08 14:48:02 -07:00
Nancy Chen
a9e9578d73 Merge "Hide and make systemapi visual voicemail-related apis." 2015-04-08 20:57:55 +00:00
Chien-Yu Chen
06fe59bfa2 Merge "camera2: add reprocess format map" 2015-04-08 20:42:44 +00:00
Timothy Knight
181767329b Merge "Revert "Camera2: Add camera pose and distortion fields"" 2015-04-08 19:14:38 +00:00
Timothy Knight
fb48944298 Revert "Camera2: Add camera pose and distortion fields"
This reverts commit da1e6411be6d69650d7e8ae42e738f2dbb356777.

Change-Id: Id04cc86cf9740a2a9bf5eb047b633a2abd90f561
2015-04-08 19:13:43 +00:00
Santos Cordon
6d5c0ba98c Merge "Add SIM activation constants to TelephonyManager" 2015-04-08 19:01:36 +00:00
Zhijun He
b0c98dac3d Merge "ImageReader/Writer: implement opaque format operations" 2015-04-08 18:57:59 +00:00
Eino-Ville Talvala
da1e6411be Camera2: Add camera pose and distortion fields
- android.lens.info.poseRotation
- android.lens.info.poseTranslation
- android.lens.info.intrinsicCalibration
- android.lens.info.radialDistortion

Change-Id: I3f8cf258b600bc58d0743e44aa6c456cd4b8a906
2015-04-08 18:37:03 +00:00
Santos Cordon
2aebb3fec3 Add SIM activation constants to TelephonyManager
Change-Id: I43fe5de4a1137bede4e81f4d51f272ad92dc80d5
2015-04-08 11:04:01 -07:00
Zhijun He
ce9d6f9c75 ImageReader/Writer: implement opaque format operations
Implement attach/detach for image reader and writer.

Bug: 19872821
Change-Id: Ib45a054c6be0b56b370fa8d709b47b0298ba5ea7
2015-04-08 10:39:29 -07:00
Jae Seo
9054431af3 Merge "TIF: Redefine time shift status and change callback and position APIs" 2015-04-08 04:42:36 +00:00
Jae Seo
465f0d6aa3 TIF: Redefine time shift status and change callback and position APIs
Also added/modified the documentation and addressed feedback from the
previous CL.

Change-Id: I046970cd0d2688886039d37a332bbe11bc5a4b0f
2015-04-07 17:34:39 -07:00
Chong Zhang
8f73a1be7c MediaMetadataRetriever: add key for capture fps
bug: 19460202
Change-Id: I3b7ebe298d78bbd292cf6202c43da674e43db854
2015-04-07 17:32:16 -07:00
Fabrice Di Meglio
0788595e0c Add IntentFilter auto verification - part 3
- add private API PackageManager.getAllIntentFilters(String)
for getting all IntentFilters from a given package
- update IntentFilterVerificationInfo to use an ArrayList<String>
for domains instead of a String[]
- if you make an App a default domain handler then make the
others as non default
- create an IntentVerificationInfo even if the App IntentFilters
do not need to be verified. This would be done only if the App
has some domain URLs defined and would allow to make it the
default handler for a domain
- a few code optimizations here and there

Change-Id: I4535372a0bb1a2c8e662e1485be8ca700003e9b3
2015-04-07 17:13:32 -07:00
Chien-Yu Chen
0a551f1487 camera2: add reprocess format map
Add reprocess format map to StreamConfigurationMap and add support
for ImageFormat.PRIVATE.

Change-Id: I5dd8ecbbb63231574a9ca4bf27c374b4a220e0ed
2015-04-07 16:57:23 -07:00
Alan Viverette
e5f1fff6db Fix fast scroller thumb and track margins for Material
Bug: 20091610
Change-Id: Iab023872381aee16be2c83fcf1a622a20619ca49
2015-04-07 14:39:04 -07:00
Jorim Jaggi
21af1bc845 Merge "Fix build" 2015-04-07 19:55:59 +00:00
Yang Ni
922346c0b2 Merge "Add a name to ScriptGroup2.Builder.create method" 2015-04-07 19:54:31 +00:00
Jorim Jaggi
4ac9c8078b Fix build
Change-Id: I1c748fd9fea6f5d4baf2c9cb29d1f3dc9f3a7082
2015-04-07 12:53:37 -07:00
Nancy Chen
1df9429b6b Hide and make systemapi visual voicemail-related apis.
Since there are no third-party apps expected to be using the visual
voicemail related apps at the moment, best to keep these hidden for now.

Bug: 19236241
Change-Id: I86f622208efcc89fab523f03d2bb70c244cdf867
2015-04-07 12:21:36 -07:00
Jorim Jaggi
25ff0646ca Merge "Add Camera prewarm intent." 2015-04-07 18:50:54 +00:00
Jorim Jaggi
a86790bf23 Add Camera prewarm intent.
Also adds a test app for testing this intent. In addition, the secure
camera gets launched in the background to fix jank while sending the
intent.

Bug: 20016619
Change-Id: I7bb7e22ddaf5dc67fc09b9e63e5f3d10fe8e3ee4
2015-04-07 11:24:05 -07:00
Alan Viverette
61cbc1f74f Merge "Add accessibility action for scrolling to a collection position" 2015-04-07 17:21:08 +00:00
Yang Ni
1709856238 Add a name to ScriptGroup2.Builder.create method
The name is not used in any meaningful way yet, but would be used
to name the file for generated code for fused kernels in other
coming CLs.

A script group name cannot be null or empty, or longer than 100
characters. It can only contain letters, digits, '-', or '_'.

Change-Id: I95fdbf58e6689da91ca98c2057dfa1a803d3b27b
2015-04-07 09:37:50 -07:00
Clara Bayarri
9b8178719b Merge "Create the Process Text Intent Action and Extra" 2015-04-07 12:52:31 +00:00