Searched refs:bootCompleteCache (Results 1 – 5 of 5) sorted by relevance
37 private lateinit var bootCompleteCache: BootCompleteCacheImpl variable in com.android.systemui.BootCompleteCacheTest45 bootCompleteCache = BootCompleteCacheImpl(mock(DumpManager::class.java)) in setUp()50 assertFalse(bootCompleteCache.isBootComplete()) in testFlagChange()52 bootCompleteCache.setBootComplete() in testFlagChange()54 assertTrue(bootCompleteCache.isBootComplete()) in testFlagChange()59 assertFalse(bootCompleteCache.isBootComplete()) in testDoubleSetIsNoOp()61 bootCompleteCache.setBootComplete() in testDoubleSetIsNoOp()62 bootCompleteCache.setBootComplete() in testDoubleSetIsNoOp()64 assertTrue(bootCompleteCache.isBootComplete()) in testDoubleSetIsNoOp()69 val boot = bootCompleteCache.addListener(bootCompleteListener) in testAddListenerGivesCurrentState_false()[all …]
55 @Mock private lateinit var bootCompleteCache: BootCompleteCacheImpl variable in com.android.systemui.SystemUIApplicationTest88 whenever(sysuiComponent.provideBootCacheImpl()).thenReturn(bootCompleteCache) in setUp()
81 BootCompleteCache bootCompleteCache, in PhoneStateMonitor() argument88 bootCompleteCache.addListener(() -> mDefaultHome = getCurrentDefaultHome()); in PhoneStateMonitor()
94 BroadcastDispatcher broadcastDispatcher, BootCompleteCache bootCompleteCache, in LocationControllerImpl() argument100 mBootCompleteCache = bootCompleteCache; in LocationControllerImpl()
282 abstract BootCompleteCache bindBootCompleteCache(BootCompleteCacheImpl bootCompleteCache); in bindBootCompleteCache() argument