Commit graph

376 commits

Author SHA1 Message Date
Mike J. Chen
ce59ece246 Add a HAL representing a system-wide local time counter.
This is a squashed merge from master-tungsten of the following changes:

commit 9def1ae65f6b4d6a8fdec147fdcd34f22f08174a
Author: John Grossman <johngro@google.com>
Date:   Fri Aug 12 11:47:20 2011 -0700

    Change the signature of set_local_slew.

    Changed the definition of the slew function in the local time HAL to take an
    int16 instead of an int32 and to use the full range of the int instead of
    attempting to imply any particular PPM range.

    Change-Id: Ia67f50e77f1fe674a63ec69460e830d1191ef5a0

commit afab51327453d1bfc7423f8ce7a28933d8fc49b2
Author: John Grossman <johngro@google.com>
Date:   Mon Jun 27 17:29:07 2011 -0700

    Remove "primary" from the local_time HAL.

    Interface instances are a pattern which should only be used by audio.  Remove
    its use from the local_time HAL.

    Change-Id: If4c458cf16a02d9dc63c04185111ae793fc57801

commit 1c26e59a66e75ccb31027f42183aaa32bde6e456
Author: John Grossman <johngro@google.com>
Date:   Fri Jun 17 14:19:24 2011 -0700

    Refactor the local/common clock services.

    This change is one of a set of 5 changes made to different repositories.  Look
    for this comment in all of them.

    Refactor the local/common clock services in tungsten to match android best
    practice.  Notable changes include

    + The kernel no longer knows anything about common time.  Common time has been
      moved completely up into user land.  This has an impact on the accuracy of the
      timesync debugging code, and the netfilter assisted approach to network based
      timesync is going to have to be modified.
    + The timesync driver used by A@H is now just local time driver.
    + The kernel no longer needs access to the linear transform math code, and it
      has been removed.
    + A new HAL has been introduced to expose the concept of local time to the
      system.
    + A non-slewable stub implementation of the local time HAL based on
      CLOCK_MONOTONIC has been added.
    + The TungstenTime library has been eliminated.  Its functionality has been
      distributed among the common time binder service, the local time hal and the
      linear transform utility code.
    + All clients of the old TungstenTime library have been changed to be clients of
      the binder service, the hal and the utility code.
    + The reset_tt utilities have been removed, they no longer have a purpose in the
      system.
    + more progress has been made in eliminating the word "tungsten" from the code.

    Things left to do include
    + Finish getting rid of tungsten from the time service.
    + Move the time service into the framework; AudioFlinger's new timed mode
      depends on it and the service cannot continue to live in vendor tungsten.

    Change-Id: I39843b94f9b6d13f63b22145a2edcafe4ca87349

Change-Id: Ifbc8c4c28c1cf45a762dd4fb00f8dffccd7efe94
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: John Grossman <johngro@google.com>
2011-10-28 10:28:06 -04:00
David 'Digit' Turner
cf20952388 am 7bd7dd5d: am 3c935eda: resolved conflicts for merge of 33fddf0c to gingerbread-plus-aosp
* commit '7bd7dd5d49e21c66c83618cb9f85ef43af29e441':
  emulator: Add <hardware/qemu_pipe.h> header
2011-09-27 12:36:16 -07:00
David 'Digit' Turner
7bd7dd5d49 am 3c935eda: resolved conflicts for merge of 33fddf0c to gingerbread-plus-aosp
* commit '3c935eda2dcd96eda70da6367d705b3b081f6524':
  emulator: Add <hardware/qemu_pipe.h> header
2011-09-23 11:17:34 -07:00
David 'Digit' Turner
3c935eda2d resolved conflicts for merge of 33fddf0c to gingerbread-plus-aosp
Change-Id: I8720ca884f326b661e30b51c4cf1cfe31c1ac579
2011-09-23 20:13:07 +02:00
Mathias Agopian
cc3f6a345b improve sensor HAL test
Change-Id: Id5e22ae2b9cb3bf71ec235a2ec6bb4319d0389da
2011-09-18 15:21:33 -07:00
David 'Digit' Turner
33fddf0ca9 emulator: Add <hardware/qemu_pipe.h> header
This header is required by our GLES emulation guest code to be able
to access the emulator services provided through the /dev/qemu_pipe
special device.

Change-Id: Ia9782256048d7340237f3e1d18d7452dd815e561
2011-09-16 17:11:49 +02:00
Eric Laurent
78d2c69af4 audio policy: register effect CPU on enable
Added a method on audio policy interface to register
audio effect CPU usage on enable and unregister on disable
instead of when the effect is created or destroyed.

Change-Id: Iee20bf70fee7302f817ec4c7d9bf7640caca2e95
2011-08-11 08:48:25 -07:00
Jamie Gennis
2f94535daa Merge "Gralloc: add a HWComposer usage bit" 2011-08-10 12:54:46 -07:00
David Turner
54c673d30a am 73bff7f3: am bce402a8: Merge "qemu_pipe: fix Mac build error."
* commit '73bff7f3fddf182bc51a0e20096b76d9e0d877ad':
  qemu_pipe: fix Mac build error.
