Home
last modified time | relevance | path

Searched refs:TRANSCODE_ENABLED_PROP_KEY (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/development/transcode/
DTranscodeGlobalTogglePreferenceControllerTest.java37 private static final String TRANSCODE_ENABLED_PROP_KEY = "persist.sys.fuse.transcode_enabled"; field in TranscodeGlobalTogglePreferenceControllerTest
57 SystemProperties.set(TRANSCODE_ENABLED_PROP_KEY, "false"); in isChecked_whenDisabled_shouldReturnFalse()
63 SystemProperties.set(TRANSCODE_ENABLED_PROP_KEY, "true"); in isChecked_whenEnabled_shouldReturnTrue()
73 assertThat(SystemProperties.getBoolean(TRANSCODE_ENABLED_PROP_KEY, false)).isTrue(); in setChecked_withTrue_shouldUpdateSystemProperty()
82 assertThat(SystemProperties.getBoolean(TRANSCODE_ENABLED_PROP_KEY, true)).isFalse(); in setChecked_withFalse_shouldUpdateSystemProperty()
/packages/apps/Settings/src/com/android/settings/development/transcode/
DTranscodeGlobalTogglePreferenceController.java32 private static final String TRANSCODE_ENABLED_PROP_KEY = "persist.sys.fuse.transcode_enabled"; field in TranscodeGlobalTogglePreferenceController
50 return SystemProperties.getBoolean(TRANSCODE_ENABLED_PROP_KEY, true); in isChecked()
55 SystemProperties.set(TRANSCODE_ENABLED_PROP_KEY, String.valueOf(isChecked)); in setChecked()