Searched defs:lockMode (Results 1 - 5 of 5) sorted by path
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiLockManager.java | 62 * @param lockMode int representation of the Wifi WakeLock type. 67 * @return true if the lock was successfully acquired, false if the lockMode was invalid. 69 public boolean acquireWifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { argument 71 if (!isValidLockMode(lockMode)) { 72 throw new IllegalArgumentException("lockMode =" + lockMode); 80 return addLock(new WifiLock(lockMode, tag, binder, ws)); 174 private static boolean isValidLockMode(int lockMode) { argument 175 if (lockMode != WifiManager.WIFI_MODE_FULL 176 && lockMode ! 301 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) argument [all...] |
H A D | WifiServiceImpl.java | 2571 public boolean acquireWifiLock(IBinder binder, int lockMode, String tag, WorkSource ws) { argument 2572 mLog.info("acquireWifiLock uid=% lockMode=%") 2574 .c(lockMode).flush(); 2575 if (mWifiLockManager.acquireWifiLock(lockMode, tag, binder, ws)) {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiLockManagerTest.java | 75 private void acquireWifiLockSuccessful(int lockMode, String tag, IBinder binder, WorkSource ws) argument 80 assertTrue(mWifiLockManager.acquireWifiLock(lockMode, tag, binder, ws));
|
/frameworks/support/drawerlayout/src/main/java/androidx/drawerlayout/widget/ |
H A D | DrawerLayout.java | 550 * @param lockMode The new lock mode for the given drawer. One of {@link #LOCK_MODE_UNLOCKED}, 553 public void setDrawerLockMode(@LockMode int lockMode) { argument 554 setDrawerLockMode(lockMode, Gravity.LEFT); 555 setDrawerLockMode(lockMode, Gravity.RIGHT); 568 * @param lockMode The new lock mode for the given drawer. One of {@link #LOCK_MODE_UNLOCKED}, 577 public void setDrawerLockMode(@LockMode int lockMode, @EdgeGravity int edgeGravity) { argument 583 mLockModeLeft = lockMode; 586 mLockModeRight = lockMode; 589 mLockModeStart = lockMode; 592 mLockModeEnd = lockMode; 636 setDrawerLockMode(@ockMode int lockMode, @NonNull View drawerView) argument [all...] |
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/testutils/ |
H A D | DrawerLayoutActions.java | 298 public static ViewAction setDrawerLockMode(final int lockMode, final int drawerEdgeGravity) { argument 315 drawerLayout.setDrawerLockMode(lockMode, drawerEdgeGravity); 325 public static ViewAction setDrawerLockMode(final int lockMode, final View drawerView) { argument 342 drawerLayout.setDrawerLockMode(lockMode, drawerView);
|
Completed in 246 milliseconds