/packages/apps/Contacts/src/com/android/contacts/group/ |
GroupBrowseListFragment.java | 31 import android.provider.Settings; 141 Intent intent = new Intent(Settings.ACTION_ADD_ACCOUNT); 143 intent.putExtra(Settings.EXTRA_AUTHORITIES,
|
/packages/apps/Contacts/tests/src/com/android/contacts/editor/ |
EditorUiUtilsTest.java | 27 import android.provider.Settings; 153 assertNull(EditorUiUtils.getRingtoneStringFromUri(Settings.System.DEFAULT_RINGTONE_URI, 162 assertNull(EditorUiUtils.getRingtoneStringFromUri(Settings.System.DEFAULT_RINGTONE_URI,
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
Screensaver.java | 28 import android.provider.Settings; 35 import com.android.deskclock.settings.ScreensaverSettingsActivity; 146 Settings.System.getUriFor(Settings.System.NEXT_ALARM_FORMATTED),
|
ScreensaverActivity.java | 28 import android.provider.Settings; 120 Settings.System.getUriFor(Settings.System.NEXT_ALARM_FORMATTED),
|
/packages/apps/Email/provider_src/com/android/email/ |
AttachmentInfo.java | 32 import android.provider.Settings; 156 sideloadEnabled = Settings.Secure.getInt(context.getContentResolver(), 157 Settings.Secure.INSTALL_NON_MARKET_APPS, 0 /* sideload disabled */) == 1;
|
/packages/apps/Settings/src/com/android/settings/backup/ |
ToggleBackupSettingFragment.java | 1 package com.android.settings.backup; 11 import android.provider.Settings; 20 import com.android.settings.R; 21 import com.android.settings.SettingsActivity; 22 import com.android.settings.SettingsPreferenceFragment; 23 import com.android.settings.widget.SwitchBar; 24 import com.android.settings.widget.ToggleSwitch; 87 if (Settings.Secure.getInt(getContentResolver(), USER_FULL_DATA_BACKUP_AWARE, 0) != 0) { 177 if (Settings.Secure.getInt(getContentResolver(), USER_FULL_DATA_BACKUP_AWARE, 0) != 0) {
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiApEnabler.java | 17 package com.android.settings.wifi; 26 import android.provider.Settings; 29 import com.android.settings.R; 30 import com.android.settings.datausage.DataSaverBackend; 103 boolean isAirplaneMode = Settings.Global.getInt(mContext.getContentResolver(), 104 Settings.Global.AIRPLANE_MODE_ON, 0) != 0;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
DynamicGridKeyboard.java | 25 import com.android.inputmethod.latin.settings.Settings; 142 Settings.writeEmojiRecentKeys(mPrefs, jsonStr); 170 final String str = Settings.readEmojiRecentKeys(mPrefs);
|
EmojiCategory.java | 34 import com.android.inputmethod.latin.settings.Settings; 208 mCurrentCategoryId = Settings.readLastShownEmojiCategoryId(mPrefs, defaultCategoryId); 280 Settings.writeLastShownEmojiCategoryId(mPrefs, categoryId); 292 Settings.writeLastTypedEmojiCategoryPageId( 313 Settings.readLastTypedEmojiCategoryPageId(mPrefs, categoryId);
|
/packages/services/Telephony/src/com/android/services/telephony/ |
CdmaConnection.java | 22 import android.provider.Settings; 30 import com.android.phone.settings.SettingsConstants; 231 * Read the settings to determine which type of DTMF method this CDMA phone calls. 238 int dtmfTypeSetting = Settings.System.getInt( 240 Settings.System.DTMF_TONE_TYPE_WHEN_DIALING,
|
/frameworks/base/services/core/java/com/android/server/policy/ |
PhoneWindowManager.java | 104 import android.provider.Settings; 624 // Behavior of ENDCALL Button. (See Settings.System.END_BUTTON_BEHAVIOR.) 628 // (See Settings.Secure.INCALL_POWER_BUTTON_BEHAVIOR.) [all...] |
ImmersiveModeConfirmation.java | 33 import android.provider.Settings; 99 value = Settings.Secure.getStringForUser(mContext.getContentResolver(), 100 Settings.Secure.IMMERSIVE_MODE_CONFIRMATIONS, 113 Settings.Secure.putStringForUser(mContext.getContentResolver(), 114 Settings.Secure.IMMERSIVE_MODE_CONFIRMATIONS,
|
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/ |
DownloadManagerBaseTest.java | 34 import android.provider.Settings; 331 Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.AIRPLANE_MODE_ON, 339 while (Settings.System.getInt(mContext.getContentResolver(), 340 Settings.Global.AIRPLANE_MODE_ON, -1) != state) {
|
/frameworks/base/services/core/java/com/android/server/ |
NetworkScoreService.java | 38 import android.provider.Settings; 168 if (Settings.Global.getInt(cr, Settings.Global.NETWORK_SCORING_PROVISIONED, 0) == 0) { 176 Settings.Global.putInt(cr, Settings.Global.NETWORK_SCORING_PROVISIONED, 1); 349 // safety as scores should never be compared across apps; in practice, Settings should
|
/frameworks/base/services/core/java/com/android/server/display/ |
OverlayDisplayAdapter.java | 27 import android.provider.Settings; 44 * for development purposes. Use Development Settings to enable one or more 54 * {@link android.provider.Settings.Global#OVERLAY_DISPLAY_DEVICES} setting. This setting should be 117 Settings.Global.getUriFor(Settings.Global.OVERLAY_DISPLAY_DEVICES), 137 String value = Settings.Global.getString(getContext().getContentResolver(), 138 Settings.Global.OVERLAY_DISPLAY_DEVICES);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
ConditionProviders.java | 29 import android.provider.Settings; 83 c.secureSettingName = Settings.Secure.ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES; 84 c.secondarySettingName = Settings.Secure.ENABLED_NOTIFICATION_LISTENERS; 86 c.settingsAction = Settings.ACTION_CONDITION_PROVIDER_SETTINGS; 263 String settingValue = Settings.Secure.getStringForUser(
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
ToggleAccessibilityServicePreferenceFragment.java | 17 package com.android.settings.accessibility; 34 import android.provider.Settings; 47 import com.android.settings.ConfirmDeviceCredentialActivity; 48 import com.android.settings.R; 49 import com.android.settings.widget.ToggleSwitch; 50 import com.android.settings.widget.ToggleSwitch.OnBeforeCheckedChangeListener; 188 final String settingValue = Settings.Secure.getString(getContentResolver(), 189 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES); 289 Settings.Global.putInt(getContentResolver(), 290 Settings.Global.REQUIRE_PASSWORD_TO_DECRYPT, 0) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/ |
AboutFragment.java | 17 package com.android.tv.settings.about; 31 import android.provider.Settings; 45 import com.android.tv.settings.LongClickPreference; 46 import com.android.tv.settings.PreferenceUtils; 47 import com.android.tv.settings.R; 48 import com.android.tv.settings.name.DeviceManager; 176 // Read platform settings for additional system update setting 209 final boolean developerEnabled = Settings.Global.getInt(getActivity().getContentResolver(), 210 Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 276 Settings.Global.putInt(getActivity().getContentResolver() [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CallFeaturesSetting.java | 39 import android.provider.Settings; 55 import com.android.phone.settings.AccountSelectionPreference; 56 import com.android.phone.settings.PhoneAccountSettingsFragment; 57 import com.android.phone.settings.VoicemailSettingsActivity; 58 import com.android.phone.settings.fdn.FdnSetting; 66 * Top level "Call settings" UI; see res/xml/call_feature_setting.xml 68 * This preference screen is the root of the "Call settings" hierarchy available from the Phone 69 * app; the settings here let you control various features related to phone calls (including 70 * voicemail settings, the "Respond via SMS" feature, and others.) It's used only on 77 * For the "Mobile network settings" screen under the main Settings app [all...] |
EmergencyActionGroup.java | 29 import android.provider.Settings; 183 Settings.Secure.putString(getContext().getContentResolver(), 184 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION, 196 String assistPackage = Settings.Secure.getString( 198 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcTracker.java | 57 import android.provider.Settings; 58 import android.provider.Settings.SettingNotFoundException; 344 mNetStatPollPeriod = Settings.Global.getInt(mResolver, 345 Settings.Global.PDP_WATCHDOG_POLL_INTERVAL_MS, POLL_NETSTAT_MILLIS); 347 mNetStatPollPeriod = Settings.Global.getInt(mResolver, 348 Settings.Global.PDP_WATCHDOG_LONG_POLL_INTERVAL_MS, 435 Settings.Global.getUriFor(Settings.Global.DATA_ROAMING + simSuffix), 438 Settings.Global.getUriFor(Settings.Global.DEVICE_PROVISIONED) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
UserSwitcherController.java | 39 import android.provider.Settings; 136 Settings.Global.getUriFor(SIMPLE_USER_SWITCHER_GLOBAL_SETTING), true, 139 Settings.Global.getUriFor(Settings.Global.ADD_USERS_WHEN_LOCKED), true, 142 Settings.Global.getUriFor( 143 Settings.Global.ALLOW_USER_SWITCHING_WHEN_SYSTEM_USER_LOCKED), 307 // adb shell settings put system enable_fullscreen_user_switcher 0 # Turn it off. 308 // adb shell settings put system enable_fullscreen_user_switcher 1 # Turn it on. 312 Settings.System.getInt(mContext.getContentResolver(), 578 mSimpleUserSwitcher = Settings.Global.getInt(mContext.getContentResolver() [all...] |
/frameworks/base/services/core/java/com/android/server/media/ |
MediaSessionService.java | 54 import android.provider.Settings; 386 final String enabledNotifListeners = Settings.Secure.getStringForUser(mContentResolver, 387 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS, 515 Settings.Secure.putStringForUser(mContentResolver, 516 Settings.System.MEDIA_BUTTON_RECEIVER, component.flattenToString(), 580 String receiverName = Settings.Secure.getStringForUser(mContentResolver, 581 Settings.System.MEDIA_BUTTON_RECEIVER, UserHandle.USER_CURRENT); 619 private final Uri mSecureSettingsUri = Settings.Secure.getUriFor( 620 Settings.Secure.ENABLED_NOTIFICATION_LISTENERS); [all...] |
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
MagnificationController.java | 39 import android.provider.Settings; 72 * The minimum scaling factor that can be persisted to secure settings. 74 * enabled state when the scaling factor is restored from settings. 529 * Persists the current magnification scale to the current user's settings. 538 Settings.Secure.putFloatForUser(mContentResolver, 539 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE, scale, userId); 547 * user's settings. 553 return Settings.Secure.getFloatForUser(mContentResolver, 554 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE, 647 return (Settings.Secure.getInt(mContentResolver [all...] |
/packages/apps/Settings/src/com/android/settings/notification/ |
SoundSettings.java | 17 package com.android.settings.notification; 47 import android.provider.Settings; 55 import com.android.settings.R; 56 import com.android.settings.RingtonePreference; 57 import com.android.settings.SettingsPreferenceFragment; 58 import com.android.settings.Utils; 59 import com.android.settings.dashboard.SummaryLoader; 60 import com.android.settings.search.BaseSearchIndexProvider; 61 import com.android.settings.search.Indexable; 161 // Enable link to CMAS app settings depending on the value in config.xml [all...] |