5616 Commits

Author SHA1 Message Date
Craig Mautner
2703052413 Hide stackId from prying eyes.
Member variable does not have to be publicly visible.

Fixes bug 10461556.

Change-Id: I9aeaf4f451738b1d6dc0289afb1deae6e8f7e5c2
2013-08-26 12:27:01 -07:00
Tom O'Neill
4a7c49c81f Address API Review for SettingInjectorService
- Escape < and > in javadoc

- Constructor does not take log tag

- Start intent rename

- Comments for Status.summary and enabled

- Bonus fixes:

  - Start renaming STATUS_KEY to SUMMARY_KEY

  - Send message back even if getting the status fails so we don't have
  to wait for the fetch to time out

  - Add comment about setting activity being invoked when disabled

- Partial fix for b/10461474

Change-Id: I025e7e0782c2873a4eda20ab4793bc6145daf8db
2013-08-26 10:08:12 -07:00
Jeff Sharkey
98d6212327 Merge "Add CancellationSignal support to file operations." into klp-dev 2013-08-23 23:17:47 +00:00
Eino-Ville Talvala
8ebd52bf41 Camera2: Add CameraDevice#flush()
- For quickly clearing out all pending and in-progress captures

Bug: 9758581
Change-Id: Ie4123fcc4d4b648a11d4a6257c531f07182bab39
2013-08-23 14:20:35 -07:00
Jeff Sharkey
bd3b902567 Add CancellationSignal support to file operations.
Since ContentProvider file operations can end up doing substantial
network I/O before returning the file, allow clients to cancel their
file requests with CancellationSignal.

Ideally this would only be needed for openFile(), but ContentResolver
heavily relies on openAssetFile() and openTypedAssetFile() for common
cases.

Also improve documentation to mention reliable ParcelFileDescriptors
and encourage developers to move away from "rw" combination modes,
since they restrict provider flexibility.  Mention more about places
where pipes or socket pairs could be returned.

Improve DocumentsContract documentation.

Bug: 10329944
Change-Id: I49b2825ea433eb051624c4da3b77612fe3ffc99c
2013-08-23 11:27:25 -07:00
Satoshi Kataoka
3d3e04eb04 am c60d6ab8: am d866f500: Merge "Add new API shouldOfferSwitchingToNextInputMethod" into klp-dev
* commit 'c60d6ab8256e2a11ea82773fcbd914dc2dda0b11':
  Add new API shouldOfferSwitchingToNextInputMethod
2013-08-23 02:35:56 -07:00
Satoshi Kataoka
d866f5002a Merge "Add new API shouldOfferSwitchingToNextInputMethod" into klp-dev 2013-08-23 09:31:51 +00:00
Jeff Brown
7e458235ac Remove input flinger stubs. (DO NOT MERGE)
Bug: 10446930
Change-Id: I6c9fd490f2efd9c359c598eb2a18c4150b446564
2013-08-22 19:31:21 -07:00
Edward Jee
922d41b6ef Enables AT+ANDROID command in Bluetooth HFP.
Adds another vendor-specific command AT+ANDROID in Bluetooth Hands-Free
Profile. And creates an API function that sends an unsolicited result
code +ANDROID .

Bug: 8736189
Change-Id: I4757c410d31b97511c92f66d71035eb929f9fd29
2013-08-23 01:17:07 +00:00
Jeff Tinker
677e8e51f6 am 2efb6cb7: am 76cf8fe7: Merge "Add ability to test supported content types to MediaDrm" into klp-dev
* commit '2efb6cb7397b6a2ac634d091f20b3466411f103c':
  Add ability to test supported content types to MediaDrm
2013-08-22 16:17:16 -07:00
Jeff Tinker
76cf8fe75e Merge "Add ability to test supported content types to MediaDrm" into klp-dev 2013-08-22 23:08:07 +00:00
Michael Wright
a027ac5838 am 6d44d8fa: am 8e3a4173: Merge "Expose API to query devices for supported keys" into klp-dev
* commit '6d44d8fa087f8cfff396df99cd6a7716b5c8bcd2':
  Expose API to query devices for supported keys
2013-08-22 14:13:19 -07:00
Michael Wright
8e3a41738f Merge "Expose API to query devices for supported keys" into klp-dev 2013-08-22 21:08:02 +00:00
Satoshi Kataoka
2b10b52f6c Add new API shouldOfferSwitchingToNextInputMethod
Bug: 8364845
Change-Id: I6767f5640a07aa515a930645b0cf0b36fbe94831
2013-08-22 15:51:13 +09:00
Jeff Tinker
7cda491321 Add ability to test supported content types to MediaDrm
bug: 10244066
Change-Id: Ic96c2e23f36809faf1c88ede500f4bc2bad4142a
2013-08-21 17:30:06 -07:00
Sam Blitzstein
435e7dfd92 Extend AlarmClock API (just slightly)
Add some extras to SET_ALARM action.
Add SET_TIMER action.

