Home
last modified time | relevance | path

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

/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DConvertTest.java149 RadioManager.BandDescriptor[] bands = MODULE_PROPERTIES.getBands(); in propertiesFromHalProperties_bandsMatch() local
151 expect.withMessage("Band descriptors").that(bands).hasLength(2); in propertiesFromHalProperties_bandsMatch()
154 .that(bands[0].getLowerLimit()).isEqualTo(FM_LOWER_LIMIT); in propertiesFromHalProperties_bandsMatch()
156 .that(bands[0].getUpperLimit()).isEqualTo(FM_UPPER_LIMIT); in propertiesFromHalProperties_bandsMatch()
158 .that(bands[0].getSpacing()).isEqualTo(FM_SPACING); in propertiesFromHalProperties_bandsMatch()
161 .that(bands[1].getLowerLimit()).isEqualTo(AM_LOWER_LIMIT); in propertiesFromHalProperties_bandsMatch()
163 .that(bands[1].getUpperLimit()).isEqualTo(AM_UPPER_LIMIT); in propertiesFromHalProperties_bandsMatch()
165 .that(bands[1].getSpacing()).isEqualTo(AM_SPACING); in propertiesFromHalProperties_bandsMatch()
178 RadioManager.BandDescriptor[] bands = properties.getBands(); in propertiesFromHalProperties_withInvalidBand() local
179 expect.withMessage("Band descriptors").that(bands).hasLength(1); in propertiesFromHalProperties_withInvalidBand()
[all …]
/frameworks/base/services/core/jni/BroadcastRadio/
DBroadcastRadioService.cpp75 std::vector<hardware::broadcastradio::V1_0::BandConfig> bands; member
183 nModule.bands = properties.base.bands; in nativeLoadModules()
191 nModule.bands = properties.bands; in nativeLoadModules()
229 if (module.bands.size() == 0) { in nativeOpenTuner()
233 bandConfigHal = module.bands[0]; in nativeOpenTuner()
237 auto fmIt = std::find_if(module.bands.begin(), module.bands.end(), in nativeOpenTuner()
239 if (fmIt != module.bands.end()) bandConfigHal = *fmIt; in nativeOpenTuner()
Dregions.cpp175 std::vector<RegionalBandConfig> mapRegions(const hidl_vec<BandConfig>& bands) { in mapRegions() argument
181 for (auto&& tunerBand : bands) { in mapRegions()
189 ALOGI("Mapped %zu tuner bands to %zu regional bands", bands.size(), out.size()); in mapRegions()
Dregions.h37 mapRegions(const hardware::hidl_vec<V1_0::BandConfig>& bands);
Dconvert.cpp387 auto regionalBands = regions::mapRegions(prop10.bands); in ModulePropertiesFromHal()
/frameworks/av/media/libeffects/dynamicsproc/aidl/
DDynamicsProcessingContext.cpp135 const std::vector<DynamicsProcessing::EqBandConfig>& bands) { in setPreEqBand() argument
137 !validateBandConfig(bands, mChannelCount, mEngineArchitecture.preEqStage.bandCount), in setPreEqBand()
139 return setBands_l<DynamicsProcessing::EqBandConfig>(bands, StageType::PREEQ); in setPreEqBand()
143 const std::vector<DynamicsProcessing::EqBandConfig>& bands) { in setPostEqBand() argument
145 !validateBandConfig(bands, mChannelCount, mEngineArchitecture.postEqStage.bandCount), in setPostEqBand()
147 return setBands_l<DynamicsProcessing::EqBandConfig>(bands, StageType::POSTEQ); in setPostEqBand()
151 const std::vector<DynamicsProcessing::MbcBandConfig>& bands) { in setMbcBand() argument
153 !validateBandConfig(bands, mChannelCount, mEngineArchitecture.mbcStage.bandCount), in setMbcBand()
155 return setBands_l<DynamicsProcessing::MbcBandConfig>(bands, StageType::MBC); in setMbcBand()
197 std::vector<DynamicsProcessing::MbcBandConfig> bands; in getMbcBand() local
[all …]
DDynamicsProcessingContext.h104 RetCode setBands_l(const std::vector<T>& bands, StageType type);
112 bool validateBandConfig(const std::vector<T>& bands, int maxChannel, int maxBand);
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionEq.cpp161 uint16_t bands = bandLevels.size(); in getParameter() local
162 return param.writeToValue(&bands); in getParameter()
229 const auto& bands = VALUE_OR_RETURN_STATUS(GET_PARAMETER_SPECIFIC_FIELD( in getParameter() local
232 for (const auto& band : bands) { in getParameter()
250 const auto& bands = VALUE_OR_RETURN_STATUS(GET_PARAMETER_SPECIFIC_FIELD( in getParameter() local
253 for (const auto& band : bands) { in getParameter()
297 uint16_t bands = bandLevels.size(); in getParameter() local
298 if (OK != param.writeToValue(&bands)) { in getParameter()
DAidlConversionDynamicsProcessing.cpp373 std::vector<DynamicsProcessing::EqBandConfig> bands; in getEqBandConfig() local
375 bands = VALUE_OR_RETURN_STATUS(aidl::android::GET_PARAMETER_SPECIFIC_FIELD( in getEqBandConfig()
379 bands = VALUE_OR_RETURN_STATUS(aidl::android::GET_PARAMETER_SPECIFIC_FIELD( in getEqBandConfig()
386 for (const auto& bandIt : bands) { in getEqBandConfig()
408 std::vector<DynamicsProcessing::MbcBandConfig> bands = in getMbcBandConfig() local
413 for (const auto& bandIt : bands) { in getMbcBandConfig()
/frameworks/base/telephony/java/android/telephony/
DRadioAccessSpecifier.java73 public RadioAccessSpecifier(int ran, int[] bands, int[] channels) { in RadioAccessSpecifier() argument
75 if (bands != null) { in RadioAccessSpecifier()
76 this.mBands = bands.clone(); in RadioAccessSpecifier()
DAvailableNetworkInfo.java194 @NonNull List<Integer> bands) { in AvailableNetworkInfo() argument
195 this(subId, priority, mccMncs, bands, in AvailableNetworkInfo()
201 @NonNull List<String> mccMncs, @NonNull List<Integer> bands, in AvailableNetworkInfo() argument
206 mBands = new ArrayList<Integer>(bands); in AvailableNetworkInfo()
DCellIdentityNr.java81 public CellIdentityNr(int pci, int tac, int nrArfcn, @NonNull @NgranBand int[] bands, in CellIdentityNr() argument
90 mBands = bands; in CellIdentityNr()
DCellIdentityLte.java117 public CellIdentityLte(int ci, int pci, int tac, int earfcn, @NonNull int[] bands, in CellIdentityLte() argument
127 mBands = bands; in CellIdentityLte()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DConversionUtilsTest.java315 RadioManager.BandDescriptor[] bands = MODULE_PROPERTIES.getBands(); in propertiesFromHalProperties_bandsMatch() local
317 expect.withMessage("Band descriptors").that(bands).hasLength(2); in propertiesFromHalProperties_bandsMatch()
320 .that(bands[0].getLowerLimit()).isEqualTo(FM_LOWER_LIMIT); in propertiesFromHalProperties_bandsMatch()
322 .that(bands[0].getUpperLimit()).isEqualTo(FM_UPPER_LIMIT); in propertiesFromHalProperties_bandsMatch()
324 .that(bands[0].getSpacing()).isEqualTo(FM_SPACING); in propertiesFromHalProperties_bandsMatch()
327 .that(bands[1].getLowerLimit()).isEqualTo(AM_LOWER_LIMIT); in propertiesFromHalProperties_bandsMatch()
329 .that(bands[1].getUpperLimit()).isEqualTo(AM_UPPER_LIMIT); in propertiesFromHalProperties_bandsMatch()
331 .that(bands[1].getSpacing()).isEqualTo(AM_SPACING); in propertiesFromHalProperties_bandsMatch()
355 RadioManager.BandDescriptor[] bands = properties.getBands(); in propertiesFromHalProperties_withInvalidBand() local
356 expect.withMessage("Band descriptors").that(bands).hasLength(1); in propertiesFromHalProperties_withInvalidBand()
[all …]
/frameworks/base/telephony/java/android/telephony/satellite/
DSystemSelectionSpecifier.java47 public SystemSelectionSpecifier(@NonNull String mccmnc, @NonNull IntArray bands, in SystemSelectionSpecifier() argument
50 mBands = bands; in SystemSelectionSpecifier()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DConvert.java199 List<RadioManager.BandDescriptor> bands = new ArrayList<>(len); in amfmConfigToBands() local
211 bands.add(new RadioManager.FmBandDescriptor(region, RadioManager.BAND_FM, in amfmConfigToBands()
218 bands.add(new RadioManager.AmBandDescriptor(region, RadioManager.BAND_AM, in amfmConfigToBands()
227 return bands.toArray(new RadioManager.BandDescriptor[bands.size()]); in amfmConfigToBands()
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DConversionUtils.java264 List<RadioManager.BandDescriptor> bands = new ArrayList<>(); in amfmConfigToBands() local
276 bands.add(new RadioManager.FmBandDescriptor(region, RadioManager.BAND_FM, in amfmConfigToBands()
285 bands.add(new RadioManager.AmBandDescriptor(region, RadioManager.BAND_AM, in amfmConfigToBands()
295 return bands.toArray(RadioManager.BandDescriptor[]::new); in amfmConfigToBands()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRILUtils.java1257 switch (specifier.bands.getDiscriminator()) { in convertHalRadioAccessSpecifier()
1260 halBands = specifier.bands.geranBands(); in convertHalRadioAccessSpecifier()
1264 halBands = specifier.bands.utranBands(); in convertHalRadioAccessSpecifier()
1268 halBands = specifier.bands.eutranBands(); in convertHalRadioAccessSpecifier()
1272 halBands = specifier.bands.ngranBands(); in convertHalRadioAccessSpecifier()
1289 switch (specifier.bands.getTag()) { in convertHalRadioAccessSpecifier()
1291 halBands = specifier.bands.getGeranBands(); in convertHalRadioAccessSpecifier()
1294 halBands = specifier.bands.getUtranBands(); in convertHalRadioAccessSpecifier()
1297 halBands = specifier.bands.getEutranBands(); in convertHalRadioAccessSpecifier()
1300 halBands = specifier.bands.getNgranBands(); in convertHalRadioAccessSpecifier()
[all …]
DNetworkTypeController.java1616 private boolean isNrAdvancedForPccFields(int bandwidths, Set<Integer> bands) { in isNrAdvancedForPccFields() argument
1643 return isNrMmwave() || isAdditionalNrAdvancedBand(bands); in isNrAdvancedForPccFields()
1650 private boolean isAdditionalNrAdvancedBand(Set<Integer> bands) { in isAdditionalNrAdvancedBand() argument
1651 if (mAdditionalNrAdvancedBands.isEmpty() || bands.isEmpty()) { in isAdditionalNrAdvancedBand()
1655 + mAdditionalNrAdvancedBands + ", bands=" + bands); in isAdditionalNrAdvancedBand()
1660 intersection.retainAll(bands); in isAdditionalNrAdvancedBand()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCellIdentityLteTest.java265 cid.bands = Arrays.stream(BANDS).boxed().collect(Collectors.toCollection(ArrayList::new)); in testBands()
DNetworkScanRequestTrackerTest.java240 int[] bands = new int[]{ in testStartNetworkScan_requestWithTooManyBands_shouldNeverScan() local
253 bands, null), in testStartNetworkScan_requestWithTooManyBands_shouldNeverScan()
DRILTest.java1656 cellIdentity.bands = BANDS; in getCellIdentityLte_1_5()
/frameworks/base/core/java/android/hardware/radio/
DRadioManager.java280 BandDescriptor[] bands, boolean isBgScanSupported, in ModuleProperties() argument
296 mBands = bands; in ModuleProperties()
/frameworks/proto_logging/stats/atoms/wifi/
Dwifi_extension_atoms.proto497 // Enabled but restricted to a single network on multiple bands
499 // Enabled and allowed to connect to multiple APs using different bands
/frameworks/proto_logging/stats/
Datoms.proto16477 // tracking signals of multiple frequency bands.
16485 // acquiring signals of multiple frequency bands.