Searched refs:PROPERTY_PERSISTENT_GRAPHICS_EGL (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Settings/tests/unit/src/com/android/settings/development/graphicsdriver/ |
D | GraphicsDriverEnableAngleAsSystemDriverControllerJUnitTest.java | 22 ….graphicsdriver.GraphicsDriverEnableAngleAsSystemDriverController.PROPERTY_PERSISTENT_GRAPHICS_EGL; 154 final String systemEGLDriver = SystemProperties.get(PROPERTY_PERSISTENT_GRAPHICS_EGL); in onPreferenceChange_switchOn_shouldEnableAngleAsSystemDriver() 174 final String systemEGLDriver = SystemProperties.get(PROPERTY_PERSISTENT_GRAPHICS_EGL); in onPreferenceChange_switchOff_shouldDisableAngleAsSystemDriver() 190 when(mSystemPropertiesMock.get(eq(PROPERTY_PERSISTENT_GRAPHICS_EGL), any())) in updateState_angleIsSystemGLESDriver_PreferenceShouldBeChecked() 198 when(mSystemPropertiesMock.get(eq(PROPERTY_PERSISTENT_GRAPHICS_EGL), any())).thenReturn(""); in updateState_angleIsNotSystemGLESDriver_PreferenceShouldNotBeChecked() 215 final String systemEGLDriver = SystemProperties.get(PROPERTY_PERSISTENT_GRAPHICS_EGL); in onDeveloperOptionSwitchDisabled_angleShouldNotBeSystemGLESDriver() 250 when(mSystemPropertiesMock.get(eq(PROPERTY_PERSISTENT_GRAPHICS_EGL), any())) in onRebootCancelled_ToggleSwitchFromOnToOff() 251 .thenReturn(SystemProperties.get(PROPERTY_PERSISTENT_GRAPHICS_EGL)); in onRebootCancelled_ToggleSwitchFromOnToOff() 260 final String systemEGLDriver = SystemProperties.get(PROPERTY_PERSISTENT_GRAPHICS_EGL); in onRebootCancelled_ToggleSwitchFromOnToOff() 287 when(mSystemPropertiesMock.get(eq(PROPERTY_PERSISTENT_GRAPHICS_EGL), any())) in onRebootCancelled_ToggleSwitchFromOffToOn() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/graphicsdriver/ |
D | GraphicsDriverEnableAngleAsSystemDriverControllerTest.java | 21 ….graphicsdriver.GraphicsDriverEnableAngleAsSystemDriverController.PROPERTY_PERSISTENT_GRAPHICS_EGL; 92 ShadowSystemProperties.override(PROPERTY_PERSISTENT_GRAPHICS_EGL, ANGLE_DRIVER_SUFFIX); in onPreferenceChange_switchOn_shouldEnableAngleAsSystemDriver() 94 final String systemEGLDriver = SystemProperties.get(PROPERTY_PERSISTENT_GRAPHICS_EGL); in onPreferenceChange_switchOn_shouldEnableAngleAsSystemDriver() 108 ShadowSystemProperties.override(PROPERTY_PERSISTENT_GRAPHICS_EGL, ""); in onPreferenceChange_switchOff_shouldDisableAngleAsSystemDriver() 110 final String systemEGLDriver = SystemProperties.get(PROPERTY_PERSISTENT_GRAPHICS_EGL); in onPreferenceChange_switchOff_shouldDisableAngleAsSystemDriver() 117 ShadowSystemProperties.override(PROPERTY_PERSISTENT_GRAPHICS_EGL, ANGLE_DRIVER_SUFFIX); in updateState_angleUsed_preferenceShouldBeChecked() 124 ShadowSystemProperties.override(PROPERTY_PERSISTENT_GRAPHICS_EGL, ""); in updateState_angleNotUsed_preferenceShouldNotBeChecked() 132 final String systemEGLDriver = SystemProperties.get(PROPERTY_PERSISTENT_GRAPHICS_EGL); in onDeveloperOptionSwitchDisabled_shouldDisableAngleAsSystemDriver()
|
/packages/apps/Settings/src/com/android/settings/development/graphicsdriver/ |
D | GraphicsDriverEnableAngleAsSystemDriverController.java | 56 static final String PROPERTY_PERSISTENT_GRAPHICS_EGL = "persist.graphics.egl"; field in GraphicsDriverEnableAngleAsSystemDriverController 109 mSystemProperties.get(PROPERTY_PERSISTENT_GRAPHICS_EGL, ""); 110 Log.v(TAG, "Value of " + PROPERTY_PERSISTENT_GRAPHICS_EGL + " is: " 142 mSystemProperties.get(PROPERTY_PERSISTENT_GRAPHICS_EGL, ""); 152 mSystemProperties.get(PROPERTY_PERSISTENT_GRAPHICS_EGL, ""); 176 mSystemProperties.get(PROPERTY_PERSISTENT_GRAPHICS_EGL, "");
|