/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
DynamicGridKeyboard.java | 26 import com.android.inputmethod.latin.settings.Settings; 143 Settings.writeEmojiRecentKeys(mPrefs, jsonStr); 168 final String str = Settings.readEmojiRecentKeys(mPrefs);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
DecayingExpandableBinaryDictionaryBase.java | 30 import com.android.inputmethod.latin.settings.Settings; 91 Settings.writeLastUserHistoryWriteTime(mPrefs, mLocale); 159 final long last = Settings.readLastUserHistoryWriteTime(mPrefs, locale);
|
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 20 import android.provider.Settings; 131 String value = Settings.System.getString(context.getContentResolver(), 132 Settings.System.TIME_12_24); 230 String value = Settings.System.getString(context.getContentResolver(), 231 Settings.System.DATE_FORMAT); 322 String value = Settings.System.getString(context.getContentResolver(), 323 Settings.System.DATE_FORMAT);
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
DownloadManagerBaseTest.java | 32 import android.provider.Settings; 265 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 273 while (Settings.System.getInt(mContext.getContentResolver(), 274 Settings.Global.AIRPLANE_MODE_ON, -1) != state) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
HeadsetService.java | 31 import android.provider.Settings; 366 Settings.Global.putInt(getContentResolver(), 367 Settings.Global.getBluetoothHeadsetPriorityKey(device.getAddress()), 376 int priority = Settings.Global.getInt(getContentResolver(), 377 Settings.Global.getBluetoothHeadsetPriorityKey(device.getAddress()),
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardViewMediator.java | 22 import static android.provider.Settings.System.SCREEN_OFF_TIMEOUT; 47 import android.provider.Settings; 525 String soundPath = Settings.Global.getString(cr, Settings.Global.LOCK_SOUND); 532 soundPath = Settings.Global.getString(cr, Settings.Global.UNLOCK_SOUND); 632 long displayTimeout = Settings.System.getInt(cr, SCREEN_OFF_TIMEOUT, 636 final long lockAfterTimeout = Settings.Secure.getInt(cr, 637 Settings.Secure.LOCK_SCREEN_LOCK_AFTER_TIMEOUT, [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
WifiWatchdogStateMachine.java | 31 import android.provider.Settings; 32 import android.provider.Settings.Secure; 349 putSettingsGlobalBoolean(contentResolver, Settings.Global.WIFI_WATCHDOG_ON, true); 401 Settings.Global.getUriFor(Settings.Global.WIFI_WATCHDOG_ON), 417 Settings.Global.getUriFor(Settings.Global.WIFI_WATCHDOG_POOR_NETWORK_TEST_ENABLED), 431 mContentResolver, Settings.Global.WIFI_WATCHDOG_ON, true); 437 if (DBG) logd("Updating secure settings"); 445 Settings.Global.WIFI_WATCHDOG_POOR_NETWORK_TEST_ENABLED [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsApplication.java | 33 import android.provider.Settings; 267 String defaultApplication = Settings.Secure.getString(context.getContentResolver(), 268 Settings.Secure.SMS_DEFAULT_APPLICATION); 274 // Picking a new SMS app requires AppOps and Settings.Secure permissions, so we only do 367 * needs to have permission to set AppOps and write to secure settings. 377 String oldPackageName = Settings.Secure.getString(context.getContentResolver(), 378 Settings.Secure.SMS_DEFAULT_APPLICATION); 404 Settings.Secure.putString(context.getContentResolver(), 405 Settings.Secure.SMS_DEFAULT_APPLICATION, applicationData.mPackageName);
|
/packages/apps/Settings/src/com/android/settings/tts/ |
TextToSpeechSettings.java | 17 package com.android.settings.tts; 19 import static android.provider.Settings.Secure.TTS_DEFAULT_RATE; 20 import static android.provider.Settings.Secure.TTS_DEFAULT_SYNTH; 22 import com.android.settings.R; 23 import com.android.settings.SettingsPreferenceFragment; 24 import com.android.settings.tts.TtsEnginePreference.RadioButtonGroupState; 35 import android.provider.Settings; 36 import android.provider.Settings.SettingNotFoundException; 121 * The initialization listener used when we are initalizing the settings 215 mDefaultRate = Settings.Secure.getInt(resolver, TTS_DEFAULT_RATE) [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
GsmServiceStateTracker.java | 38 import android.provider.Settings; 39 import android.provider.Settings.SettingNotFoundException; 218 // system setting property AIRPLANE_MODE_ON is set in Settings. 219 int airplaneMode = Settings.Global.getInt( 221 Settings.Global.AIRPLANE_MODE_ON, 0); 226 Settings.Global.getUriFor(Settings.Global.AUTO_TIME), true, 229 Settings.Global.getUriFor(Settings.Global.AUTO_TIME_ZONE), true, [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContentResolverTest.java | 91 android.provider.Settings.System.putInt(mContentResolver, "__cts_crash_on_launch", 0); 154 android.provider.Settings.System.putInt(mContentResolver, "__cts_crash_on_launch", 1); 156 assertEquals(android.provider.Settings.System.getInt(mContentResolver, 160 android.provider.Settings.System.putInt(mContentResolver, "__cts_crash_on_launch", 0); 355 android.provider.Settings.System.putInt(mContentResolver, "__cts_crash_on_launch", 1); 357 assertEquals(android.provider.Settings.System.getInt(mContentResolver, 360 android.provider.Settings.System.putInt(mContentResolver, "__cts_crash_on_launch", 0); 573 android.provider.Settings.System.putInt(mContentResolver, "__cts_crash_on_launch", 1); 575 assertEquals(android.provider.Settings.System.getInt(mContentResolver, 582 android.provider.Settings.System.putInt(mContentResolver, "__cts_crash_on_launch", 0) [all...] |
/frameworks/base/services/java/com/android/server/print/ |
PrintManagerService.java | 47 import android.provider.Settings; 380 final Uri enabledPrintServicesUri = Settings.Secure.getUriFor( 381 Settings.Secure.ENABLED_PRINT_SERVICES); 427 Settings.Secure.ENABLED_PRINT_SERVICES, 496 Settings.Secure.putStringForUser(mContext.getContentResolver(), 634 Intent intent = new Intent(Settings.ACTION_PRINT_SETTINGS);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
PackageInstallerActivity.java | 40 import android.provider.Settings; 238 Log.i(TAG, "Finishing off activity so that user can navigate to settings manually"); 241 .setPositiveButton(R.string.settings, new DialogInterface.OnClickListener() { 243 Log.i(TAG, "Launching settings"); 328 Intent launchSettingsIntent = new Intent(Settings.ACTION_SECURITY_SETTINGS); 335 return Settings.Global.getInt(getContentResolver(), 336 Settings.Global.INSTALL_NON_MARKET_APPS, 0) > 0; 359 return Settings.Global.getInt(getContentResolver(), 360 Settings.Global.PACKAGE_VERIFIER_ENABLE, 1) > 0;
|
InstallFlowAnalytics.java | 26 import android.provider.Settings; 566 return Settings.Secure.getInt( 568 Settings.Secure.PACKAGE_VERIFIER_USER_CONSENT, 0) != 0;
|
/cts/tests/tests/location2/src/android/location2/cts/ |
LocationManagerTest.java | 37 import android.provider.Settings; 73 if (Settings.Secure.getInt(mContext.getContentResolver(), 74 Settings.Secure.ALLOW_MOCK_LOCATION, 0) == 0) { 75 fail("Mock locations are currently disabled in Settings - this test requires "
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
Settings.js | 51 WebInspector.Settings = function() 118 WebInspector.Settings.prototype = { 249 this._setting = WebInspector.settings.createSetting("experiments", {}); 409 var versionSetting = WebInspector.settings.createSetting("inspectorVersion", 0); 432 this._clearBreakpointsWhenTooMany(WebInspector.settings.breakpoints, 500000); 437 var versionSetting = WebInspector.settings.createSetting("previouslyViewedFiles", []); 443 var fileSystemMappingSetting = WebInspector.settings.createSetting("fileSystemMapping", {}); 450 var advancedMode = WebInspector.settings.createSetting("showHeaSnapshotObjectsHiddenProperties", false).get(); 451 WebInspector.settings.showAdvancedHeapSnapshotProperties.set(advancedMode); 467 WebInspector.settings = new WebInspector.Settings() [all...] |
/external/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
SpdyReader.java | 292 Settings settings = new Settings(); local 298 settings.set(id, idFlags, value); 300 handler.settings(flags, settings); 320 void settings(int flags, Settings settings); method in interface:SpdyReader.Handler
|
/frameworks/base/core/java/android/speech/ |
SpeechRecognizer.java | 30 import android.provider.Settings; 273 String serviceComponent = Settings.Secure.getString(mContext.getContentResolver(), 274 Settings.Secure.VOICE_RECOGNITION_SERVICE);
|
/frameworks/base/core/java/com/android/internal/widget/ |
PasswordEntryKeyboardHelper.java | 27 import android.provider.Settings; 162 final boolean visiblePassword = Settings.System.getInt( 164 Settings.System.TEXT_SHOW_PASSWORD, 1) != 0;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SearchPanelView.java | 32 import android.provider.Settings; 206 if (Settings.System.getIntForUser(context.getContentResolver(), 207 Settings.System.HAPTIC_FEEDBACK_ENABLED, 1, UserHandle.USER_CURRENT) != 0) {
|
/frameworks/base/services/java/com/android/server/location/ |
ComprehensiveCountryDetector.java | 24 import android.provider.Settings; 387 return Settings.Global.getInt( 388 mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 0) == 0;
|
/frameworks/base/services/java/com/android/server/power/ |
Notifier.java | 41 import android.provider.Settings; 508 final String soundPath = Settings.Global.getString(mContext.getContentResolver(), 509 Settings.Global.WIRELESS_CHARGING_STARTED_SOUND);
|
/frameworks/base/services/java/com/android/server/search/ |
Searchables.java | 33 import android.provider.Settings; 299 // Fetch the global search provider from the system settings, 378 return Settings.Secure.getString(mContext.getContentResolver(), 379 Settings.Secure.SEARCH_GLOBAL_SEARCH_ACTIVITY);
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
CreateEventDialogFragment.java | 29 import android.provider.Settings; 253 Intent nextIntent = new Intent(Settings.ACTION_ADD_ACCOUNT); 255 nextIntent.putExtra(Settings.EXTRA_AUTHORITIES, array);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
ClockFragment.java | 30 import android.provider.Settings; 246 Settings.System.getUriFor(Settings.System.NEXT_ALARM_FORMATTED),
|