Commit Graph

6874 Commits

Author SHA1 Message Date
Sujith Ramakrishnan
c5826eebc5 Merge "Unbundle RemoteService on TV - part 3" into nyc-dev am: 7981e8f
am: a2262b3

* commit 'a2262b3bb15497c6ee4854cfcf7a43fc07c2c876':
  Unbundle RemoteService on TV - part 3

Change-Id: I45fbdda42aa5d9f5d9c25a027dd11eb7b0f560a1
2016-04-22 21:04:43 +00:00
Sujith Ramakrishnan
de3f4aead5 Merge "Unbundle RemoteService on TV - part 3" into nyc-dev
am: 7981e8f

* commit '7981e8ff6509769a590f15b440f989437d732be5':
  Unbundle RemoteService on TV - part 3

Change-Id: Ib5eb6363e904a1f66000d12263f66a8e5bd1f663
2016-04-22 21:02:04 +00:00
Sujith Ramakrishnan
b5b86c1100 Unbundle RemoteService on TV - part 3
- New service TVRemoteService triggered by SystemServer
- Provider service proxy and watcher for maintaining connections to unbundled
  services which have the BIND_TV_REMOTE_SERVICE permission.
- Shared library to facilitate connections between unbundled service and
  TVRemoteService.
- Unbundled service needs TV_VIRTUAL_REMOTE_CONTROLLER
  permission to be fully functional.

b/23792608

Change-Id: Ief5c6995883d1f7268a73bdd0c920c4c3f42cddb
2016-04-22 12:21:34 -07:00
Dongwon Kang
fb6c782e27 Merge "TIF: Address API review comments" into nyc-dev am: b0df08598c am: 9c19a27e20
am: f074a363d4

* commit 'f074a363d449a17e6b5fd19ae414722f8b3965fe':
  TIF: Address API review comments

Change-Id: I23be09441ff5f361af8869cbc6a8168871189baf
2016-04-22 18:09:57 +00:00
Dongwon Kang
9c19a27e20 Merge "TIF: Address API review comments" into nyc-dev
am: b0df08598c

* commit 'b0df08598c9005938a8315a76c148967e6e06fc4':
  TIF: Address API review comments

Change-Id: I9e493f4bbee4cf6cd6382fb0539c357083c23617
2016-04-22 18:00:41 +00:00
Dongwon Kang
b0df08598c Merge "TIF: Address API review comments" into nyc-dev 2016-04-22 17:54:34 +00:00
Tobias Thierer
ef773e84c6 frameworks/base: Avoid Long object allocations in Long.valueOf() am: 28532d0026
am: 9031ab18fd

* commit '9031ab18fdb0187016998d0e192df12160265b9c':
  frameworks/base: Avoid Long object allocations in Long.valueOf()

Change-Id: I87089a855f76ccbdb086185000f13e803023e67a
2016-04-22 12:58:47 +00:00
Tobias Thierer
28532d0026 frameworks/base: Avoid Long object allocations in Long.valueOf()
Replace usages where the Long is immediately unboxed or thrown
away with Long.parseLong().
In TaskRecord.java, I also fixed up similar uses of
{Boolean,Integer}.valueOf()

Tested: built frameworks/base successfully.

Bug: 28289401
(cherry picked from commit 4bd017d6a5)

Change-Id: Icfa4708946e774f4a1bacf185c3fd11a7087017e
2016-04-22 13:36:53 +01:00
Daichi Hirono
c56a2e890b Merge "Add throws definition to MtpDevice#readEvent." into nyc-dev am: 4dfde6079c am: 80038a33e3
am: 8a24bfc7bc

* commit '8a24bfc7bc02c98a55979b6a791f81a74a3953e3':
  Add throws definition to MtpDevice#readEvent.

Change-Id: If2c8bf590db5d0b9a5198e972355ad8fb21ca1a7
2016-04-22 00:24:32 +00:00
Daichi Hirono
991381aacf Merge "Handle API review comments from the council." into nyc-dev am: b9c64cd2c0 am: 4ab0f745d5
am: 8c46042510

* commit '8c46042510a7af745a744d02d0c2cf9340415423':
  Handle API review comments from the council.

Change-Id: I3af5de86e27a3ea12602a0bf4fcee67f2d546385
2016-04-22 00:24:14 +00:00
Daichi Hirono
80038a33e3 Merge "Add throws definition to MtpDevice#readEvent." into nyc-dev
am: 4dfde6079c

* commit '4dfde6079c492ab0f54e699c367abf89a5e0dfa3':
  Add throws definition to MtpDevice#readEvent.

