Searched refs:lockMode (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiLockManager.java | 69 public boolean acquireWifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { in acquireWifiLock() argument 71 if (!isValidLockMode(lockMode)) { in acquireWifiLock() 72 throw new IllegalArgumentException("lockMode =" + lockMode); in acquireWifiLock() 80 return addLock(new WifiLock(lockMode, tag, binder, ws)); in acquireWifiLock() 165 private static boolean isValidLockMode(int lockMode) { in isValidLockMode() argument 166 if (lockMode != WifiManager.WIFI_MODE_FULL in isValidLockMode() 167 && lockMode != WifiManager.WIFI_MODE_SCAN_ONLY in isValidLockMode() 168 && lockMode != WifiManager.WIFI_MODE_FULL_HIGH_PERF) { in isValidLockMode() 292 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { in WifiLock() argument 296 mMode = lockMode; in WifiLock()
|
D | WifiServiceImpl.java | 2328 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) { in acquireWifiLock() argument 2331 .c(lockMode).flush(); in acquireWifiLock() 2332 if (mWifiLockManager.acquireWifiLock(lockMode, tag, binder, ws)) { in acquireWifiLock()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/ |
D | DrawerLayoutActions.java | 297 public static ViewAction setDrawerLockMode(final int lockMode, final int drawerEdgeGravity) { 314 drawerLayout.setDrawerLockMode(lockMode, drawerEdgeGravity); 324 public static ViewAction setDrawerLockMode(final int lockMode, final View drawerView) { 341 drawerLayout.setDrawerLockMode(lockMode, drawerView);
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | DrawerLayout.java | 546 public void setDrawerLockMode(@LockMode int lockMode) { in setDrawerLockMode() argument 547 setDrawerLockMode(lockMode, Gravity.LEFT); in setDrawerLockMode() 548 setDrawerLockMode(lockMode, Gravity.RIGHT); in setDrawerLockMode() 570 public void setDrawerLockMode(@LockMode int lockMode, @EdgeGravity int edgeGravity) { in setDrawerLockMode() argument 576 mLockModeLeft = lockMode; in setDrawerLockMode() 579 mLockModeRight = lockMode; in setDrawerLockMode() 582 mLockModeStart = lockMode; in setDrawerLockMode() 585 mLockModeEnd = lockMode; in setDrawerLockMode() 589 if (lockMode != LOCK_MODE_UNLOCKED) { in setDrawerLockMode() 594 switch (lockMode) { in setDrawerLockMode() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiLockManagerTest.java | 69 private void acquireWifiLockSuccessful(int lockMode, String tag, IBinder binder, WorkSource ws) in acquireWifiLockSuccessful() argument 74 assertTrue(mWifiLockManager.acquireWifiLock(lockMode, tag, binder, ws)); in acquireWifiLockSuccessful()
|