Commit graph

1298 commits

Author SHA1 Message Date
Dan Stoza
7578e3cb57 Remove gralloc1 header am: 89c7452d15
am: 567ee541fe

* commit '567ee541feaeedf4de949e02cae423fb5176fe91':
  Remove gralloc1 header

Change-Id: Ia3404d9bb907b170c09d9478bf81467cb5e03854
2016-05-18 17:47:02 +00:00
Dan Stoza
567ee541fe Remove gralloc1 header
am: 89c7452d15

* commit '89c7452d15e6922719ed99134313af8ba35420b7':
  Remove gralloc1 header

Change-Id: I9d3662926dba55eca0857d21bb8950b47e262ea7
2016-05-18 17:43:58 +00:00
Dan Stoza
89c7452d15 Remove gralloc1 header
Removes the gralloc1 header until such time as framework support can
be added.

Bug: 28401203
Change-Id: I7fbaf60d5b1c3c2267cf8d2216e94736c70bf8bb
2016-05-17 12:43:54 -07:00
Ruchi Kandoi
f657cb5d57 gralloc: Adds a new inline method map_usage_to_memtrack.
am: 4cb6c4ff1f

* commit '4cb6c4ff1f4f4908a73354b916a91de5933f4a9f':
  gralloc: Adds a new inline method map_usage_to_memtrack.

Change-Id: I4b238805f3f060cfa6339dc2d4f7c16897979e6f
2016-05-10 23:16:34 +00:00
Ruchi Kandoi
4cb6c4ff1f gralloc: Adds a new inline method map_usage_to_memtrack.
map_usage_to_memtrack takes in the gralloc usage flag and returns a
const char pointer containing the memtrack tag.

This function should be used to find the appropriate memtrack tag that
needs to be used after allocating buffers. This will help in-kernel
memtrack module to classify memory into pre-defined buckets.

Bug: 27525688
Change-Id: Ieee868f9b90ab170c16ba80aceedcb3b2e3762df
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-05-10 16:57:53 +00:00
Ruben Brunk
6aa1d2f247 Merge "Update VR HAL docs." into nyc-dev
am: a7145d28d8

* commit 'a7145d28d8e615430771ead8a953e16e25c0f03f':
  Update VR HAL docs.

Change-Id: I96b67506eb6cc4b65829b29f38e0bc1099c6a087
2016-05-04 23:43:34 +00:00
Ruben Brunk
a7145d28d8 Merge "Update VR HAL docs." into nyc-dev 2016-05-04 23:35:42 +00:00
Dan Stoza
b5e8a61c83 Merge "HWC2: Clarify null client target handle" into nyc-dev
am: 0154a6b08d

* commit '0154a6b08d8bd1f87bc519713369e30bb5bd4146':
  HWC2: Clarify null client target handle

Change-Id: I27e8198dbb136f5bdd1927634a3e553df00494ee
2016-05-04 21:39:49 +00:00
TreeHugger Robot
0154a6b08d Merge "HWC2: Clarify null client target handle" into nyc-dev 2016-05-04 20:51:28 +00:00
Dan Stoza
3abcfa53c0 HWC2: Clarify null client target handle
Documentation-only change that clarifies that in the case where the
client isn't compositing any of the layers, the buffer handle
provided to setClientTarget may be null, and that this should not be
treated as an error by the device.

Bug: 28569722
Change-Id: Ia5825eb0a80c7f838894642654db7d7be14a3b6b
2016-05-04 12:21:06 -07:00
Ruben Brunk
e0eb33f6d5 Update VR HAL docs.
Bug: 28526281
Change-Id: If9673af47962f6fadd10f8a622e9587245f7ffb6
2016-05-04 18:45:23 +00:00
Dongwon Kang
4832e78bf1 Revert "tv_input: add signal detection flag to stream config"
am: da941d8f1c

* commit 'da941d8f1c26b4e513e35c27eafce452a14de4e9':
  Revert "tv_input: add signal detection flag to stream config"