Change-Id: I436864ca875a7eb1c424d0d21882d624780d6ff1
(cherry picked from commit fe7dedefe9c146209f73306dbd1584f251f85d1c)
2013-08-21 21:41:46 +00:00
Sam Blitzstein
0fb6488e0a Merge "Extend AlarmClock API (just slightly)" 2013-08-21 21:39:52 +00:00
Eino-Ville Talvala
10558bc856 am b5d4ce96: am ba75bbe3: Camera2: Fix build: add temperature entry to camera public API
* commit 'b5d4ce966ba4a6f149846c2af64f3f2306c59b71':
  Camera2: Fix build: add temperature entry to camera public API
2013-08-21 11:40:23 -07:00
Eino-Ville Talvala
ba75bbe3ce Camera2: Fix build: add temperature entry to camera public API
Change-Id: I2722b80a38e0c844611f34e85697735982bf1fa0
2013-08-21 11:31:54 -07:00
Chris Craik
ed2515e853 am 908d9bfa: am dc70afae: Merge "Add inPremutiplied option to BitmapFactory.Options, functionality in Bitmap" into klp-dev
* commit '908d9bfafd576755d06f0566fc4cac3831476f63':
  Add inPremutiplied option to BitmapFactory.Options, functionality in Bitmap
2013-08-21 10:26:23 -07:00
Chris Craik
1abf5d6242 Add inPremutiplied option to BitmapFactory.Options, functionality in Bitmap
bug:2248948

Change-Id: I8fdd649332667598504a1076d5a447572bd53086
2013-08-20 18:29:33 -07:00
Tom O'Neill
b8fbe8d74f am 1e698982: am a37e2346: Merge "Warn that SettingInjectorService must be fast" into klp-dev
* commit '1e698982c9277c291e8eeedf1e80d7905040e421':
  Warn that SettingInjectorService must be fast
2013-08-20 17:51:49 -07:00
Tom O'Neill
a37e2346f8 Merge "Warn that SettingInjectorService must be fast" into klp-dev 2013-08-21 00:47:32 +00:00
Alan Viverette
c742bf1054 am cd38fdb2: am 59bbba7c: Merge "Add implicit parent dependency for Preferences" into klp-dev
* commit 'cd38fdb2de55f666f6c268549d3f5bdced616fda':
  Add implicit parent dependency for Preferences
2013-08-20 16:34:00 -07:00
Alan Viverette
59bbba7c37 Merge "Add implicit parent dependency for Preferences" into klp-dev 2013-08-20 23:28:16 +00:00
Svetoslav
04f7c6417b am be88e35d: am d3092167: Merge "Implemented advanced printer selection and API refactoring." into klp-dev
* commit 'be88e35d61d06be4987167b468708f6cc937845b':
  Implemented advanced printer selection and API refactoring.
2013-08-20 13:47:36 -07:00
Svetoslav
d30921672c Merge "Implemented advanced printer selection and API refactoring." into klp-dev 2013-08-20 20:42:05 +00:00
Matthew Xie
682e00e84d am 74f5c5d3: am 23657458: Merge "Change abortReliableWrite(BluetoothDevice) to abortReliableWrite()" into klp-dev
* commit '74f5c5d37fd7a3456774af3d3d9a38b1e48517f3':
  Change abortReliableWrite(BluetoothDevice) to abortReliableWrite()
2013-08-20 12:53:41 -07:00
Matthew Xie
2365745855 Merge "Change abortReliableWrite(BluetoothDevice) to abortReliableWrite()" into klp-dev 2013-08-20 19:47:29 +00:00
Chong Zhang
ec818c6f4a am 1cb4d42c: am a3132d97: Merge "MediaPlayer.TrackInfo: add getFormat() method" into klp-dev
* commit '1cb4d42c562fc53bee7779815b6c791f9aa00b3e':
  MediaPlayer.TrackInfo: add getFormat() method
2013-08-20 11:30:29 -07:00
Chong Zhang
a3132d975b Merge "MediaPlayer.TrackInfo: add getFormat() method" into klp-dev 2013-08-20 18:23:12 +00:00
Tom O'Neill
38a310aa0a am 19eefb20: am f23993fb: Merge "Add the API to set and read the location mode" into klp-dev
* commit '19eefb2033a6cb0542bea6baa4767e55fc1dd477':
  Add the API to set and read the location mode
2013-08-20 11:18:33 -07:00
Tom O'Neill
f23993fb52 Merge "Add the API to set and read the location mode" into klp-dev 2013-08-20 18:13:09 +00:00
Sam Blitzstein
fe7dedefe9 Extend AlarmClock API (just slightly)
Add some extras to SET_ALARM action.
Add SET_TIMER action.

