Files
hardware_interfaces/tv/tuner/aidl/default/Android.bp
sadiqsada 56c98294a2 Add IPTV default implementation
Frontend::tune(): create a streamer using plugin interface to
read a byte and return LOCKED event if byte is read

Demux::setFrontendDataSource():open a new stream to read data
from the socket and push the data read to DVR FMQ.

Test: atest VtsHalTvTunerTargetTest
Bug: 288170590
Change-Id: Iaf2eae7b4dc9e7d69b1f7b3a367d24f6acdd68be
2023-11-02 16:45:31 -07:00

62 lines
1.5 KiB
Plaintext

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "hardware_interfaces_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["hardware_interfaces_license"],
}
cc_defaults {
name: "tuner_hal_example_defaults",
relative_install_path: "hw",
vintf_fragments: ["tuner-default.xml"],
vendor: true,
compile_multilib: "first",
srcs: [
"Demux.cpp",
"Descrambler.cpp",
"Dvr.cpp",
"Filter.cpp",
"Frontend.cpp",
"Lnb.cpp",
"TimeFilter.cpp",
"Tuner.cpp",
"service.cpp",
"dtv_plugin.cpp",
],
static_libs: [
"libaidlcommonsupport",
],
shared_libs: [
"android.hardware.common.fmq-V1-ndk",
"android.hardware.tv.tuner-V2-ndk",
"libbase",
"libbinder_ndk",
"libcutils",
"libdmabufheap",
"libfmq",
"libion",
"liblog",
"libutils",
],
header_libs: [
"media_plugin_headers",
],
}
cc_binary {
name: "android.hardware.tv.tuner-service.example",
defaults: ["tuner_hal_example_defaults"],
init_rc: ["tuner-default.rc"],
}
cc_binary {
name: "android.hardware.tv.tuner-service.example-lazy",
defaults: ["tuner_hal_example_defaults"],
init_rc: ["tuner-default-lazy.rc"],
cflags: [
"-DLAZY_HAL",
],
}