Searched refs:TestAccessPointBuilder (Results 1 – 3 of 3) sorted by relevance
43 public class TestAccessPointBuilder { class66 public TestAccessPointBuilder(Context context) { in TestAccessPointBuilder() method in TestAccessPointBuilder108 public TestAccessPointBuilder setActive(boolean active) { in setActive()128 public TestAccessPointBuilder setLevel(int level) { in setLevel()145 public TestAccessPointBuilder setNetworkInfo(NetworkInfo info) { in setNetworkInfo()151 public TestAccessPointBuilder setRssi(int rssi) { in setRssi()156 public TestAccessPointBuilder setSpeed(int speed) { in setSpeed()167 public TestAccessPointBuilder setReachable(boolean reachable) { in setReachable()180 public TestAccessPointBuilder setSaved(boolean saved){ in setSaved()190 public TestAccessPointBuilder setSecurity(int security) { in setSecurity()[all …]
163 AccessPoint activeAp = new TestAccessPointBuilder(mContext).setActive(true).build(); in testCompareTo_GivesActiveBeforeInactive()164 AccessPoint inactiveAp = new TestAccessPointBuilder(mContext).setActive(false).build(); in testCompareTo_GivesActiveBeforeInactive()171 AccessPoint nearAp = new TestAccessPointBuilder(mContext).setReachable(true).build(); in testCompareTo_GivesReachableBeforeUnreachable()172 AccessPoint farAp = new TestAccessPointBuilder(mContext).setReachable(false).build(); in testCompareTo_GivesReachableBeforeUnreachable()179 AccessPoint savedAp = new TestAccessPointBuilder(mContext).setSaved(true).build(); in testCompareTo_GivesSavedBeforeUnsaved()180 AccessPoint notSavedAp = new TestAccessPointBuilder(mContext).setSaved(false).build(); in testCompareTo_GivesSavedBeforeUnsaved()187 AccessPoint fastAp = new TestAccessPointBuilder(mContext).setSpeed(Speed.FAST).build(); in testCompareTo_GivesHighSpeedBeforeLowSpeed()188 AccessPoint slowAp = new TestAccessPointBuilder(mContext).setSpeed(Speed.SLOW).build(); in testCompareTo_GivesHighSpeedBeforeLowSpeed()199 AccessPoint strongAp = new TestAccessPointBuilder(mContext).setLevel(highLevel).build(); in testCompareTo_GivesHighLevelBeforeLowLevel()200 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()