Home
last modified time | relevance | path

Searched refs:setLock (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWakeupControllerTest.java278 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 …]
DWakeupLockTest.java112 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()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DInitialLockSetupServiceTest.java160 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()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWakeupLock.java70 public void setLock(Collection<ScanResultMatchInfo> scanResultList) { in setLock() method in WakeupLock
DWakeupController.java300 mWakeupLock.setLock(matchInfos); in start()
/packages/apps/Car/Settings/src/com/android/car/settings/setupservice/
DInitialLockSetupService.java140 public int setLock(@LockTypes int lockType, byte[] password) { in setLock() method in InitialLockSetupService.InitialLockSetupServiceImpl