| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update the torch status callback API so that HAL must invoke
the torch status callback whenever the torch status changes
including changes by set_torch_mode().
The problem of the previous approach was camera service needed
to invoke the callback after calling set_torch_mode() and two
sources of the torch status changes (HAL and camera service)
caused a race condition.
Add STATUS_ON and remove STATUS_AVAILABLE which isn't useful
because STATUS_OFF means torch is off and available. STATUS_ON
means torch is on and available.
Bug: 2682206
Change-Id: Ide5d289c5f485404a3ba46e6cb359fa8a52da0bb
|
|
|
|
|
|
|
|
| |
To match the public API, seperate camera device in use and other
resources in use errors.
Bug: 2682206
Change-Id: Ie0451931f0c84fc65f3f6294a9f44bec10627afe
|
|
|
|
|
|
| |
Also bump the HAL version to 3.3 for reprocessing spec update
Change-Id: I37eda90970eace23c42ba9106d4db1587df8d1b4
|
|
|
|
|
|
|
|
|
|
| |
Add TORCH_MODE_STATUS_OFF for the case when HAL has to turn off the
torch mode that was turned on by a previous set_torch_mode() call
in order to turn on the torch mode for the current set_torch_mode()
call.
Bug: 2682206
Change-Id: Ia2f717ffaca8c4346ec5fcdf73895160f700f067
|
|
|
|
|
|
|
|
|
| |
- Add necessary metadata to the camera_info structure to allow
the camera service to determine which devices can be safely
opened and used simultaneously without attempting to open
camera devices.
Change-Id: I4250b4c7e1296ebf4cab07355d6d3be01f17ba1e
|
|
|
|
|
|
| |
Update camera module API 2.4 for usb camera support.
Change-Id: Id8329e31ad0622bdc06c60e87e97c742a9719b3b
|
|
|
|
|
|
|
|
| |
Add torch mode APIs to support flashlight without opening any
camera devices.
Bug: 2682206
Change-Id: Ida46bb878962caf305f3e97051b15e0465fe8c02
|
|\
| |
| |
| | |
lmp-mr1-dev
|
| |
| |
| |
| |
| | |
Bug: 19179927
Change-Id: I53886f8d1a3a998b958f031b04ddd4cbf19aad2c
|
|/
|
|
|
|
|
|
|
| |
Add audio parameter key for device connect.
Bug: 17785277
Bug: 19214836
Change-Id: Icd81702634e0bd83645d89c2d65e2b303fc11f8c
(cherry picked from commit 55c07c3418a3bc19a72c4935d8ed57a57074c49a)
|
|
|
|
|
|
|
|
| |
INPUT stream is not used by framework-implemented ZSL (HAL3.2), the sample
use case description is incorrect.
Bug: 19197776
Change-Id: I247ad8755b2197c2a62cc109c151749b42a4bd49
|
|
|
|
|
|
|
|
|
| |
Added a flag to pass system language information to HAL so that it can
respond to <Get Menu Language> in standby mode.
Bug: 19054079
Change-Id: Iada00307202f5c9429944184b62b6456b624125a
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In a recording session , the number of bytes read is
not updated when pcm_read() fails. This results in
silence/invalid data being added during a device switch
from USB headset to handset.
Fix is to reset the number of bytes read if pcm_read()
returns an error indicating removal of USB headset.
Bug: 18611518
Change-Id: I10d578c3cf1037c90a891e63be2bd1c2b7e6126b
|
|
|
|
|
|
|
|
|
|
| |
free momory for str_parms to prevent memory leak.
cherry-pcik from aosp c357157e28dc0ffd069b80aeba9bf8b9eed72c9a
Bug: 18798194.
Change-Id: I7df5567d665554dbd4646c881f0f48b0c568c5fe
|
|
|
|
|
|
|
|
|
| |
This CL addresses the cases where TV has more than one ARC-supported
HDMI ports.
Bug: 18781204
Change-Id: I4eaeb755caf2552b826a7322d19ee671407ee43f
|
|
|
|
|
|
|
|
|
|
| |
Reset ALSA device profile on disconnect event. Entries like
supported sample rates, channel counts, formats will be repopulated
on next connect.
CRs-Fixed: 765434
Change-Id: I27d3b7fd7ff22646996f58c53de08547b1a1fb6a
Bug: 18606219
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When reading from a pipe, the output may have been previously
closed, therefore the output state should only be read if it
is still available.
This fixes a race condition observed between in_read() (which
accesses the output stream) and adev_close_output_stream()
(which sets the output reference to NULL).
No issue with out_write() which checks the input reference.
Bug 16009464
Change-Id: I979bc12c8fe91fad9b6f6c9e0be107c1bacae360
|
|
|
|
|
|
|
|
|
| |
When a client requests to update the LE transport MTU, the server
currently does not get notified and can therefor not properly size
notifications appropriate to the current MTU.
Bug: 18388114
Change-Id: I136f32cba48da3302e13fb9a9ec81b8e01712138
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The implementation for "remote submix" supported only one pipe
to capture the output of a mix.
This CL adds support for multiple pipes to support capturing
multiple audio routes.
The structure for the r_submix audio device holds an array
of route configurations (route_config), each referencing
the input and output of the pipe dedicated to this route.
Each route is associated to a unique address. Standby
status is maintained per stream.
Bug 16009464
Change-Id: Ie164c4ad2a6d8138f825484e7faf29a974ccf82e
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Passes the BufferItem for the queued buffer to the onFrameAvailable
callback so the consumer can track the BufferQueue's contents.
Bug: 18111837
Change-Id: If9d07229c9b586c668e5f99074e9b63b0468feb0
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug:16877860
Change-Id: I1eddec02cefa39692f63cc54cc40b75f449516a7
|
|\ \ \
| |_|/
|/| |
| | | |
HAL. b/16727892" into lmp-mr1-dev
|
| |/
| |
| |
| |
| |
| | |
b/16727892
Change-Id: I73d3ea3e743846b9e579c78b80d7a393319c09f1
|
|\ \
| |/
|/|
| | |
lmp-mr1-dev
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds the setFeature callback which could be used to enable/disable
power as well as performance specific features.
POWER_FEATURE_DOUBLE_TAP_WAKE is added which uses the setFeature
callback to enable/disable the double-tap feature.
Bug: 16875464
Change-Id: I5ed9b5be8fddedf9861eedd962def421d9fac5bf
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 18047715
Change-Id: I63fd594d3380f92fce3224a258060ca2bf37e79b
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The HW A/V sync ID is retrieved from the HAL by calling
global get_parameters() with key AUDIO_PARAMETER_HW_AV_SYNC.
After the output stream is opened, the HW A/V sync ID is communicated
by stream set_parameters() with key AUDIO_PARAMETER_STREAM_HW_AV_SYNC.
Bug: 17112525.
Change-Id: Id1e3a3aa1e88d15461a609b381ca8c1902735a29
|
|\ \
| |/
|/|
| |
| | |
* commit '5ff76cb59a892a856fa2476bd5bf7c41537b78e1':
Fix remote submix crash on null sink
|
| |\
| | |
| | |
| | |
| | | |
* commit '793a854e4547fa43632907a987684cadc93eb5e2':
Fix remote submix crash on null sink
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The "remote submix" HAL uses a MonoPipe instance to "pipe" audio
from the sink of this virtual device HAL to its source.
The life-cycle of this pipe is:
- creation when either the input or output stream is open
- destruction when both input and output are closed.
Changes are:
Fix test for pipe destruction: destroy pipe when both
input and output streams are NULL.
Count how many read errors went into the logs and cap them
so as not to spam the logs when the pipe is not properly
set up. Less 'I' logs, 'D' logs instead.
When opening input stream, check for non-null sink before
checking if it's shutdown.
Bug 16653334
Bug 17111907
Change-Id: I634b4192b00f9b74a5109f42242423e9c8cb4c7c
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit 'e914d696a95a799bbcca221238a1874f995871ca':
Report multihal is SENSORS_DEVICE_API_VERSION_1_3 compliant
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Ignore calls to any HALs that are not 1_0 or 1_3 compliant.
Fix an unused parameter compiler warning.
Bug: 17645248
Change-Id: Ia50f7512dfe35f37973440bba84e1b1b177a7bd3
|
|\ \
| |/
|/|
| | |
audio_policy.conf." into lmp-mr1-dev
|
| |
| |
| |
| |
| |
| | |
Bug 17526569
Change-Id: I64b00fd338eb937303b41608728a18341ee78820
|
|/
|
|
|
| |
Bug: 17479050
Change-Id: I7e238e09e253d46a552b775b0483215f8f1ae512
|
|
|
|
|
| |
Bug: 17321604.
Change-Id: I8e3daf2636dfd5f85d990c0093c52c908064afac
|
|
|
|
|
|
|
| |
And deprecate older HALs.
Bug: 17445920
Change-Id: I37a5e53fda3c93080e37ec848f84c702a2c9120b
|
|
|
|
|
|
|
|
| |
i) on-change sensors should set maxDelay.
ii) Drivers should hold a wake_lock till poll() is called
the next time when delivering events from wake-up sensors.
Change-Id: I4b137843d5c857f04601618548306a710fbfbe5c
|
|\
| |
| |
| | |
Change-Id: I2a053d02e3c198d519d6306809f81ff601169151" into lmp-dev
|
| |
| |
| |
| | |
Bug: 17110478
Change-Id: I2a053d02e3c198d519d6306809f81ff601169151
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
include/hardware/sensors.h
Change-Id: I21517f717761af7f52c003d535e86059ebb75f05
|
| |\ \
| | | |
| | | |
| | | |
| | | | |
* commit '74279e3c23bd62c70d53098be91db85df5a68ece':
Adding information about the first activation
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: If5759749c5e6a88dcaf5ab600c9086b056c3908a
|
|\ \ \ \ |
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
Bug 17136569
Change-Id: I94bdbe037533a3fd77f249fdd42f4d828d3bf87f
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Bug 17136854
Change-Id: Ia0136fa8f9b4789d538b2dccb3f6071ae5062010
|
|\ \ \ |
|