Home
last modified time | relevance | path

Searched refs:masterPreference (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/nan/
DConfigRequest.java76 private ConfigRequest(boolean support5gBand, int masterPreference, int clusterLow, in ConfigRequest() argument
79 mMasterPreference = masterPreference; in ConfigRequest()
113 int masterPreference = in.readInt();
116 return new ConfigRequest(support5gBand, masterPreference, clusterLow, clusterHigh);
187 public Builder setMasterPreference(int masterPreference) { in setMasterPreference() argument
188 if (masterPreference < 0) { in setMasterPreference()
192 if (masterPreference == 1 || masterPreference == 255 || masterPreference > 255) { in setMasterPreference()
197 mMasterPreference = masterPreference; in setMasterPreference()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/
DWifiNanManagerTest.java54 final int masterPreference = 55; in testConfigRequestBuilder() local
58 .setClusterLow(clusterLow).setMasterPreference(masterPreference) in testConfigRequestBuilder()
63 collector.checkThat("mMasterPreference", masterPreference, in testConfigRequestBuilder()
128 final int masterPreference = 177; in testConfigRequestParcel() local
132 .setClusterLow(clusterLow).setMasterPreference(masterPreference) in testConfigRequestParcel()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
DWifiNanStateManager.java1131 int masterPreference = 0; in mergeConfigRequests() local
1142 masterPreference = Math.max(masterPreference, cr.mMasterPreference); in mergeConfigRequests()
1156 builder.setSupport5gBand(support5gBand).setMasterPreference(masterPreference) in mergeConfigRequests()