Searched refs:radio (Results 1 - 23 of 23) 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/include/radio/
H A DRadio.h22 #include <radio/RadioCallback.h>
23 #include <radio/IRadio.h>
24 #include <radio/IRadioService.h>
25 #include <radio/IRadioClient.h>
26 #include <system/radio.h>
H A DRadioCallback.h21 #include <system/radio.h>
H A DIRadioService.h23 #include <system/radio.h>
43 sp<IRadio>& radio) = 0;
H A DIRadio.h24 #include <system/radio.h>
/frameworks/base/core/tests/coretests/src/android/widget/
H A DRadioGroupPreCheckedTest.java38 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_one);
39 assertTrue("The first radio button should be checked", radio.isChecked());
42 assertEquals("The first radio button should be checked", R.id.value_one,
50 RadioButton radio = (RadioButton) activity.findViewById(R.id.value_two);
51 TouchUtils.clickView(this, radio);
55 assertFalse("The first radio button should not be checked", old.isChecked());
56 assertTrue("The second radio button should be checked", radio.isChecked());
59 assertEquals("The second radio butto
[all...]
/frameworks/av/radio/
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...]
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 DIRadioClient.cpp24 #include <radio/IRadioClient.h>
H A DIRadio.cpp22 #include <radio/IRadio.h>
23 #include <radio/IRadioService.h>
24 #include <radio/IRadioClient.h>
25 #include <system/radio.h>
/frameworks/av/services/radio/
H A DRadioService.h25 #include <radio/IRadioService.h>
26 #include <radio/IRadio.h>
27 #include <radio/IRadioClient.h>
28 #include <system/radio.h>
29 #include <hardware/radio.h>
45 static char const* getServiceName() { return "media.radio"; }
58 sp<IRadio>& radio);
98 bool mMute; // radio audio source state
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/java/android/hardware/radio/
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 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 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/media/audioserver/
H A DAndroid.mk29 frameworks/av/services/radio \
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsHelper.java593 BatterySipper radio = new BatterySipper(BatterySipper.DrainType.CELL, null, 0);
594 mMobileRadioPowerCalculator.calculateRemaining(radio, mStats, mRawRealtimeUs, mRawUptimeUs,
596 radio.sumPower();
597 if (radio.totalPowerMah > 0) {
598 mUsageList.add(radio);
682 // Don't compute radio usage if it's a wifi-only device
/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.cpp436 property_get("ro.radio.log_prefix", property, "");
748 char radio[PROPERTY_VALUE_MAX], bootloader[PROPERTY_VALUE_MAX]; local
754 property_get("gsm.version.baseband", radio, "(unknown)");
767 printf("Radio: %s\n", radio);
945 timeout = logcat_timeout("radio");
949 run_command("RADIO LOG", timeout / 1000, "logcat", "-b", "radio",
/frameworks/base/
H A Dcompiled-classes-phone1710 android.hardware.radio.RadioManager
1711 android.hardware.radio.RadioManager$AmBandConfig
1712 android.hardware.radio.RadioManager$AmBandConfig$1
1713 android.hardware.radio.RadioManager$AmBandDescriptor
1714 android.hardware.radio.RadioManager$AmBandDescriptor$1
1715 android.hardware.radio.RadioManager$BandConfig
1716 android.hardware.radio.RadioManager$BandConfig$1
1717 android.hardware.radio.RadioManager$BandDescriptor
1718 android.hardware.radio.RadioManager$BandDescriptor$1
1719 android.hardware.radio
[all...]
/frameworks/base/core/java/android/app/
H A DSystemServiceRegistry.java57 import android.hardware.radio.RadioManager;
/frameworks/base/services/core/java/com/android/server/
H A DInputMethodManagerService.java3334 (RadioButton)view.findViewById(com.android.internal.R.id.radio);

Completed in 868 milliseconds