Searched refs:setLock (Results 1 – 6 of 6) sorted by relevance
278 verify(mWakeupLock).setLock(any()); in startSetsWakeupLock()299 verify(mWakeupLock, never()).setLock(any()); in startDoesNotSetWakeupLockWhenDisabled()312 verify(mWakeupLock, never()).setLock(any()); in startDoesNotSetWakeupLockWhenNoSavedNetworksOrSuggestions()326 lockInOrder.verify(mWakeupLock).setLock(any()); in startIsIgnoredIfAlreadyActive()333 lockInOrder.verify(mWakeupLock, never()).setLock(any()); in startIsIgnoredIfAlreadyActive()370 lockInOrder.verify(mWakeupLock).setLock(any()); in resetSetsActiveToFalse()378 lockInOrder.verify(mWakeupLock).setLock(any()); in resetSetsActiveToFalse()413 verify(mWakeupLock).setLock(eq(expectedMatchInfos)); in startInitializesWakeupLockWithSavedScanResults()453 verify(mWakeupLock).setLock(eq(expectedMatchInfos)); in startInitializesWakeupLockWithNetworkSuggestions()499 verify(mWakeupLock).setLock(eq(expectedMatchInfos)); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()[all …]
112 mWakeupLock.setLock(networks); in verifyInitializingLockByScans()131 mWakeupLock.setLock(Collections.emptyList()); in verifyInitializingLockByTimeout()145 mWakeupLock.setLock(Collections.emptyList()); in addToLockSavesToStore()289 mWakeupLock.setLock(networks); in unlockingShouldRecordEventInMetrics()300 mWakeupLock.setLock(networks); in setLockAndInitializeByTimeout()
160 int result = service.setLock(LockTypes.PASSWORD, "password".getBytes()); in testSetLockPassword_doesNotWorkWithExistingPassword()168 int result = service.setLock(LockTypes.PASSWORD, "hi".getBytes()); in testSetLockPassword_doesNotWorkWithInvalidPassword()179 int result = service.setLock(LockTypes.PASSWORD, password); in testSetLockPassword_setsDevicePassword()191 int result = service.setLock(LockTypes.PIN, password); in testSetLockPin_setsDevicePin()212 int result = service.setLock(LockTypes.PATTERN, patternBytes); in testSetLockPattern_setsDevicePattern()
70 public void setLock(Collection<ScanResultMatchInfo> scanResultList) { in setLock() method in WakeupLock
300 mWakeupLock.setLock(matchInfos); in start()
140 public int setLock(@LockTypes int lockType, byte[] password) { in setLock() method in InitialLockSetupService.InitialLockSetupServiceImpl