Searched refs:masterPreference (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | ConfigRequest.java | 126 private ConfigRequest(boolean support5gBand, boolean support6gBand, int masterPreference, in ConfigRequest() argument 131 mMasterPreference = masterPreference; in ConfigRequest() 180 int masterPreference = in.readInt(); 186 return new ConfigRequest(support5gBand, support6gBand, masterPreference, clusterLow, 355 public Builder setMasterPreference(int masterPreference) { in setMasterPreference() argument 356 if (masterPreference < 0) { in setMasterPreference() 360 if (masterPreference == 1 || masterPreference == 255 || masterPreference > 255) { in setMasterPreference() 365 mMasterPreference = masterPreference; in setMasterPreference()
|
D | WifiAwareSession.java | 257 public void setMasterPreference(@IntRange(from = 0, to = 254) int masterPreference) { in setMasterPreference() 267 mgr.setMasterPreference(mClientId, mBinder, masterPreference); in setMasterPreference()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 677 final int masterPreference = 55; in testConfigRequestBuilder() local 685 .setClusterLow(clusterLow).setMasterPreference(masterPreference) in testConfigRequestBuilder() 697 collector.checkThat("mMasterPreference", masterPreference, in testConfigRequestBuilder() 788 final int masterPreference = 177; in testConfigRequestParcel() local 797 .setClusterLow(clusterLow).setMasterPreference(masterPreference) in testConfigRequestParcel()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareStateManager.java | 1111 public void setMasterPreference(int clientId, int masterPreference) { in setMasterPreference() argument 1118 state.getConfigRequest().mMasterPreference = masterPreference; in setMasterPreference() 5533 int masterPreference = 0; in mergeConfigRequests() local 5543 masterPreference = configRequest.mMasterPreference; in mergeConfigRequests() 5563 masterPreference = Math.max(masterPreference, cr.mMasterPreference); in mergeConfigRequests() 5597 .setMasterPreference(masterPreference).setClusterLow(clusterLow) in mergeConfigRequests()
|