Home
last modified time | relevance | path

Searched refs:isWifiSapEnabled (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DSarInfo.java61 public boolean isWifiSapEnabled = false; field in SarInfo
91 if (!isWifiClientEnabled && !isWifiSapEnabled && !isWifiScanOnlyEnabled) { in shouldReport()
102 return ((isWifiSapEnabled != mLastReportedIsWifiSapEnabled) in shouldReport()
113 mLastReportedIsWifiSapEnabled = isWifiSapEnabled; in reportingSuccessful()
160 pw.println(" Wifi Soft AP state is: " + isWifiSapEnabled); in dump()
DSarManager.java346 if (mSarInfo.isWifiSapEnabled != newIsEnabled) { in setSapWifiState()
347 mSarInfo.isWifiSapEnabled = newIsEnabled; in setSapWifiState()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DSarManagerTest.java435 assertTrue(mSarInfo.isWifiSapEnabled); in testSarMgr_enabledTxPowerScenario_sapOn()
452 assertFalse(mSarInfo.isWifiSapEnabled); in testSarMgr_enabledTxPowerScenario_staOff_sapOff_scanOnlyOn()
471 assertFalse(mSarInfo.isWifiSapEnabled); in testSarMgr_enabledTxPowerScenario_staOn_sapOff_scanOnlyOn()
498 assertFalse(mSarInfo.isWifiSapEnabled); in testSarMgr_enabledTxPowerScenario_wifi_sap_scanOnly()
505 assertTrue(mSarInfo.isWifiSapEnabled); in testSarMgr_enabledTxPowerScenario_wifi_sap_scanOnly()
520 assertFalse(mSarInfo.isWifiSapEnabled); in testSarMgr_enabledTxPowerScenario_wifi_sap_scanOnly()
542 assertFalse(mSarInfo.isWifiSapEnabled); in testSarMgr_enabledTxPowerScenario_error_wifi_sap_scanOnly()
549 assertTrue(mSarInfo.isWifiSapEnabled); in testSarMgr_enabledTxPowerScenario_error_wifi_sap_scanOnly()
556 assertTrue(mSarInfo.isWifiSapEnabled); in testSarMgr_enabledTxPowerScenario_error_wifi_sap_scanOnly()
564 assertTrue(mSarInfo.isWifiSapEnabled); in testSarMgr_enabledTxPowerScenario_error_wifi_sap_scanOnly()
[all …]
DSarInfoTest.java184 mSarInfo.isWifiSapEnabled = true; in testSarInfo_sap_wifi_enabled()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiChipHidlImplTest.java446 sarInfo.isWifiSapEnabled = true; in testSapScenarios_SelectTxPowerV1_2()
545 sarInfo.isWifiSapEnabled = true; in testSelectTxPowerScenario_1_2_sap()
570 sarInfo.isWifiSapEnabled = true; in testSelectTxPowerScenario_1_2_head_sap_call()
DWifiChipAidlImplTest.java229 sarInfo.isWifiSapEnabled = true; in testSelectTxPowerScenario_SapScenarios()
284 sarInfo.isWifiSapEnabled = true; in testSelectTxPowerScenario_head_sap_call()
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiChipAidlImpl.java1444 if (sarInfo.sarSapSupported && sarInfo.isWifiSapEnabled) { in sarPowerBackoffRequired()
1465 } else if (sarInfo.isWifiSapEnabled) { in frameworkToHalTxPowerScenario()
DWifiChipHidlImpl.java2234 if (sarInfo.sarSapSupported && sarInfo.isWifiSapEnabled) { in sarPowerBackoffRequired_1_2()
2258 } else if (sarInfo.isWifiSapEnabled) { in frameworkToHalTxPowerScenario_1_2()