Commit graph

376 commits

Author SHA1 Message Date
Mathias Agopian
f0e4ec1a04 am 66a4095c: Be more explicit about the rate at which sensor events must be returned
Merge commit '66a4095ca0ecfe89b10abe5402617450f57759cd' into gingerbread-plus-aosp

* commit '66a4095ca0ecfe89b10abe5402617450f57759cd':
  Be more explicit about the rate at which sensor events must be returned
2010-07-22 17:15:00 -07:00
Mathias Agopian
66a4095ca0 Be more explicit about the rate at which sensor events must be returned
Change-Id: I937e84c34c539b4e3ff34eddcf4fb24e2866ebfa
2010-07-22 17:11:50 -07:00
Andy McFadden
b8c3babd6e Fix sim-eng build.
strerror() must be declared (include <string.h>).

Change-Id: I0e93874d1bb7dad113f7c82d0ff1b5e6733b36c1
2010-07-22 12:12:02 -07:00
Mathias Agopian
e939539555 am 95e5456c: am 1a2bf61d: fix the nusensor test
Merge commit '95e5456cf87adbc99a20bdc358ff63bc7e501f04'

* commit '95e5456cf87adbc99a20bdc358ff63bc7e501f04':
  fix the nusensor test
2010-07-21 18:04:58 -07:00
Mathias Agopian
6c84d7a579 resolved conflicts for merge of e153b430 to master
Change-Id: I72e67a7e6b23219f0c1b6fa7d114da2c1e22fdc1
2010-07-21 18:00:36 -07:00
Mathias Agopian
87bd257849 am 97ba26bb: am cdefccdb: new sensor_event_t structure for the new HAL that can handle bigger payloads
Merge commit '97ba26bb6de7dd7317c36ac0a3406919dd09bdaf'

* commit '97ba26bb6de7dd7317c36ac0a3406919dd09bdaf':
  new sensor_event_t structure for the new HAL that can handle bigger payloads
2010-07-21 17:49:27 -07:00
Mathias Agopian
9de11a9c1c am 39cd81ce: am b1e212e7: New sensor HAL and test
Merge commit '39cd81ce725b28db98a4cb7b47f35c59e3a289e7'

* commit '39cd81ce725b28db98a4cb7b47f35c59e3a289e7':
  New sensor HAL and test
2010-07-21 17:49:24 -07:00
Mathias Agopian
95e5456cf8 am 1a2bf61d: fix the nusensor test
Merge commit '1a2bf61d4990ac9c04aa62b2c08f01e20593624a' into gingerbread-plus-aosp

* commit '1a2bf61d4990ac9c04aa62b2c08f01e20593624a':
  fix the nusensor test
2010-07-21 16:07:53 -07:00
Mathias Agopian
e153b430fa am 98c53090: move the old sensorHAL interface into a separate header
Merge commit '98c5309047d2eedfe93ac42243f9750cfeb3517e' into gingerbread-plus-aosp

* commit '98c5309047d2eedfe93ac42243f9750cfeb3517e':
  move the old sensorHAL interface into a separate header
2010-07-21 16:07:51 -07:00
Mathias Agopian
97ba26bb6d am cdefccdb: new sensor_event_t structure for the new HAL that can handle bigger payloads
Merge commit 'cdefccdba52337df41f577d9ebfcfd67c05708cf' into gingerbread-plus-aosp

* commit 'cdefccdba52337df41f577d9ebfcfd67c05708cf':
  new sensor_event_t structure for the new HAL that can handle bigger payloads
2010-07-21 16:07:49 -07:00
Mathias Agopian
39cd81ce72 am b1e212e7: New sensor HAL and test
Merge commit 'b1e212e7b6fce2bc5c743b05853129e19760d7a4' into gingerbread-plus-aosp

* commit 'b1e212e7b6fce2bc5c743b05853129e19760d7a4':
  New sensor HAL and test
2010-07-21 16:07:47 -07:00
Mathias Agopian
1a2bf61d49 fix the nusensor test
it used the sensor handle instead of the sensor type

