/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/ |
D | InitialLockSetupService.java | 91 public LockConfig getLockConfig(@LockTypes int lockType) { in getLockConfig() argument 93 switch (lockType) { in getLockConfig() 106 @LockTypes int lockType, byte[] password) { in createLockscreenCredential() 107 switch (lockType) { in createLockscreenCredential() 119 LOG.e("Unrecognized lockscreen credential type: " + lockType); in createLockscreenCredential() 126 public int checkValidLock(@LockTypes int lockType, byte[] password) { in checkValidLock() argument 127 try (LockscreenCredential credential = createLockscreenCredential(lockType, password)) { in checkValidLock() 141 public int setLock(@LockTypes int lockType, byte[] password) { in setLock() argument 150 try (LockscreenCredential credential = createLockscreenCredential(lockType, password)) { in setLock() 171 public String checkValidLockAndReturnError(@LockTypes int lockType, in checkValidLockAndReturnError() argument [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/ |
D | PickerSyncLockManager.java | 60 public CloseableReentrantLock tryLock(@LockType int lockType) in tryLock() argument 62 return tryLock(lockType, LOCK_ACQUIRE_TIMEOUT_MINS, LOCK_ACQUIRE_TIMEOUT_UNIT); in tryLock() 68 public CloseableReentrantLock tryLock(@LockType int lockType, long timeout, TimeUnit unit) in tryLock() argument 70 return tryLock(getLock(lockType), timeout, unit); in tryLock() 87 public CloseableReentrantLock lock(@LockType int lockType) { in lock() argument 88 final CloseableReentrantLock reentrantLock = getLock(lockType); in lock() 100 public CloseableReentrantLock getLock(@LockType int lockType) { in getLock() argument 101 switch (lockType) { in getLock() 111 throw new RuntimeException("Unrecognizable lock type " + lockType); in getLock()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | TvOverlayManager.java | 808 int lockType = ChannelBannerView.LOCK_NONE; in updateChannelBannerAndShowIfNeeded() local 812 lockType = ChannelBannerView.LOCK_CHANNEL_INFO; in updateChannelBannerAndShowIfNeeded() 815 lockType = ChannelBannerView.LOCK_PROGRAM_DETAIL; in updateChannelBannerAndShowIfNeeded() 820 lockType = ChannelBannerView.LOCK_CHANNEL_INFO; in updateChannelBannerAndShowIfNeeded() 824 lockType = ChannelBannerView.LOCK_PROGRAM_DETAIL; in updateChannelBannerAndShowIfNeeded() 828 lockType = ChannelBannerView.LOCK_CHANNEL_INFO; in updateChannelBannerAndShowIfNeeded() 834 lockType = ChannelBannerView.LOCK_PROGRAM_DETAIL; in updateChannelBannerAndShowIfNeeded() 838 int previousLockType = mChannelBannerView.setLockType(lockType); in updateChannelBannerAndShowIfNeeded() 839 if (previousLockType == lockType in updateChannelBannerAndShowIfNeeded() 848 && lockType != ChannelBannerView.LOCK_PROGRAM_DETAIL) { in updateChannelBannerAndShowIfNeeded()
|
D | ChannelBannerView.java | 367 public int setLockType(int lockType) { in setLockType() argument 368 if (lockType != LOCK_NONE in setLockType() 369 && lockType != LOCK_CHANNEL_INFO in setLockType() 370 && lockType != LOCK_PROGRAM_DETAIL) { in setLockType() 371 throw new IllegalArgumentException("No such lock type " + lockType); in setLockType() 374 mLockType = lockType; in setLockType()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockSettingsHelper.java | 537 int lockType; in determineAppropriateActivityClass() local 539 lockType = remoteLockscreenValidationSession.getLockType(); in determineAppropriateActivityClass() 548 lockType = lockTypeOptional.get(); in determineAppropriateActivityClass() 551 switch (lockType) { in determineAppropriateActivityClass() 563 lockType)); in determineAppropriateActivityClass()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | BaseWifiService.java | 400 public boolean acquireWifiLock(IBinder lock, int lockType, String tag, WorkSource ws) { in acquireWifiLock() argument 405 public boolean acquireWifiLock(IBinder lock, int lockType, String tag, WorkSource ws, in acquireWifiLock() argument
|
D | IWifiManager.aidl | 213 …boolean acquireWifiLock(IBinder lock, int lockType, String tag, in WorkSource ws, in String packag… in acquireWifiLock() argument
|
D | WifiManager.java | 7831 private WifiLock(int lockType, String tag) { in WifiLock() argument 7833 mLockType = lockType; in WifiLock() 8017 public WifiLock createWifiLock(int lockType, String tag) { in createWifiLock() argument 8018 return new WifiLock(lockType, tag); in createWifiLock()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiMetrics.java | 8283 public void addWifiLockAcqSession(int lockType, int[] attrUids, String[] attrTags, 8287 switch (lockType) { 8298 Log.e(TAG, "addWifiLockAcqSession: Invalid lock type: " + lockType); 8313 public void addWifiLockActiveSession(int lockType, int[] attrUids, String[] attrTags, 8317 switch (lockType) { 8333 Log.e(TAG, "addWifiLockActiveSession: Invalid lock type: " + lockType);
|