Searched refs:setLock (Results 1 – 7 of 7) sorted by relevance
316 verify(mWakeupLock).setLock(any()); in startSetsWakeupLock()337 verify(mWakeupLock, never()).setLock(any()); in startDoesNotSetWakeupLockWhenDisabled()350 verify(mWakeupLock, never()).setLock(any()); in startDoesNotSetWakeupLockWhenNoSavedNetworksOrSuggestions()364 lockInOrder.verify(mWakeupLock).setLock(any()); in startIsIgnoredIfAlreadyActive()371 lockInOrder.verify(mWakeupLock, never()).setLock(any()); in startIsIgnoredIfAlreadyActive()408 lockInOrder.verify(mWakeupLock).setLock(any()); in resetSetsActiveToFalse()416 lockInOrder.verify(mWakeupLock).setLock(any()); in resetSetsActiveToFalse()453 verify(mWakeupLock).setLock(eq(expectedMatchInfos)); in startInitializesWakeupLockWithSavedScanResults()493 verify(mWakeupLock).setLock(eq(expectedMatchInfos)); in startInitializesWakeupLockWithNetworkSuggestions()539 verify(mWakeupLock).setLock(eq(expectedMatchInfos)); in startInitializesWakeupLockWithSavedScanResultsAndNetworkSuggestions()[all …]
113 mWakeupLock.setLock(networks); in verifyInitializingLockByScans()132 mWakeupLock.setLock(Collections.emptyList()); in verifyInitializingLockByTimeout()146 mWakeupLock.setLock(Collections.emptyList()); in addToLockSavesToStore()290 mWakeupLock.setLock(networks); in unlockingShouldRecordEventInMetrics()301 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()
141 public int setLock(@LockTypes int lockType, byte[] password) { in setLock() method in InitialLockSetupService.InitialLockSetupServiceImpl
70 public void setLock(Collection<ScanResultMatchInfo> scanResultList) { in setLock() method in WakeupLock
329 mWakeupLock.setLock(matchInfos); in start()
235 android.telecom.Log.setLock(mLock); in TelecomSystem()