/packages/apps/Settings/tests/robotests/src/com/android/settings/development/qstile/ |
D | WinscopeTraceTest.java | 58 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/ |
D | ShowRefreshRatePreferenceController.java | 51 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()
|
D | HardwareOverlaysPreferenceController.java | 47 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()
|
D | ShowSurfaceUpdatesPreferenceController.java | 48 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/ |
D | ShowSurfaceUpdatesPreferenceController.java | 48 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()
|
D | HardwareOverlaysPreferenceController.java | 47 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/ |
D | DevelopmentTiles.java | 188 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/ |
D | HardwareOverlaysPreferenceControllerTest.java | 60 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()
|
D | ShowRefreshRatePreferenceControllerTest.java | 60 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()
|
D | ShowSurfaceUpdatesPreferenceControllerTest.java | 60 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/ |
D | DevelopmentTiles.java | 198 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()
|