Searched refs:lockMode (Results 1 – 5 of 5) sorted by relevance
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiLockManager.java | 243 public boolean acquireWifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { in acquireWifiLock() argument 251 && lockMode == WifiManager.WIFI_MODE_FULL_HIGH_PERF) { in acquireWifiLock() 252 lockMode = WifiManager.WIFI_MODE_FULL_LOW_LATENCY; in acquireWifiLock() 254 return addLock(new WifiLock(lockMode, tag, binder, newWorkSource)); in acquireWifiLock() 467 public static boolean isValidLockMode(int lockMode) { in isValidLockMode() argument 468 if (lockMode != WifiManager.WIFI_MODE_FULL in isValidLockMode() 469 && lockMode != WifiManager.WIFI_MODE_SCAN_ONLY in isValidLockMode() 470 && lockMode != WifiManager.WIFI_MODE_FULL_HIGH_PERF in isValidLockMode() 471 && lockMode != WifiManager.WIFI_MODE_FULL_LOW_LATENCY) { in isValidLockMode() 1124 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { in WifiLock() argument [all …]
|
D | WifiMetrics.java | 8286 int lockMode; 8290 lockMode = WifiStatsLog.WIFI_LOCK_RELEASED__MODE__WIFI_MODE_FULL_HIGH_PERF; 8295 lockMode = WifiStatsLog.WIFI_LOCK_RELEASED__MODE__WIFI_MODE_FULL_LOW_LATENCY; 8305 lockMode, 8316 int lockMode; 8319 lockMode = WifiStatsLog.WIFI_LOCK_DEACTIVATED__MODE__WIFI_MODE_FULL_HIGH_PERF; 8326 lockMode = WifiStatsLog.WIFI_LOCK_DEACTIVATED__MODE__WIFI_MODE_FULL_LOW_LATENCY; 8339 lockMode,
|
D | WifiServiceImpl.java | 5613 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws, 5617 .c(lockMode).c(getPackageName(extras)).flush(); 5630 if (!WifiLockManager.isValidLockMode(lockMode)) { 5631 throw new IllegalArgumentException("lockMode =" + lockMode); 5635 mWifiLockManager.acquireWifiLock(lockMode, tag, binder, updatedWs), false,
|
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/carrierLock/ |
D | CarrierLockProvider.java | 171 public void setLockMode(CarrierRestriction lockMode) { in setLockMode() argument 172 mLockMode = lockMode; in setLockMode()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLockManagerTest.java | 162 private void acquireWifiLockSuccessful(int lockMode, String tag, IBinder binder, WorkSource ws) in acquireWifiLockSuccessful() argument 167 assertTrue(mWifiLockManager.acquireWifiLock(lockMode, tag, binder, ws)); in acquireWifiLockSuccessful()
|