/frameworks/base/services/core/jni/BroadcastRadio/ |
D | regions.cpp | 35 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()
|
D | regions.h | 33 V1_0::BandConfig bandConfig; 37 mapRegions(const hardware::hidl_vec<V1_0::BandConfig>& bands);
|
D | BroadcastRadioService.cpp | 50 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()
|
D | convert.h | 48 JavaRef<jobject> BandConfigFromHal(JNIEnv *env, const V1_0::BandConfig &config, Region region); 49 V1_0::BandConfig BandConfigToHal(JNIEnv *env, jobject jConfig, Region ®ion);
|
D | convert.cpp | 59 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 ®ion) { 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()
|
D | Tuner.cpp | 49 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()
|
D | TunerCallback.cpp | 46 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/ |
D | ITuner.aidl | 33 void setConfiguration(in RadioManager.BandConfig config); in setConfiguration() 35 RadioManager.BandConfig getConfiguration(); in getConfiguration()
|
D | RadioManager.java | 1008 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 …]
|
D | RadioTuner.java | 84 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()
|
D | RadioManager.aidl | 20 parcelable RadioManager.BandConfig;
|
D | IRadioService.aidl | 33 ITuner openTuner(int moduleId, in RadioManager.BandConfig bandConfig, boolean withAudio, in openTuner()
|
D | ITunerCallback.aidl | 35 void onConfigurationChanged(in RadioManager.BandConfig config); in onConfigurationChanged()
|
D | TunerAdapter.java | 83 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/ |
D | BroadcastRadioService.java | 51 RadioManager.BandConfig config, boolean withAudio, ITunerCallback callback); in nativeOpenTuner() 59 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner()
|
D | Tuner.java | 81 @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/ |
D | AudioEqualizer.h | 35 struct BandConfig { struct 50 const BandConfig * bandConfigs; argument
|
D | EffectEqualizer.cpp | 64 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/ |
D | DefaultRadioTunerTest.java | 39 public int setConfiguration(RadioManager.BandConfig config) { 44 public int getConfiguration(RadioManager.BandConfig[] config) {
|
D | RadioManagerTest.java | 521 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 …]
|
D | TunerAdapterTest.java | 61 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/ |
D | TunerSession.java | 65 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/ |
D | TunerSession.java | 67 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/ |
D | IRadioServiceAidlImplTest.java | 71 private RadioManager.BandConfig mBandConfigMock;
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/ |
D | IRadioServiceAidlImpl.java | 91 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner()
|