Change-Id: I8a1bc11826427bde9fb88d6fe88be58e3b8d2397
2010-07-20 18:01:19 -07:00
Mathias Agopian
98c5309047 move the old sensorHAL interface into a separate header
sensors_deprecated.h is included from sensors.h, for
easier reading.

Change-Id: I97883e1db73beb6c612da2ec023ee6bb8d4858c3
2010-07-19 15:32:24 -07:00
Mathias Agopian
cdefccdba5 new sensor_event_t structure for the new HAL that can handle bigger payloads
Change-Id: I8f21e457c308eea9cb1f73b49b1fed36627ec55e
2010-07-19 14:14:04 -07:00
Mathias Agopian
b1e212e7b6 New sensor HAL and test
Change-Id: I216e3dd0b2b45829fef7c682774d2cdd8271d4e7
2010-07-14 20:39:46 -07:00
Mathias Agopian
9eed234b60 am 0e0f617b: am 80107f8e: Remove the YV16 format.
Merge commit '0e0f617befa6987c10f938e44112965b289378e6'

* commit '0e0f617befa6987c10f938e44112965b289378e6':
  Remove the YV16 format.
2010-07-14 16:37:19 -07:00
Mathias Agopian
0e0f617bef am 80107f8e: Remove the YV16 format.
Merge commit '80107f8e92e25e62c945600325f3e846477bc855' into gingerbread-plus-aosp

* commit '80107f8e92e25e62c945600325f3e846477bc855':
  Remove the YV16 format.
2010-07-14 16:33:47 -07:00
Mathias Agopian
80107f8e92 Remove the YV16 format.
Change-Id: I12f72cf91a66d78499983221925ac68ca646efc8
2010-07-14 15:16:12 -07:00
Mathias Agopian
8b4935ad84 am c166ba31: am 1daacdc8: Merge "remove h/w specific YUV formats from the HAL" into gingerbread
Merge commit 'c166ba3173b0a0c26debb62640e2eb0f5e50086b'

* commit 'c166ba3173b0a0c26debb62640e2eb0f5e50086b':
  remove h/w specific YUV formats from the HAL
2010-07-01 21:32:10 -07:00
Mathias Agopian
c166ba3173 am 1daacdc8: Merge "remove h/w specific YUV formats from the HAL" into gingerbread
Merge commit '1daacdc8d2d110d3edd077fcd2befa9884924e10' into gingerbread-plus-aosp

* commit '1daacdc8d2d110d3edd077fcd2befa9884924e10':
  remove h/w specific YUV formats from the HAL
2010-07-01 21:29:42 -07:00
Mathias Agopian
1daacdc8d2 Merge "remove h/w specific YUV formats from the HAL" into gingerbread 2010-07-01 21:28:06 -07:00
Mathias Agopian
6915eb345b remove h/w specific YUV formats from the HAL
we now only support 2 "standard" yuv format in the HAL.
there is a new reserved range 0x100-0x1FF for OEMs.

Change-Id: I171fb0f8d90ded64773ac9c1e5adcab1e1f25c7f
2010-07-01 21:18:32 -07:00
Jamie Gennis
56e36cb544 am 74ca93ca: am 95d78bef: Add 4 private gralloc usage bits.
Merge commit '74ca93ca120205a6d2893f62d474c2fb6995c3c3'

* commit '74ca93ca120205a6d2893f62d474c2fb6995c3c3':
  Add 4 private gralloc usage bits.
2010-07-01 17:01:41 -07:00
Jamie Gennis
74ca93ca12 am 95d78bef: Add 4 private gralloc usage bits.
Merge commit '95d78bef32edd183fb8c16b7775bf0a069948420' into gingerbread-plus-aosp

* commit '95d78bef32edd183fb8c16b7775bf0a069948420':
  Add 4 private gralloc usage bits.
2010-07-01 16:59:54 -07:00
Jamie Gennis
920f9dae76 am bab54e08: am aabb7029: Fix a typo in the GRALLOC_USAGE_HW_2D constant.
Merge commit 'bab54e08ff09cce218a9491466d792c1f938b520'

