Searched defs:radio (Results 1 - 10 of 10) sorted by relevance

/frameworks/base/core/java/android/net/
H A DNetworkConfig.java38 * the radio number from radio attributes config
40 public int radio; field in class:NetworkConfig
62 * [associated radio-type],[priority],[dependencyMet]
68 radio = Integer.parseInt(fragments[2]);
78 return (type == radio);
/frameworks/av/radio/
H A DIRadioService.cpp32 #include <radio/IRadioService.h>
33 #include <radio/IRadio.h>
34 #include <radio/IRadioClient.h>
84 sp<IRadio>& radio)
105 radio = interface_cast<IRadio>(reply.readStrongBinder());
164 sp<IRadio> radio; local
165 status_t status = attach(handle, client, configPtr, withAudio, radio);
167 if (radio != 0) {
169 reply->writeStrongBinder(IInterface::asBinder(radio));
80 attach(radio_handle_t handle, const sp<IRadioClient>& client, const struct radio_band_config *config, bool withAudio, sp<IRadio>& radio) argument
H A DRadio.cpp27 #include <radio/Radio.h>
28 #include <radio/IRadio.h>
29 #include <radio/IRadioService.h>
30 #include <radio/IRadioClient.h>
31 #include <radio/RadioCallback.h>
38 const char* kRadioServiceName = "media.radio";
100 sp<Radio> radio; local
103 return radio;
105 radio = new Radio(handle, callback);
106 status_t status = service->attach(handle, radio, confi
[all...]
/frameworks/base/core/java/android/hardware/radio/
H A DRadioModule.java17 package android.hardware.radio;
29 * A RadioModule implements the RadioTuner interface for a broadcast radio tuner physically
30 * present on the device and exposed by the radio HAL.
84 /* keep in sync with radio_event_type_t in system/core/include/system/radio.h */
H A DRadioTuner.java17 package android.hardware.radio;
29 * RadioTuner interface provides methods to control a radio tuner on the device: selecting and
88 * Set mute state. When muted, the radio tuner audio source is not available for playback on
89 * any audio device. when unmuted, the radio tuner audio source is output as a media source
91 * The radio tuner audio source is muted by default when the tuner is first attached.
110 * @return {@code true} if the radio tuner audio source is muted or a problem occured
233 /** Indicates a failure of radio IC or driver.
236 /** Indicates a failure of the radio service.
292 * onControlChanged() is called when the client loses or gains control of the radio tuner.
H A DRadioMetadata.java16 package android.hardware.radio;
36 * Contains meta data about a radio program such as station name, song title, artist etc...
46 public static final String METADATA_KEY_RDS_PI = "android.hardware.radio.metadata.RDS_PI";
51 public static final String METADATA_KEY_RDS_PS = "android.hardware.radio.metadata.RDS_PS";
56 public static final String METADATA_KEY_RDS_PTY = "android.hardware.radio.metadata.RDS_PTY";
61 public static final String METADATA_KEY_RBDS_PTY = "android.hardware.radio.metadata.RBDS_PTY";
66 public static final String METADATA_KEY_RDS_RT = "android.hardware.radio.metadata.RDS_RT";
71 public static final String METADATA_KEY_TITLE = "android.hardware.radio.metadata.TITLE";
76 public static final String METADATA_KEY_ARTIST = "android.hardware.radio.metadata.ARTIST";
81 public static final String METADATA_KEY_ALBUM = "android.hardware.radio
[all...]
H A DRadioManager.java17 package android.hardware.radio;
28 * The RadioManager class allows to control a broadcast radio tuner present on the device.
29 * It provides data structures and methods to query for available radio modules, list their
55 // keep in sync with radio_class_t in /system/core/incluse/system/radio.h
56 /** Radio module class supporting FM (including HD radio) and AM */
58 /** Radio module class supporting satellite radio */
60 /** Radio module class supporting Digital terrestrial radio */
63 // keep in sync with radio_band_t in /system/core/incluse/system/radio.h
64 /** AM radio band (LW/MW/SW).
67 /** FM radio ban
[all...]
/frameworks/av/services/radio/
H A DRadioService.cpp27 #include <system/radio.h>
37 #include <hardware/radio.h>
62 ALOGE("couldn't load radio module %s.%s (%s)",
68 ALOGE("couldn't open radio hw device in %s.%s (%s)",
73 ALOGE("wrong radio hw device version %04x", dev->common.version);
123 sp<IRadio>& radio)
128 radio.clear();
146 radio = module->addClient(client, config, withAudio);
148 if (radio == 0) {
423 // There is a limited amount of tuners and a limited amount of radio audi
119 attach(radio_handle_t handle, const sp<IRadioClient>& client, const struct radio_band_config *config, bool withAudio, sp<IRadio>& radio) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_Radio.cpp25 #include <system/radio.h>
27 #include <radio/RadioCallback.h>
28 #include <radio/Radio.h>
41 static const char* const kRadioManagerClassPathName = "android/hardware/radio/RadioManager";
44 static const char* const kRadioModuleClassPathName = "android/hardware/radio/RadioModule";
53 "android/hardware/radio/RadioManager$ModuleProperties";
59 "android/hardware/radio/RadioManager$BandDescriptor";
70 "android/hardware/radio/RadioManager$FmBandDescriptor";
75 "android/hardware/radio/RadioManager$AmBandDescriptor";
80 "android/hardware/radio/RadioManage
143 Radio* const radio = (Radio*)env->GetLongField(thiz, gModuleFields.mNativeContext); local
[all...]
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp503 char radio[PROPERTY_VALUE_MAX], bootloader[PROPERTY_VALUE_MAX]; local
509 property_get("ro.baseband", radio, "(unknown)");
522 printf("Radio: %s\n", radio);
700 timeout = logcat_timeout("radio");
704 run_command("RADIO LOG", timeout / 1000, "logcat", "-b", "radio",

Completed in 424 milliseconds