| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: I9b8710c5f322ec928a2106072f002eaf0ecd7e82
|
|
|
|
|
|
| |
* this is partially a revert of 1226350ee7101a4dc42a4903e148f17c4bd54e4b
Change-Id: I0ab7f6dc7642f7778f802e18b2f2dda7c11d9b3b
|
|
|
|
|
|
| |
* there are hidl replacements available, use them
Change-Id: I36243259627aeb76c2dfbfc2b6b4e219c509cfb5
|
|
|
|
| |
Change-Id: I69f3aeb20382c49c7e928d6d6f41f016adfbc9b1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add libprocessgroup dependency to audio hal that uses set_sched_policy.
Include sched_policy_ctrl.h header which now contains set_sched_policy
definition.
Exempt-From-Owner-Approval: janitorial
Bug: 111307099
Test: builds, boots
Change-Id: I8286daed7065c405ca06e87c1b8f6f6c301dc388
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
|
|
|
|
|
|
|
|
|
| |
Tuned the Binder buffer to 500KB as it is not
going to use the default allocated 1MB which
saves RAM for 32 bit processors.
Change-Id: Ifea2720f8e853643a37912c3459e923168677b1e
CRs-Fixed: 2283052
|
|
|
|
| |
Change-Id: I2e84d598b2412e617e5575bfdefd804612f76889
|
|
|
|
| |
Change-Id: Ibd1b7fe7e1847ec28b2450fbf44cc740e5f364ef
|
|
|
|
| |
Change-Id: Ib754acda4b6f3e8d1911432523a9b06ba1509aa6
|
|
|
|
|
|
| |
* Also resolve a typo.
Change-Id: Ic32740db8a9216751b5735ad472a7fcc48e6a738
|
|
|
|
|
|
|
|
|
|
| |
* I want my target-files built images to be Loki'd if the device
needs Loki.
* With this, devices that rely on Loki can ship Lineage Recovery
officially.
* Import loki_tool from: https://github.com/Stricted/android_external_loki.
Change-Id: I45ef363e05566268c8f24f7e8939a2d785478fbe
|
|
|
|
| |
Change-Id: I90d61439f8a431f1836e439d34764b7eb7983db9
|
|
|
|
| |
Change-Id: Ieb32cc183acaf620e49ec4e2951e80df2ff6b694
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Required because the lights need to be turned off late in boot
(e.x. during fsck for disk health), and before, blank_screen
accessing light encountered a race condition where if it didn't
get scheduled before all of the processes which were getting
shutdown were getting killed, the screen wouldn't blank.
Bug: 74976325
Test: adjusting brightness continues to work
Test: screen blanks during shutdown at the correct time
including when an artificial 5s delay is inserted when
the phone normally fscks (which can also be quick)
Change-Id: I57ebc11d7ecf57ee327c681455712f4b53de6fd3
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
So that init knows how to start it and to provide
an example of how to specify interfaces since there
are no lazy starting services on Pixel yet.
In order to make lights a lazy service, it would also
have to be marked as 'oneshot'.
Test: manually using Light as a lazy service
Bug: 64678982
Change-Id: I846a7e2d9545b42af9b985adb74883bda1b8c355
|
|
|
|
| |
Change-Id: I2abd96bb87321c8cfb86aa155b5423665dfb5c2e
|
|
|
|
| |
Change-Id: If7126936fc4e0804c29061c7ecc706228654af15
|
|
|
|
| |
Change-Id: I333c8d3e20bb451d208f15661afc06ac47e1a377
|
|
|
|
|
|
|
| |
* Since we are trimming the string it will
never match one with trailing space at the end.
Change-Id: Iea76092112555ed8b858560f07ef8e88f0ff593b
|
|
|
|
| |
Change-Id: I7b217eb210fe710ba73511bcf96d9c4e4abe17bc
|
|
|
|
| |
Change-Id: I3c6060e02b5a290f9485994035750c96d9a5a118
|
|
|
|
| |
Change-Id: I5a6303f7f67a8b6d35663d2d86346d585f367cd3
|
|
|
|
|
|
|
| |
* By default hal_lineage_livedisplay_default does not
have permissions to write to /data/misc.
Change-Id: I5599a5e6602ea326322328aeda1c6eb0411a5568
|
|
|
|
|
|
|
|
|
|
| |
* Change default ::implementation namespace to ::samsung
* Fill in required methods for used impls
* Cleanup passthrough code for used impls
* Remove unused impls
* Add and setup binderized service
Change-Id: I545a7c0ac8bf4fce04da73a0d39d4ac1938496f2
|
|
|
|
|
|
| |
* Generated from hidl-gen with added LineageOS copyrights
Change-Id: I150c3a65b92586fa2715c0f8ef27d2bcc6ba5d70
|
|
|
|
|
|
|
|
|
| |
* Change default ::implementation namespace to ::samsung
* Fill in required methods for used impls
* Cleanup passthrough code for used impls
* Add and setup binderized service
Change-Id: Iadc3b6e385233d103c3349ce31a08d6d040886c7
|
|
|
|
|
|
| |
* Generated from hidl-gen with added LineageOS copyrights
Change-Id: Ia1073b57ecbafee0e599788b1ead5cc4b2dbda57
|
|
|
|
| |
Change-Id: I9a691863f0f09b859ec07c1f421f5c41dc3fdbdd
|
|
|
|
| |
Change-Id: Ic3b685df13f3fd3564b1301bfb1276f7c369196b
|
|
|
|
| |
Change-Id: I95f8b2c7aa1c76cef2d14b6b9c2e971cc5f66d46
|
|
|
|
| |
Change-Id: Ie6d58fe13af35716a406feb262e6e18954c26c36
|
|
|
|
|
|
|
|
| |
Fixes audioserver crash in in_get_capture_position() if PCM input
device was not properly opened.
Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
Change-Id: I2f2d9bc8151cf61af112a9544268513effacacb5
|
|
|
|
|
|
|
|
| |
Some devices, that using wm* codecs like i9500, t805, p601 and others
need open CP pcm's when using BT SCO in IN_COMMUNICATION mode.
Change-Id: I64935aabf1c52e66409e727f02752cd325f8ef58
Signed-off-by: stenkinevgeniy <stenkinevgeniy@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Current HAL start/stop bt_sco session only for incall mode -
rewrite logic to start/stop bt session when system switch to
one of the bluetooth devices.
Move bt_sco_active and pcm_sco_rx/tx to main audio_device structure.
Remove bt_sco_capture profile.
Change-Id: I7bbe4273f759e255bb857f8292f2921df31d4b0b
Signed-off-by: stenkinevgeniy <stenkinevgeniy@gmail.com>
|
|
|
|
| |
Change-Id: I312d2a36009ec1415dd5ccba4fbb68ae4a10e2ab
|
|
|
|
|
|
|
|
|
|
|
| |
In order to activate proprietary sound pre- and post-processing,
the following parts of audio HAL were revised:
* Activated ENABLE_PREPROCESSING directive in Android.mk
* Removed unused variables and functions
* Re-written set_preprocessor_echo_delay() function
Change-Id: I868087f422764895df7d2bc6bbf4bbd76672b8e7
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit cause bug - no sound after end voice call when
using speaker. Sound come back after audioflinger send
standby and hal reenable speaker for new stream (usecase).
Reason - hal need reenable speaker (or other devices) for
other streams (usecases).
This reverts commit f33a728b205f7656ca6211a07e3dd69c623b75ca.
Change-Id: Icde4e83ab824008e931b681cdbb6e11d6a2a7aa5
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use AUDIO_DEVICE_OUT_BLUETOOTH_SCO
AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET and
AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT
and not only AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET for voice calls.
Remove default voice_mic for sco devices - why we need default mic
for sco output devices if now we handle all sco output devices.
Change-Id: Ibf4eb42eebcf7dc229649d8afe6e8b3ea9354165
|
|
|
|
|
|
|
|
|
|
| |
Myabe this related to htc flounder hw but this
not needed for samsung and this cause bug when
hal trying open bt pcm device for system sounds
while voice call active on sco and bt pcm device
opened with start_voice_session_bt_sco.
Change-Id: I75482dad42feccae5e8ca9df2623ef4693a7bdb0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add check_and_route_usecases -
this function is to make sure that all the usecases that are active on
the hardware codec backend are always routed to any one device that is
handled by the hardware codec.
Example:
When voice call starting - we need earpice -
hal enable earpice, but befor - we put call button -
and hal enable speaker and play sound - "click"
And now we have speaker and earpice enabled.
Later when audioflinger send standby (default after 3 sec) to stream
which use speaker - hal disable speaker while voice call active - and
we have no sound in earpice.
check_and_route_usecases will not allow such situations.
Change-Id: Ibc534bb14c25e4a4ffb4f3487d1424e9e1ed6a67
|
|
|
|
| |
Change-Id: I70fbd41ac386d7ea9a7fa0abb540151727461ac1
|
|
|
|
|
|
|
|
| |
This never use - because -
out->sample_rate and out->config configured in adev_open_output_stream
out->config = can have deep or no pcm config with only 48000 sample rate.
Change-Id: Ie1c4025585ab6e1b7a900486181c1bceeff88139
|
|
|
|
|
|
|
|
| |
This is part of a cleanup series.
In the future, we should reconsider the struct usage and (maybe?) move
the members into one common place.
Change-Id: I3218d75acb0c4965332ba0de30b40ca7821596a7
|
|
|
|
|
|
|
|
|
|
| |
Some devices like the Samsung Galaxy S6, require this
to be run at the end of the voice session. However some
devices also need this to be run at the start of the
voice session whereas the S6 does not (see previous commit).
Change-Id: I833b57e262795fcbd8be6f44afb17b0f1ca6fee3
Signed-off-by: Usaamah Patel <ussyp2015@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes: BUGBASH-302
Correctly use 16khz for the WBS-SCO pcm_config.
No more garbled or mute in-call sound on bt.
Apply together with a device specific port of:
https://review.lineageos.org/#/c/177996/
and REMOVE any definitions of
SCO_WBS_SAMPLE_RATE
https://review.lineageos.org/#/c/178371/
This requires testing for all devices using:
android_hardware_samsung
(universal audio HAL part)
Change-Id: I84fb1b234bf2880bf98bf99f1e4ff6c05500b0e3
|
|
|
|
|
|
|
|
|
| |
Confirmed with https://www.wireshark.org/tools/oui-lookup.html
48:13:7E SamsungE Samsung Electronics Co.,Ltd
E8:3A:12 SamsungE Samsung Electronics Co.,Ltd
F8:E6:1A SamsungE Samsung Electronics Co.,Ltd
Change-Id: Ic7225951cee415d68a917031d5f969f45a9cc7ec
|
|
|
|
|
|
|
|
| |
Confirmed with https://www.wireshark.org/tools/oui-lookup.html
08:C5:E1 SamsungE Samsung Electro-Mechanics(Thailand)
Change-Id: Ief2ec0a19c554aeb4266a64cd58aec56baf9cfe5
|
|
|
|
|
|
|
|
|
|
| |
verified on https://www.wireshark.org/tools/oui-lookup.html
10: 98:C3 MurataMa Murata Manufacturing Co., Ltd.
24: 18:1D SamsungE Samsung Electro-Mechanics(Thailand)
30: 07:4D SamsungE Samsung Electro-Mechanics(Thailand)
94: 76:B7 SamsungE Samsung Electronics Co.,Ltd
Change-Id: I3e3aebfca89b68fcb188ff955efdb1b8d32d16af
|
|
|
|
| |
Change-Id: I452a651b2a1b11d3619ecde50f448812bf032b66
|
|
|
|
| |
Change-Id: I12060711239cbd686b461a6e99369a2fb4cbf0f4
|