2011-08-10 12:21:16 -07:00
Vladimir Chtchetkine
3e7bfaede6 am abe47190: am 079ff13b: Merge "Enable connection to QEMUD via pipe."
* commit 'abe471909d749c7430409c00bdbc39bbf8ff0c43':
  Enable connection to QEMUD via pipe.
2011-08-10 12:21:03 -07:00
Jamie Gennis
4b560d5563 Gralloc: add a HWComposer usage bit
This change adds a new Gralloc usage bit to indicate that the Gralloc
buffer being allocated will be passed to the HWComposer HAL module.

Change-Id: If901f886cb22fc8379811898db3a380a61c0e442
2011-08-10 11:41:52 -07:00
David Turner
73bff7f3fd am bce402a8: Merge "qemu_pipe: fix Mac build error."
* commit 'bce402a8fadf27b07b164b0468e27bb9b6de79e6':
  qemu_pipe: fix Mac build error.
2011-08-09 10:05:32 -07:00
David Turner
bce402a8fa Merge "qemu_pipe: fix Mac build error." 2011-08-09 03:54:00 -07:00
David Turner
554566e1ae qemu_pipe: fix Mac build error.
The <hardware/qemu_pipe.h> header was missing an include
that causes the code under development/tools/emulator/opengl
to fail to compile on OS X.

You need to define BUILD_EMULATOR_OPENGL=true in your
environment, otherwise this code doesn't get built yet by default.

Change-Id: Ia1b48c0ab84f493f3c9f95030d9165961069fb6e
2011-08-09 10:45:19 +02:00
Vladimir Chtchetkine
abe471909d am 079ff13b: Merge "Enable connection to QEMUD via pipe."
* commit '079ff13b07b41d49c4d2f961ba6131960bd81c89':
  Enable connection to QEMUD via pipe.
2011-08-08 13:18:48 -07:00
Vladimir Chtchetkine
079ff13b07 Merge "Enable connection to QEMUD via pipe." 2011-08-08 12:59:17 -07:00
Eric Laurent
70e8110fcf audio HAL: add support for TTY mode selection
Change-Id: I680e008a091e31e6c0b11adb26f6b232829baacb
2011-08-07 10:05:40 -07:00
Vladimir Chtchetkine
39e2630dd9 Enable connection to QEMUD via pipe.
With the new model, we will try to connect client via pipe first, and only if
the pipe connection is not available we will fall back to the socket connection.

Change-Id: I7112ff3cb63e1f82a004b80b9ae579d97e15e029
2011-08-05 10:17:39 -07:00
Mike Lockwood
ee43a308b6 am 20013279: am 4306ca7d: Merge "GPS: added update_network_availability to AGpsRilInterface"
* commit '20013279f3dacec0b1d6c2844213d762b469cf98':
  GPS: added update_network_availability to AGpsRilInterface
2011-08-04 07:53:33 -07:00
Mike Lockwood
20013279f3 am 4306ca7d: Merge "GPS: added update_network_availability to AGpsRilInterface"
* commit '4306ca7d446c26752ecd9f724590487d68a27f10':
  GPS: added update_network_availability to AGpsRilInterface
2011-08-04 07:52:14 -07:00
Mike Lockwood
4306ca7d44 Merge "GPS: added update_network_availability to AGpsRilInterface" 2011-08-04 07:32:47 -07:00
Kevin Tang
b82c2db760 GPS: added update_network_availability to AGpsRilInterface
Change-Id: Ib2ed9ea96f1043d34a12c2ddf87b41c5256b585e
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-04 09:48:03 -04:00
Vladimir Chtchetkine
7c7a29401f am d9f2f74e: am da51d1ca: Merge "Inline implementation of qemu_pipe_open"
* commit 'd9f2f74e1939eb268ec557171149375f220628d2':
  Inline implementation of qemu_pipe_open
2011-08-03 18:16:35 -07:00
Vladimir Chtchetkine
d9f2f74e19 am da51d1ca: Merge "Inline implementation of qemu_pipe_open"
* commit 'da51d1ca145b8cc82588d97ea33e81d6a0cda408':
  Inline implementation of qemu_pipe_open
2011-08-03 12:44:05 -07:00
Vladimir Chtchetkine
da51d1ca14 Merge "Inline implementation of qemu_pipe_open" 2011-08-03 10:50:58 -07:00
Vladimir Chtchetkine
08ab51b65c Inline implementation of qemu_pipe_open
Change-Id: Icbe0528b1ac2b215d2cebc5c35cce9c3c830b722
2011-08-03 09:07:39 -07:00
Eric Laurent
ed9928c76d audio HAL: add defines for BT NREC parameter
Added definitions of keys and values used to enable or disable
AEC and NS via set_parameters according to BT headset capabilities.

