Home
last modified time | relevance | path

Searched refs:mSurfaceFlinger (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/development/qstile/
DWinscopeTraceTest.java58 private IBinder mSurfaceFlinger; field in WinscopeTraceTest
69 ReflectionHelpers.setField(mWinscopeTrace, "mSurfaceFlinger", mSurfaceFlinger); in setUp()
94 verify(mSurfaceFlinger) in sfReturnsTraceEnabled_shouldReturnEnabled()
97 verifyNoMoreInteractions(mSurfaceFlinger); in sfReturnsTraceEnabled_shouldReturnEnabled()
113 verify(mSurfaceFlinger) in wmAndSfReturnsTraceDisabled_shouldReturnDisabled()
116 verifyNoMoreInteractions(mSurfaceFlinger); in wmAndSfReturnsTraceDisabled_shouldReturnDisabled()
149 verify(mSurfaceFlinger) in setIsEnableTrue_shouldEnableLayerTrace()
152 verifyNoMoreInteractions(mSurfaceFlinger); in setIsEnableTrue_shouldEnableLayerTrace()
169 verify(mSurfaceFlinger) in setIsEnableFalse_shouldDisableLayerTrace()
172 verifyNoMoreInteractions(mSurfaceFlinger); in setIsEnableFalse_shouldDisableLayerTrace()
[all …]
/packages/apps/Settings/src/com/android/settings/development/
DShowRefreshRatePreferenceController.java51 private final IBinder mSurfaceFlinger; field in ShowRefreshRatePreferenceController
55 mSurfaceFlinger = ServiceManager.getService(SURFACE_FLINGER_SERVICE_KEY); in ShowRefreshRatePreferenceController()
91 if (mSurfaceFlinger != null) { in updateShowRefreshRateSetting()
96 mSurfaceFlinger.transact(SURFACE_FLINGER_CODE, data, reply, 0 /* flags */); in updateShowRefreshRateSetting()
110 if (mSurfaceFlinger != null) { in writeShowRefreshRateSetting()
115 mSurfaceFlinger.transact(SURFACE_FLINGER_CODE, data, in writeShowRefreshRateSetting()
DHardwareOverlaysPreferenceController.java47 private final IBinder mSurfaceFlinger; field in HardwareOverlaysPreferenceController
51 mSurfaceFlinger = ServiceManager.getService(SURFACE_FLINGER_SERVICE_KEY); in HardwareOverlaysPreferenceController()
85 if (mSurfaceFlinger == null) { in updateHardwareOverlaysSetting()
93 mSurfaceFlinger.transact(SURFACE_FLINGER_READ_CODE, data, reply, 0 /* flags */); in updateHardwareOverlaysSetting()
109 if (mSurfaceFlinger == null) { in writeHardwareOverlaysSetting()
117 mSurfaceFlinger.transact(SURFACE_FLINGER_DISABLE_OVERLAYS_CODE, data, in writeHardwareOverlaysSetting()
DShowSurfaceUpdatesPreferenceController.java48 private final IBinder mSurfaceFlinger; field in ShowSurfaceUpdatesPreferenceController
52 mSurfaceFlinger = ServiceManager.getService(SURFACE_FLINGER_SERVICE_KEY); in ShowSurfaceUpdatesPreferenceController()
88 if (mSurfaceFlinger != null) { in updateShowUpdatesSetting()
92 mSurfaceFlinger.transact(SURFACE_FLINGER_READ_CODE, data, reply, 0 /* flags */); in updateShowUpdatesSetting()
108 if (mSurfaceFlinger != null) { in writeShowUpdatesSetting()
113 mSurfaceFlinger.transact(SURFACE_FLINGER_WRITE_SURFACE_UPDATES_CODE, data, in writeShowUpdatesSetting()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DShowSurfaceUpdatesPreferenceController.java48 private final IBinder mSurfaceFlinger; field in ShowSurfaceUpdatesPreferenceController
52 mSurfaceFlinger = ServiceManager.getService(SURFACE_FLINGER_SERVICE_KEY); in ShowSurfaceUpdatesPreferenceController()
88 if (mSurfaceFlinger != null) { in updateShowUpdatesSetting()
92 mSurfaceFlinger.transact(SURFACE_FLINGER_READ_CODE, data, reply, 0 /* flags */); in updateShowUpdatesSetting()
108 if (mSurfaceFlinger != null) { in writeShowUpdatesSetting()
113 mSurfaceFlinger.transact(SURFACE_FLINGER_WRITE_SURFACE_UPDATES_CODE, data, in writeShowUpdatesSetting()
DHardwareOverlaysPreferenceController.java47 private final IBinder mSurfaceFlinger; field in HardwareOverlaysPreferenceController
51 mSurfaceFlinger = ServiceManager.getService(SURFACE_FLINGER_SERVICE_KEY); in HardwareOverlaysPreferenceController()
85 if (mSurfaceFlinger == null) { in updateHardwareOverlaysSetting()
93 mSurfaceFlinger.transact(SURFACE_FLINGER_READ_CODE, data, reply, 0 /* flags */); in updateHardwareOverlaysSetting()
109 if (mSurfaceFlinger == null) { in writeHardwareOverlaysSetting()
117 mSurfaceFlinger.transact(SURFACE_FLINGER_DISABLE_OVERLAYS_CODE, data, in writeHardwareOverlaysSetting()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/qstile/
DDevelopmentTiles.java188 private IBinder mSurfaceFlinger; field in DevelopmentTiles.WinscopeTrace
196 mSurfaceFlinger = ServiceManager.getService("SurfaceFlinger"); in onCreate()
217 if (mSurfaceFlinger != null) { in isLayerTraceEnabled()
221 mSurfaceFlinger.transact(SURFACE_FLINGER_LAYER_TRACE_STATUS_CODE, in isLayerTraceEnabled()
256 if (mSurfaceFlinger != null) { in setLayerTraceEnabled()
260 mSurfaceFlinger.transact(SURFACE_FLINGER_LAYER_TRACE_CONTROL_CODE, in setLayerTraceEnabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DHardwareOverlaysPreferenceControllerTest.java60 private IBinder mSurfaceFlinger; field in HardwareOverlaysPreferenceControllerTest
68 ReflectionHelpers.setField(mController, "mSurfaceFlinger", mSurfaceFlinger); in setUp()
92 doReturn(true).when(mSurfaceFlinger) in updateState_settingEnabled_shouldCheckPreference()
103 doReturn(true).when(mSurfaceFlinger) in updateState_settingDisabled_shouldUnCheckPreference()
DShowRefreshRatePreferenceControllerTest.java60 private IBinder mSurfaceFlinger; field in ShowRefreshRatePreferenceControllerTest
68 ReflectionHelpers.setField(mController, "mSurfaceFlinger", mSurfaceFlinger); in setUp()
92 doReturn(true).when(mSurfaceFlinger) in updateState_settingEnabled_shouldCheckPreference()
103 doReturn(true).when(mSurfaceFlinger) in updateState_settingDisabled_shouldUnCheckPreference()
DShowSurfaceUpdatesPreferenceControllerTest.java60 private IBinder mSurfaceFlinger; field in ShowSurfaceUpdatesPreferenceControllerTest
68 ReflectionHelpers.setField(mController, "mSurfaceFlinger", mSurfaceFlinger); in setUp()
92 doReturn(true).when(mSurfaceFlinger) in updateState_settingEnabled_shouldCheckPreference()
103 doReturn(true).when(mSurfaceFlinger) in updateState_settingDisabled_shouldUnCheckPreference()
/packages/apps/Settings/src/com/android/settings/development/qstile/
DDevelopmentTiles.java198 private IBinder mSurfaceFlinger; field in DevelopmentTiles.WinscopeTrace
206 mSurfaceFlinger = ServiceManager.getService("SurfaceFlinger"); in onCreate()
227 if (mSurfaceFlinger != null) { in isLayerTraceEnabled()
231 mSurfaceFlinger.transact(SURFACE_FLINGER_LAYER_TRACE_STATUS_CODE, in isLayerTraceEnabled()
279 if (mSurfaceFlinger != null) { in setLayerTraceEnabled()
283 mSurfaceFlinger.transact(SURFACE_FLINGER_LAYER_TRACE_CONTROL_CODE, in setLayerTraceEnabled()