* commit 'bab54e08ff09cce218a9491466d792c1f938b520':
  Fix a typo in the GRALLOC_USAGE_HW_2D constant.
2010-07-01 16:59:52 -07:00
Jamie Gennis
bab54e08ff am aabb7029: Fix a typo in the GRALLOC_USAGE_HW_2D constant.
Merge commit 'aabb70292351f231bfd4daae8b73edb788eeba1a' into gingerbread-plus-aosp

* commit 'aabb70292351f231bfd4daae8b73edb788eeba1a':
  Fix a typo in the GRALLOC_USAGE_HW_2D constant.
2010-07-01 16:58:05 -07:00
Jamie Gennis
95d78bef32 Add 4 private gralloc usage bits.
The private gralloc usage bits can be used to specify device-specific
allocation requirements.

Change-Id: Idc4fbdd3dd7b71767143cf3df5886dfaf43e50a4
2010-07-01 16:49:52 -07:00
Jamie Gennis
aabb702923 Fix a typo in the GRALLOC_USAGE_HW_2D constant.
Change-Id: I3de500455715298765b2e27bc8c59e2ec6c7a34f
2010-07-01 16:49:07 -07:00
Mike Lockwood
ffc682e857 am 2dccee88: am 00758793: Merge "GPS: Add callback for creating threads that can call into the Java VM." into gingerbread
Merge commit '2dccee88188e46811f0d7713b8d5e24a40a95df3'

* commit '2dccee88188e46811f0d7713b8d5e24a40a95df3':
  GPS: Add callback for creating threads that can call into the Java VM.
2010-06-23 10:30:52 -07:00
Mathias Agopian
421a0c3169 am 79f188b0: am 28147965: remove unused YUV formats
Merge commit '79f188b0b72683b169f7397b4caa2d2183c3bdc3'

* commit '79f188b0b72683b169f7397b4caa2d2183c3bdc3':
  remove unused YUV formats
2010-06-23 10:30:19 -07:00
Mathias Agopian
4d4d4eeb4a am e65f0e37: am 373a9c6e: Add some useful YUV formats. Add fourcc version of the definitions.
Merge commit 'e65f0e37255acb272cb4b25c1724f46b66ffb825'

* commit 'e65f0e37255acb272cb4b25c1724f46b66ffb825':
  Add some useful YUV formats. Add fourcc version of the definitions.
2010-06-23 10:17:33 -07:00
Mike Lockwood
2dccee8818 am 00758793: Merge "GPS: Add callback for creating threads that can call into the Java VM." into gingerbread
Merge commit '00758793ab2803ddb463260dbbb0479f254a3959' into gingerbread-plus-aosp

* commit '00758793ab2803ddb463260dbbb0479f254a3959':
  GPS: Add callback for creating threads that can call into the Java VM.
2010-06-22 06:45:00 -07:00
Mike Lockwood
00758793ab Merge "GPS: Add callback for creating threads that can call into the Java VM." into gingerbread 2010-06-22 06:43:50 -07:00
Mathias Agopian
79f188b0b7 am 28147965: remove unused YUV formats
Merge commit '28147965b4f3b57893897924bdd2fc8fdc695f84' into gingerbread-plus-aosp

* commit '28147965b4f3b57893897924bdd2fc8fdc695f84':
  remove unused YUV formats
2010-06-21 18:44:14 -07:00
Mathias Agopian
28147965b4 remove unused YUV formats
Change-Id: I328cac1ed8bb2acb105ee118d8a87bdb39a545e6
2010-06-21 18:22:36 -07:00
Mathias Agopian
e65f0e3725 am 373a9c6e: Add some useful YUV formats. Add fourcc version of the definitions.
Merge commit '373a9c6efebc97ade940dc5996f24992cda450c7' into gingerbread-plus-aosp

* commit '373a9c6efebc97ade940dc5996f24992cda450c7':
  Add some useful YUV formats. Add fourcc version of the definitions.
2010-06-21 15:12:19 -07:00
The Android Open Source Project
984a15cefb am e6d315ed: merge from froyo-plus-aosp
Merge commit 'e6d315ede7ac0c72fe23be9be5c89adff61416c0'

