Home
last modified time | relevance | path

Searched refs:tuner (Results 1 – 21 of 21) sorted by relevance

/hardware/libhardware/modules/radio/
Dradio_hw.c103 struct stub_radio_tuner *tuner; member
141 static int send_command_l(struct stub_radio_tuner *tuner, in send_command_l() argument
172 list_add_tail(&tuner->command_list, &cmd->node); in send_command_l()
173 pthread_cond_signal(&tuner->cond); in send_command_l()
211 static int prepare_metadata(struct stub_radio_tuner *tuner, in prepare_metadata() argument
226 ret = radio_metadata_allocate(metadata, tuner->program.channel, 0); in prepare_metadata()
271 struct stub_radio_tuner *tuner = (struct stub_radio_tuner *)context; in callback_thread_loop() local
278 pthread_mutex_lock(&tuner->lock); in callback_thread_loop()
292 if (list_empty(&tuner->command_list) || ts.tv_sec != 0) { in callback_thread_loop()
296 pthread_cond_timedwait(&tuner->cond, &tuner->lock, &ts); in callback_thread_loop()
[all …]
/hardware/libhardware/include/hardware/
Dradio.h103 int (*set_configuration)(const struct radio_tuner *tuner,
116 int (*get_configuration)(const struct radio_tuner *tuner,
140 int (*scan)(const struct radio_tuner *tuner,
163 int (*step)(const struct radio_tuner *tuner,
186 int (*tune)(const struct radio_tuner *tuner,
201 int (*cancel)(const struct radio_tuner *tuner);
217 int (*get_program_information)(const struct radio_tuner *tuner,
262 const struct radio_tuner **tuner);
276 int (*close_tuner)(const struct radio_hw_device *dev, const struct radio_tuner *tuner);
/hardware/interfaces/broadcastradio/1.0/
DIBroadcastRadio.hal34 * Open a tuner interface for the requested configuration.
35 * If no other tuner is opened, this will power on the radio hardware.
36 * The hardware must be powered down when all tuner interface are released.
38 * @param audio True if this tuner must be used for live radio listening and
44 * @return tuner The interface to control the tuner
50 generates (Result result, ITuner tuner);
Dtypes.hal68 /** Scanning direction for scan() and step() tuner APIs */
120 * If more than one tuner is supported (num_tuners > 1), only one can be
/hardware/interfaces/broadcastradio/1.0/default/
DTuner.cpp82 sp<Tuner> tuner = weak.promote(); in callback() local
83 if (tuner == 0) return; in callback()
84 tuner->onCallback(halEvent); in callback()
/hardware/interfaces/tv/input/1.0/
Dtypes.hal33 TUNER = 2, // Tuner. e.g. built-in terrestrial tuner
79 * tuner into the Android device, it must generate a DEVICE_AVAILABLE event
97 * the event can indicate that a USB tuner is plugged out from the Android
/hardware/interfaces/broadcastradio/1.1/
DITuner.hal98 * playback in single-tuner device.
110 * An empty vector MUST result in full list for a given tuner.
DITunerCallback.hal48 * @param isAvailable true, if the tuner turned temporarily background-
/hardware/qcom/msm8994/kernel-headers/linux/
Dvideodev2.h790 __u32 tuner; member
982 __u32 tuner; member
994 __u32 tuner; member
1006 __u32 tuner; member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dvideodev2.h1177 __u32 tuner; /* enum v4l2_tuner_type */ member
1385 __u32 tuner; member
1396 __u32 tuner; member
1407 __u32 tuner; member
/hardware/qcom/msm8x84/kernel-headers/linux/
Dvideodev2.h789 __u32 tuner; member
981 __u32 tuner; member
992 __u32 tuner; member
1005 __u32 tuner; member
/hardware/qcom/msm8994/original-kernel-headers/linux/
Dvideodev2.h1180 __u32 tuner; /* enum v4l2_tuner_type */ member
1388 __u32 tuner; member
1399 __u32 tuner; member
1410 __u32 tuner; member
/hardware/interfaces/broadcastradio/1.1/vts/functional/
DVtsHalBroadcastradioV1_1TargetTest.cpp195 auto openCb = [&](Result result, const sp<V1_0::ITuner>& tuner) { in openTuner() argument
198 mTuner = ITuner::castFrom(tuner); in openTuner()
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dvideodev2.h1254 __u32 tuner; /* enum v4l2_tuner_type */ member
1493 __u32 tuner; member
1504 __u32 tuner; member
1515 __u32 tuner; member
/hardware/qcom/msm8998/original-kernel-headers/linux/
Dvideodev2.h1504 __u32 tuner; /* enum v4l2_tuner_type */ member
1747 __u32 tuner; member
1758 __u32 tuner; member
1769 __u32 tuner; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dvideodev2.h841 __u32 tuner; member
1067 __u32 tuner; member
1079 __u32 tuner; member
1091 __u32 tuner; member
/hardware/qcom/msm8998/kernel-headers/linux/
Dvideodev2.h949 __u32 tuner; member
1180 __u32 tuner; member
1191 __u32 tuner; member
1204 __u32 tuner; member
/hardware/interfaces/broadcastradio/1.0/vts/functional/
DVtsHalBroadcastradioV1_0TargetTest.cpp329 auto openCb = [&](Result result, const sp<ITuner>& tuner) { in openTuner() argument
332 mTuner = tuner; in openTuner()
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dvideodev2.h1083 __u32 tuner; /* Associated tuner */ member
2090 __u32 tuner; member
2097 __u32 tuner; member
/hardware/qcom/msm8960/kernel-headers/linux/
Dvideodev2.h761 __u32 tuner; member
1831 __u32 tuner; member
1839 __u32 tuner; member
/hardware/interfaces/audio/common/2.0/
Dtypes.hal591 /** FM tuner input */
593 /** TV tuner input */