Searched refs:SIGNAL_LEVELS (Results 1 – 3 of 3) sorted by relevance
137 } else if (level >= AccessPoint.SIGNAL_LEVELS) { in setLevel()141 float outputRange = AccessPoint.SIGNAL_LEVELS - 1; in setLevel()
212 public static final int SIGNAL_LEVELS = 5; field in AccessPoint441 int difference = WifiManager.calculateSignalLevel(other.mRssi, SIGNAL_LEVELS) in compareTo()442 - WifiManager.calculateSignalLevel(mRssi, SIGNAL_LEVELS); in compareTo()761 return WifiManager.calculateSignalLevel(mRssi, SIGNAL_LEVELS); in getLevel()
182 final int highLevel = AccessPoint.SIGNAL_LEVELS - 1; in testCompareTo_GivesHighLevelBeforeLowLevel()228 .setLevel(AccessPoint.SIGNAL_LEVELS - 1).build();707 for (int i = 0; i < AccessPoint.SIGNAL_LEVELS; i++) {713 testAp = new TestAccessPointBuilder(mContext).setLevel(AccessPoint.SIGNAL_LEVELS).build();714 assertThat(testAp.getLevel()).isEqualTo(AccessPoint.SIGNAL_LEVELS - 1);724 assertThat(level).isLessThan(AccessPoint.SIGNAL_LEVELS - 1);