- Mar 14, 2019
-
-
Luke Williams authored
-
- Mar 04, 2019
-
-
Michael Bestas authored
Change-Id: I95f8b2c7aa1c76cef2d14b6b9c2e971cc5f66d46
-
- Feb 13, 2019
-
-
ivanmeler authored
-
ivanmeler authored
-
ivanmeler authored
Merge branch 'lineage-16.0' of https://github.com/lineageos/android_hardware_samsung into lineage-16.0
-
- Feb 05, 2019
-
-
Vasyl Gello authored
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
-
stenkinevgeniy authored
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>
-
stenkinevgeniy authored
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>
-
stenkinevgeniy authored
Change-Id: I312d2a36009ec1415dd5ccba4fbb68ae4a10e2ab
-
Basil Gello authored
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
-
stenkinevgeniy authored
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
-
stenkinevgeniy authored
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
-
stenkinevgeniy authored
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
-
stenkinevgeniy authored
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
-
stenkinevgeniy authored
Change-Id: I70fbd41ac386d7ea9a7fa0abb540151727461ac1
-
stenkinevgeniy authored
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
-
Christopher N. Hesse authored
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
-
Usaamah Patel authored
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>
-
Martin Hoffmann authored
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
-
- Feb 03, 2019
-
-
ivanmeler authored
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
-
ivanmeler authored
-
- Jan 31, 2019
-
-
ivanmeler authored
Confirmed with https://www.wireshark.org/tools/oui-lookup.html 08:C5:E1 SamsungE Samsung Electro-Mechanics(Thailand) Change-Id: Ief2ec0a19c554aeb4266a64cd58aec56baf9cfe5
-
ivanmeler authored
Confirmed with https://www.wireshark.org/tools/oui-lookup.html 08:C5:E1 SamsungE Samsung Electro-Mechanics(Thailand)
-
- Jan 28, 2019
-
-
ivanmeler authored
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
-
- Jan 24, 2019
-
-
ivanmeler authored
-
- Jan 22, 2019
-
-
ivanmeler authored
-
- Jan 21, 2019
-
-
Lukas0610 authored
Change-Id: I452a651b2a1b11d3619ecde50f448812bf032b66
-
- Jan 14, 2019
-
-
ivanmeler authored
-
- Jan 12, 2019
-
-
ivanmeler authored
-
Michael Bestas authored
Change-Id: I12060711239cbd686b461a6e99369a2fb4cbf0f4
-
- Nov 29, 2018
-
-
ivanmeler authored
Merge branch 'lineage-16.0' of https://github.com/lineageos/android_hardware_samsung into lineage-16.0 Change-Id: I1f9c85795445c4a942ad3e4f2c46d9f781873684
-
- Nov 27, 2018
- Nov 08, 2018
-
-
Anton Hansson authored
This change sets LOCAL_SDK_VERSION for all packages where this is possible without breaking the build, and LOCAL_PRIVATE_PLATFORM_APIS := true otherwise. Setting one of these two will be made required soon, and this is a change in preparation for that. Not setting LOCAL_SDK_VERSION makes the app implicitly depend on the bootclasspath, which is often not required. This change effectively makes depending on private apis opt-in rather than opt-out. Test: make relevant packages Bug: 73535841 Change-Id: Id4757bcca09eda716e0a1098d9290928fa87f22d
-
Stricted authored
Change-Id: I3365592d4c54444dcff3b6daa1c383273f2aa3c9
-
Gohulan Balachandran authored
Use strlcpy instead of strncpy when copying strings to make sure the copy is always null-terminated. Change-Id: I12d4883c22a180e2136dc8c85bc0394ddcdcb706
-
terrycrhuang authored
guarantee non-null function pointer before rild register its hidl service Test: Build and local test Bug: 78886552 Change-Id: I1137cc0f4f09f0304662a2227b84c2b5b228d45d
-
Steven Moreland authored
OEM hook is deprecated, so adding a way to disable it to this radio implementation. Bug: 75322118 Test: boot device w/ DISABLE_RILD_OEM_HOOK works, lshal Change-Id: Ie7ade48476d2c330df608e9cc8dab805f84dd81d
-
Amit Mahajan authored
received. If cached value for NITZ is used, the time at which it was received needs to be cached too. Test: Basic telephony sanity Bug: 72283604 Change-Id: I8f443171c4583e3eab9be7973d7714ae6c7ab6af
-