Home
last modified time | relevance | path

Searched refs:setScanAlwaysAvailable (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/location/
DWifiScanningPreferenceControllerTest.java83 verify(mWifiManager).setScanAlwaysAvailable(true); in handlePreferenceTreeClick_checked_shouldEnableWifiScanning()
92 verify(mWifiManager).setScanAlwaysAvailable(false); in handlePreferenceTreeClick_unchecked_shouldDisableWifiScanning()
/packages/apps/Settings/src/com/android/settings/location/
DWifiScanningPreferenceController.java54 mWifiManager.setScanAlwaysAvailable(((TwoStatePreference) preference).isChecked()); in handlePreferenceTreeClick()
DWifiScanningMainSwitchPreferenceController.java71 mWifiManager.setScanAlwaysAvailable(isChecked); in setChecked()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiScanningRequiredFragment.java72 context.getSystemService(WifiManager.class).setScanAlwaysAvailable(true); in onClick()
DWifiScanModeActivity.java113 getApplicationContext().getSystemService(WifiManager.class).setScanAlwaysAvailable(true); in doPositiveClick()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiScanningRequiredFragmentTest.java89 verify(mWifiManager).setScanAlwaysAvailable(true); in onClick_positiveButtonSetsWifiScanningOn()
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/preferences/
DWifiWakeupTogglePreferenceController.java141 mWifiManager.setScanAlwaysAvailable(true); in enableWifiScanning()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/preferences/
DWifiWakeupTogglePreferenceControllerTest.java220 verify(mWifiManager).setScanAlwaysAvailable(true); in onConfirmWifiScanning_setsWifiScanningOn()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiShellCommandTest.java593 verify(mWifiService).setScanAlwaysAvailable(true, SHELL_PACKAGE_NAME); in testSetScanAlwaysAvailable()
598 verify(mWifiService).setScanAlwaysAvailable(false, SHELL_PACKAGE_NAME); in testSetScanAlwaysAvailable()
DWifiServiceImplTest.java9369 mWifiServiceImpl.setScanAlwaysAvailable(true, TEST_PACKAGE_NAME); in testSetScanAlwaysAvailableWithNetworkSettingsPermission()
9373 mWifiServiceImpl.setScanAlwaysAvailable(false, TEST_PACKAGE_NAME); in testSetScanAlwaysAvailableWithNetworkSettingsPermission()
9384 mWifiServiceImpl.setScanAlwaysAvailable(true, TEST_PACKAGE_NAME); in testSetScanAlwaysAvailableWithNoNetworkSettingsPermission()
/packages/modules/Wifi/framework/java/android/net/wifi/
DIWifiManager.aidl209 void setScanAlwaysAvailable(boolean isAvailable, String packageName); in setScanAlwaysAvailable() method
DBaseWifiService.java385 public void setScanAlwaysAvailable(boolean isAvailable, String packageName) { in setScanAlwaysAvailable() method in BaseWifiService
DWifiManager.java4589 public void setScanAlwaysAvailable(boolean isAvailable) { in setScanAlwaysAvailable() method in WifiManager
4591 mService.setScanAlwaysAvailable(isAvailable, mContext.getOpPackageName()); in setScanAlwaysAvailable()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiManagerTest.java3441 mWifiManager.setScanAlwaysAvailable(true); in testScanAvailable()
3442 verify(mWifiService).setScanAlwaysAvailable(true, TEST_PACKAGE_NAME); in testScanAvailable()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java943 mWifiService.setScanAlwaysAvailable(enabled, SHELL_PACKAGE_NAME); in onCommand()
DWifiServiceImpl.java3062 public void setScanAlwaysAvailable(boolean isAvailable, String packageName) { in setScanAlwaysAvailable() method in WifiServiceImpl
/packages/modules/Wifi/framework/api/
Dsystem-current.txt801 …rmission(android.Manifest.permission.NETWORK_SETTINGS) public void setScanAlwaysAvailable(boolean);