Steven Moreland
3b20d72697
Merge "Add checked exceptions to HwBinder transact." am: 6c5cc261f8 am: ca5d560090
...
am: d38478cb50
Change-Id: Ic0c6eb87c57aca798ff167a71929f1a0e3132a75
2017-01-04 05:11:06 +00:00
Steven Moreland
d38478cb50
Merge "Add checked exceptions to HwBinder transact." am: 6c5cc261f8
...
am: ca5d560090
Change-Id: I6d2dd373f83244e3fe61197cd704a3833a50329c
2017-01-04 05:07:06 +00:00
Steven Moreland
ca5d560090
Merge "Add checked exceptions to HwBinder transact."
...
am: 6c5cc261f8
Change-Id: I3bcac03a745722acd983dc4e7bdc31ae806bdbd4
2017-01-04 05:03:28 +00:00
Treehugger Robot
6c5cc261f8
Merge "Add checked exceptions to HwBinder transact."
2017-01-04 04:58:38 +00:00
Pavlin Radoslavov
62c5226e9c
Merge "Add a mechanism for configuring the A2DP Source codecs" am: 63270f2b96 am: 8b46f87e7e
...
am: da3de76bdb
Change-Id: If62a29812dad856d262c38804f3d88a5406ef79e
2017-01-04 03:49:09 +00:00
Pavlin Radoslavov
da3de76bdb
Merge "Add a mechanism for configuring the A2DP Source codecs" am: 63270f2b96
...
am: 8b46f87e7e
Change-Id: I39e4b90491f646887200649954b652d9f5439925
2017-01-04 03:44:40 +00:00
Pavlin Radoslavov
8b46f87e7e
Merge "Add a mechanism for configuring the A2DP Source codecs"
...
am: 63270f2b96
Change-Id: I289d3b61e29b02bae208c656a6e963ff58248a15
2017-01-04 03:39:50 +00:00
Pavlin Radoslavov
44a4ef0aa9
Add a mechanism for configuring the A2DP Source codecs
...
* Added a new class BluetoothCodecConfig that contains codec-related
configuration or capabilities: codec type, priority, sample rate,
bits per sample, channel mode, and codec specific fields.
* Extended the Bluetooth A2DP AIDL interface to get/set the current
codec configuration
* Added new call handleBluetoothA2dpDeviceConfigChange() to the Media
Framework that is called when there are changes in the
Bluetooth A2DP device configuration - e.g., the A2DP codec is changed.
Test: A2DP streaming to headsets, TestPlans/71390
Bug: 30958229
Change-Id: I9a82716cbc2a5efbe77352a031ac80c88f6a2459
2017-01-03 17:52:52 -08:00
Steven Moreland
e62b1f32f3
Add checked exceptions to HwBinder transact.
...
Bug: 33673120
Test: hidl_test_java
Merged-In: I7b62eb6b066fc24c44ef7e46aaa2a3208c053d11
Change-Id: I7b62eb6b066fc24c44ef7e46aaa2a3208c053d11
2017-01-04 01:13:16 +00:00
Jeff Sharkey
7664e61885
Merge "Offer to measure disk stats using quotas." am: f8720b95be am: 4b80a4a372
...
am: 1e1cdbead1
Change-Id: Ic00acfb0efb6188a15357322528075d41467310b
2017-01-03 19:48:36 +00:00
Jeff Sharkey
1e1cdbead1
Merge "Offer to measure disk stats using quotas." am: f8720b95be
...
am: 4b80a4a372
Change-Id: I2ab9a2bd2ff60cafea332998789ad947dda0140b
2017-01-03 19:31:36 +00:00
Jeff Sharkey
4b80a4a372
Merge "Offer to measure disk stats using quotas."
...
am: f8720b95be
Change-Id: I56bab3ec4895c232ce8287623827c20f2dbfaaf6
2017-01-03 19:24:00 +00:00
Jeff Sharkey
5eb3eb58ac
Offer to measure disk stats using quotas.
...
Now we're getting somewhere! This CL starts measuring disk usage
using quotactl(), which is almost instant and has much lower impact
on flash memory lifetime.
We now grant the per-app cache GID to every launched app, and the
ContextImpl logic that creates cache directories matches the logic
down in installd.
Test: builds, boots, quota stats match manual stats
Bug: 27948817
Change-Id: Ie269a2958ce0e1c17cb74dbfecc791a5c12922cf
2017-01-03 10:22:39 -07:00
Ivan Podogov
0ad19476cb
Fix profiles broken by ag/1751147 am: 5297dba712
...
am: 72d9008700
Change-Id: Ic4760a5c931bf6b8340e9ebc96b08fec938d2421
2016-12-30 23:15:00 +00:00
Ivan Podogov
72d9008700
Fix profiles broken by ag/1751147
...
am: 5297dba712
Change-Id: I9c0a4ead26f60b601847c1ba73e6b492a3611880
2016-12-30 23:07:32 +00:00
Ivan Podogov
5297dba712
Fix profiles broken by ag/1751147
...
Change-Id: Ifa92819df8e63355a3979ea0f1a20a0363b6cd45
2016-12-30 22:22:38 +00:00
Marie Janssen
825d8ff56a
resolve merge conflicts of c816141 to nyc-mr1-dev-plus-aosp
...
am: 07e590a574
Change-Id: I49fd2c3ed7ac5cbdf102ec289235b1fb12bee39a
2016-12-29 23:45:39 +00:00
Marie Janssen
07e590a574
resolve merge conflicts of c816141 to nyc-mr1-dev-plus-aosp
...
Change-Id: I42e00b90165220d88519771b8f4280aaf3a07525
2016-12-29 14:05:47 -08:00
Marie Janssen
c816141bce
resolve merge conflicts of 9cc7ebe to stage-aosp-master
...
Change-Id: Ia1cdf49d77a574c38ed5cc33c31d5cf930103484
2016-12-29 12:44:03 -08:00
Ivan Podogov
48738f5ad0
Rename the Bluetooth profile classes for HID Device role. am: 0afe190af5 am: 94e3d3f499
...
am: 91ab2e2f98
Change-Id: If0e072e96491020191a7742928cc90adff151342
2016-12-29 20:00:09 +00:00
Hemant Gupta
a9c92c2442
Bluetooth: Add support for HID Device Role am: e88fd4b594 am: ee469c6fe9
...
am: 1ee22b7f70
Change-Id: Ia82f834d4d2ad800574bb0317f4fb3b3786972fc
2016-12-29 19:59:28 +00:00
Ivan Podogov
91ab2e2f98
Rename the Bluetooth profile classes for HID Device role. am: 0afe190af5
...
am: 94e3d3f499
Change-Id: I97ff93fd2564bd76d90095f8086f79c6c6086aff
2016-12-29 19:46:55 +00:00
Hemant Gupta
1ee22b7f70
Bluetooth: Add support for HID Device Role am: e88fd4b594
...
am: ee469c6fe9
Change-Id: Ic48911d254671d402f5a6b8198109f28e6497036
2016-12-29 19:46:08 +00:00
Ivan Podogov
94e3d3f499
Rename the Bluetooth profile classes for HID Device role.
...
am: 0afe190af5
Change-Id: Ib5c9b904da57048d719df504142edd3dab0e6ec3
2016-12-29 19:38:41 +00:00
Hemant Gupta
ee469c6fe9
Bluetooth: Add support for HID Device Role
...
am: e88fd4b594
Change-Id: Ic2a82d5670ffbd3046766d73ed9b180546c59169
2016-12-29 19:37:58 +00:00
Marie Janssen
9cc7ebe7d9
Merge "Bluetooth: track enabling in dumpsys"
2016-12-29 19:32:36 +00:00
Marie Janssen
5980456040
Bluetooth: track enabling in dumpsys
...
Move basic state dumpsys to here from AdapterService.
Track which apps are enabling and disabling Bluetooth, including BLE
apps, and show the apps in the dumpsys logs.
Test: start phone and enable/disable, take bug report
Bug: 33692282
Change-Id: I6ea62ebdcfd7873d0be1bb5c5c520bbce3737a40
2016-12-29 19:22:14 +00:00
Ivan Podogov
0afe190af5
Rename the Bluetooth profile classes for HID Device role.
...
We already have BluetoothInputDevice class, so adding something
called BluetoothHidDevice seems confusing. On the other hand,
the new class is designed to connect to HID Host devices, so
naming it BluetoothInputHost makes sense and goes in line with
the existing BluetoothInputDevice.
The same goes for the new constant HID_DEVICE that is just as
confusing to have together with the INPUT_DEVICE one.
This CL also renames the "connection state changed" broadcast
(for the same reasons), declares it as an SDK constant, and also
adds some javadoc to it.
Note that BluetoothHidDeviceApp* classes remained unchanged, as
those correspond to the app that implements the Device (and
connects to the Host).
Test: make
Change-Id: I5075ca5b97db3c1dd403c2e9660eecc7380cffe2
2016-12-29 14:30:40 +00:00
Hemant Gupta
e88fd4b594
Bluetooth: Add support for HID Device Role
...
This patch adds the HID Device Role support in Bluetooth framework.
Also AIDL and callback related files for HID Device role are added
to provide interface for third party applications to communicate with
HID Device Service.
Change-Id: Id03a362b7bcfa2e76056fa0197eaac12ce49b5a2
2016-12-29 14:29:53 +00:00
Charles He
fce4eb6810
Prevent writing to FRP partition during factory reset. am: a9437bd1ca am: 2ce5c4320d am: 133ff4d611 am: 00a581f882 am: e5156ec1e9 am: 9a47fa7fc0 am: 8bcdab7e6f am: dd7837c5ad am: 9bc2d6b446 am: 08ea823955
...
am: 065e387455
Change-Id: Ic6182836cbc0bf547bcd6c6621a410c1e6d0ce8f
2016-12-29 11:23:57 +00:00
Charles He
22faa73586
Prevent writing to FRP partition during factory reset. am: a9437bd1ca am: 2ce5c4320d am: 133ff4d611 am: 00a581f882 am: e5156ec1e9 am: 9a47fa7fc0 am: 8bcdab7e6f am: dd7837c5ad am: 9bc2d6b446
...
am: 08ea823955
Change-Id: I1526deabd38ef8ecbb841a7029b9539bb5f3aefc
2016-12-29 11:17:05 +00:00
Charles He
065e387455
Prevent writing to FRP partition during factory reset. am: a9437bd1ca am: 2ce5c4320d am: 133ff4d611 am: 00a581f882 am: e5156ec1e9 am: 9a47fa7fc0 am: 8bcdab7e6f am: dd7837c5ad am: 9bc2d6b446
...
am: 08ea823955
Change-Id: I079501cac553468878a6642a64110f4de3e56698
2016-12-29 11:16:55 +00:00
Charles He
08ea823955
Prevent writing to FRP partition during factory reset. am: a9437bd1ca am: 2ce5c4320d am: 133ff4d611 am: 00a581f882 am: e5156ec1e9 am: 9a47fa7fc0 am: 8bcdab7e6f am: dd7837c5ad
...
am: 9bc2d6b446
Change-Id: I7e5794885bf78dfd1d755a7fdb0b1edf66b9fdee
2016-12-29 11:03:26 +00:00
Charles He
9bc2d6b446
Prevent writing to FRP partition during factory reset. am: a9437bd1ca am: 2ce5c4320d am: 133ff4d611 am: 00a581f882 am: e5156ec1e9 am: 9a47fa7fc0 am: 8bcdab7e6f
...
am: dd7837c5ad
Change-Id: I2124f52b38314199950d1448cddd2bbd328c85ce
2016-12-29 10:55:23 +00:00
Charles He
dd7837c5ad
Prevent writing to FRP partition during factory reset. am: a9437bd1ca am: 2ce5c4320d am: 133ff4d611 am: 00a581f882 am: e5156ec1e9 am: 9a47fa7fc0
...
am: 8bcdab7e6f
Change-Id: I6e41bfad4ce66ca80bca636a5fb4ddc85b71e83a
2016-12-29 10:41:25 +00:00
Charles He
8bcdab7e6f
Prevent writing to FRP partition during factory reset. am: a9437bd1ca am: 2ce5c4320d am: 133ff4d611 am: 00a581f882 am: e5156ec1e9
...
am: 9a47fa7fc0
Change-Id: Ifb9f5b177f7c031352e6e9cf308e6295f7c60074
2016-12-29 10:34:04 +00:00
Charles He
9a47fa7fc0
Prevent writing to FRP partition during factory reset. am: a9437bd1ca am: 2ce5c4320d am: 133ff4d611 am: 00a581f882
...
am: e5156ec1e9
Change-Id: I62b79fe7ef5a2febce27729f4709a599832cb3da
2016-12-29 10:25:50 +00:00
Charles He
e5156ec1e9
Prevent writing to FRP partition during factory reset. am: a9437bd1ca am: 2ce5c4320d am: 133ff4d611
...
am: 00a581f882
Change-Id: I016955744e48d7a91380c2ff39f7c64536a39c7e
2016-12-29 10:18:49 +00:00
Charles He
00a581f882
Prevent writing to FRP partition during factory reset. am: a9437bd1ca am: 2ce5c4320d
...
am: 133ff4d611
Change-Id: I54b163f645f561243aac3df1a55c1023531997b3
2016-12-29 10:11:20 +00:00
Charles He
133ff4d611
Prevent writing to FRP partition during factory reset. am: a9437bd1ca
...
am: 2ce5c4320d
Change-Id: I29339a634fd22cd46bfc08619464da8fe159a2b7
2016-12-29 10:03:53 +00:00
Charles He
2ce5c4320d
Prevent writing to FRP partition during factory reset.
...
am: a9437bd1ca
Change-Id: Ib0b8db2357317dc3e680910c08f15f098baf2af9
2016-12-29 09:48:45 +00:00
Martijn Coenen
c052e6c67f
Merge "Add (un)linkToDeath support to HwBinder." am: 7705363166 am: 010d0be575
...
am: 1f8c96ca7f
Change-Id: Ic195a1f3ab2a9d318fe667ac3be0ce166119dc66
2016-12-29 09:19:55 +00:00
Martijn Coenen
1f8c96ca7f
Merge "Add (un)linkToDeath support to HwBinder." am: 7705363166
...
am: 010d0be575
Change-Id: Ibabccaf8555bd0229add18a798bff685c6a1c433
2016-12-29 09:12:22 +00:00
Martijn Coenen
010d0be575
Merge "Add (un)linkToDeath support to HwBinder."
...
am: 7705363166
Change-Id: I007b2fc2982d164176607cd8f2d0ccc9ebde982c
2016-12-29 09:04:49 +00:00
Martijn Coenen
727f7bf84f
Add (un)linkToDeath support to HwBinder.
...
This is mostly copied over from binder's existing
death recipient support. The implementation keeps
a list of registered recipients, both for being
able to map a native recipient back to the corresponding
Java recipient, as well as being able to unregister
recipients correctly.
Test: mma, hidl_test_java
Bug: 31632518
Change-Id: Id313fd248be6925056c4ade8298fe5fb04e007cc
2016-12-29 04:22:30 +00:00
ashutoshj
3659363d06
Merge "Change the name of the contexthub service." am: fba752e64c am: 8a3f7c0738
...
am: cf33fd7910
Change-Id: Ic9daa912077d6162092a0adcb5d8debf10be9c55
2016-12-29 01:52:34 +00:00
ashutoshj
cf33fd7910
Merge "Change the name of the contexthub service." am: fba752e64c
...
am: 8a3f7c0738
Change-Id: I02265e27f7245a13cdfc705dba4cd4de33ed0253
2016-12-29 01:45:34 +00:00
ashutoshj
8a3f7c0738
Merge "Change the name of the contexthub service."
...
am: fba752e64c
Change-Id: Ie354f06495f0c3fb73aa053956ecc371716bab3f
2016-12-29 01:38:30 +00:00
Ashutosh Joshi
835da289fa
Change the name of the contexthub service.
...
Change the name used by the contexthub service. Specifically, this
change switches from using the "ContexthubService.CONTEXTHUB_SERVICE"
constant to using the "Context.CONTEXTHUB_SERVICE" constant- which is in
line with the other Android services.
Merged-In: I18ae73ed0fda2f938e3233670dc52b5692d321ae
Test: GTS tests pass.
Change-Id: I18ae73ed0fda2f938e3233670dc52b5692d321ae
2016-12-28 13:57:27 -08:00
Selim Cinek
7e5cff0167
DO NOT MERGE Revert "Add Brightness setting for VR Mode."
...
am: 966045d070
Change-Id: Ib1be78a47f5947f4fcc6eabc2f6af76523690ed9
2016-12-27 19:22:04 +00:00