Lines Matching refs:Settings
41 import android.provider.Settings;
69 // intent action to bring up voice mail settings
90 // Suffix appended to provider key for storing forwarding settings
92 // Suffix appended to forward settings key for storing length of settings array
94 // Suffix appended to forward settings key for storing an individual setting
200 * Forwarding settings we are going to save.
211 * Constructs settings object, setting all conditional forwarding to the specified number
286 * Results of reading forwarding settings
319 * Flag indicating that we are invoking settings for the voicemail provider programmatically
349 * Data about discovered voice mail settings providers.
362 // New call forwarding settings and vm number we will be setting
364 // query the existing forwarding settings.
377 * We have to pull current settings from the network for all kinds of
379 * so use this bit to keep track of whether we're reading settings for the
398 android.provider.Settings.System.putInt(mPhone.getContext().getContentResolver(),
399 android.provider.Settings.System.CALL_AUTO_RETRY,
404 // Update HAC value in Settings database
405 Settings.System.putInt(mPhone.getContext().getContentResolver(),
406 Settings.System.HEARING_AID, hac);
430 Settings.System.putInt(mPhone.getContext().getContentResolver(),
431 Settings.System.DTMF_TONE_TYPE_WHEN_DIALING, index);
555 // Only revert the settings for which the update
592 // a call to the VM settings provider.
721 + " settings");
723 // No fwd settings on CDMA
742 if (DBG) log("Reading current forwarding settings");
878 // Called after we are done saving the previous forwarding settings if
1247 // We failed to get current forwarding settings and the user
1255 // We failed to get current forwarding settings but the user
1256 // wishes to continue changing settings to the new vm provider
1266 // with settings UI. If we were called to explicitly configure voice mail then
1267 // we finish the settings activity here to come back to whatever the user was doing.
1422 int dtmf = Settings.System.getInt(getContentResolver(),
1423 Settings.System.DTMF_TONE_TYPE_WHEN_DIALING, DTMF_TONE_TYPE_NORMAL);
1428 int autoretry = Settings.System.getInt(getContentResolver(),
1429 Settings.System.CALL_AUTO_RETRY, 0);
1434 int hac = Settings.System.getInt(getContentResolver(), Settings.System.HEARING_AID, 0);
1439 int settingsTtyMode = Settings.Secure.getInt(getContentResolver(),
1440 Settings.Secure.PREFERRED_TTY_MODE,
1450 int settingsTtyMode = android.provider.Settings.Secure.getInt(
1452 android.provider.Settings.Secure.PREFERRED_TTY_MODE, preferredTtyMode);
1462 android.provider.Settings.Secure.putInt(getContentResolver(),
1463 android.provider.Settings.Secure.PREFERRED_TTY_MODE, buttonTtyMode);
1497 * Updates the look of the VM preference widgets based on current VM provider settings.
1621 // Go through settings until we find our setting
1634 * Saves new VM provider settings associating them with the currently selected
1635 * provider if settings are different than the ones already stored for this
1649 if (DBG) log("Saving settings for " + key + ": " + newSettings.toString());
1671 * Returns settings previously stored for the currently selected
1673 * If the user switches to a voice mail provider and we have settings
1682 if (DBG) log("Settings for " + key + " not found");
1708 VoiceMailProviderSettings settings = new VoiceMailProviderSettings(vmNumberSetting, cfi);
1709 if (DBG) log("Loaded settings for " + key + ": " + settings.toString());
1710 return settings;
1714 * Deletes settings for the specified provider.
1717 if (DBG) log("Deleting settings for" + key);