Home
last modified time | relevance | path

Searched refs:BandConfig (Results 1 – 25 of 38) sorted by relevance

12

/aosp14/frameworks/base/services/core/jni/BroadcastRadio/
H A Dregions.cpp35 using V1_0::BandConfig;
50 bool fitsInsideBand(const BandConfig &bandConfig) const;
51 std::vector<RegionalBandConfig> withConfig(BandConfig bandConfig) const;
144 bool RegionalBandDefinition::fitsInsideBand(const BandConfig &bandConfig) const { in fitsInsideBand()
157 std::vector<RegionalBandConfig> RegionalBandDefinition::withConfig(BandConfig config) const { in withConfig()
175 std::vector<RegionalBandConfig> mapRegions(const hidl_vec<BandConfig>& bands) { in mapRegions()
H A Dregions.h33 V1_0::BandConfig bandConfig;
37 mapRegions(const hardware::hidl_vec<V1_0::BandConfig>& bands);
H A DBroadcastRadioService.cpp50 using V1_0::BandConfig;
75 std::vector<hardware::broadcastradio::V1_0::BandConfig> bands;
224 BandConfig bandConfigHal; in nativeOpenTuner()
238 [](const BandConfig & band) { return utils::isFm(band.type); }); in nativeOpenTuner()
274 halTuner->getConfiguration([&](Result result, const BandConfig& config) { in nativeOpenTuner()
H A Dconvert.h48 JavaRef<jobject> BandConfigFromHal(JNIEnv *env, const V1_0::BandConfig &config, Region region);
49 V1_0::BandConfig BandConfigToHal(JNIEnv *env, jobject jConfig, Region &region);
H A Dconvert.cpp59 static JavaRef<jobject> BandDescriptorFromHal(JNIEnv *env, const V1_0::BandConfig &config, Region r…
64 } BandConfig; member
417 static JavaRef<jobject> BandDescriptorFromHal(JNIEnv *env, const V1_0::BandConfig &config, Region r… in BandDescriptorFromHal()
441 JavaRef<jobject> BandConfigFromHal(JNIEnv *env, const V1_0::BandConfig &config, Region region) { in BandConfigFromHal()
459 V1_0::BandConfig BandConfigToHal(JNIEnv *env, jobject jConfig, Region &region) { in BandConfigToHal()
461 auto jDescriptor = env->GetObjectField(jConfig, gjni.BandConfig.descriptor); in BandConfigToHal()
469 V1_0::BandConfig config = {}; in BandConfigToHal()
648 gjni.BandConfig.descriptor = GetFieldIDOrDie(env, bandConfigClass, in register_android_server_broadcastradio_convert()
H A DTuner.cpp49 using V1_0::BandConfig;
237 BandConfig bandConfigHal = convert::BandConfigToHal(env, config, region_unused); in nativeSetConfiguration()
250 BandConfig halConfig; in nativeGetConfiguration()
252 auto hidlResult = halTuner->getConfiguration([&](Result result, const BandConfig& config) { in nativeGetConfiguration()
H A DTunerCallback.cpp46 using V1_0::BandConfig;
110 virtual Return<void> configChange(Result result, const BandConfig& config);
168 Return<void> NativeCallback::configChange(Result result, const BandConfig& config) { in configChange()
/aosp14/frameworks/base/core/java/android/hardware/radio/
H A DITuner.aidl33 void setConfiguration(in RadioManager.BandConfig config); in setConfiguration()
35 RadioManager.BandConfig getConfiguration(); in getConfiguration()
H A DRadioManager.java938 public static class BandConfig implements Parcelable { class in RadioManager
942 BandConfig(BandDescriptor descriptor) { in BandConfig() method in RadioManager.BandConfig
953 private BandConfig(Parcel in) { in BandConfig() method in RadioManager.BandConfig
1001 = new Parcelable.Creator<BandConfig>() {
1002 public BandConfig createFromParcel(Parcel in) {
1016 public BandConfig[] newArray(int size) {
1017 return new BandConfig[size];
1049 if (!(obj instanceof BandConfig)) in equals()
1051 BandConfig other = (BandConfig) obj; in equals()
1062 public static class FmBandConfig extends BandConfig {
[all …]
H A DRadioTuner.java83 public abstract int setConfiguration(RadioManager.BandConfig config); in setConfiguration()
105 public abstract int getConfiguration(RadioManager.BandConfig[] config); in getConfiguration()
706 public void onConfigurationChanged(RadioManager.BandConfig config) {} in onConfigurationChanged()
H A DRadioManager.aidl20 parcelable RadioManager.BandConfig;
H A DIRadioService.aidl33 ITuner openTuner(int moduleId, in RadioManager.BandConfig bandConfig, boolean withAudio, in openTuner()
H A DITunerCallback.aidl35 void onConfigurationChanged(in RadioManager.BandConfig config); in onConfigurationChanged()
H A DTunerAdapter.java82 public int setConfiguration(RadioManager.BandConfig config) { in setConfiguration()
102 public int getConfiguration(RadioManager.BandConfig[] config) { in getConfiguration()
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
H A DBroadcastRadioService.java51 RadioManager.BandConfig config, boolean withAudio, ITunerCallback callback); in nativeOpenTuner()
59 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner()
H A DTuner.java82 @NonNull RadioManager.BandConfig config); in nativeSetConfiguration()
83 private native RadioManager.BandConfig nativeGetConfiguration(long nativeContext, int region); in nativeGetConfiguration()
130 public void setConfiguration(RadioManager.BandConfig config) { in setConfiguration()
146 public RadioManager.BandConfig getConfiguration() { in getConfiguration()
H A DTunerCallback.java114 public void onConfigurationChanged(RadioManager.BandConfig config) { in onConfigurationChanged()
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/
H A DDefaultRadioTunerTest.java41 public int setConfiguration(RadioManager.BandConfig config) {
46 public int getConfiguration(RadioManager.BandConfig[] config) {
H A DRadioManagerTest.java388 RadioManager.BandConfig fmBandConfig = createFmBandConfig(); in getType_forBandConfig()
396 RadioManager.BandConfig amBandConfig = createAmBandConfig(); in getRegion_forBandConfig()
404 RadioManager.BandConfig amBandConfig = createAmBandConfig(); in getLowerLimit_forBandConfig()
412 RadioManager.BandConfig fmBandConfig = createFmBandConfig(); in getUpperLimit_forBandConfig()
420 RadioManager.BandConfig fmBandConfig = createFmBandConfig(); in getSpacing_forBandConfig()
428 RadioManager.BandConfig bandConfig = createFmBandConfig(); in describeContents_forBandConfig()
437 RadioManager.BandConfig bandConfig = createAmBandConfig(); in writeToParcel_forBandConfig()
442 RadioManager.BandConfig bandConfigFromParcel = in writeToParcel_forBandConfig()
443 RadioManager.BandConfig.CREATOR.createFromParcel(parcel); in writeToParcel_forBandConfig()
450 RadioManager.BandConfig[] bandConfigs = in newArray_forBandConfigCreator()
[all …]
H A DTunerAdapterTest.java58 private static final RadioManager.BandConfig TEST_BAND_CONFIG = createBandConfig();
151 RadioManager.BandConfig[] bandConfigs = new RadioManager.BandConfig[1]; in getConfiguration_forTunerAdapter()
163 RadioManager.BandConfig[] bandConfigs = new RadioManager.BandConfig[0]; in getConfiguration_withInvalidParameters_fails()
175 RadioManager.BandConfig[] bandConfigs = new RadioManager.BandConfig[1]; in getConfiguration_whenServiceDied_fails()
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
H A DTunerSession.java63 private RadioManager.BandConfig mPlaceHolderConfig;
126 public void setConfiguration(RadioManager.BandConfig config) { in setConfiguration()
140 public RadioManager.BandConfig getConfiguration() { in getConfiguration()
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
H A DTunerSession.java67 private RadioManager.BandConfig mDummyConfig = null;
122 public void setConfiguration(RadioManager.BandConfig config) { in setConfiguration()
136 public RadioManager.BandConfig getConfiguration() { in getConfiguration()
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/
H A DIRadioServiceAidlImplTest.java71 private RadioManager.BandConfig mBandConfigMock;
H A DIRadioServiceHidlImplTest.java67 private RadioManager.BandConfig mBandConfigMock;
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/
H A DIRadioServiceAidlImpl.java91 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner()

12