Searched refs:lockMode (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiLockManager.java | 188 public boolean acquireWifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { in acquireWifiLock() argument 193 return addLock(new WifiLock(lockMode, tag, binder, newWorkSource)); in acquireWifiLock() 391 public static boolean isValidLockMode(int lockMode) { in isValidLockMode() argument 392 if (lockMode != WifiManager.WIFI_MODE_FULL in isValidLockMode() 393 && lockMode != WifiManager.WIFI_MODE_SCAN_ONLY in isValidLockMode() 394 && lockMode != WifiManager.WIFI_MODE_FULL_HIGH_PERF in isValidLockMode() 395 && lockMode != WifiManager.WIFI_MODE_FULL_LOW_LATENCY) { in isValidLockMode() 797 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { in WifiLock() argument 801 mMode = lockMode; in WifiLock()
|
D | WifiServiceImpl.java | 3314 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) { 3317 .c(lockMode).flush(); 3326 if (!WifiLockManager.isValidLockMode(lockMode)) { 3327 throw new IllegalArgumentException("lockMode =" + lockMode); 3331 mWifiLockManager.acquireWifiLock(lockMode, tag, binder, updatedWs), false);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerShellCommand.java | 295 final String lockMode = getNextArgRequired(); in runSetDisplayUserRotation() local 304 if ("free".equals(lockMode)) { in runSetDisplayUserRotation() 309 if (!lockMode.equals("lock")) { in runSetDisplayUserRotation()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLockManagerTest.java | 98 private void acquireWifiLockSuccessful(int lockMode, String tag, IBinder binder, WorkSource ws) in acquireWifiLockSuccessful() argument 103 assertTrue(mWifiLockManager.acquireWifiLock(lockMode, tag, binder, ws)); in acquireWifiLockSuccessful()
|