Change-Id: I436864ca875a7eb1c424d0d21882d624780d6ff1
2013-08-20 10:32:43 -07:00
Romain Guy
c9031a0939 Merge "Make color filters mutable" 2013-08-20 01:21:22 +00:00
Romain Guy
13656743cc Make color filters mutable
Change-Id: I3d035d24a75e09db13d136a22bd7dbd326d0ce36
2013-08-19 18:18:00 -07:00
Tom O'Neill
1f48b78e99 Add the API to set and read the location mode
- This will be more future-proof than the current GPS/NLP API

Change-Id: I9defe505e1372d9b601c3190eb49bd71604f04d1
2013-08-19 18:14:56 -07:00
Michael Wright
b7b2d4b490 Expose API to query devices for supported keys
Change-Id: I29f230e19c6f851b4b72b2fc8dd41f5abcba4631
2013-08-19 17:06:03 -07:00
Jeff Brown
194c140c34 Merge changes Id3815fe8,I90a85921 into klp-dev
* changes:
  Define AudioSource.REMOTE_SUBMIX.
  Remove setRemoteSubmixOn method.
2013-08-19 23:57:11 +00:00
Jeff Brown
64dfb604e7 Define AudioSource.REMOTE_SUBMIX.
Add an API to allow applications to record from the remote
submix when they have the required permissions.

Bug: 10265163
Change-Id: Id3815fe82a6713e058ce4b8ab6128a898481df7e
2013-08-19 16:42:07 -07:00
Alan Viverette
02f5680363 Add implicit parent dependency for Preferences
Also removes unused dependency change listener interface.

BUG: 10117838
Change-Id: I03f0eb37e7ba69942f7997a8b32adb38a3dee0bd
2013-08-19 16:32:56 -07:00
John Du
48f8b5dbf6 Change abortReliableWrite(BluetoothDevice) to abortReliableWrite()
BluetoothGatt.abortReliableWrite() should not take a BluetoothDevice
parameter. Instead, it should use mDevice instance variable.
bug 10152994

Change-Id: I7fc79b9011cf878414128cc9f1696e5ccc597056
2013-08-19 16:01:24 -07:00
Svetoslav
269403b032 Implemented advanced printer selection and API refactoring.
1. Added past printer history tracking and merging favorite printers
   with discovered printers.

2. Added save as PDF support.

3. Added all printers activity with search capability and optional
   add printers chooser (if any print service provides add printers
   activity)

4. Refactored the printer discovery session APIs. Now one session
   can have multiple window discovery windows and the session stores
   the printers found during past discovery periods.

5. Merged the print spooler and the print spooler service - much
   simpler and easier to maintain.

Change-Id: I4830b0eb6367e1c748b768a5ea9ea11baf36cfad
2013-08-19 13:24:11 -07:00
Tom O'Neill
184e75146c Warn that SettingInjectorService must be fast
- Move UPDATE_INTENT to SettingInjectorSErvice

Change-Id: I9c8f8dc0878647a051cb852721b3436e9d55b391
2013-08-19 13:13:21 -07:00
Martijn Coenen
b6e8943933 Merge "NFC: Allow HostApduService to indicate transaction unhandled." into klp-dev 2013-08-19 20:11:09 +00:00
Vinit Deshapnde
4d0145add1 Merge "Expose WifiManager.setTdlsEnabled public API" into klp-dev 2013-08-19 19:14:03 +00:00
Martijn Coenen
583fe9d22b NFC: Allow HostApduService to indicate transaction unhandled.
This will cause the OS to show UI that allows the user to pick
another application that could potentially handle the transaction.

Also, tweak processCommandApdu() method to take a Bundle to be more
future-proof.

Bug: 10262585
Change-Id: If9d060341b472fac0349f539c04b87e85fe79dfb
2013-08-19 11:52:27 -07:00
Andreas Huber
e79ba15453 Merge "Expose KEY_REPEAT_PREVIOUS_FRAME_AFTER and KEY_PUSH_BLANK_BUFFERS_ON_STOP" into klp-dev 2013-08-19 15:39:29 +00:00
Jeff Sharkey
5851493762 Merge "Resized thumbnails; async; extend MatrixCursor." into klp-dev 2013-08-18 20:53:29 +00:00
Jeff Sharkey
9d0843df7e Resized thumbnails; async; extend MatrixCursor.
When requesting thumbnails, check if their dimensions are larger
than requested, and downscale to avoid memory pressure.  Load them
async and with LruCache.

Extend MatrixCursor so that RowBuilder can offer() columns without
requiring they know the projection map.  This makes it easier to
respond to query() calls, where the remote side controls the
projection map.  Use it to handle custom projections in external
storage backend.

Update date/time formatting to match spec.

Bug: 10333418, 10331689
Change-Id: I7e947a8e8068af8a39b55e6766b3241de4f3fc16
2013-08-17 19:05:07 -07:00