Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/jni/BroadcastRadio/
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()
Dregions.h33 V1_0::BandConfig bandConfig;
37 mapRegions(const hardware::hidl_vec<V1_0::BandConfig>& bands);
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()
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);
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()
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()
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()
/frameworks/base/core/java/android/hardware/radio/
DITuner.aidl33 void setConfiguration(in RadioManager.BandConfig config); in setConfiguration()
35 RadioManager.BandConfig getConfiguration(); in getConfiguration()
DRadioManager.java1008 public static class BandConfig implements Parcelable { class in RadioManager
1012 BandConfig(BandDescriptor descriptor) { in BandConfig() method in RadioManager.BandConfig
1019 BandConfig(int region, int type, int lowerLimit, int upperLimit, int spacing) { in BandConfig() method in RadioManager.BandConfig
1023 private BandConfig(Parcel in) { in BandConfig() method in RadioManager.BandConfig
1078 public static final @android.annotation.NonNull Parcelable.Creator<BandConfig> CREATOR
1079 = new Parcelable.Creator<BandConfig>() {
1080 public BandConfig createFromParcel(Parcel in) {
1094 public BandConfig[] newArray(int size) {
1095 return new BandConfig[size];
1127 if (!(obj instanceof BandConfig)) in equals()
[all …]
DRadioTuner.java84 public abstract int setConfiguration(RadioManager.BandConfig config); in setConfiguration()
106 public abstract int getConfiguration(RadioManager.BandConfig[] config); in getConfiguration()
708 public void onConfigurationChanged(RadioManager.BandConfig config) {} in onConfigurationChanged()
DRadioManager.aidl20 parcelable RadioManager.BandConfig;
DIRadioService.aidl33 ITuner openTuner(int moduleId, in RadioManager.BandConfig bandConfig, boolean withAudio, in openTuner()
DITunerCallback.aidl35 void onConfigurationChanged(in RadioManager.BandConfig config); in onConfigurationChanged()
DTunerAdapter.java83 public int setConfiguration(RadioManager.BandConfig config) { in setConfiguration()
103 public int getConfiguration(RadioManager.BandConfig[] config) { in getConfiguration()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DBroadcastRadioService.java51 RadioManager.BandConfig config, boolean withAudio, ITunerCallback callback); in nativeOpenTuner()
59 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner()
DTuner.java81 @NonNull RadioManager.BandConfig config); in nativeSetConfiguration()
82 private native RadioManager.BandConfig nativeGetConfiguration(long nativeContext, int region); in nativeGetConfiguration()
129 public void setConfiguration(RadioManager.BandConfig config) { in setConfiguration()
145 public RadioManager.BandConfig getConfiguration() { in getConfiguration()
/frameworks/av/media/libeffects/testlibs/
DAudioEqualizer.h35 struct BandConfig { struct
50 const BandConfig * bandConfigs; argument
DEffectEqualizer.cpp64 const AudioEqualizer::BandConfig gBandsClassic[kNumBands] = {
72 const AudioEqualizer::BandConfig gBandsJazz[kNumBands] = {
80 const AudioEqualizer::BandConfig gBandsPop[kNumBands] = {
88 const AudioEqualizer::BandConfig gBandsRock[kNumBands] = {
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/
DDefaultRadioTunerTest.java39 public int setConfiguration(RadioManager.BandConfig config) {
44 public int getConfiguration(RadioManager.BandConfig[] config) {
DRadioManagerTest.java521 RadioManager.BandConfig fmBandConfig = createFmBandConfig(); in getType_forBandConfig()
529 RadioManager.BandConfig amBandConfig = createAmBandConfig(); in getRegion_forBandConfig()
537 RadioManager.BandConfig amBandConfig = createAmBandConfig(); in getLowerLimit_forBandConfig()
545 RadioManager.BandConfig fmBandConfig = createFmBandConfig(); in getUpperLimit_forBandConfig()
553 RadioManager.BandConfig fmBandConfig = createFmBandConfig(); in getSpacing_forBandConfig()
561 RadioManager.BandConfig bandConfig = createFmBandConfig(); in describeContents_forBandConfig()
570 RadioManager.BandConfig bandConfig = createAmBandConfig(); in writeToParcel_forBandConfig()
575 RadioManager.BandConfig bandConfigFromParcel = in writeToParcel_forBandConfig()
576 RadioManager.BandConfig.CREATOR.createFromParcel(parcel); in writeToParcel_forBandConfig()
583 RadioManager.BandConfig[] bandConfigs = in newArray_forBandConfigCreator()
[all …]
DTunerAdapterTest.java61 private static final RadioManager.BandConfig TEST_BAND_CONFIG = createBandConfig();
173 RadioManager.BandConfig[] bandConfigs = new RadioManager.BandConfig[1]; in getConfiguration_forTunerAdapter()
185 RadioManager.BandConfig[] bandConfigs = new RadioManager.BandConfig[0]; in getConfiguration_withInvalidParameters_fails()
197 RadioManager.BandConfig[] bandConfigs = new RadioManager.BandConfig[1]; in getConfiguration_whenServiceDied_fails()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DTunerSession.java65 private RadioManager.BandConfig mPlaceHolderConfig;
128 public void setConfiguration(RadioManager.BandConfig config) { in setConfiguration()
142 public RadioManager.BandConfig getConfiguration() { in getConfiguration()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DTunerSession.java67 private RadioManager.BandConfig mDummyConfig = null;
122 public void setConfiguration(RadioManager.BandConfig config) { in setConfiguration()
136 public RadioManager.BandConfig getConfiguration() { in getConfiguration()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/
DIRadioServiceAidlImplTest.java71 private RadioManager.BandConfig mBandConfigMock;
/frameworks/base/services/core/java/com/android/server/broadcastradio/
DIRadioServiceAidlImpl.java91 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner()

12