Home
last modified time | relevance | path

Searched refs:freqMhz (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/framework/java/android/net/wifi/
DScanResult.java931 public static boolean is24GHz(int freqMhz) { in is24GHz() argument
932 return freqMhz >= BAND_24_GHZ_START_FREQ_MHZ && freqMhz <= BAND_24_GHZ_END_FREQ_MHZ; in is24GHz()
942 public static boolean is5GHz(int freqMhz) { in is5GHz() argument
943 return freqMhz >= BAND_5_GHZ_START_FREQ_MHZ && freqMhz <= BAND_5_GHZ_END_FREQ_MHZ; in is5GHz()
953 public static boolean is6GHz(int freqMhz) { in is6GHz() argument
954 if (freqMhz == BAND_6_GHZ_OP_CLASS_136_CH_2_FREQ_MHZ) { in is6GHz()
957 return (freqMhz >= BAND_6_GHZ_START_FREQ_MHZ && freqMhz <= BAND_6_GHZ_END_FREQ_MHZ); in is6GHz()
967 public static boolean is6GHzPsc(int freqMhz) { in is6GHzPsc() argument
968 if (!ScanResult.is6GHz(freqMhz)) { in is6GHzPsc()
971 return (freqMhz - BAND_6_GHZ_PSC_START_MHZ) % BAND_6_GHZ_PSC_STEP_SIZE_MHZ == 0; in is6GHzPsc()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DHostapdHalAidlImpTest.java160 apInfo.freqMhz = TEST_FREQ_24G; in mockApInfoChangedAndVerify()
172 apInfo.freqMhz = TEST_FREQ_5G; in mockApInfoChangedAndVerify()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DHostapdHalAidlImp.java404 callback.onInfoChanged(info.apIfaceInstance, info.freqMhz, in onApInstanceInfoChanged()