Home
last modified time | relevance | path

Searched refs:apInfo (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/framework/java/android/net/wifi/rtt/
DRangingRequest.java276 public Builder addAccessPoint(@NonNull ScanResult apInfo) { in addAccessPoint() argument
277 if (apInfo == null) { in addAccessPoint()
280 return addResponder(ResponderConfig.fromScanResult(apInfo)); in addAccessPoint()
397 public Builder addNon80211mcCapableAccessPoint(@NonNull ScanResult apInfo) { in addNon80211mcCapableAccessPoint() argument
398 if (apInfo == null) { in addNon80211mcCapableAccessPoint()
401 if (apInfo.is80211mcResponder() || apInfo.is80211azNtbResponder()) { in addNon80211mcCapableAccessPoint()
405 return addResponder(ResponderConfig.fromScanResult(apInfo)); in addNon80211mcCapableAccessPoint()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSoftApManager.java321 SoftApInfo apInfo = new SoftApInfo();
322 apInfo.setFrequency(frequency);
323 apInfo.setBandwidth(bandwidth);
324 apInfo.setWifiStandard(generation);
326 apInfo.setBssid(apIfaceInstanceMacAddress);
328 apInfo.setApInstanceIdentifier(apIfaceInstance != null
331 apInfo.setVendorData(vendorData);
334 SoftApStateMachine.CMD_AP_INFO_CHANGED, 0, 0, apInfo);
1728 private void updateSoftApInfo(@Nullable SoftApInfo apInfo, boolean isRemoved) { in updateSoftApInfo() argument
1729 Log.d(getTag(), "SoftApInfo update " + apInfo + ", isRemoved: " + isRemoved); in updateSoftApInfo()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHostapdHalAidlImpTest.java157 ApInfo apInfo = new ApInfo(); in mockApInfoChangedAndVerify() local
158 apInfo.ifaceName = ifaceName; in mockApInfoChangedAndVerify()
159 apInfo.apIfaceInstance = TEST_AP_INSTANCE; in mockApInfoChangedAndVerify()
160 apInfo.freqMhz = TEST_FREQ_24G; in mockApInfoChangedAndVerify()
161 apInfo.channelBandwidth = TEST_BANDWIDTH; in mockApInfoChangedAndVerify()
162 apInfo.generation = TEST_GENERATION; in mockApInfoChangedAndVerify()
163 apInfo.apIfaceInstanceMacAddress = MacAddress.fromString(TEST_CLIENT_MAC).toByteArray(); in mockApInfoChangedAndVerify()
165 mockHostapdCallback.onApInstanceInfoChanged(apInfo); in mockApInfoChangedAndVerify()
171 apInfo.apIfaceInstance = TEST_AP_INSTANCE_2; in mockApInfoChangedAndVerify()
172 apInfo.freqMhz = TEST_FREQ_5G; in mockApInfoChangedAndVerify()
[all …]
DSoftApManagerTest.java249 private void mockApInfoChangedEvent(SoftApInfo apInfo) { in mockApInfoChangedEvent() argument
251 ? apInfo.getVendorData() : Collections.emptyList(); in mockApInfoChangedEvent()
253 apInfo.getApInstanceIdentifier(), apInfo.getFrequency(), apInfo.getBandwidth(), in mockApInfoChangedEvent()
254 apInfo.getWifiStandardInternal(), apInfo.getBssidInternal(), vendorData); in mockApInfoChangedEvent()
255 mTestSoftApInfoMap.put(apInfo.getApInstanceIdentifier(), apInfo); in mockApInfoChangedEvent() local
256 mTestWifiClientsMap.put(apInfo.getApInstanceIdentifier(), new ArrayList<WifiClient>()); in mockApInfoChangedEvent()