Searched refs:masterPreference (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | ConfigRequest.java | 90 private ConfigRequest(boolean support5gBand, boolean support6gBand, int masterPreference, in ConfigRequest() argument 94 mMasterPreference = masterPreference; in ConfigRequest() 135 int masterPreference = in.readInt(); 140 return new ConfigRequest(support5gBand, support6gBand, masterPreference, clusterLow, 278 public Builder setMasterPreference(int masterPreference) { in setMasterPreference() argument 279 if (masterPreference < 0) { in setMasterPreference() 283 if (masterPreference == 1 || masterPreference == 255 || masterPreference > 255) { in setMasterPreference() 288 mMasterPreference = masterPreference; in setMasterPreference()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 646 final int masterPreference = 55; in testConfigRequestBuilder() local 653 .setClusterLow(clusterLow).setMasterPreference(masterPreference) in testConfigRequestBuilder() 662 collector.checkThat("mMasterPreference", masterPreference, in testConfigRequestBuilder() 750 final int masterPreference = 177; in testConfigRequestParcel() local 758 .setClusterLow(clusterLow).setMasterPreference(masterPreference) in testConfigRequestParcel()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareStateManager.java | 3379 int masterPreference = 0; in mergeConfigRequests() local 3388 masterPreference = configRequest.mMasterPreference; in mergeConfigRequests() 3408 masterPreference = Math.max(masterPreference, cr.mMasterPreference); in mergeConfigRequests() 3438 .setMasterPreference(masterPreference).setClusterLow(clusterLow) in mergeConfigRequests()
|