Change-Id: Id3fba06edfe77e2832b8256c0c4c46eeef17b816
2011-08-02 19:30:37 -07:00
Mathias Agopian
d6afef62ff Add a h/w composer HAL API to allow the HAL to trigger a redraw
This is useful in various situations, for instance if the HAL
wants to change its compositing strategy.

Bug: 4488017
Change-Id: Idc410c689af30a2c9613dc3141e323d6e02a5648
2011-08-01 20:45:24 -07:00
Wu-cheng Li
482c49bf27 Merge "Add frame metadata to camera data callback." 2011-07-28 17:23:41 -07:00
Wu-cheng Li
37ea6f730e Add frame metadata to camera data callback.
bug:4460717
Change-Id: I6175af70d0f10e0ba1b7158a237bceed2be06dd2
2011-07-29 07:08:56 +08:00
Mike Lockwood
6952a72cd3 am bc287a05: am 61659b21: Merge "gps: Adding ip address for AGps"
* commit 'bc287a056561b52d3f4067c3a9a2f948635ed2c1':
  gps: Adding ip address for AGps
2011-07-28 14:06:05 -07:00
Mike Lockwood
bc287a0565 am 61659b21: Merge "gps: Adding ip address for AGps"
* commit '61659b21b512a4d1e26a1843738e0486a68be36b':
  gps: Adding ip address for AGps
2011-07-28 14:04:11 -07:00
Mike Lockwood
61659b21b5 Merge "gps: Adding ip address for AGps" 2011-07-28 13:52:29 -07:00
Stephen Li
9e48a97c96 gps: Adding ip address for AGps
Change-Id: I3ac752294b81e1fa69019d037d8b89563773b35e
2011-07-28 16:41:58 -04:00
Iliyan Malchev
2280003113 camera HAL: add optional put_parameters callback
Change-Id: I2b2436c68b3095e840458059f8533dc897e1ca87
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-07-26 15:56:03 -07:00
Mathias Agopian
56ea010962 Merge "get rid of overlay HAL" 2011-07-13 14:07:03 -07:00
Jean-Baptiste Queru
f28d974852 Ignore 6f3cb7d4
Change-Id: Iabdf987ac6fc0299e1de4fc160de6699df088472
2011-07-13 07:28:55 -07:00
Mathias Agopian
e25e1969dd get rid of overlay HAL
Change-Id: I1ba7ffac8776a8d59a5cc4e7688c3a5bd02e6647
2011-07-12 15:48:30 -07:00
Jeff Brown
d37dcfa70a Merge "Remove the simulator target from all makefiles. Bug: 5010576" 2011-07-12 12:15:45 -07:00
Jeff Brown
1cfa384b91 Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I19222871077be62d2b6a4a215f251675389ffdb4
2011-07-11 22:12:23 -07:00
Jean-Baptiste Queru
6f3cb7d497 am 03e7ec95: Merge "Tweaks for forward-compatibility"
* commit '03e7ec959823279937ceae1290b938c4b0b68317':
  Tweaks for forward-compatibility
2011-07-11 17:54:07 -07:00
Jean-Baptiste Queru
03e7ec9598 Merge "Tweaks for forward-compatibility" 2011-07-11 17:38:46 -07:00
Jean-Baptiste Queru
5e8f4999d0 Tweaks for forward-compatibility
Change-Id: I9171f0f0155c910cf5ae4109e812c9ff10702946
2011-07-11 17:37:42 -07:00
Eric Laurent
f3008aa707 Audio HAL: added interface for audio preprocessing
Change-Id: I032f6dd8f9ad11283a3f0a6721018dabfd12236d
2011-07-08 09:59:52 -07:00
Mike Lockwood
8aac5911c9 GPS: Add support for on-demand NTP time injection
Change-Id: I95ea2bc2a345d6fbde22356f575506385257e574
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-06-29 15:10:36 -04:00
Sundar Raman
ac0e067896 Camera: Add lock_buffer to preview_stream_ops
Giving HAL control of locking buffer instead of locking in dequeue buffer.

Change-Id: I2640b784218fa67ccb051c13b24f2d3dda48ce9a
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-06-24 11:04:17 -07:00
Jean-Baptiste Queru
2a9c58e24a am e710fc70: am 910cf83c: Merge "tweak for forward-compatibility"
* commit 'e710fc70e442604fe300cafb467b9208869c28ed':
  tweak for forward-compatibility
2011-06-21 15:26:56 -07:00
Jean-Baptiste Queru
e710fc70e4 am 910cf83c: Merge "tweak for forward-compatibility"
* commit '910cf83c9a58e4ee42b6aea919de80273cb25aa4':
  tweak for forward-compatibility
2011-06-20 09:10:56 -07:00
Jean-Baptiste Queru
910cf83c9a Merge "tweak for forward-compatibility" 2011-06-18 10:55:37 -07:00
Jean-Baptiste Queru
bbf64ecd19 tweak for forward-compatibility
Change-Id: I4230a049221f551a6b0c279c0ba75e872e703a83
2011-06-18 10:32:53 -07:00