Home
last modified time | relevance | path

Searched refs:isWifiP2pAvailable (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pPreferenceController.java80 preference.setEnabled(isWifiP2pAvailable()); in updateState()
105 mWifiDirectPref.setEnabled(isWifiP2pAvailable()); in togglePreferences()
108 private boolean isWifiP2pAvailable() { in isWifiP2pAvailable() method in WifiP2pPreferenceController
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java685 if (!mP2pStateMachine.isWifiP2pAvailable()) { in onSettingsChanged()
1513 if (!isWifiP2pAvailable()) { in P2pStateMachine()
1884 if (isWifiP2pAvailable() && !mDeathDataByBinder.isEmpty()) return; in clearP2pInternalDataIfNecessary()
2112 if (isWifiP2pAvailable()) { in processMessageImpl()
2140 if (isWifiP2pAvailable()) { in processMessageImpl()
2172 if (!isWifiP2pAvailable()) { in processMessageImpl()
2289 isWifiP2pAvailable() in processMessageImpl()
2889 if (!isWifiP2pAvailable()) { in setupInterface()
3013 if (!isWifiP2pAvailable() || mDeathDataByBinder.isEmpty()) { in processMessageImpl()
5660 public boolean isWifiP2pAvailable() { in isWifiP2pAvailable() method in WifiP2pServiceImpl.P2pStateMachine
[all …]