Home
last modified time | relevance | path

Searched refs:band (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/security/src/android/security/cts/
DEffectBundleTest.java324 short band = 2; in eqGetParamFreqRangeCommand() local
332 /*data[1]*/ intToByteArray((int) band)); in eqGetParamFreqRangeCommand()
367 private boolean eqGetParam(int media, int command, int band, byte[] reply) { in eqGetParam() argument
376 int cmd[] = {command, band}; in eqGetParam()
395 private boolean eqGetParam(int media, int command, int band, int[] reply) { in eqGetParam() argument
404 int cmd[] = {command, band}; in eqGetParam()
436 private boolean eqSetParam(int media, int command, int band, short[] value) { in eqSetParam() argument
445 int cmd[] = {command, band}; in eqSetParam()
DAudioSecurityTest.java329 final int band = 0; in testAudioEffectEqualizerGetParameterName() local
336 .putInt(band) // equalizer band in testAudioEffectEqualizerGetParameterName()
/cts/tests/tests/media/src/android/media/cts/
DEqualizerTest.java110 short band = mEqualizer.getBand(TEST_FREQUENCY_MILLIHERTZ); in test1_1BandFrequency() local
111 assertTrue("getBand failed", band >= 0); in test1_1BandFrequency()
112 int[] freqRange = mEqualizer.getBandFreqRange(band); in test1_1BandFrequency()
116 int freq = mEqualizer.getCenterFreq(band); in test1_1BandFrequency()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCellInfoTest.java591 for (int band: bands) { in verifyCellIdentityNr()
592 assertTrue("getBand out of range [1, 95] or [257, 261], band = " + band, in verifyCellIdentityNr()
593 (band >= BAND_FR1_MIN_NR && band <= BAND_FR1_MAX_NR) in verifyCellIdentityNr()
594 || (band >= BAND_FR2_MIN_NR && band <= BAND_FR2_MAX_NR)); in verifyCellIdentityNr()
656 assertTrue(Arrays.stream(nrBands).anyMatch(band -> band > 0)); in verifyCellIdentityNrBands()
718 for (int band: bands) { in verifyCellIdentityLte()
719 assertTrue("getBand out of range [1, 88], band = " + band, in verifyCellIdentityLte()
720 band >= BAND_MIN_LTE && band <= BAND_MAX_LTE); in verifyCellIdentityLte()
833 assertTrue(Arrays.stream(lteBands).anyMatch(band -> band > 0)); in verifyCellIdentityLteBands()
DTelephonyManagerTest.java4180 for (int band : bands) { in testGetAllCellInfo()
4181 assertTrue(band >= AccessNetworkConstants.EutranBand.BAND_1 in testGetAllCellInfo()
4182 && band <= AccessNetworkConstants.EutranBand.BAND_88); in testGetAllCellInfo()
4186 for (int band : bands) { in testGetAllCellInfo()
4187 assertTrue((band >= AccessNetworkConstants.NgranBands.BAND_1 in testGetAllCellInfo()
4188 && band <= AccessNetworkConstants.NgranBands.BAND_95) in testGetAllCellInfo()
4189 || (band >= AccessNetworkConstants.NgranBands.BAND_257 in testGetAllCellInfo()
4190 && band <= AccessNetworkConstants.NgranBands.BAND_261)); in testGetAllCellInfo()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiNetworkSpecifierTest.java417 for (final int band : bands) { in testWifiBandInNetworkCallback()
421 results.offer(new Pair(band, TestHelper.getBandFromFrequency( in testWifiBandInNetworkCallback()
427 new WifiNetworkSpecifier.Builder().setBand(band).build(); in testWifiBandInNetworkCallback()
428 assertThat(specifier.getBand()).isEqualTo(band); in testWifiBandInNetworkCallback()
DWifiManagerTest.java2153 for (int band : bands) { in shouldFallbackToSingleAp()
2154 if (capability.getSupportedChannelList(band).length == 0) { in shouldFallbackToSingleAp()
2169 for (int band : bands) { in getAvailableBandAndChannelForTesting()
2170 int[] supportedList = capability.getSupportedChannelList(band); in getAvailableBandAndChannelForTesting()
2172 testBandsAndChannels.put(band, supportedList[0]); in getAvailableBandAndChannelForTesting()