Commit graph

620 commits

Author SHA1 Message Date
Glenn Kasten
f678d47450 Merge "Add comment about actual type of set_mode" 2012-01-06 13:38:05 -08:00
Glenn Kasten
af320d7500 Add comment about actual type of set_mode
Change-Id: Ie50a66894831763b6e9eb6aa490441d7759cbeef
2012-01-05 15:34:27 -08:00
Steve Block
22d351317a Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: I135fadaf10e95af1eb918889a22980c194c650ca
2012-01-05 23:27:52 +00:00
Steve Block
b224b78c14 Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156801

Bug: 5449033
Change-Id: Ia8b6f74b27098b3dba27f177a76264eb23f849ee
2012-01-04 20:07:12 +00:00
Steve Block
cee8501c16 Rename (IF_)LOGD(_IF) to (IF_)ALOGD(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/156016

Bug: 5449033
Change-Id: I98e83cc9d22f0ea8fbf397ccccd9ce7773119551
2012-01-03 22:31:17 +00:00
Jamie Gennis
9c5466b616 HWComposer: update the hwc_layer::handle docs
Change-Id: I3c1211146b2e5f84546724c86f344bd2e63bd55c
2011-12-20 14:33:52 -08:00
Eric Laurent
922f9e6e5f audio effects: rename configure command
Renamed audio effect library interface command for audio format
configuration from EFFECT_CMD_CONFIGURE to EFFECT_CMD_SET_CONFIG.
This makes the naming more consistent with other exixsting commands
and allow adding new a command to get the configuration (EFFECT_CMD_GET_CONFIG).
Same change for reverse channel configuration renamed from
EFFECT_CMD_CONFIGURE_REVERSE to EFFECT_CMD_SET_CONFIG_REVERSE.

Change-Id: I1cc462aa50e58ceec900b3da9bd3873d2d098098
2011-12-19 16:23:10 -08:00
Glenn Kasten
bb56a1007d Fix typo in gralloc.h
Change-Id: I8d989b21e10e19ae4124188f02ef84eeabdb4654
2011-12-19 09:14:19 -08:00
Mathias Agopian
72ba865479 am f1d76bb7: am a9b677fc: Merge "improve h/w composer documentation" into ics-mr1
* commit 'f1d76bb7446961be2221fa8a597d60643b7803be':
  improve h/w composer documentation
2011-11-28 16:11:26 -08:00
Mathias Agopian
f1d76bb744 am a9b677fc: Merge "improve h/w composer documentation" into ics-mr1
* commit 'a9b677fce432b29ab8f61e13796f34880dc0fe0f':
  improve h/w composer documentation
2011-11-28 16:08:53 -08:00
Mathias Agopian
608e2881ef am a9b677fc: Merge "improve h/w composer documentation" into ics-mr1
* commit 'a9b677fce432b29ab8f61e13796f34880dc0fe0f':
  improve h/w composer documentation
2011-11-28 16:08:48 -08:00
Mathias Agopian
a9b677fce4 Merge "improve h/w composer documentation" into ics-mr1 2011-11-28 16:07:36 -08:00
Jamie Gennis
bfab47864a am 66b00021: am 29ead941: Gralloc: add a usage bit for video encoding
* commit '66b00021151c7dbce38106960431226f6012d121':
  Gralloc: add a usage bit for video encoding
2011-11-22 12:42:00 -08:00
Jamie Gennis
cada84265a am 29ead941: Gralloc: add a usage bit for video encoding
* commit '29ead941b377cb87bcc7fe48208b96d84d649d43':
  Gralloc: add a usage bit for video encoding
2011-11-22 12:16:34 -08:00
Jamie Gennis
66b0002115 am 29ead941: Gralloc: add a usage bit for video encoding
* commit '29ead941b377cb87bcc7fe48208b96d84d649d43':
  Gralloc: add a usage bit for video encoding
2011-11-22 12:16:15 -08:00
Jamie Gennis
29ead941b3 Gralloc: add a usage bit for video encoding
This change adds a new Gralloc usage bit to indicate that a buffer will
be passed to the HW video encoder.

Change-Id: I75c3fc514906e5b18fb60345a2d9c5a606403633
2011-11-21 17:45:29 -08:00
Mathias Agopian
71212e3fca improve h/w composer documentation
Change-Id: Ia3f47c1750f5a436037e4391d6744d63639ee099
2011-11-21 17:35:15 -08:00
Jean-Baptiste Queru
66ae214f90 am 4ef5e2e5: Merge from AOSP
* commit '4ef5e2e5376043e433e01b61d219dd2444719893':
  improve sensor HAL documentation
  change sensor HAL documentation to allow setting polling rate for "non continuous" sensors
2011-11-18 02:37:25 -08:00
Jean-Baptiste Queru
4ef5e2e537 Merge from AOSP
Change-Id: I41161514ae072b40bf4c94a9392007de1e9db937
2011-11-17 16:00:20 -08:00
Mathias Agopian
df0db69c7a am fb410365: improve hw composer documentation
* commit 'fb410365ca67d36d4c81d7826712c6a05437612f':
  improve hw composer documentation
2011-11-17 07:48:25 -08:00
Mathias Agopian
7dbfb96eaf am fb410365: improve hw composer documentation
* commit 'fb410365ca67d36d4c81d7826712c6a05437612f':
  improve hw composer documentation
2011-11-16 18:15:35 -08:00
Mathias Agopian
fb410365ca improve hw composer documentation
Change-Id: I39363e37417991b9853309154d6691240e706acf
2011-11-16 16:05:56 -08:00
Mathias Agopian
c72c5311c1 improve sensor HAL documentation
Change-Id: If2c1613902de6ed0e6cae8fe4755948c0f623bda
2011-11-16 13:16:32 -08:00
Mathias Agopian
552c9f7e64 change sensor HAL documentation to allow setting polling rate for "non continuous" sensors
the current API / Documentation would not allow to set the
rate of "non continuous" sensors.

Most sensors HAL implementation already support changing the rate
(technically they're not compliant with the doc), so it's easier
to change the doc (and also allows more control).

Change-Id: I4ad324ddc3b569ec61770b3cf927c06f8ff4af4e
2011-11-16 13:16:28 -08:00
Mathias Agopian
f04ab0706b am e9eaf372: improve sensor HAL documentation
* commit 'e9eaf3721dd715901d669df6488b1ecd63b1e634':
  improve sensor HAL documentation
2011-11-10 01:11:15 +00:00
Mathias Agopian
8e8c1776bf am e9eaf372: improve sensor HAL documentation
* commit 'e9eaf3721dd715901d669df6488b1ecd63b1e634':
  improve sensor HAL documentation
2011-11-09 18:58:57 +00:00
Mathias Agopian
e9eaf3721d improve sensor HAL documentation
Change-Id: If2c1613902de6ed0e6cae8fe4755948c0f623bda
2011-11-08 12:20:21 -08:00
Martijn Coenen
a65be35d31 resolved conflicts for merge of 45065f97 to ics-aah
Change-Id: I1e76a495d1ff76a49bfa091f63ed5bfc1d4f49c9
2011-11-07 08:47:30 -08:00
Martijn Coenen
1892e4ebd1 am 45065f97: Merge "New NFC HAL." into ics-mr1
* commit '45065f97354b4411d99dd57b348f758c6dbb5479':
  New NFC HAL.
2011-11-07 16:22:45 +00:00
Martijn Coenen
45065f9735 Merge "New NFC HAL." into ics-mr1 2011-11-07 08:19:18 -08:00
Mathias Agopian
77b9ddbdb9 am 15879d89: change sensor HAL documentation to allow setting polling rate for "non continuous" sensors
* commit '15879d89af055f6cd651a94125a3802b526c3d66':
  change sensor HAL documentation to allow setting polling rate for "non continuous" sensors
2011-11-05 19:33:17 +00:00
Mathias Agopian
f1802c8091 am 15879d89: change sensor HAL documentation to allow setting polling rate for "non continuous" sensors
* commit '15879d89af055f6cd651a94125a3802b526c3d66':
  change sensor HAL documentation to allow setting polling rate for "non continuous" sensors
2011-11-04 19:15:26 +00:00
Martijn Coenen
44ae5b2476 New NFC HAL.
First implementation of a NFC HAL. This implementation doesn't
offer a generic NFC device HAL (yet), but offers typed interfaces
for different NFC controllers. Currently only the PN544 is supported.

Change-Id: I3ac04dcd767fb12a433edbe88ec7068eb1930a57
2011-11-04 09:05:22 -07:00
Mathias Agopian
15879d89af change sensor HAL documentation to allow setting polling rate for "non continuous" sensors
the current API / Documentation would not allow to set the
rate of "non continuous" sensors.

Most sensors HAL implementation already support changing the rate
(technically they're not compliant with the doc), so it's easier
to change the doc (and also allows more control).

Change-Id: I4ad324ddc3b569ec61770b3cf927c06f8ff4af4e
2011-11-01 19:17:58 -07:00
Ed Heyl
3e9dd0a0a2 keep previous history after reset to mr1 plus aah changes (ics-aah-wip) 2011-10-28 19:05:54 +00:00
Mike J. Chen
71f274c6f1 Modifications to audio_hal for Android@Home Tungsten.
This is a squashed merge from master-tungsten of the following changes:

Commit f560da61a5e128ca9f82f7fe939afcf1f09188c7
Author: John Grossman <johngro@google.com>
Date:   Thu Aug 11 15:34:55 2011 -0700

    Fill out a missing entry in the audio HAL function table.

    The entry for get_initial_master_volume was missing from the non-legacy audio
    HAL and needs to be filled out.  Also fix up the order of the comments
    describing the get_initial_master_volume method.

    Change-Id: I87d5415ef92611497a6dab4c657fc00367c4d80b

commit cea82facb63fd237a4ea6fb770605fcb500850ff
Author: Jason Simmons <jsimmons@google.com>
Date:   Thu Jun 16 14:24:24 2011 -0700

    Define a replacement for getSampleDelta that returns a DMA start time and count of samples queued

    Change-Id: I2d13f57b5a8c5b97fb3aa0a90834ce91c56864ef

commit 60a9acd7eee470a8d870218e8be618bfa3be15a5
Author: Mike J. Chen <mjchen@google.com>
Date:   Tue Jun 7 09:13:23 2011 -0700

    Add Tungsten extensions to new Audio HAL interface.

    Change-Id: I3ea4676d4b7d2afd78a5a7a7003ad5c437276d05
    Signed-off-by: Mike J. Chen <mjchen@google.com>

Change-Id: Id9d0d2fb2fb28e2868f4eb8d8fbf86a975c47ceb
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: John Grossman <johngro@google.com>
2011-10-28 10:28:11 -04:00
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
Ed Heyl
530211b161 undo reset to ics-mr1 until we have a better method 2011-10-26 21:53:25 +00:00
Ed Heyl
3f6886df15 reset to ics-mr1, but keep history 2011-10-26 18:50:22 +00:00
Steve Block
1e28bb3734 am 7567eba2: (-s ours) Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE
* commit '7567eba2afa94abee27965d68c29b31d79b19e60':
  Rename LOGV(_IF) to ALOGV(_IF)  DO NOT MERGE
2011-10-26 04:48:31 -07:00
Steve Block
7567eba2af Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGE
See https://android-git.corp.google.com/g/#/c/143865

Bug: 5449033
Change-Id: I8772e564a55981aad2a9cf7cb9245367fcf57fe8
2011-10-25 18:16:10 +01:00
David 'Digit' Turner
be1d7317e5 am cf209523: am 7bd7dd5d: am 3c935eda: resolved conflicts for merge of 33fddf0c to gingerbread-plus-aosp
* commit 'cf209523884350a3ad6af5840f1b0ae2dde9b98b':
  emulator: Add <hardware/qemu_pipe.h> header
2011-09-27 12:38:16 -07: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
Mathias Agopian
7d68d150f7 am cc3f6a34: improve sensor HAL test
* commit 'cc3f6a345b0cc356b22f9ea748505ce8a705d358':
  improve sensor HAL test
2011-09-26 19:50:23 -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
Mike J. Chen
619febb15c Modifications to audio_hal for Android@Home Tungsten.
This is a squashed merge from master-tungsten of the following changes:

Commit f560da61a5e128ca9f82f7fe939afcf1f09188c7
Author: John Grossman <johngro@google.com>
Date:   Thu Aug 11 15:34:55 2011 -0700

    Fill out a missing entry in the audio HAL function table.

    The entry for get_initial_master_volume was missing from the non-legacy audio
    HAL and needs to be filled out.  Also fix up the order of the comments
    describing the get_initial_master_volume method.

    Change-Id: I87d5415ef92611497a6dab4c657fc00367c4d80b

commit cea82facb63fd237a4ea6fb770605fcb500850ff
Author: Jason Simmons <jsimmons@google.com>
Date:   Thu Jun 16 14:24:24 2011 -0700

    Define a replacement for getSampleDelta that returns a DMA start time and count of samples queued

    Change-Id: I2d13f57b5a8c5b97fb3aa0a90834ce91c56864ef

commit 60a9acd7eee470a8d870218e8be618bfa3be15a5
Author: Mike J. Chen <mjchen@google.com>
Date:   Tue Jun 7 09:13:23 2011 -0700

    Add Tungsten extensions to new Audio HAL interface.

    Change-Id: I3ea4676d4b7d2afd78a5a7a7003ad5c437276d05
    Signed-off-by: Mike J. Chen <mjchen@google.com>

Change-Id: I09f3756d12a1ce4f9af39610ed857890742a72df
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: John Grossman <johngro@google.com>
2011-08-25 16:18:09 -07:00
Mike J. Chen
643b5c6744 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: Ib264c992d564b99ef7c7847a788e4fa7f5e101b4
Signed-off-by: Mike J. Chen <mjchen@google.com>
Signed-off-by: John Grossman <johngro@google.com>
2011-08-25 09:55:32 -07:00