Change-Id: I81e7931e7ae2256aec06aa775fedf8c3f6506176
2016-04-22 00:12:24 +00:00
Daichi Hirono
4ab0f745d5 Merge "Handle API review comments from the council." into nyc-dev
am: b9c64cd2c0

* commit 'b9c64cd2c06933eda7ff1e691b80c53a74ff09d7':
  Handle API review comments from the council.

Change-Id: I9f082a99d5c8cbce3aaa9708f5f0ea75cc5a9ed6
2016-04-22 00:12:20 +00:00
Daichi Hirono
4dfde6079c Merge "Add throws definition to MtpDevice#readEvent." into nyc-dev 2016-04-22 00:00:33 +00:00
Daichi Hirono
b9c64cd2c0 Merge "Handle API review comments from the council." into nyc-dev 2016-04-22 00:00:33 +00:00
Eric Laurent
21b4f58935 Merge "AudioManager: fix isBluetoothA2dpOn()" into nyc-dev am: dc7ce84095 am: 0bf32f0589
am: a81007c25c

* commit 'a81007c25c65c2b287fff0b4c08d5857711f9086':
  AudioManager: fix isBluetoothA2dpOn()

Change-Id: I5244d989105ac41a5cedc25d1e7d3757084482c4
2016-04-21 18:30:56 +00:00
Eric Laurent
a81007c25c Merge "AudioManager: fix isBluetoothA2dpOn()" into nyc-dev am: dc7ce84095
am: 0bf32f0589

* commit '0bf32f0589efc3412af702ce370d7a79432e4ec7':
  AudioManager: fix isBluetoothA2dpOn()

Change-Id: I30868022115cd389036efed24189f1f26c21c3af
2016-04-21 18:28:38 +00:00
Eric Laurent
bdf90a2d1c Merge "AudioManager: fix isBluetoothA2dpOn()" into nyc-dev
am: dc7ce84095

* commit 'dc7ce840950398518cc116924b173eb7b7f3288a':
  AudioManager: fix isBluetoothA2dpOn()

Change-Id: I7a655431e766701b2f02c468aae163554e47ecdb
2016-04-21 18:26:21 +00:00
Eric Laurent
dc7ce84095 Merge "AudioManager: fix isBluetoothA2dpOn()" into nyc-dev 2016-04-21 18:22:59 +00:00
Tobias Thierer
4bd017d6a5 frameworks/base: Avoid Long object allocations in Long.valueOf()
Replace usages where the Long is immediately unboxed or thrown
away with Long.parseLong().
In TaskRecord.java, I also fixed up similar uses of
{Boolean,Integer}.valueOf()

Tested: built frameworks/base successfully.

Bug: 28289401
Change-Id: I1fad536853a68c7b0707cbf02989aca155064843
2016-04-21 16:23:56 +01:00
Phil Burk
6d7af5526b Merge "MidiDevice: do not open ports on closed device" into nyc-dev am: 2faac0d am: 10f1740
am: 922d88db31

* commit '922d88db313a25c27a6c6a51f15099eafb06e55d':
  MidiDevice: do not open ports on closed device

Change-Id: If85a24e63dee26b4c4ab27376602b2b973c1db24
2016-04-21 00:23:12 +00:00
Eric Laurent
9656df2b2e AudioManager: fix isBluetoothA2dpOn()
Test all A2DP type variants when checking if an A2DP device is connected
in isBluetoothA2dpOn().

Bug: 28286051
Change-Id: I756d632b12d584d8a27cc1890e758d8accff7120
2016-04-20 16:42:28 -07:00
Phil Burk
10f1740c1c Merge "MidiDevice: do not open ports on closed device" into nyc-dev
am: 2faac0d

* commit '2faac0d74169ddc1f54f9cd356dc23b96a74c9eb':
  MidiDevice: do not open ports on closed device

Change-Id: I6f98e504d682a5902dd29f5fa54023e7a8bc9814
2016-04-20 21:52:33 +00:00
Phil Burk
01ab4d62d9 MidiDevice: do not open ports on closed device
Fix involves client side mIsDeviceClosed flag.

Bug: 24949216
Change-Id: I666284a787fbb9a710d2372fb424e8e54f6a2825
Signed-off-by: Phil Burk <philburk@google.com>
2016-04-20 12:30:42 -07:00
Daichi Hirono
60fa3615bc Add throws definition to MtpDevice#readEvent.
Previously MtpDevice#readEvent does not have throws IOException at its
definition, though internal JNI functions throws it.

BUG=28254719
Change-Id: I4e6cf8003d168b7e732c4b4eb2eafe52a12442c2
2016-04-20 14:48:23 +09:00
Dongwon Kang
ee564881d9 TIF: Address API review comments
- Remove TIS.updateTvInputInfo and unhide TIM.updateTvInputInfo
- Add more doc on RECORDING_ERROR_UNKNOWN