Change-Id: Ice4edbd6a700e223c1858e484b3d99038dd09989
2016-05-04 17:44:38 +00:00
Dongwon Kang
da941d8f1c Revert "tv_input: add signal detection flag to stream config"
This reverts commit d15399e13d.

Change-Id: I02ef4ac7b796f3380616c08a42ecc4ad2d5e3474
2016-05-03 23:44:53 +00:00
Alexey Polyudov
4e18ddec1c Merge "nanohub HAL: define magic value for nanoapp" into nyc-dev
am: d6c2deb560

* commit 'd6c2deb560a13a5161742b1cc7026926c03f97bb':
  nanohub HAL: define magic value for nanoapp

Change-Id: I9602e5b54e2df95ca9ca245a47b0217a7438f8f2
2016-05-02 21:05:11 +00:00
Alexey Polyudov
d6c2deb560 Merge "nanohub HAL: define magic value for nanoapp" into nyc-dev 2016-05-02 20:49:58 +00:00
destradaa
d97fb31742 Merge "Add definition of an event send from a nano app to host." into nyc-dev
am: 129b414d7a

* commit '129b414d7a587f9c1319694244708edb64700ec3':
  Add definition of an event send from a nano app to host.

Change-Id: Ibf932c447429140b220abf130e138de5e428dfa9
2016-04-29 19:29:07 +00:00
Daniel Estrada Alva
129b414d7a Merge "Add definition of an event send from a nano app to host." into nyc-dev 2016-04-29 19:23:47 +00:00
destradaa
20f473c1e1 Add definition of an event send from a nano app to host.
Bug: 28273520
Change-Id: I4d5f7a6a844d542078a69155f166b0a7b0bc814c
2016-04-28 18:43:14 -07:00
Alexey Polyudov
83d5aa2658 nanohub HAL: define magic value for nanoapp
Bug: 28265099
Change-Id: Ifd8082aa7a72af9a02e9ad6bc66100e465f46ec0
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
2016-04-28 16:09:54 -07:00
Badhri Jagan Sridharan
5c5fead52b Merge "power: Platform-level low power state stats" into nyc-dev
am: 920f395

* commit '920f395349fd84ed77f9285a8374a8ea20b6a8ca':
  power: Platform-level low power state stats

Change-Id: Id56f15408b2ad0c4372f5ca95fd1a3faec81b2cd
2016-04-27 23:54:16 +00:00
Badhri Jagan Sridharan
920f395349 Merge "power: Platform-level low power state stats" into nyc-dev 2016-04-27 23:32:17 +00:00
Badhri Jagan Sridharan
2b238d6935 power: Platform-level low power state stats
Add interface to export export platform-level power stats
to BatteryStatsService.

Bug: 26564574

Change-Id: Ibd452c46d91b0055bc5aa0e6b2cc8ee7b428ea31
2016-04-27 14:01:06 -07:00
Peng Xu
380f93d48d Merge "[sensor] clarify definition of the uuid field" into nyc-dev
am: 2235cac

* commit '2235cac9ba091bf6b06d7e3bead24fdb36fcf1b5':
  [sensor] clarify definition of the uuid field

Change-Id: I752206e779ec11c70db15492bf2f61ea792264f5
2016-04-27 19:55:52 +00:00
Peng Xu
2235cac9ba Merge "[sensor] clarify definition of the uuid field" into nyc-dev 2016-04-27 19:37:57 +00:00
Peng Xu
69b5dba69c [sensor] clarify definition of the uuid field
Add description of the byte order the uuid field should use along
with an expample.

Bug: 28305085
Change-Id: If607631f15c1611bd51b158bd80eac1eef331b4b
2016-04-26 19:04:01 +00:00
Keun-young Park
52dcb04348 clarify set failure due to power down
am: f709758

* commit 'f7097585dca47b8124c5c9e31cd8d381f1c1c97d':
  clarify set failure due to power down

