Searched refs:SIGNAL_LEVELS (Results 1 – 3 of 3) sorted by relevance
132 } else if (level >= AccessPoint.SIGNAL_LEVELS) { in setLevel()136 float outputRange = AccessPoint.SIGNAL_LEVELS - 1; in setLevel()
177 public static final int SIGNAL_LEVELS = 5; field in AccessPoint387 int difference = WifiManager.calculateSignalLevel(other.mRssi, SIGNAL_LEVELS) in compareTo()388 - WifiManager.calculateSignalLevel(mRssi, SIGNAL_LEVELS); in compareTo()653 return WifiManager.calculateSignalLevel(mRssi, SIGNAL_LEVELS); in getLevel()
155 final int highLevel = AccessPoint.SIGNAL_LEVELS - 1; in testCompareTo_GivesHighLevelBeforeLowLevel()201 .setLevel(AccessPoint.SIGNAL_LEVELS - 1).build();617 for (int i = 0; i < AccessPoint.SIGNAL_LEVELS; i++) {623 testAp = new TestAccessPointBuilder(mContext).setLevel(AccessPoint.SIGNAL_LEVELS).build();624 assertThat(testAp.getLevel()).isEqualTo(AccessPoint.SIGNAL_LEVELS - 1);634 assertThat(level).isLessThan(AccessPoint.SIGNAL_LEVELS - 1);