HomeSort by relevance Sort by last modified time
    Searched refs:Settings (Results 276 - 300 of 1062) sorted by null

<<11121314151617181920>>

  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
SubscriptionControllerTest.java 26 import android.provider.Settings;
169 /* clear settings for default voice/data/sms sub ID */
170 Settings.Global.putInt(mContext.getContentResolver(),
171 Settings.Global.MULTI_SIM_VOICE_CALL_SUBSCRIPTION,
173 Settings.Global.putInt(mContext.getContentResolver(),
174 Settings.Global.MULTI_SIM_DATA_CALL_SUBSCRIPTION,
176 Settings.Global.putInt(mContext.getContentResolver(),
177 Settings.Global.MULTI_SIM_SMS_SUBSCRIPTION,
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
AccessibilityFragment.java 17 package com.android.tv.settings.system;
25 import android.provider.Settings;
41 import com.android.tv.settings.R;
83 highContrastPreference.setChecked(Settings.Secure.getInt(getContext().getContentResolver(),
84 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED, 0) == 1);
103 Settings.Secure.putInt(getActivity().getContentResolver(),
104 Settings.Secure.ACCESSIBILITY_HIGH_TEXT_CONTRAST_ENABLED,
117 final boolean accessibilityEnabled = Settings.Secure.getInt(
119 Settings.Secure.ACCESSIBILITY_ENABLED, 0) == 1;
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
FramedConnection.java 43 import static com.squareup.okhttp.internal.framed.Settings.DEFAULT_INITIAL_WINDOW_SIZE;
113 /** Settings we communicate to the peer. */
114 // TODO: Do we want to dynamically adjust settings, or KISS and only set once?
115 final Settings okHttpSettings = new Settings();
116 // okHttpSettings.set(Settings.MAX_CONCURRENT_STREAMS, 0, max);
119 /** Settings we receive from the peer. */
121 final Settings peerSettings = new Settings();
149 okHttpSettings.set(Settings.INITIAL_WINDOW_SIZE, 0, OKHTTP_CLIENT_WINDOW_SIZE)
685 @Override public void settings(boolean clearPrevious, Settings newSettings) { method in class:FramedConnection.Reader
    [all...]
  /cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
UiAutomationTest.java 28 import android.provider.Settings;
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/core/java/android/speech/tts/
TtsEngines.java 31 import static android.provider.Settings.Secure.getString;
33 import android.provider.Settings;
115 Settings.Secure.TTS_DEFAULT_SYNTH);
195 * @return an intent that can launch the settings activity for a given tts engine.
209 final String settings = settingsActivityFromServiceInfo(service, pm); local
210 if (settings != null) {
212 i.setClassName(engine, settings);
252 final String settings = array.getString( local
256 return settings;
324 * value from {@link Settings.Secure#TTS_DEFAULT_LOCALE}, failing which th
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
AccessibilityManagerServiceTest.java 29 import android.provider.Settings;
579 * settings and waiting until the accessibility manager service pick it up.
581 * @param context A context handle to access the settings.
582 * @param enabled The accessibility state to write to the settings.
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,
602 * names are enabled by writing to the system settings and waiting until the
606 * @param context A context handle to access the settings
    [all...]
  /frameworks/base/core/java/com/android/internal/app/
PlatLogoActivity.java 42 import android.provider.Settings;
119 if (Settings.System.getLong(cr, Settings.System.EGG_MODE, 0)
123 Settings.System.putLong(cr,
124 Settings.System.EGG_MODE,
127 Log.e("PlatLogoActivity", "Can't write settings", e);
  /frameworks/base/services/core/java/com/android/server/lights/
LightsService.java 29 import android.provider.Settings;
185 return Settings.Secure.getIntForUser(getContext().getContentResolver(),
186 Settings.Secure.VR_DISPLAY_MODE,
187 /*default*/Settings.Secure.VR_DISPLAY_MODE_LOW_PERSISTENCE,
197 // User leaves VR mode before altering display settings.
198 if (enabled && vrDisplayMode == Settings.Secure.VR_DISPLAY_MODE_LOW_PERSISTENCE) {
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiNotificationController.java 35 import android.provider.Settings;
148 Settings.Global.WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY, 900) * 1000l;
293 cr.registerContentObserver(Settings.Global.getUriFor(
294 Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON), true, this);
312 Settings.Global.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON, 1) == 1;
  /packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
A2dpService.java 26 import android.provider.Settings;
183 Settings.Global.putInt(getContentResolver(),
184 Settings.Global.getBluetoothA2dpSinkPriorityKey(device.getAddress()),
193 int priority = Settings.Global.getInt(getContentResolver(),
194 Settings.Global.getBluetoothA2dpSinkPriorityKey(device.getAddress()),
  /packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
A2dpSinkService.java 25 import android.provider.Settings;
164 Settings.Global.putInt(getContentResolver(),
165 Settings.Global.getBluetoothA2dpSrcPriorityKey(device.getAddress()),
176 int priority = Settings.Global.getInt(getContentResolver(),
177 Settings.Global.getBluetoothA2dpSrcPriorityKey(device.getAddress()),
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
PbapClientService.java 36 import android.provider.Settings;
313 Settings.Global.putInt(getContentResolver(),
314 Settings.Global.getBluetoothPbapClientPriorityKey(device.getAddress()),
325 int priority = Settings.Global.getInt(getContentResolver(),
326 Settings.Global.getBluetoothPbapClientPriorityKey(device.getAddress()),
  /packages/apps/Messaging/tests/src/com/android/messaging/
FakeFactory.java 22 import android.provider.Settings;
134 // By default only allow reading of system settings (that we provide) - can delegate
136 final FakeContentProvider settings = new FakeContentProvider(context, local
137 Settings.System.CONTENT_URI, false);
138 settings.addOverrideData(Settings.System.CONTENT_URI, "name=?", "time_12_24",
140 settings.addOverrideData(Settings.System.CONTENT_URI, "name=?", "sound_effects_enabled",
143 factory.withProvider(Settings.System.CONTENT_URI, settings);
    [all...]
  /packages/apps/Settings/src/com/android/settings/accessibility/
ToggleScreenMagnificationPreferenceFragment.java 17 package com.android.settings.accessibility;
24 import android.provider.Settings;
41 import com.android.settings.R;
42 import com.android.settings.widget.ToggleSwitch;
43 import com.android.settings.widget.ToggleSwitch.OnBeforeCheckedChangeListener;
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/notification/
NotificationLockscreenPreference.java 17 package com.android.settings.notification;
19 import com.android.settings.R;
20 import com.android.settings.RestrictedListPreference;
21 import com.android.settings.Utils;
31 import android.provider.Settings;
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/Settings/src/com/android/settings/utils/
ServiceListing.java 17 package com.android.settings.utils;
32 import android.provider.Settings;
36 import com.android.settings.utils.ManagedServiceSettings.Config;
79 mContentResolver.registerContentObserver(Settings.Secure.getUriFor(mConfig.setting),
88 final String flat = Settings.Secure.getString(context.getContentResolver(), config.setting);
139 Settings.Secure.putString(mContentResolver, mConfig.setting,
145 final String flat = Settings.Secure.getString(mContentResolver, mConfig.setting);
  /packages/apps/Settings/src/com/android/settings/voice/
VoiceInputHelper.java 17 package com.android.settings.voice;
28 import android.provider.Settings;
56 public final ComponentName settings; field in class:VoiceInputHelper.BaseInfo
65 settings = _settings != null
116 String currentSetting = Settings.Secure.getString(
117 mContext.getContentResolver(), Settings.Secure.VOICE_INTERACTION_SERVICE);
146 currentSetting = Settings.Secure.getString(
147 mContext.getContentResolver(), Settings.Secure.VOICE_RECOGNITION_SERVICE);
  /packages/services/Telephony/src/com/android/phone/
EmergencyCallHelper.java 31 import android.provider.Settings;
327 // Settings activity turns it off.
328 if (Settings.Global.getInt(mApp.getContentResolver(),
329 Settings.Global.AIRPLANE_MODE_ON, 0) > 0) {
333 Settings.Global.putInt(mApp.getContentResolver(),
334 Settings.Global.AIRPLANE_MODE_ON, 0);
342 // (even though the Settings database doesn't think we're
MobileNetworkSettings.java 68 * "Mobile network settings" screen. This preference screen lets you
75 * Settings app. It's not part of the "Call settings" hierarchy that's
105 private static final String UP_ACTIVITY_PACKAGE = "com.android.settings";
107 "com.android.settings.Settings$WirelessSettingsActivity";
214 //displays the value taken from the Settings.System
215 int settingsNetworkMode = android.provider.Settings.Global.getInt(mPhone.getContext().
217 android.provider.Settings.Global.PREFERRED_NETWORK_MODE + phoneSubId,
222 String tmpl = android.provider.Settings.Global.getString(getContentResolver()
    [all...]
  /system/connectivity/shill/
daemon_task_unittest.cc 63 DaemonTaskForTest(const Settings& setttings, Config* config)
64 : DaemonTask(Settings(), config) {}
84 : daemon_(DaemonTask::Settings(), &config_),
118 void ApplySettings(const DaemonTask::Settings& settings) {
119 daemon_.settings_ = settings;
209 DaemonTask::Settings settings; local
220 ApplySettings(settings);
224 settings.device_blacklist = kBlacklistedDevices
    [all...]
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
Spdy3ConnectionTest.java 46 import static com.squareup.okhttp.internal.framed.Settings.DEFAULT_INITIAL_WINDOW_SIZE;
47 import static com.squareup.okhttp.internal.framed.Settings.PERSIST_VALUE;
257 Settings settings = new Settings();
258 settings.set(Settings.MAX_CONCURRENT_STREAMS, PERSIST_VALUE, 10);
259 peer.sendFrame().settings(settings);
267 peer.takeFrame(); // Guarantees that the peer Settings frame has been processed
    [all...]
  /packages/apps/Settings/src/com/android/settings/wfd/
WifiDisplaySettings.java 17 package com.android.settings.wfd;
39 import android.provider.Settings;
62 import com.android.settings.R;
63 import com.android.settings.SettingsPreferenceFragment;
66 * The Settings screen for WifiDisplay configuration and connection management.
160 getContentResolver().registerContentObserver(Settings.Global.getUriFor(
161 Settings.Global.WIFI_DISPLAY_ON), false, mSettingsObserver);
162 getContentResolver().registerContentObserver(Settings.Global.getUriFor(
163 Settings.Global.WIFI_DISPLAY_CERTIFICATION_ON), false, mSettingsObserver);
164 getContentResolver().registerContentObserver(Settings.Global.getUriFor
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
KeyguardDisabledFeaturesActivity.java 26 import android.provider.Settings;
105 new Intent(Settings.ACTION_SECURITY_SETTINGS)));
124 new Intent(Settings.ACTION_SECURITY_SETTINGS)));
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
CreateAndManageUserTest.java 33 import android.provider.Settings;
89 boolean setupComplete = (Settings.Secure.getInt(context.getContentResolver(),
92 } catch (Settings.SettingNotFoundException e) {
93 fail("Did not find settings user_setup_complete");
  /development/samples/SoftKeyboard/src/com/android/inputmethodcommon/
InputMethodSettingsImpl.java 31 import android.provider.Settings;
71 new Intent(Settings.ACTION_INPUT_METHOD_SUBTYPE_SETTINGS);
72 intent.putExtra(Settings.EXTRA_INPUT_METHOD_ID, mImi.getId());

Completed in 722 milliseconds

<<11121314151617181920>>