Searched refs:mWakeupLock (Results 1 – 3 of 3) sorted by relevance
54 private WakeupLock mWakeupLock; field in WakeupLockTest89 mWakeupLock.update(networks); in updateEnoughTimesToEvictWithAsserts()101 mWakeupLock.update(networks); in updateEnoughTimesToEvictWithoutAsserts()112 mWakeupLock.setLock(networks); in verifyInitializingLockByScans()119 mWakeupLock.update(networks); in verifyInitializingLockByScans()135 mWakeupLock.update(networks); in verifyInitializingLockByTimeout()148 mWakeupLock.update(networks); in addToLockSavesToStore()277 mWakeupLock.update(networks); in updateShouldNotSaveIfLockDoesNotChange()289 mWakeupLock.setLock(networks); in unlockingShouldRecordEventInMetrics()300 mWakeupLock.setLock(networks); in setLockAndInitializeByTimeout()[all …]
83 @Mock private WakeupLock mWakeupLock; field in WakeupControllerTest176 mWakeupLock, in initializeWakeupController()268 verify(mWakeupLock).dump(null, writer, null); in dumpIncludesWakeupLock()278 verify(mWakeupLock).setLock(any()); in startSetsWakeupLock()299 verify(mWakeupLock, never()).setLock(any()); in startDoesNotSetWakeupLockWhenDisabled()312 verify(mWakeupLock, never()).setLock(any()); in startDoesNotSetWakeupLockWhenNoSavedNetworksOrSuggestions()728 verify(mWakeupLock).update(any()); in onResultsUpdatesIfNotOnboarded()729 verify(mWakeupLock).isUnlocked(); in onResultsUpdatesIfNotOnboarded()778 verify(mWakeupLock, never()).update(any()); in controllerDoesNoWorkIfUserStoreIsNotRead()779 verify(mWakeupLock, never()).isUnlocked(); in controllerDoesNoWorkIfUserStoreIsNotRead()[all …]
60 private final WakeupLock mWakeupLock; field in WakeupController147 mWakeupLock = wakeupLock; in WakeupController()173 mWakeupLock.getDataSource()); in WakeupController()300 mWakeupLock.setLock(matchInfos); in start()333 mWakeupLock.enableVerboseLogging(mVerboseLoggingEnabled); in enableVerboseLogging()416 mWakeupLock.update(matchInfos); in handleScanResults()417 if (!mWakeupLock.isUnlocked()) { in handleScanResults()477 mWakeupLock.dump(fd, pw, args); in dump()