/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
D | ConvertTest.java | 149 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/ |
D | BroadcastRadioService.cpp | 75 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()
|
D | regions.cpp | 175 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()
|
D | regions.h | 37 mapRegions(const hardware::hidl_vec<V1_0::BandConfig>& bands);
|
D | convert.cpp | 387 auto regionalBands = regions::mapRegions(prop10.bands); in ModulePropertiesFromHal()
|
/frameworks/av/media/libeffects/dynamicsproc/aidl/ |
D | DynamicsProcessingContext.cpp | 135 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 …]
|
D | DynamicsProcessingContext.h | 104 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/ |
D | AidlConversionEq.cpp | 161 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()
|
D | AidlConversionDynamicsProcessing.cpp | 373 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/ |
D | RadioAccessSpecifier.java | 73 public RadioAccessSpecifier(int ran, int[] bands, int[] channels) { in RadioAccessSpecifier() argument 75 if (bands != null) { in RadioAccessSpecifier() 76 this.mBands = bands.clone(); in RadioAccessSpecifier()
|
D | AvailableNetworkInfo.java | 194 @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()
|
D | CellIdentityNr.java | 81 public CellIdentityNr(int pci, int tac, int nrArfcn, @NonNull @NgranBand int[] bands, in CellIdentityNr() argument 90 mBands = bands; in CellIdentityNr()
|
D | CellIdentityLte.java | 117 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/ |
D | ConversionUtilsTest.java | 315 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/ |
D | SystemSelectionSpecifier.java | 47 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/ |
D | Convert.java | 199 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/ |
D | ConversionUtils.java | 264 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/ |
D | RILUtils.java | 1257 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 …]
|
D | NetworkTypeController.java | 1616 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/ |
D | CellIdentityLteTest.java | 265 cid.bands = Arrays.stream(BANDS).boxed().collect(Collectors.toCollection(ArrayList::new)); in testBands()
|
D | NetworkScanRequestTrackerTest.java | 240 int[] bands = new int[]{ in testStartNetworkScan_requestWithTooManyBands_shouldNeverScan() local 253 bands, null), in testStartNetworkScan_requestWithTooManyBands_shouldNeverScan()
|
D | RILTest.java | 1656 cellIdentity.bands = BANDS; in getCellIdentityLte_1_5()
|
/frameworks/base/core/java/android/hardware/radio/ |
D | RadioManager.java | 280 BandDescriptor[] bands, boolean isBgScanSupported, in ModuleProperties() argument 296 mBands = bands; in ModuleProperties()
|
/frameworks/proto_logging/stats/atoms/wifi/ |
D | wifi_extension_atoms.proto | 497 // 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/ |
D | atoms.proto | 16477 // tracking signals of multiple frequency bands. 16485 // acquiring signals of multiple frequency bands.
|