Searched refs:numOfChannels (Results 1 – 5 of 5) sorted by relevance
39 public final int numOfChannels; field in ChannelPowerInfo65 int numOfChannels = (int) (((bytes[0] & ENCODE_NUM_OF_CHANNEL_BITMASK) >> 1) & 0x0007); in fromBytes() local68 return new ChannelPowerInfo(firstChannel, numOfChannels, isIndoor, averagePowerLimitDbm); in fromBytes()81 | convertNumOfChannels(info.numOfChannels) in toBytes()91 private static byte convertNumOfChannels(int numOfChannels) { in convertNumOfChannels() argument92 return (byte) ((numOfChannels << 1) & ENCODE_NUM_OF_CHANNEL_BITMASK); in convertNumOfChannels()100 int firstChannel, int numOfChannels, boolean isIndoor, int averagePowerLimitDbm) { in ChannelPowerInfo() argument103 this.numOfChannels = numOfChannels; in ChannelPowerInfo()113 .append(numOfChannels) in toString()
133 int numOfChannels = channels.size(); in retrieveBackupDataFromSoftApConfiguration() local134 out.writeInt(numOfChannels); in retrieveBackupDataFromSoftApConfiguration()135 for (int i = 0; i < numOfChannels; i++) { in retrieveBackupDataFromSoftApConfiguration()248 int numOfChannels = in.readInt(); in retrieveSoftApConfigurationFromBackupData() local249 SparseIntArray channels = new SparseIntArray(numOfChannels); in retrieveSoftApConfigurationFromBackupData()250 for (int i = 0; i < numOfChannels; i++) { in retrieveSoftApConfigurationFromBackupData()
447 int numOfChannels = channels.size(); in retrieveSpecificVersionBackupDataFromSoftApConfiguration() local448 out.writeInt(numOfChannels); in retrieveSpecificVersionBackupDataFromSoftApConfiguration()449 for (int i = 0; i < numOfChannels; i++) { in retrieveSpecificVersionBackupDataFromSoftApConfiguration()
56 assertThat(info.numOfChannels).isEqualTo(NUMBER_OF_CHANNELS); in fromBytes_succeed()
93 assertThat(i.numOfChannels).isEqualTo(NUMBER_OF_CHANNELS); in fromBytes_succeed()