Change-Id: Id5cb76e31e723496b8d73d406082f209b97dd5ba
2016-04-26 01:34:19 +00:00
Keun-young Park
f7097585dc clarify set failure due to power down
- some properties can have separate propety control power state
  and setting such property when it is powered off should
  lead into returning error from hal. Define -ESHUTDOWN as
  error code to use in such case.

bug: 28385609
Change-Id: I41c1519ad00b43a83f3aa4e5f0627d75d87a960b
2016-04-25 18:10:45 -07:00
Keun-young Park
78415c2883 make some HVAC properties zoned
am: f1ccec1

* commit 'f1ccec1dd1f71f841fe1577c2df29ff4157cb3d1':
  make some HVAC properties zoned

Change-Id: Ic26ad25076c025d563ca77fefbae6286e7fc548f
2016-04-23 05:21:24 +00:00
Keun-young Park
f1ccec1dd1 make some HVAC properties zoned
- some cars supprot them as zoned property
- If there is only one global control, only one zone (VEHICLE_ZONE_ALL)
  should be declared for the property.
- also fixed errata in VEHICLE_FLOAT_OUT_OF_RANGE_OFF

bug: 28285692
Change-Id: I35c81fef70d7dff080da9dd52c8d0bb97727e94b
2016-04-22 16:55:46 -07:00
Ajay Panicker
6366e2328f Add guest mode functionality (3/5)
Add a flag to enable() to start Bluetooth in restricted
mode. In restricted mode, all devices that are paired during
restricted mode are deleted upon leaving restricted mode.
Right now restricted mode is only entered while a guest
user is active

Bug: 27410683
Change-Id: I994a2933fd60301927ff2df65da634f81d4c9428
2016-04-20 00:45:11 +00:00
Ajay Panicker
f396bbbf70 Merge "Add guest mode functionality (3/4)" am: d96e21c
am: ea8c3c7

* commit 'ea8c3c7c78c49bc7c385ec2f653246166f08fc96':
  Add guest mode functionality (3/4)

Change-Id: Ie4407e19fb27065e1842f07a371a95e7eafdd13b
2016-04-19 21:49:26 +00:00
Ajay Panicker
d51c01d9fd Add guest mode functionality (3/4)
Add a flag to enable() to start Bluetooth in restricted
mode. In restricted mode, all devices that are paired during
restricted mode are deleted upon leaving restricted mode.
Right now restricted mode is only entered while a guest
user is active

Bug: 27410683
Change-Id: Ibededbdb832275db4b6e78af83d26754f8b5a9ec
2016-04-18 16:44:36 -07:00
Alexey Polyudov
21ff0de345 Merge "nanohub: Fix error in HAL definition" into nyc-dev
am: 8215dff

* commit '8215dffa4ae40351e0cf2298a5d92da7231b634a':
  nanohub: Fix error in HAL definition

Change-Id: Ide426dee7fd3f84a70cf91a4117a69f8bbbadb7b
2016-04-15 23:19:03 +00:00
TreeHugger Robot
8215dffa4a Merge "nanohub: Fix error in HAL definition" into nyc-dev 2016-04-15 23:04:21 +00:00
Sanket Agarwal
ce917e4416 Add interface for focus gain in A2DP SNK audio track.
Bug: b/28065071
Change-Id: If5d3f197ac2e8d73f3f2e8edf764c84e5e08e6e8
2016-04-15 20:22:52 +00:00
Treehugger Robot
7d12c24022 Merge "Add interface for focus gain in A2DP SNK audio track." am: 958414f
am: 4d5e2db

* commit '4d5e2dbde2c7a603583bd7a727af1cc9982d81c0':
  Add interface for focus gain in A2DP SNK audio track.

Change-Id: I1473c7e6753571e269b437908193b542cc1a9466
2016-04-15 20:10:23 +00:00
Alexey Polyudov
ed7197e358 nanohub: Fix error in HAL definition
HAL info structure can not have pointers
Ideally this would become variable sized array,
but JNI is expecting fixed-size array here,
so, define reasonable size (2), which fits all the
known cases.