Bug: 28146354
Change-Id: I581ef17b60e0933f5c07df3f398d15b890b2e29d
2016-04-18 19:36:21 +00:00
Sungsoo Lim
f861c77458 Merge "MediaBrowserService: Provide a way to retrieve root hints" into nyc-dev am: bfa6d23 am: 33de442
am: c0b10c2

* commit 'c0b10c2515f289495f854c045cdfca9e129ef2a0':
  MediaBrowserService: Provide a way to retrieve root hints

Change-Id: Ieca1f45e3f46a4719f9b7993fd1fe7a36b98dba5
2016-04-18 17:42:24 +00:00
Sungsoo Lim
33de4426e9 Merge "MediaBrowserService: Provide a way to retrieve root hints" into nyc-dev
am: bfa6d23

* commit 'bfa6d239b578fabd34781c11711a5413322efa6c':
  MediaBrowserService: Provide a way to retrieve root hints

Change-Id: I632db5f48f65b189b0e21f858a7b091bb06ea102
2016-04-18 17:31:27 +00:00
Sungsoo Lim
bfa6d239b5 Merge "MediaBrowserService: Provide a way to retrieve root hints" into nyc-dev 2016-04-18 17:21:59 +00:00
Daichi Hirono
399df701a1 Handle API review comments from the council.
* MtpEvent: Remove public constructor since properties cannot be set
   directly.
 * MtpEvent: Move event constants from MtpConstants to MtpEvent class.
 * getPartialObject64: the byte[] must have indices of Integer.MAX_VALUE
   at most. Document as such.
 * sendObjectInfo: what happens if the transfer doesn’t succeed? How is
   the app notified? If there is a reason for the failure communicated,
   how does the app find this out? Add docs.
 * Add isOperationSupported(int) and isEventSupported(int) helpers.

Change-Id: Ifd80016d2ddd3b66d5c45f6da76b6133f0c9a617
Fixes: 28146379
2016-04-18 13:03:29 +09:00
Jaesung Chung
6b056c6fd5 Merge "ExifInterface: keep the original metadata data instead of strings" into nyc-dev am: 865cef4
am: 468a079

* commit '468a0796cbed366d9db01c0e86e9429b51645842':
  ExifInterface: keep the original metadata data instead of strings

Change-Id: I6c7ab5441f6cb477bffc7953a61bc51e2af7e01b
2016-04-16 02:48:57 +00:00
Jaesung Chung
468a0796cb Merge "ExifInterface: keep the original metadata data instead of strings" into nyc-dev
am: 865cef4

* commit '865cef475dd4b0ffcb4df0dd62cb86d4ce65ab08':
  ExifInterface: keep the original metadata data instead of strings

Change-Id: Ie02b5ac90a8dde0389ace4bcae081f8bd4e064a0
2016-04-16 02:46:14 +00:00
Jaesung Chung
865cef475d Merge "ExifInterface: keep the original metadata data instead of strings" into nyc-dev 2016-04-16 02:41:23 +00:00
Andreas Gampe
06073197b8 Merge "Frameworks/base: Fix old code in MediaPlayer" am: 17b069c am: f664e82
am: 3bd314f

* commit '3bd314fe77ebdd5b78e653264eb6d028d0ef76a9':
  Frameworks/base: Fix old code in MediaPlayer

Change-Id: I6a7465ed32560d5a1a15c70308b8a746ba23fa37
2016-04-16 00:51:34 +00:00
Andreas Gampe
3bd314fe77 Merge "Frameworks/base: Fix old code in MediaPlayer" am: 17b069c
am: f664e82

* commit 'f664e8227097b81fd641549ccd3de9c5d9a8b0e3':
  Frameworks/base: Fix old code in MediaPlayer

Change-Id: I7239d5fd2e7593047b8806bf0fdbd30fe2dd1487
2016-04-16 00:49:07 +00:00
Andreas Gampe
17b069c0f4 Merge "Frameworks/base: Fix old code in MediaPlayer" 2016-04-16 00:40:01 +00:00
Jaesung Chung
0e7d22535d ExifInterface: keep the original metadata data instead of strings
This CL makes ExifInterface store the tag values as the original forms
and the format validiation is added that compares the given value and
the data format specificed in EXIF specification in order to keep the
valid tag values only.

