Home
last modified time | relevance | path

Searched refs:mockInjector (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DBrightnessObserverTest.kt58 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()
DAppRequestObserverTest.kt42 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()
DSettingsObserverTest.kt92 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/
DPackageManagerComponentLabelIconOverrideTest.kt390 val mockInjector: PackageManagerServiceInjector = mock { in <lambda>() constant
411 return PackageManagerService(mockInjector, testParams) in <lambda>()