* commit 'e6d315ede7ac0c72fe23be9be5c89adff61416c0':
  Silenced compiler warning seen only in debug builds.
2010-06-21 11:15:59 -07:00
The Android Open Source Project
e6d315ede7 merge from froyo-plus-aosp
Change-Id: I52f5bbe1b0b7d9cda30d8ae62236e85e3d4e3631
2010-06-21 11:14:15 -07:00
Mike Lockwood
4453b5bfc9 GPS: Add callback for creating threads that can call into the Java VM.
To eliminate an unnecessary thread in the framework GPS code, we now
require the GPS HAL to call callbacks from a thread created using the
create_thread_cb.  Such threads are able to call directly into Java,
eliminating a polling thread in the GpsLocationProvider code.

Change-Id: I91eeea73b8908f10f10a93ae71034c63f806e8a1
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-06-20 14:23:10 -07:00
Mathias Agopian
373a9c6efe Add some useful YUV formats. Add fourcc version of the definitions.
also removed incorrect 4:2:0 interleaved formats

Change-Id: Ib477de86504cc67861def16fc4dfdae0dd3eb59d
2010-06-15 17:32:16 -07:00
The Android Open Source Project
da137cc04c ignore from open-source master
Change-Id: Ia7b62aeb66181b7574f0d1b7464d5df43b29fa4d
2010-06-15 11:12:53 -07:00
Dan Murphy
2b9fcc36e2 hardware/include: Add the pressure to the sensor data structure
Add the pressure variable to the sensor.h file for barometer.

Change-Id: Ie05b65f9215639cee6dc3ae926a0cc07e673e5b6
Signed-off-by: Dan Murphy <wldm10@motorola.com>
2010-06-10 12:21:00 -07:00
Chris Pearson
28648e7303 Silenced compiler warning seen only in debug builds.
Change-Id: I831ec3a75e6acdfddae95665f6b931b6d731f69e
Signed-off-by: Chris Pearson <christopherx.c.pearson@intel.com>
2010-06-02 15:54:27 -07:00
Mike Lockwood
b15879a589 GPS API enhancements:
Add set_capabilities callback to inform the framework of the engine's capabilities.
Add more parameters to set_position_mode

Change-Id: I75572979c031ffc0d915bb9e8aebce09d4982336
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-14 15:38:22 -04:00
Mike Lockwood
d20bbae343 Add wake lock utility functions for the GPS HAL.
Change-Id: Ia7e20dec1a658f5506004ed29632f6a720c77fab
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-04-14 14:45:49 -04:00
The Android Open Source Project
b9e7ea446e am 804c3e10: merge from open-source master
Merge commit '804c3e10774b1b05f958d9b860a814abbd4a6c9b' into kraken

* commit '804c3e10774b1b05f958d9b860a814abbd4a6c9b':
  New GPS HAL Interface
2010-04-12 13:35:17 -07:00
The Android Open Source Project
804c3e1077 merge from open-source master
Change-Id: Id5e821e29b8d7ad1c1e103c8f219934bb0214eb8
2010-04-12 13:31:56 -07:00
Mike Lockwood
4ea2a7a23c New GPS HAL Interface
This change converts the hardware_legacy API to a HAL API.
More cleanup work will likely follow.

Change-Id: I6bd23b94ae458b0de32827c704a481564772ee3b
2010-04-08 18:07:34 -07:00
Mike Lockwood
b4a9ae7aeb am da4947ea: New GPS HAL Interface
Merge commit 'da4947ea976b0174bf2938d8a375cb0da485ecf4' into kraken

* commit 'da4947ea976b0174bf2938d8a375cb0da485ecf4':
  New GPS HAL Interface
2010-04-06 07:16:33 -07:00
Mike Lockwood
da4947ea97 New GPS HAL Interface
This change converts the hardware_legacy API to a HAL API.
More cleanup work will likely follow.

Change-Id: I6bd23b94ae458b0de32827c704a481564772ee3b
2010-04-05 15:45:13 -07:00