Change-Id: I1752d5bef9db60570b03a8dc8e54da2277aca95a
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
2016-04-15 12:09:24 -07:00
Sanket Agarwal
c3ab1d885a Add interface for focus gain in A2DP SNK audio track.
Bug: b/28065071
Change-Id: If5d3f197ac2e8d73f3f2e8edf764c84e5e08e6e8
2016-04-15 11:38:36 -07:00
Dan Stoza
f9df9b9664 Merge "Gralloc 1.0" into nyc-dev
am: c331570

* commit 'c331570b5a381f9bbdccb7f2d463aee200ea0a46':
  Gralloc 1.0

Change-Id: Iccaeadb04d17d9f5d67baa044f84e11050bffc4d
2016-04-12 22:44:14 +00:00
Dan Stoza
c331570b5a Merge "Gralloc 1.0" into nyc-dev 2016-04-12 19:26:24 +00:00
Ashutosh Joshi
e90056dbac Clarify Context hub implementation.
am: 0675b44

* commit '0675b44089c96b0391a098a414af6f2c1655f513':
  Clarify Context hub implementation.

Change-Id: I86459024ab7dd81f82f5465aab4f688b32b7e621
2016-04-12 18:48:52 +00:00
Ashutosh Joshi
0675b44089 Clarify Context hub implementation.
Document message format.
Document nanoApp format.

Change-Id: Ibfa231c98249f2b3759c84af50c3e5e722553c3c
2016-04-12 11:27:06 -07:00
Dan Stoza
1fbe9cc5bd Gralloc 1.0
Header for version 1.0 of the gralloc HAL

Bug: 22767098
Change-Id: Ib89a18dca4dcbb3c1d343ee38a7f06bcafe2589c
2016-04-12 00:30:32 +00:00
Alexey Polyudov
1896c7cc5c Merge "contexthub: redefine hub_app_name" into nyc-dev
am: ca2a3df

* commit 'ca2a3dffb359d8735904fecc2fa759ad7bf0f616':
  contexthub: redefine hub_app_name

Change-Id: I7533f1966203e7ca6a74a9c886c7e09845403683
2016-04-11 20:49:31 +00:00
Alexey Polyudov
ca2a3dffb3 Merge "contexthub: redefine hub_app_name" into nyc-dev 2016-04-11 20:28:56 +00:00
Alexey Polyudov
da38a70141 contexthub: redefine hub_app_name
also define some helper macros to simpify app id definitions

Bug: 28086503
Change-Id: Ib04069889b24d057db5fcd3a408c845951cafeea
Signed-off-by: Alexey Polyudov <apolyudov@google.com>
2016-04-11 11:27:09 -07:00
Lifu Tang
504113b02f Merge "Fixed the sign error in GnssClock" into nyc-dev
am: 446c2bc

* commit '446c2bc1372d0579ebdba97f5b6e6b0161b2ecfa':
  Fixed the sign error in GnssClock

Change-Id: I9696ecb3676fa43410d0e32c4e528319a4a5a1e3
2016-04-09 00:35:47 +00:00
Dan Stoza
d79b1c4913 Merge "HWC2: Add getHdrCapabilities" into nyc-dev
am: b810dcf

* commit 'b810dcff1c2e5605d4b66cc5e50253e994997c10':
  HWC2: Add getHdrCapabilities

Change-Id: Ib66538b9a92f973731ea618fe79e6f9987243f1d
2016-04-09 00:35:46 +00:00
Wyatt Riley
446c2bc137 Merge "Fixed the sign error in GnssClock" into nyc-dev 2016-04-08 23:41:16 +00:00
Lifu Tang
d46260a380 Fixed the sign error in GnssClock
Bug: 28068514
Change-Id: I6e227caca520aa19ef586e1436f704dad741e3bb
2016-04-08 14:03:19 -07:00