Searched refs:Settings (Results 201 - 225 of 424) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/speech/
H A DSpeechRecognizer.java30 import android.provider.Settings;
273 String serviceComponent = Settings.Secure.getString(mContext.getContentResolver(),
274 Settings.Secure.VOICE_RECOGNITION_SERVICE);
/frameworks/base/core/java/android/widget/
H A DTextClock.java35 import android.provider.Settings;
574 resolver.registerContentObserver(Settings.System.CONTENT_URI, true,
577 resolver.registerContentObserver(Settings.System.CONTENT_URI, true,
/frameworks/base/core/java/com/android/internal/app/
H A DLocalePicker.java31 import android.provider.Settings;
175 boolean isInDeveloperMode = Settings.Global.getInt(context.getContentResolver(),
176 Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0) != 0;
279 // Trigger the dirty bit for the Settings Provider.
H A DLocaleStore.java20 import android.provider.Settings;
212 * in a different country, without restarting the Settings application or the phone.</p>
274 boolean isInDeveloperMode = Settings.Global.getInt(context.getContentResolver(),
275 Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0) != 0;
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java41 import android.provider.Settings;
139 private static final String LOCK_SCREEN_OWNER_INFO = Settings.Secure.LOCK_SCREEN_OWNER_INFO;
141 Settings.Secure.LOCK_SCREEN_OWNER_INFO_ENABLED;
1088 setBoolean(Settings.Secure.LOCK_PATTERN_ENABLED, true, userId);
1100 return getBoolean(Settings.Secure.LOCK_PATTERN_VISIBLE, false, userId);
1107 setBoolean(Settings.Secure.LOCK_PATTERN_VISIBLE, enabled, userId);
1155 return Settings.System.getIntForUser(mContentResolver,
1156 Settings.System.HAPTIC_FEEDBACK_ENABLED, 1, UserHandle.USER_CURRENT) != 0;
1316 final int value = Settings.Global.getInt(mContentResolver,
1317 Settings
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
H A DAssistManager.java23 import android.provider.Settings;
206 boolean structureEnabled = Settings.Secure.getIntForUser(mContext.getContentResolver(),
207 Settings.Secure.ASSIST_STRUCTURE_ENABLED, 1, UserHandle.USER_CURRENT) != 0;
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DFalsingManager.java30 import android.provider.Settings;
98 Settings.Secure.getUriFor(ENFORCE_BOUNCER), false,
113 mEnforceBouncer = 0 != Settings.Secure.getInt(mContext.getContentResolver(),
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DRecentsTaskLoadPlan.java28 import android.provider.Settings;
29 import android.provider.Settings.Secure;
146 long lastStackActiveTime = Settings.Secure.getLongForUser(mContext.getContentResolver(),
/frameworks/base/services/core/java/com/android/server/
H A DTextServicesManagerService.java55 import android.provider.Settings;
1094 * (e.g. {@link Settings.Secure#SELECTED_SPELL_CHECKER}) we use the actual settings on the
1095 * {@link Settings.Secure} until we do the first write operation.
1116 Settings.Secure.putStringForUser(mResolver, key, str, mCurrentUserId);
1126 result = Settings.Secure.getStringForUser(mResolver, key, mCurrentUserId);
1135 Settings.Secure.putIntForUser(mResolver, key, value, mCurrentUserId);
1144 return Settings.Secure.getIntForUser(mResolver, key, defaultValue, mCurrentUserId);
1180 putString(Settings.Secure.SELECTED_SPELL_CHECKER, null);
1182 putString(Settings.Secure.SELECTED_SPELL_CHECKER, sciId);
1187 putInt(Settings
[all...]
H A DBatteryService.java52 import android.provider.Settings;
225 resolver.registerContentObserver(Settings.Global.getUriFor(
226 Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL),
237 mLowBatteryWarningLevel = Settings.Global.getInt(resolver,
238 Settings.Global.LOW_POWER_MODE_TRIGGER_LEVEL, defWarnLevel);
623 String dischargeThresholdString = Settings.Global.getString(cr,
624 Settings.Global.BATTERY_DISCHARGE_THRESHOLD);
625 String durationThresholdString = Settings.Global.getString(cr,
626 Settings.Global.BATTERY_DISCHARGE_DURATION_THRESHOLD);
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DIpConnectivityMetrics.java29 import android.provider.Settings;
314 int size = Settings.Global.getInt(ctx.getContentResolver(),
315 Settings.Global.CONNECTIVITY_METRICS_BUFFER_SIZE, DEFAULT_BUFFER_SIZE);
/frameworks/base/services/core/java/com/android/server/location/
H A DComprehensiveCountryDetector.java24 import android.provider.Settings;
386 return Settings.Global.getInt(
387 mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 0) == 0;
/frameworks/base/services/core/java/com/android/server/policy/
H A DPolicyControl.java22 import android.provider.Settings;
39 * Control by setting {@link Settings.Global.POLICY_CONTROL} to one or more name-value pairs.
117 value = Settings.Global.getStringForUser(context.getContentResolver(),
118 Settings.Global.POLICY_CONTROL,
/frameworks/base/services/core/java/com/android/server/search/
H A DSearchManagerService.java39 import android.provider.Settings;
199 Settings.Secure.getUriFor(Settings.Secure.SEARCH_GLOBAL_SEARCH_ACTIVITY),
H A DSearchables.java33 import android.provider.Settings;
380 return Settings.Secure.getString(mContext.getContentResolver(),
381 Settings.Secure.SEARCH_GLOBAL_SEARCH_ACTIVITY);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DCertificateMonitor.java36 import android.provider.Settings;
201 Intent dialogIntent = new Intent(Settings.ACTION_MONITORING_CERT_INFO);
203 dialogIntent.putExtra(Settings.EXTRA_NUMBER_OF_CERTIFICATES, pendingCertificateCount);
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DTestInteractionActivity.java24 import android.provider.Settings;
130 Intent intent = new Intent(Settings.ACTION_VOICE_CONTROL_AIRPLANE_MODE);
132 intent.putExtra(Settings.EXTRA_AIRPLANE_MODE_ENABLED, true);
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
H A DSyncOperationTest.java25 import android.provider.Settings;
/frameworks/base/media/java/android/media/tv/
H A DTvInputInfo.java41 import android.provider.Settings;
341 * @deprecated Use {@link #createSetupIntent()} instead. Settings activity is deprecated.
998 String hiddenIdsString = Settings.Secure.getStringForUser(
999 context.getContentResolver(), Settings.Secure.TV_INPUT_HIDDEN_INPUTS, userId);
1020 String labelsString = Settings.Secure.getStringForUser(
1021 context.getContentResolver(), Settings.Secure.TV_INPUT_CUSTOM_LABELS, userId);
1057 Settings.Secure.putStringForUser(context.getContentResolver(),
1058 Settings.Secure.TV_INPUT_HIDDEN_INPUTS, builder.toString(), userId);
1096 Settings.Secure.putStringForUser(context.getContentResolver(),
1097 Settings
[all...]
/frameworks/base/services/core/java/com/android/server/vr/
H A DVrManagerService.java43 import android.provider.Settings;
579 Settings.Secure.ENABLED_VR_LISTENERS, looper,
827 Settings.Secure.putStringForUser(resolver,
828 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS,
850 Settings.Secure.putStringForUser(resolver,
851 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS,
891 String flat = Settings.Secure.getStringForUser(resolver,
892 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, userId);
969 R.string.vr_listener_binding_label, Settings.ACTION_VR_LISTENER_SETTINGS,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcTracker.java56 import android.provider.Settings;
57 import android.provider.Settings.SettingNotFoundException;
336 mNetStatPollPeriod = Settings.Global.getInt(mResolver,
337 Settings.Global.PDP_WATCHDOG_POLL_INTERVAL_MS, POLL_NETSTAT_MILLIS);
339 mNetStatPollPeriod = Settings.Global.getInt(mResolver,
340 Settings.Global.PDP_WATCHDOG_LONG_POLL_INTERVAL_MS,
425 Settings.Global.getUriFor(Settings.Global.DATA_ROAMING + simSuffix),
428 Settings.Global.getUriFor(Settings
[all...]
/frameworks/base/media/java/android/media/
H A DMediaScanner.java42 import android.provider.Settings;
43 import android.provider.Settings.SettingNotFoundException;
357 * ringtones. Concatenate the name of the setting from Settings
455 + Settings.System.RINGTONE);
457 + Settings.System.NOTIFICATION_SOUND);
459 + Settings.System.ALARM_ALERT);
1092 setRingtoneIfNotSet(Settings.System.NOTIFICATION_SOUND, tableUri, rowId);
1095 setRingtoneIfNotSet(Settings.System.RINGTONE, tableUri, rowId);
1098 setRingtoneIfNotSet(Settings.System.ALARM_ALERT, tableUri, rowId);
1119 String existingSettingValue = Settings
[all...]
/frameworks/base/core/java/android/os/storage/
H A DStorageManager.java54 import android.provider.Settings;
1168 final long lowPercent = Settings.Global.getInt(mResolver,
1169 Settings.Global.SYS_STORAGE_THRESHOLD_PERCENTAGE, DEFAULT_THRESHOLD_PERCENTAGE);
1172 final long maxLowBytes = Settings.Global.getLong(mResolver,
1173 Settings.Global.SYS_STORAGE_THRESHOLD_MAX_BYTES, DEFAULT_THRESHOLD_MAX_BYTES);
1185 final long cachePercent = Settings.Global.getInt(mResolver,
1186 Settings.Global.SYS_STORAGE_CACHE_PERCENTAGE, DEFAULT_CACHE_PERCENTAGE);
1189 final long maxCacheBytes = Settings.Global.getLong(mResolver,
1190 Settings.Global.SYS_STORAGE_CACHE_MAX_BYTES, DEFAULT_CACHE_MAX_BYTES);
1202 return Settings
[all...]
/frameworks/base/core/java/android/provider/
H A DBrowserContract.java690 public static final class Settings { class in class:BrowserContract
694 private Settings() {} method in class:BrowserContract.Settings
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
H A DRemoteDisplayProvider.java31 import android.provider.Settings;
290 Intent settingsIntent = new Intent(Settings.ACTION_CAST_SETTINGS);

Completed in 590 milliseconds

1234567891011>>