HomeSort by relevance Sort by last modified time
    Searched defs:Secure (Results 26 - 50 of 115) sorted by null

12 3 4 5

  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/
AccessibilityUtils.java 56 final String enabledServicesSetting = Settings.Secure.getStringForUser(
57 context.getContentResolver(), Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES,
145 Settings.Secure.putStringForUser(context.getContentResolver(),
146 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES,
  /frameworks/base/telecomm/java/android/telecom/
DefaultDialerManager.java 42 * The caller of this method needs to have permission to write to secure settings and
56 * The caller of this method needs to have permission to write to secure settings and
67 String oldPackageName = Settings.Secure.getStringForUser(context.getContentResolver(),
68 Settings.Secure.DIALER_DEFAULT_APPLICATION, user);
79 // Update the secure setting.
80 Settings.Secure.putStringForUser(context.getContentResolver(),
81 Settings.Secure.DIALER_DEFAULT_APPLICATION, packageName, user);
118 String defaultPackageName = Settings.Secure.getStringForUser(context.getContentResolver(),
119 Settings.Secure.DIALER_DEFAULT_APPLICATION, user);
  /packages/apps/Settings/src/com/android/settings/accessibility/
ToggleDaltonizerPreferenceFragment.java 33 private static final String ENABLED = Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED;
34 private static final String TYPE = Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER;
57 Settings.Secure.putInt(getContentResolver(), ENABLED, enabled ? 1 : 0);
63 Settings.Secure.putInt(getContentResolver(), TYPE, Integer.parseInt((String) newValue));
82 Settings.Secure.getInt(getContentResolver(), ENABLED, 0) == 1);
94 Settings.Secure.getInt(getContentResolver(), TYPE, DEFAULT_TYPE));
CaptionPropertiesFragment.java 241 Settings.Secure.putInt(getActivity().getContentResolver(),
242 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, checked ? 1 : 0);
430 Settings.Secure.putInt(
431 cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, merged);
434 Settings.Secure.putInt(
435 cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, merged);
438 Settings.Secure.putInt(
439 cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_WINDOW_COLOR, merged);
441 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_CAPTIONING_EDGE_COLOR, value)
    [all...]
