Home
last modified time | relevance | path

Searched refs:bootCompleteCache (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DBootCompleteCacheTest.kt37 private lateinit var bootCompleteCache: BootCompleteCacheImpl variable in com.android.systemui.BootCompleteCacheTest
45 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 …]
DSystemUIApplicationTest.kt55 @Mock private lateinit var bootCompleteCache: BootCompleteCacheImpl variable in com.android.systemui.SystemUIApplicationTest
88 whenever(sysuiComponent.provideBootCacheImpl()).thenReturn(bootCompleteCache) in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DPhoneStateMonitor.java81 BootCompleteCache bootCompleteCache, in PhoneStateMonitor() argument
88 bootCompleteCache.addListener(() -> mDefaultHome = getCurrentDefaultHome()); in PhoneStateMonitor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationControllerImpl.java94 BroadcastDispatcher broadcastDispatcher, BootCompleteCache bootCompleteCache, in LocationControllerImpl() argument
100 mBootCompleteCache = bootCompleteCache; in LocationControllerImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DSystemUIModule.java282 abstract BootCompleteCache bindBootCompleteCache(BootCompleteCacheImpl bootCompleteCache); in bindBootCompleteCache() argument