Home
last modified time | relevance | path

Searched refs:putSecureSetting (Results 1 – 14 of 14) sorted by relevance

/cts/tests/accessibility/src/android/view/accessibility/cts/
DCaptioningManagerTest.java84 putSecureSetting("accessibility_captioning_enabled","0"); in testChangeListener()
85 putSecureSetting("accessibility_captioning_preset", "1"); in testChangeListener()
86 putSecureSetting("accessibility_captioning_locale", "en_US"); in testChangeListener()
87 putSecureSetting("accessibility_captioning_font_scale", "1.0"); in testChangeListener()
90 putSecureSetting("odi_captions_enabled", "0"); in testChangeListener()
91 putSecureSetting("odi_captions_volume_ui_enabled", "0"); in testChangeListener()
96 putSecureSetting("accessibility_captioning_enabled", "1"); in testChangeListener()
100 putSecureSetting("accessibility_captioning_preset", "-1"); in testChangeListener()
104 putSecureSetting("accessibility_captioning_locale", "ja_JP"); in testChangeListener()
107 putSecureSetting("accessibility_captioning_font_scale", "2.0"); in testChangeListener()
[all …]
DAccessibilityManagerTest.java559 putSecureSetting(automan, ENABLED_ACCESSIBILITY_AUDIO_DESCRIPTION_BY_DEFAULT, "1"); in testAudioDescriptionRequestedChangeListenerWithExecutor()
565 putSecureSetting(automan, ENABLED_ACCESSIBILITY_AUDIO_DESCRIPTION_BY_DEFAULT, "0"); in testAudioDescriptionRequestedChangeListenerWithExecutor()
584 putSecureSetting(automan, ENABLED_ACCESSIBILITY_AUDIO_DESCRIPTION_BY_DEFAULT, "1"); in testIsAudioDescriptionEnabled()
593 putSecureSetting(automan, ENABLED_ACCESSIBILITY_AUDIO_DESCRIPTION_BY_DEFAULT, "0"); in testIsAudioDescriptionEnabled()
715 putSecureSetting(automan, ACCESSIBILITY_INTERACTIVE_UI_TIMEOUT_MS, null); in turnOffRecommendedUiTimoutSettings()
716 putSecureSetting(automan, ACCESSIBILITY_NON_INTERACTIVE_UI_TIMEOUT_MS, null); in turnOffRecommendedUiTimoutSettings()
721 putSecureSetting(automan, ACCESSIBILITY_INTERACTIVE_UI_TIMEOUT_MS, in turnOnRecommendedUiTimoutSettings()
723 putSecureSetting(automan, ACCESSIBILITY_NON_INTERACTIVE_UI_TIMEOUT_MS, in turnOnRecommendedUiTimoutSettings()
737 private void putSecureSetting(UiAutomation automan, String name, String value) { in putSecureSetting() method in AccessibilityManagerTest
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DNormalizeScreenStateRule.java78 private void putSecureSetting(String key, String value) { in putSecureSetting() method in NormalizeScreenStateRule
103 Arrays.stream(DOZE_SETTINGS).forEach(k -> putSecureSetting(k, "0")); in apply()
107 k -> putSecureSetting(k, initialValues.get(k))); in apply()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DInstrumentedAccessibilityService.java193 .putSecureSetting( in enableServiceWithoutWait()
196 .putSecureSetting(Settings.Secure.ACCESSIBILITY_ENABLED, "1") in enableServiceWithoutWait()
220 .putSecureSetting( in enableService()
DShellCommandBuilder.java74 public ShellCommandBuilder putSecureSetting(String name, String value) { in putSecureSetting() method in ShellCommandBuilder
DAccessibilityShortcutSettingsRule.java183 command.putSecureSetting(settingName, newUseShortcutList); in updateShortcutSetting()
/cts/tests/tests/widget29/src/android/widget/cts29/
DToastTest.java258 putSecureSetting(SETTINGS_ACCESSIBILITY_UI_TIMEOUT, in testAccessDuration_withA11yTimeoutEnabled()
268 putSecureSetting(SETTINGS_ACCESSIBILITY_UI_TIMEOUT, originalSetting); in testAccessDuration_withA11yTimeoutEnabled()
299 private void putSecureSetting(String name, String value) { in putSecureSetting() method in ToastTest
/cts/tests/tests/widget/src/android/widget/cts/
DToastTest.java508 putSecureSetting(SETTINGS_ACCESSIBILITY_UI_TIMEOUT, in testAccessDuration_whenCustomToastAndWithA11yTimeoutEnabled()
519 putSecureSetting(SETTINGS_ACCESSIBILITY_UI_TIMEOUT, originalSetting); in testAccessDuration_whenCustomToastAndWithA11yTimeoutEnabled()
540 putSecureSetting(SETTINGS_ACCESSIBILITY_UI_TIMEOUT, in testAccessDuration_whenTextToastAndWithA11yTimeoutEnabled()
552 putSecureSetting(SETTINGS_ACCESSIBILITY_UI_TIMEOUT, originalSetting); in testAccessDuration_whenTextToastAndWithA11yTimeoutEnabled()
583 private void putSecureSetting(String name, String value) { in putSecureSetting() method in ToastTest
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DTouchInteractionControllerTest.java155 .putSecureSetting(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, sEnabledServices) in postTestTearDown()
DFullScreenMagnificationGestureHandlerTest.java174 .putSecureSetting(ACCESSIBILITY_SINGLE_FINGER_PANNING_ENABLED, "0") in setUp()
DTouchExplorerTest.java173 .putSecureSetting(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, sEnabledServices) in postTestTearDown()
DAccessibilityEndToEndTest.java1937 .putSecureSetting(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, in testUninstallPackage_DisablesMultipleServices()
1956 .putSecureSetting(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, in testUninstallPackage_DisablesMultipleServices()
2271 .putSecureSetting( in testUpdateServiceWithoutIntent_disablesService()
2319 .putSecureSetting( in testUpdateServiceWithoutIntent_disablesService()
DAccessibilityDisplayProxyTest.java308 .putSecureSetting(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, sEnabledServices) in postTestTearDown()
1259 .putSecureSetting( in testOnA11yServicesStateChanged_enableService_notifiesNonProxiedApp()
DAccessibilityMagnificationTest.java1016 .putSecureSetting(ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, "1") in testGetMagnificationRegion_whenMagnificationGesturesEnabled_shouldNotBeEmpty()