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 …]
151 AccessPoint activeAp = new TestAccessPointBuilder(mContext).setActive(true).build(); in testCompareTo_GivesActiveBeforeInactive()152 AccessPoint inactiveAp = new TestAccessPointBuilder(mContext).setActive(false).build(); in testCompareTo_GivesActiveBeforeInactive()159 AccessPoint nearAp = new TestAccessPointBuilder(mContext).setReachable(true).build(); in testCompareTo_GivesReachableBeforeUnreachable()160 AccessPoint farAp = new TestAccessPointBuilder(mContext).setReachable(false).build(); in testCompareTo_GivesReachableBeforeUnreachable()167 AccessPoint savedAp = new TestAccessPointBuilder(mContext).setSaved(true).build(); in testCompareTo_GivesSavedBeforeUnsaved()168 AccessPoint notSavedAp = new TestAccessPointBuilder(mContext).setSaved(false).build(); in testCompareTo_GivesSavedBeforeUnsaved()175 AccessPoint fastAp = new TestAccessPointBuilder(mContext).setSpeed(Speed.FAST).build(); in testCompareTo_GivesHighSpeedBeforeLowSpeed()176 AccessPoint slowAp = new TestAccessPointBuilder(mContext).setSpeed(Speed.SLOW).build(); in testCompareTo_GivesHighSpeedBeforeLowSpeed()187 AccessPoint strongAp = new TestAccessPointBuilder(mContext).setLevel(highLevel).build(); in testCompareTo_GivesHighLevelBeforeLowLevel()188 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()