Home
last modified time | relevance | path

Searched refs:clusterHigh (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/nan/
DConfigRequest.java77 int clusterHigh) { in ConfigRequest() argument
81 mClusterHigh = clusterHigh; in ConfigRequest()
115 int clusterHigh = in.readInt();
116 return new ConfigRequest(support5gBand, masterPreference, clusterLow, clusterHigh);
237 public Builder setClusterHigh(int clusterHigh) { in setClusterHigh() argument
238 if (clusterHigh < CLUSTER_ID_MIN) { in setClusterHigh()
241 if (clusterHigh > CLUSTER_ID_MAX) { in setClusterHigh()
245 mClusterHigh = clusterHigh; in setClusterHigh()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/
DWifiNanManagerTest.java52 final int clusterHigh = 100; in testConfigRequestBuilder() local
57 ConfigRequest configRequest = new ConfigRequest.Builder().setClusterHigh(clusterHigh) in testConfigRequestBuilder()
61 collector.checkThat("mClusterHigh", clusterHigh, equalTo(configRequest.mClusterHigh)); in testConfigRequestBuilder()
126 final int clusterHigh = 189; in testConfigRequestParcel() local
131 ConfigRequest configRequest = new ConfigRequest.Builder().setClusterHigh(clusterHigh) in testConfigRequestParcel()
DWifiNanHalTest.java81 final int clusterHigh = 126; in testEnableWith5g() local
85 testEnable(transactionId, clusterLow, clusterHigh, masterPref, enable5g); in testEnableWith5g()
92 final int clusterHigh = 197; in testEnableWithout5g() local
96 testEnable(transactionId, clusterLow, clusterHigh, masterPref, enable5g); in testEnableWithout5g()
594 private void testEnable(short transactionId, int clusterLow, int clusterHigh, int masterPref, in testEnable() argument
597 .setClusterHigh(clusterHigh).setMasterPreference(masterPref) in testEnable()
608 collector.checkThat("cluster_high", argsData.getInt("cluster_high"), equalTo(clusterHigh)); in testEnable()
DWifiNanStateManagerTest.java570 final int clusterHigh = 7; in testMultipleMessageSources() local
588 .setClusterHigh(clusterHigh).setMasterPreference(masterPref).build(); in testMultipleMessageSources()
672 final int clusterHigh = 7; in testMessageWhilePeerChangesIdentity() local
687 .setClusterHigh(clusterHigh).setMasterPreference(masterPref).build(); in testMessageWhilePeerChangesIdentity()
900 final int clusterHigh = 100; in testDisconnectWithPendingTransactions() local
910 .setClusterHigh(clusterHigh).setMasterPreference(masterPref).build(); in testDisconnectWithPendingTransactions()
973 final int clusterHigh = 192; in testDestroySessionWithPendingTransactions() local
986 .setClusterHigh(clusterHigh).setMasterPreference(masterPref).build(); in testDestroySessionWithPendingTransactions()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/
DWifiNanStateManager.java1134 int clusterHigh = ConfigRequest.CLUSTER_ID_MAX; in mergeConfigRequests() local
1147 clusterHigh = cr.mClusterHigh; in mergeConfigRequests()
1150 clusterHigh = Math.max(clusterHigh, cr.mClusterHigh); in mergeConfigRequests()
1157 .setClusterLow(clusterLow).setClusterHigh(clusterHigh); in mergeConfigRequests()