There's below error which trigger FPE_INTDIV becuase tuner->config isn't
set in time.
CMD_TUNE is executed before CMD_CONFIG after being opened immediately
11:27:10.307 21151 21151 I radio_hw_stub: rdev_open_tuner rdev 0x7b36ea03e000
11:27:10.307 21151 21151 V radio_hw_stub: send_command_l 1 delay_ms 500
11:27:10.307 21151 21151 V radio_hw_stub: send_command_l CMD_CONFIG type 0
11:27:10.307 21151 21151 I radio_hw_stub: rdev_open_tuner DONE
11:27:10.307 21151 22015 I radio_hw_stub: callback_thread_loop
11:27:10.603 21151 22015 E radio_hw_stub: callback_thread_loop processing command 4 time 1321010830.603019830
11:27:10.604 21151 22015 F libc : Fatal signal 8 (SIGFPE), code 1, fault addr 0x7b36e704b5d6 in tid 22015 (sound trigger c)
11:27:10.632 22021 22021 F DEBUG : signal 8 (SIGFPE), code 1 (FPE_INTDIV), fault addr 0x7b36e704b5d6
There's no need to use seq lock to correct the sequence. Adjust the time
is the simple way to fix above error.
Change-Id: I1bd5535840fe990db1f6c355af85c93443d9de87
Signed-off-by: Liu Changcheng <changcheng.liu@intel.com>
Signed-off-by: Jerry Liu <primerlink@gmail.com>
It requires all devices that set AUDIOSERVER_MULTILIB := 64, to specify
64-bit binary when installed (PRODUCT_PACKAGES += radio.fm.default:64).
Bug: 37512442
Bug: 37159108
Test: it builds
Change-Id: I9be897bb1794a12953fe77665596d00519aeac28
Libraries under /hardware/libhardware/modules should go to /vendor/.
These are conventionl HALs for default implementations, most of them
are not used.
Camera and thermal are already moved in other CLs.
Bug: 35907904
Test: Compiled and checked install path. Verified on Sailfish with
$ lsof | grep default.
Change-Id: Ibde574001c01cbfea014a20a0fbbb3265e6cdc8a
1. Add clock to metadata - If the CAR does not have a clock (no network
or bad clock) then Radio RDS could be used as a proxy.
2. Add support for emergency announcement - If the CAR wants to make an
emergency announcement.
2.1 Add support for callbacks.
Bug: b/24807501
Bug: b/22701655
Change-Id: Ie5ada889bb6dfc4a2c1b02fc1db2d48d6899bcde
(cherry picked from commit 5768372922fbdfa47afef5bb414c69d606e7c1d2)
A simple tool so that the HAL can be poked using a standalone binary.
Useful when changing the HAL and ensuring that HAL changes are
consistent with the required behavior.
Bug: b/24807501
Bug: b/22701655
Change-Id: I5aa3b614f83c0fd361787346a2c6d6c383fc8519
(cherry picked from commit 611bb7397be3fa341b3ef80f7a252850c68c2597)