Searched refs:masterPreference (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/wifi/java/android/net/wifi/aware/ |
D | ConfigRequest.java | 84 private ConfigRequest(boolean support5gBand, int masterPreference, int clusterLow, in ConfigRequest() argument 87 mMasterPreference = masterPreference; in ConfigRequest() 124 int masterPreference = in.readInt(); 129 return new ConfigRequest(support5gBand, masterPreference, clusterLow, clusterHigh, 244 public Builder setMasterPreference(int masterPreference) { in setMasterPreference() argument 245 if (masterPreference < 0) { in setMasterPreference() 249 if (masterPreference == 1 || masterPreference == 255 || masterPreference > 255) { in setMasterPreference() 254 mMasterPreference = masterPreference; in setMasterPreference()
|
/frameworks/base/wifi/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 592 final int masterPreference = 55; in testConfigRequestBuilder() local 597 .setClusterLow(clusterLow).setMasterPreference(masterPreference) in testConfigRequestBuilder() 604 collector.checkThat("mMasterPreference", masterPreference, in testConfigRequestBuilder() 689 final int masterPreference = 177; in testConfigRequestParcel() local 695 .setClusterLow(clusterLow).setMasterPreference(masterPreference) in testConfigRequestParcel()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareStateManager.java | 3116 int masterPreference = 0; in mergeConfigRequests() local 3124 masterPreference = configRequest.mMasterPreference; in mergeConfigRequests() 3139 masterPreference = Math.max(masterPreference, cr.mMasterPreference); in mergeConfigRequests() 3169 .setMasterPreference(masterPreference).setClusterLow(clusterLow) in mergeConfigRequests()
|