Searched refs:mockInjector (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | BrightnessObserverTest.kt | 58 private val mockInjector = mock<DisplayModeDirector.Injector>() constant 75 spyContext, testHandler, mockInjector, mockFlags, mockDisplayDeviceConfigProvider) in testLowLightBlockingZoneVotes() 83 spyContext, testHandler, mockInjector, mockFlags) in testLowLightBlockingZoneVotes() 98 whenever(mockInjector.getBrightnessInfo(Display.DEFAULT_DISPLAY)).thenReturn( in setUpLowBrightnessZone()
|
D | AppRequestObserverTest.kt | 42 private val mockInjector = mock<DisplayModeDirector.Injector>() constant in com.android.server.display.mode.AppRequestObserverTest 57 context, testHandler, mockInjector, mockFlags, mockDisplayDeviceConfigProvider) in test app request votes()
|
D | SettingsObserverTest.kt | 92 private val mockInjector = mock<DisplayModeDirector.Injector>() constant 114 spyContext, testHandler, mockInjector, mockFlags, mockDisplayDeviceConfigProvider) in test low power mode() 158 spyContext, testHandler, mockInjector, mockFlags, mockDisplayDeviceConfigProvider) in test settings refresh rates()
|
/frameworks/base/services/tests/PackageManagerComponentOverrideTests/src/com/android/server/pm/test/override/ |
D | PackageManagerComponentLabelIconOverrideTest.kt | 390 val mockInjector: PackageManagerServiceInjector = mock { in <lambda>() constant 411 return PackageManagerService(mockInjector, testParams) in <lambda>()
|