Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiLockManager.java185 public boolean acquireWifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { in acquireWifiLock() argument
191 return addLock(new WifiLock(lockMode, tag, binder, newWorkSource)); in acquireWifiLock()
389 public static boolean isValidLockMode(int lockMode) { in isValidLockMode() argument
390 if (lockMode != WifiManager.WIFI_MODE_FULL in isValidLockMode()
391 && lockMode != WifiManager.WIFI_MODE_SCAN_ONLY in isValidLockMode()
392 && lockMode != WifiManager.WIFI_MODE_FULL_HIGH_PERF in isValidLockMode()
393 && lockMode != WifiManager.WIFI_MODE_FULL_LOW_LATENCY) { in isValidLockMode()
796 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { in WifiLock() argument
800 mMode = lockMode; in WifiLock()
DWifiServiceImpl.java2847 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) { in acquireWifiLock() argument
2850 .c(lockMode).flush(); in acquireWifiLock()
2859 if (!WifiLockManager.isValidLockMode(lockMode)) { in acquireWifiLock()
2860 throw new IllegalArgumentException("lockMode =" + lockMode); in acquireWifiLock()
2867 lockMode, tag, binder, updatedWs); in acquireWifiLock()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java308 final String lockMode = getNextArgRequired(); in runSetDisplayUserRotation() local
317 if ("free".equals(lockMode)) { in runSetDisplayUserRotation()
322 if (!lockMode.equals("lock")) { in runSetDisplayUserRotation()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiLockManagerTest.java98 private void acquireWifiLockSuccessful(int lockMode, String tag, IBinder binder, WorkSource ws) in acquireWifiLockSuccessful() argument
103 assertTrue(mWifiLockManager.acquireWifiLock(lockMode, tag, binder, ws)); in acquireWifiLockSuccessful()
109 if (lockMode == WifiManager.WIFI_MODE_FULL_LOW_LATENCY) { in acquireWifiLockSuccessful()