ToggleAutoclickPreferenceFragment.java 98 Settings.Secure.putInt(getContentResolver(), preferenceKey, enabled ? 1 : 0);
113 int delay = Settings.Secure.getInt(
114 getContentResolver(), Settings.Secure.ACCESSIBILITY_AUTOCLICK_DELAY,
129 int value = Settings.Secure.getInt(getContentResolver(),
130 Settings.Secure.ACCESSIBILITY_AUTOCLICK_ENABLED, 0);
144 onPreferenceToggled(Settings.Secure.ACCESSIBILITY_AUTOCLICK_ENABLED, isChecked);
157 Settings.Secure.putInt(getContentResolver(),
158 Settings.Secure.ACCESSIBILITY_AUTOCLICK_DELAY,
ToggleScreenMagnificationPreferenceFragment.java 156 if (Settings.Secure.getInt(getContentResolver(),
157 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, 0) == 0) {
176 Settings.Secure.putInt(getContentResolver(),
177 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, enabled);
  /packages/apps/Settings/src/com/android/settings/applications/
DefaultEmergencyPreference.java 61 String previousValue = Settings.Secure.getString(mContentResolver,
62 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION);
65 Settings.Secure.putString(mContentResolver,
66 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION,
82 String currentPkg = Settings.Secure.getString(mContentResolver,
83 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION);
122 String defaultPackage = Settings.Secure.getString(mContentResolver,
123 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION);
127 Settings.Secure.putString(mContentResolver,
128 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION
    [all...]
  /packages/apps/Settings/src/com/android/settings/location/
LocationSettingsBase.java 100 mode = Settings.Secure.getInt(getContentResolver(), Settings.Secure.LOCATION_MODE,
101 Settings.Secure.LOCATION_MODE_OFF);
111 Settings.Secure.putInt(getContentResolver(), Settings.Secure.LOCATION_MODE, mode);
117 int mode = Settings.Secure.getInt(getContentResolver(), Settings.Secure.LOCATION_MODE,
118 Settings.Secure.LOCATION_MODE_OFF);
  /packages/services/Telephony/src/com/android/phone/
CdmaVoicePrivacyCheckBoxPreference.java 89 android.provider.Settings.Secure.putInt(getContext().getContentResolver(),
90 android.provider.Settings.Secure.ENHANCED_VOICE_PRIVACY_ENABLED, enable);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
ColorAndAppearanceFragment.java 24 import android.provider.Settings.Secure;
89 mNightModeController.setCustomValues(Settings.Secure.getString(
90 getContext().getContentResolver(), Secure.ACCESSIBILITY_DISPLAY_COLOR_MATRIX));
103 Settings.Secure.putString(getContext().getContentResolver(),
104 Settings.Secure.ACCESSIBILITY_DISPLAY_COLOR_MATRIX, null);
181 Settings.Secure.putString(getContext().getContentResolver(),
182 Settings.Secure.ACCESSIBILITY_DISPLAY_COLOR_MATRIX,
  /packages/apps/Settings/src/com/android/settings/nfc/
PaymentBackend.java 155 return Settings.Secure.getInt(mContext.getContentResolver(),
156 Settings.Secure.NFC_PAYMENT_FOREGROUND) != 0;
163 Settings.Secure.putInt(mContext.getContentResolver(),
164 Settings.Secure.NFC_PAYMENT_FOREGROUND, foreground ? 1 : 0) ;
168 String componentString = Settings.Secure.getString(mContext.getContentResolver(),
169 Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT);
178 Settings.Secure.putString(mContext.getContentResolver(),
179 Settings.Secure.NFC_PAYMENT_DEFAULT_COMPONENT,
  /platform_testing/tests/functional/settingstests/src/com/android/settings/functional/
DisplaySettingsTest.java 75 assertTrue(mHelper.verifyToggleSetting(SettingsType.SECURE, PAGE,
77 Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED));
78 assertTrue(mHelper.verifyToggleSetting(SettingsType.SECURE, PAGE,
80 Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED));
87 String initialSetting = Settings.Secure.getString(mResolver, Settings.Secure.DOZE_ENABLED);
89 Settings.Secure.putString(mResolver, Settings.Secure.DOZE_ENABLED, "1");
91 assertTrue(mHelper.verifyToggleSetting(SettingsType.SECURE, PAGE, "Ambient display",
92 Settings.Secure.DOZE_ENABLED))
    [all...]
  /cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
UiAutomationTest.java 390 String enabledServices = Settings.Secure.getString(cr,
391 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES);
392 Settings.Secure.putString(cr, Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES,
394 Settings.Secure.putInt(cr, Settings.Secure.ACCESSIBILITY_ENABLED, 1);
436 Settings.Secure.putString(
437 cr, Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, null);
  /frameworks/base/services/tests/servicestests/src/com/android/server/
AccessibilityManagerServiceTest.java 586 boolean isEnabled = Settings.Secure.getInt(context.getContentResolver(),
587 Settings.Secure.ACCESSIBILITY_ENABLED, 0) == 1;
593 Settings.Secure.putInt(context.getContentResolver(), Settings.Secure.ACCESSIBILITY_ENABLED,
615 String enabledServices = Settings.Secure.getString(context.getContentResolver(),
616 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES);
626 Settings.Secure.putString(context.getContentResolver(),
627 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, servicesToEnable.toString());
  /packages/apps/Settings/src/com/android/settings/inputmethod/
InputMethodAndSubtypeUtil.java 93 return Settings.Secure.getInt(resolver,
94 Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE);
105 Settings.Secure.putInt(resolver, Settings.Secure.SELECTED_INPUT_METHOD_SUBTYPE, hashCode);
111 final String enabledInputMethodsStr = Settings.Secure.getString(
112 resolver, Settings.Secure.ENABLED_INPUT_METHODS);
149 Settings.Secure.putString(resolver,
150 Settings.Secure.ENABLED_INPUT_METHODS, enabledImesAndSubtypesString);
155 String disabledIMEsStr = Settings.Secure.getString(
156 resolver, Settings.Secure.DISABLED_SYSTEM_INPUT_METHODS)
    [all...]
  /frameworks/base/core/java/android/provider/
Settings.java     [all...]
  /frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
BaseSettingsProviderTest.java 78 Settings.Secure.putStringForUser(contentResolver, name, value, userId);
100 return Settings.Secure.getStringForUser(contentResolver, name, userId);
186 return Settings.Secure.CONTENT_URI;
  /frameworks/base/services/core/java/com/android/server/
CertBlacklister.java 73 return Settings.Secure.getString(mContentResolver, mKey);
130 Settings.Secure.getUriFor(PUBKEY_BLACKLIST_KEY),
137 Settings.Secure.getUriFor(SERIAL_BLACKLIST_KEY),
  /frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
VoiceInteractionManagerService.java 243 String curInteractorStr = Settings.Secure.getStringForUser(
245 Settings.Secure.VOICE_INTERACTION_SERVICE, userHandle);
381 String curService = Settings.Secure.getStringForUser(
382 mResolver, Settings.Secure.VOICE_INTERACTION_SERVICE, mCurUser);
467 String curInteractor = Settings.Secure.getStringForUser(
469 Settings.Secure.VOICE_INTERACTION_SERVICE, userHandle);
479 Settings.Secure.putStringForUser(mContext.getContentResolver(),
480 Settings.Secure.VOICE_INTERACTION_SERVICE,
514 String curRecognizer = Settings.Secure.getStringForUser(
516 Settings.Secure.VOICE_RECOGNITION_SERVICE, userHandle)
    [all...]
  /packages/apps/Settings/src/com/android/settings/
ScreenPinningSettings.java 110 return Settings.Secure.getInt(getContentResolver(),
111 Settings.Secure.LOCK_TO_APP_EXIT_LOCKED, def) != 0;
133 Settings.Secure.putInt(getContentResolver(), Settings.Secure.LOCK_TO_APP_EXIT_LOCKED,
  /packages/apps/Settings/src/com/android/settings/notification/
NotificationLockscreenPreference.java 82 mAllowRemoteInput = Settings.Secure.getInt(getContext().getContentResolver(),
83 Settings.Secure.LOCK_SCREEN_ALLOW_REMOTE_INPUT, 0) != 0;
126 Settings.Secure.putInt(getContext().getContentResolver(),
127 Settings.Secure.LOCK_SCREEN_ALLOW_REMOTE_INPUT, mAllowRemoteInput ? 1 : 0);
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
LocationFragment.java 174 int mode = Settings.Secure.LOCATION_MODE_OFF;
179 mode = Settings.Secure.LOCATION_MODE_HIGH_ACCURACY;
181 mode = Settings.Secure.LOCATION_MODE_OFF;
186 int currentMode = Settings.Secure.getInt(getActivity().getContentResolver(),
187 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF);
192 Settings.Secure.putInt(getActivity().getContentResolver(),
193 Settings.Secure.LOCATION_MODE, mode);
204 final int mode = Settings.Secure.getInt(getActivity().getContentResolver(),
205 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF)
    [all...]
TextToSpeechFragment.java 219 mDefaultRate = android.provider.Settings.Secure.getInt(resolver,
220 Settings.Secure.TTS_DEFAULT_RATE);
438 android.provider.Settings.Secure.putInt(getActivity().getContentResolver(),
439 Settings.Secure.TTS_DEFAULT_RATE, mDefaultRate);
580 android.provider.Settings.Secure.putString(getActivity().getContentResolver(),
581 Settings.Secure.TTS_DEFAULT_SYNTH, engine);
  /frameworks/base/media/java/android/media/tv/
TvInputInfo.java     [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
ServiceMonitor.java 41 * Manages a persistent connection to a service component defined in a secure setting.
43 * <p>If a valid service component is specified in the secure setting, starts it up and keeps it
173 cr.registerContentObserver(Settings.Secure.getUriFor(mSettingKey),
188 String cn = Settings.Secure.getStringForUser(mContext.getContentResolver(),
291 Settings.Secure.putStringForUser(mContext.getContentResolver(),

Completed in 1144 milliseconds

12 3 4 5