Bug: 27583378, Bug: 27614052, Bug: 28075709
Change-Id: If60bbddefe74c4b87b4ce64b5fc79e467e36a5b9
2016-04-15 23:27:21 +00:00
Sungsoo Lim
51ccdb0f39 MediaBrowserService: Provide a way to retrieve root hints
Bug: 28075963
Change-Id: Id8993e67732a2dda5bf75ecab6037dbbba8c8c99
2016-04-15 14:37:36 -07:00
Eric Laurent
0d0061e301 Merge "Player superclass for handling AppOps features" into nyc-dev am: 4a18235
am: e0492bb

* commit 'e0492bb53bf6d5cbbc04f4577ec91123b63d1833':
  Player superclass for handling AppOps features

Change-Id: Ib42302b9e9738ea269493d4a5ce47e7461ee1805
2016-04-15 21:15:10 +00:00
Jean-Michel Trivi
e0492bb53b Merge "Player superclass for handling AppOps features" into nyc-dev
am: 4a18235

* commit '4a182358c49c1f153177e9ca8f61ff12e4395806':
  Player superclass for handling AppOps features

Change-Id: I56e418afaa0a081a1df52c32608582e86d64c823
2016-04-15 21:11:40 +00:00
Eric Laurent
4a182358c4 Merge "Player superclass for handling AppOps features" into nyc-dev 2016-04-15 21:05:25 +00:00
TreeHugger Robot
80c5c5b557 Merge "TIF: Specify the default implementation of onTune(Uri, Bundle)" into nyc-dev am: 6f8476d
am: d39f945

* commit 'd39f94583aebbdc8658740c1bdf8ebd260904893':
  TIF: Specify the default implementation of onTune(Uri, Bundle)

Change-Id: I00a1f380d288bdc81f65845a8acce093c1c62689
2016-04-15 17:50:21 +00:00
Dongwon Kang
d39f94583a Merge "TIF: Specify the default implementation of onTune(Uri, Bundle)" into nyc-dev
am: 6f8476d

* commit '6f8476dc155805f121f8236e0c81e9aa7d3cd40d':
  TIF: Specify the default implementation of onTune(Uri, Bundle)

Change-Id: I522861bcc9e21105d22af63e4444779a8c3a91b6
2016-04-15 17:47:05 +00:00
TreeHugger Robot
6f8476dc15 Merge "TIF: Specify the default implementation of onTune(Uri, Bundle)" into nyc-dev 2016-04-15 17:39:14 +00:00
Sungsoo Lim
37e6986d67 Merge "Use a binder instead of a bundle in removeSubscriptionWithOptions" into nyc-dev am: 067f821
am: 32a21cd

* commit '32a21cd4a4f0fb0990818bf08f1eafbd8188782c':
  Use a binder instead of a bundle in removeSubscriptionWithOptions

Change-Id: Iab41b1d260938c90369f1a61e0e949c27fb4b81b
2016-04-15 16:52:34 +00:00
Sungsoo Lim
32a21cd4a4 Merge "Use a binder instead of a bundle in removeSubscriptionWithOptions" into nyc-dev
am: 067f821

* commit '067f821ec84d3bcb556a8de77f3e3d3b8c042186':
  Use a binder instead of a bundle in removeSubscriptionWithOptions

Change-Id: Ie6cd52b5169c9b29d437fc04fc1cd71881eede22
2016-04-15 16:49:22 +00:00
Sungsoo Lim
067f821ec8 Merge "Use a binder instead of a bundle in removeSubscriptionWithOptions" into nyc-dev 2016-04-15 16:42:48 +00:00
Dongwon Kang
031d7e838d TIF: Specify the default implementation of onTune(Uri, Bundle)
Bug: 28146354
Change-Id: I3148ab4704a03c258d330c3b9a10513f950a8cfc
2016-04-14 15:26:55 -07:00
Dongwon Kang
9752d2fd09 Merge "TIF: Add Programs.COLUMN_RECORDING_PROHIBITED" into nyc-dev am: 7f5b3e5
am: d523768

* commit 'd52376853da8b0b42f19e8129a59f269c2565646':
  TIF: Add Programs.COLUMN_RECORDING_PROHIBITED

Change-Id: I3acc697c147284ea405564a99fe1292841c17d51
2016-04-14 20:53:43 +00:00
Dongwon Kang
d52376853d Merge "TIF: Add Programs.COLUMN_RECORDING_PROHIBITED" into nyc-dev
am: 7f5b3e5

* commit '7f5b3e59d1e35deceb1fcde9266ea826d254cd73':
  TIF: Add Programs.COLUMN_RECORDING_PROHIBITED

Change-Id: Ib5af524e0dfb6b30dc2b4270bd6e36cdadca5f32
2016-04-14 20:24:59 +00:00
Dongwon Kang
7f5b3e59d1 Merge "TIF: Add Programs.COLUMN_RECORDING_PROHIBITED" into nyc-dev 2016-04-14 20:13:58 +00:00