Searched refs:mResourcesSpy (Results 1 – 7 of 7) sorted by relevance
68 private Resources mResourcesSpy; field in AmbientLuxTest85 mResourcesSpy = spy(mContextSpy.getResources()); in setUp()86 when(mContextSpy.getResources()).thenReturn(mResourcesSpy); in setUp()90 when(mResourcesSpy.getString( in setUp()93 when(mResourcesSpy.getInteger( in setUp()96 when(mResourcesSpy.getInteger( in setUp()103 when(mResourcesSpy.obtainTypedArray( in setUp()106 when(mResourcesSpy.obtainTypedArray( in setUp()110 when(mResourcesSpy.obtainTypedArray( in setUp()113 when(mResourcesSpy.obtainTypedArray( in setUp()[all …]
65 private Resources mResourcesSpy; field in AmbientSensorTest75 mResourcesSpy = spy(mContextSpy.getResources()); in setUp()76 when(mContextSpy.getResources()).thenReturn(mResourcesSpy); in setUp()131 when(mResourcesSpy.getString( in testAmbientColorTemperatureSensorCallback_CallbacksCalled()136 mHandler, mSensorManagerMock, mResourcesSpy); in testAmbientColorTemperatureSensorCallback_CallbacksCalled()
40 private Resources mResourcesSpy; field in AmbientFilterTest46 mResourcesSpy = spy(mContextSpy.getResources()); in setUp()47 when(mContextSpy.getResources()).thenReturn(mResourcesSpy); in setUp()57 setMockValues(mResourcesSpy, horizon, intercept); in testBrightnessFilter_ZeroIntercept()58 AmbientFilter filter = AmbientFilterFactory.createBrightnessFilter(TAG, mResourcesSpy); in testBrightnessFilter_ZeroIntercept()88 setMockValues(mResourcesSpy, horizon, intercept); in testBrightnessFilter_WithIntercept()89 AmbientFilter filter = AmbientFilterFactory.createBrightnessFilter(TAG, mResourcesSpy); in testBrightnessFilter_WithIntercept()118 }).when(mResourcesSpy).getValue( in setMockValues()122 when(mResourcesSpy.getInteger( in setMockValues()
67 private Resources mResourcesSpy; field in TaskSnapshotPersisterTestBase101 mResourcesSpy = spy(mContextSpy.getResources()); in setUp()102 when(mContextSpy.getResources()).thenReturn(mResourcesSpy); in setUp()103 when(mResourcesSpy.getFloat( in setUp()106 when(mResourcesSpy.getFloat( in setUp()
79 private Resources mResourcesSpy; field in NotifierTest91 mResourcesSpy = spy(mContextSpy.getResources()); in setUp()92 when(mContextSpy.getResources()).thenReturn(mResourcesSpy); in setUp()180 when(mResourcesSpy.getBoolean( in testWirelessAnimationEnabled()196 when(mResourcesSpy.getBoolean( in testWirelessAnimationDisabled()
146 private Resources mResourcesSpy; field in PowerManagerServiceTest199 mResourcesSpy = spy(mContextSpy.getResources()); in setUp()200 when(mContextSpy.getResources()).thenReturn(mResourcesSpy); in setUp()363 when(mResourcesSpy.getInteger( in setAttentiveWarningDuration()369 when(mResourcesSpy.getInteger( in setMinimumScreenOffTimeoutConfig()513 when(mResourcesSpy.getBoolean(com.android.internal.R.bool.config_unplugTurnsOnScreen)) in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()518 when(mResourcesSpy.getBoolean(com.android.internal.R.bool.config_unplugTurnsOnScreen)) in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()554 when(mResourcesSpy.getBoolean( in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()
83 private Resources mResourcesSpy; field in ColorDisplayServiceTest96 mResourcesSpy = Mockito.spy(mContext.getResources()); in setUp()97 when(mContext.getResources()).thenReturn(mResourcesSpy); in setUp()1070 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorModes)) in compositionColorSpaces_noResources()1072 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorSpaces)) in compositionColorSpaces_noResources()1085 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorModes)) in compositionColorSpaces_invalidResources()1090 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorSpaces)) in compositionColorSpaces_invalidResources()1106 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorModes)) in compositionColorSpaces_validResources_validColorMode()1110 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorSpaces)) in compositionColorSpaces_validResources_validColorMode()1125 when(mResourcesSpy.getIntArray(R.array.config_displayCompositionColorModes)) in compositionColorSpaces_validResources_invalidColorMode()[all …]