Home
last modified time | relevance | path

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

12

/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/2.0/
DIBroadcastRadio.hal25 * multiple hardware tuners (i.e. with an additional background tuner), but the
43 * NOT_SUPPORTED if the tuner doesn't support AM/FM.
54 * NOT_SUPPORTED if the tuner doesn't support DAB.
60 * Opens a new tuner session.
118 * NOT_SUPPORTED if the tuner doesn't support announcements.
DITunerCallback.hal62 * For a new tuner session, client must assume the antenna is connected.
DITunerSession.hal42 * a tuner may do in order to locate all available programs. This function
96 * If the program list scanning hardware (i.e. background tuner) is
Dtypes.hal80 * channels, radio tuner automatically switches to the best available
306 * a ProgramSelector with RDS_PI primary identifier, but the tuner hardware
361 * list - i.e. DAB tuner may provide information on FM RDS alternatives
509 * by the tuner hardware to double-check tuning.
751 * startProgramListUpdates call. If it doesn't, client may assume the tuner
/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/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/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/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/kernel-headers/linux/
Dvideodev2.h789 __u32 tuner; member
981 __u32 tuner; member
992 __u32 tuner; member
1005 __u32 tuner; member
/hardware/qcom/msm8x09/kernel-headers/linux/
Dvideodev2.h681 __u32 tuner; member
862 __u32 tuner; member
871 __u32 tuner; member
881 __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/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/msm8x09/original-kernel-headers/linux/
Dvideodev2.h1258 __u32 tuner; /* enum v4l2_tuner_type */ member
1497 __u32 tuner; member
1508 __u32 tuner; member
1519 __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/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/interfaces/broadcastradio/1.0/vts/functional/
DVtsHalBroadcastradioV1_0TargetTest.cpp330 auto openCb = [&](Result result, const sp<ITuner>& tuner) { in openTuner() argument
333 mTuner = tuner; in openTuner()
/hardware/interfaces/broadcastradio/1.1/vts/functional/
DVtsHalBroadcastradioV1_1TargetTest.cpp179 auto openCb = [&](Result result, const sp<V1_0::ITuner>& tuner) { in openTuner() argument
182 mTuner = ITuner::castFrom(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

12