Home
last modified time | relevance | path

Searched refs:BandDescriptor (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/hardware/radio/
DRadioManager.java269 private final BandDescriptor[] mBands;
280 BandDescriptor[] bands, boolean isBgScanSupported, in ModuleProperties()
494 public BandDescriptor[] getBands() { in getBands()
511 Parcelable[] tmp = in.readParcelableArray(BandDescriptor.class.getClassLoader(), in ModuleProperties()
512 BandDescriptor.class); in ModuleProperties()
513 mBands = new BandDescriptor[tmp.length]; in ModuleProperties()
515 mBands[i] = (BandDescriptor) tmp[i]; in ModuleProperties()
614 public static class BandDescriptor implements Parcelable { class in RadioManager
622 BandDescriptor(int region, int type, int lowerLimit, int upperLimit, int spacing) { in BandDescriptor() method in RadioManager.BandDescriptor
698 private BandDescriptor(Parcel in) { in BandDescriptor() method in RadioManager.BandDescriptor
[all …]
DRadioManager.aidl23 parcelable RadioManager.BandDescriptor;
/frameworks/base/services/core/jni/BroadcastRadio/
Dconvert.cpp87 } BandDescriptor; member
389 gjni.BandDescriptor.clazz, BandDescriptorFromHal); in ModulePropertiesFromHal()
467 region = static_cast<Region>(env->GetIntField(jDescriptor, gjni.BandDescriptor.region)); in BandConfigToHal()
470 config.type = static_cast<Band>(env->GetIntField(jDescriptor, gjni.BandDescriptor.type)); in BandConfigToHal()
472 config.lowerLimit = env->GetIntField(jDescriptor, gjni.BandDescriptor.lowerLimit); in BandConfigToHal()
473 config.upperLimit = env->GetIntField(jDescriptor, gjni.BandDescriptor.upperLimit); in BandConfigToHal()
475 static_cast<uint32_t>(env->GetIntField(jDescriptor, gjni.BandDescriptor.spacing)) in BandConfigToHal()
671 gjni.BandDescriptor.clazz = MakeGlobalRefOrDie(env, bandDescriptorClass); in register_android_server_broadcastradio_convert()
672 gjni.BandDescriptor.region = GetFieldIDOrDie(env, bandDescriptorClass, "mRegion", "I"); in register_android_server_broadcastradio_convert()
673 gjni.BandDescriptor.type = GetFieldIDOrDie(env, bandDescriptorClass, "mType", "I"); in register_android_server_broadcastradio_convert()
[all …]
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/
DRadioManagerTest.java187 RadioManager.BandDescriptor bandDescriptor = createAmBandDescriptor(); in getType_forBandDescriptor()
195 RadioManager.BandDescriptor bandDescriptor = createFmBandDescriptor(); in getRegion_forBandDescriptor()
203 RadioManager.BandDescriptor bandDescriptor = createFmBandDescriptor(); in getLowerLimit_forBandDescriptor()
211 RadioManager.BandDescriptor bandDescriptor = createAmBandDescriptor(); in getUpperLimit_forBandDescriptor()
219 RadioManager.BandDescriptor bandDescriptor = createAmBandDescriptor(); in getSpacing_forBandDescriptor()
227 RadioManager.BandDescriptor bandDescriptor = createFmBandDescriptor(); in describeContents_forBandDescriptor()
236 RadioManager.BandDescriptor bandDescriptor = createFmBandDescriptor(); in writeToParcel_forBandDescriptor()
241 RadioManager.BandDescriptor bandDescriptorFromParcel = in writeToParcel_forBandDescriptor()
242 RadioManager.BandDescriptor.CREATOR.createFromParcel(parcel); in writeToParcel_forBandDescriptor()
249 RadioManager.BandDescriptor[] bandDescriptors = in newArray_forBandDescriptorCreator()
[all …]
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DConvert.java194 private static @NonNull RadioManager.BandDescriptor[]
196 if (config == null) return new RadioManager.BandDescriptor[0]; in amfmConfigToBands()
199 List<RadioManager.BandDescriptor> bands = new ArrayList<>(len); in amfmConfigToBands()
227 return bands.toArray(new RadioManager.BandDescriptor[bands.size()]); in amfmConfigToBands()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DConversionUtils.java257 private static RadioManager.BandDescriptor[] amfmConfigToBands( in amfmConfigToBands()
260 return new RadioManager.BandDescriptor[0]; in amfmConfigToBands()
264 List<RadioManager.BandDescriptor> bands = new ArrayList<>(); in amfmConfigToBands()
295 return bands.toArray(RadioManager.BandDescriptor[]::new); in amfmConfigToBands()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DConvertTest.java149 RadioManager.BandDescriptor[] bands = MODULE_PROPERTIES.getBands(); in propertiesFromHalProperties_bandsMatch()
178 RadioManager.BandDescriptor[] bands = properties.getBands(); in propertiesFromHalProperties_withInvalidBand()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DConversionUtilsTest.java315 RadioManager.BandDescriptor[] bands = MODULE_PROPERTIES.getBands(); in propertiesFromHalProperties_bandsMatch()
355 RadioManager.BandDescriptor[] bands = properties.getBands(); in propertiesFromHalProperties_withInvalidBand()
/frameworks/base/core/api/
Dsystem-current.txt6438 …ic class RadioManager.AmBandDescriptor extends android.hardware.radio.RadioManager.BandDescriptor {
6454 public static class RadioManager.BandDescriptor implements android.os.Parcelable {
6464 …ic final android.os.Parcelable.Creator<android.hardware.radio.RadioManager.BandDescriptor> CREATOR;
6487 …ic class RadioManager.FmBandDescriptor extends android.hardware.radio.RadioManager.BandDescriptor {
6498 method public android.hardware.radio.RadioManager.BandDescriptor[] getBands();
/frameworks/base/boot/
Dpreloaded-classes3084 android.hardware.radio.RadioManager$BandDescriptor$1
3085 android.hardware.radio.RadioManager$BandDescriptor
Dboot-image-profile.txt25471 Landroid/hardware/radio/RadioManager$BandDescriptor$1;
25472 Landroid/hardware/radio/RadioManager$BandDescriptor;
/frameworks/base/config/
Dpreloaded-classes3088 android.hardware.radio.RadioManager$BandDescriptor$1
3089 android.hardware.radio.RadioManager$BandDescriptor
Dboot-image-profile.txt35605 Landroid/hardware/radio/RadioManager$BandDescriptor$1;
35606 Landroid/hardware/radio/RadioManager$BandDescriptor;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt21763 …adioManager$AmBandConfig$Builder;->mDescriptor:Landroid/hardware/radio/RadioManager$BandDescriptor;
21773 …dware/radio/RadioManager$BandConfig;-><init>(Landroid/hardware/radio/RadioManager$BandDescriptor;)V
21775 …radio/RadioManager$BandConfig;->getDescriptor()Landroid/hardware/radio/RadioManager$BandDescriptor;
21776 …re/radio/RadioManager$BandConfig;->mDescriptor:Landroid/hardware/radio/RadioManager$BandDescriptor;
21777 Landroid/hardware/radio/RadioManager$BandDescriptor;-><init>(IIIII)V
21778 Landroid/hardware/radio/RadioManager$BandDescriptor;-><init>(Landroid/os/Parcel;)V
21779 Landroid/hardware/radio/RadioManager$BandDescriptor;->lookupTypeFromParcel(Landroid/os/Parcel;)I
21780 Landroid/hardware/radio/RadioManager$BandDescriptor;->mLowerLimit:I
21781 Landroid/hardware/radio/RadioManager$BandDescriptor;->mRegion:I
21782 Landroid/hardware/radio/RadioManager$BandDescriptor;->mSpacing:I
[all …]