Searched refs:TestAccessPointBuilder (Results 1 – 3 of 3) sorted by relevance
42 public class TestAccessPointBuilder { class67 public TestAccessPointBuilder(Context context) { in TestAccessPointBuilder() method in TestAccessPointBuilder113 public TestAccessPointBuilder setActive(boolean active) { in setActive()133 public TestAccessPointBuilder setLevel(int level) { in setLevel()148 public TestAccessPointBuilder setNetworkInfo(NetworkInfo info) { in setNetworkInfo()154 public TestAccessPointBuilder setRssi(int rssi) { in setRssi()159 public TestAccessPointBuilder setSpeed(int speed) { in setSpeed()170 public TestAccessPointBuilder setReachable(boolean reachable) { in setReachable()183 public TestAccessPointBuilder setSaved(boolean saved){ in setSaved()193 public TestAccessPointBuilder setSecurity(int security) { in setSecurity()[all …]
150 AccessPoint activeAp = new TestAccessPointBuilder(mContext).setActive(true).build(); in testCompareTo_GivesActiveBeforeInactive()151 AccessPoint inactiveAp = new TestAccessPointBuilder(mContext).setActive(false).build(); in testCompareTo_GivesActiveBeforeInactive()158 AccessPoint nearAp = new TestAccessPointBuilder(mContext).setReachable(true).build(); in testCompareTo_GivesReachableBeforeUnreachable()159 AccessPoint farAp = new TestAccessPointBuilder(mContext).setReachable(false).build(); in testCompareTo_GivesReachableBeforeUnreachable()166 AccessPoint savedAp = new TestAccessPointBuilder(mContext).setSaved(true).build(); in testCompareTo_GivesSavedBeforeUnsaved()167 AccessPoint notSavedAp = new TestAccessPointBuilder(mContext).setSaved(false).build(); in testCompareTo_GivesSavedBeforeUnsaved()174 AccessPoint fastAp = new TestAccessPointBuilder(mContext).setSpeed(Speed.FAST).build(); in testCompareTo_GivesHighSpeedBeforeLowSpeed()175 AccessPoint slowAp = new TestAccessPointBuilder(mContext).setSpeed(Speed.SLOW).build(); in testCompareTo_GivesHighSpeedBeforeLowSpeed()186 AccessPoint strongAp = new TestAccessPointBuilder(mContext).setLevel(highLevel).build(); in testCompareTo_GivesHighLevelBeforeLowLevel()187 AccessPoint weakAp = new TestAccessPointBuilder(mContext).setLevel(lowLevel).build(); in testCompareTo_GivesHighLevelBeforeLowLevel()[all …]
65 final AccessPoint ap = new TestAccessPointBuilder(mContext) in refresh_openNetwork_updateContentDescription()95 final AccessPoint ap = new TestAccessPointBuilder(mContext) in refresh_setTitle_shouldUseSsidString()