/aosp14/frameworks/base/services/core/jni/BroadcastRadio/ |
H A 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()
|
H A D | regions.h | 33 V1_0::BandConfig bandConfig; 37 mapRegions(const hardware::hidl_vec<V1_0::BandConfig>& bands);
|
H A 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()
|
H A 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);
|
H A 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()
|
H A 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()
|
H A 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()
|
/aosp14/frameworks/base/core/java/android/hardware/radio/ |
H A D | ITuner.aidl | 33 void setConfiguration(in RadioManager.BandConfig config); in setConfiguration() 35 RadioManager.BandConfig getConfiguration(); in getConfiguration()
|
H A D | RadioManager.java | 938 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 D | RadioTuner.java | 83 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 D | RadioManager.aidl | 20 parcelable RadioManager.BandConfig;
|
H A D | IRadioService.aidl | 33 ITuner openTuner(int moduleId, in RadioManager.BandConfig bandConfig, boolean withAudio, in openTuner()
|
H A D | ITunerCallback.aidl | 35 void onConfigurationChanged(in RadioManager.BandConfig config); in onConfigurationChanged()
|
H A D | TunerAdapter.java | 82 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 D | BroadcastRadioService.java | 51 RadioManager.BandConfig config, boolean withAudio, ITunerCallback callback); in nativeOpenTuner() 59 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner()
|
H A D | Tuner.java | 82 @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 D | TunerCallback.java | 114 public void onConfigurationChanged(RadioManager.BandConfig config) { in onConfigurationChanged()
|
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/ |
H A D | DefaultRadioTunerTest.java | 41 public int setConfiguration(RadioManager.BandConfig config) { 46 public int getConfiguration(RadioManager.BandConfig[] config) {
|
H A D | RadioManagerTest.java | 388 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 D | TunerAdapterTest.java | 58 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 D | TunerSession.java | 63 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 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()
|
/aosp14/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/ |
H A D | IRadioServiceAidlImplTest.java | 71 private RadioManager.BandConfig mBandConfigMock;
|
H A D | IRadioServiceHidlImplTest.java | 67 private RadioManager.BandConfig mBandConfigMock;
|
/aosp14/frameworks/base/services/core/java/com/android/server/broadcastradio/ |
H A D | IRadioServiceAidlImpl.java | 91 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner()
|