Home | History | Annotate | Download | only in phone

Lines Matching refs:Settings

52 import android.provider.Settings;
68 * Top level "Call settings" UI; see res/xml/call_feature_setting.xml
70 * This preference screen is the root of the "Call settings" hierarchy
71 * available from the Phone app; the settings here let you control various
72 * features related to phone calls (including voicemail settings, SIP
73 * settings, the "Respond via SMS" feature, and others.) It's used only
80 * For the "Mobile network settings" screen under the main Settings app,
81 * see apps/Phone/src/com/android/phone/Settings.java.
89 // intent action to bring up voice mail settings
114 // Suffix appended to provider key for storing forwarding settings
116 // Suffix appended to forward settings key for storing length of settings array
118 // Suffix appended to forward settings key for storing an individual setting
239 * Forwarding settings we are going to save.
250 * Constructs settings object, setting all conditional forwarding to the specified number
325 * Results of reading forwarding settings
358 * Flag indicating that we are invoking settings for the voicemail provider programmatically
388 * Data about discovered voice mail settings providers.
401 // New call forwarding settings and vm number we will be setting
403 // query the existing forwarding settings.
416 * We have to pull current settings from the network for all kinds of
418 * so use this bit to keep track of whether we're reading settings for the
437 android.provider.Settings.System.putInt(mPhone.getContext().getContentResolver(),
438 android.provider.Settings.System.CALL_AUTO_RETRY,
443 // Update HAC value in Settings database
444 Settings.System.putInt(mPhone.getContext().getContentResolver(),
445 Settings.System.HEARING_AID, hac);
469 Settings.System.putInt(mPhone.getContext().getContentResolver(),
470 Settings.System.DTMF_TONE_TYPE_WHEN_DIALING, index);
600 // Only revert the settings for which the update
637 // a call to the VM settings provider.
791 + " settings");
793 // No fwd settings on CDMA
812 if (DBG) log("Reading current forwarding settings");
948 // Called after we are done saving the previous forwarding settings if
1317 // We failed to get current forwarding settings and the user
1325 // We failed to get current forwarding settings but the user
1326 // wishes to continue changing settings to the new vm provider
1336 // with settings UI. If we were called to explicitly configure voice mail then
1337 // we finish the settings activity here to come back to whatever the user was doing.
1499 // Add Internet call settings.
1548 int dtmf = Settings.System.getInt(getContentResolver(),
1549 Settings.System.DTMF_TONE_TYPE_WHEN_DIALING, DTMF_TONE_TYPE_NORMAL);
1554 int autoretry = Settings.System.getInt(getContentResolver(),
1555 Settings.System.CALL_AUTO_RETRY, 0);
1560 Settings.System.getInt(getContentResolver(), Settings.System.HEARING_AID, 0);
1565 int settingsTtyMode = Settings.Secure.getInt(getContentResolver(),
1566 Settings.Secure.PREFERRED_TTY_MODE,
1574 return Settings.System.getInt(getContentResolver(),
1575 Settings.System.AIRPLANE_MODE_ON, 0) != 0;
1581 int settingsTtyMode = android.provider.Settings.Secure.getInt(
1583 android.provider.Settings.Secure.PREFERRED_TTY_MODE, preferredTtyMode);
1593 android.provider.Settings.Secure.putInt(getContentResolver(),
1594 android.provider.Settings.Secure.PREFERRED_TTY_MODE, buttonTtyMode);
1636 * Updates the look of the VM preference widgets based on current VM provider settings.
1767 // Go through settings until we find our setting
1780 * Saves new VM provider settings associating them with the currently selected
1781 * provider if settings are different than the ones already stored for this
1795 if (DBG) log("Saving settings for " + key + ": " + newSettings.toString());
1817 * Returns settings previously stored for the currently selected
1819 * If the user switches to a voice mail provider and we have settings
1828 if (DBG) log("Settings for " + key + " not found");
1854 VoiceMailProviderSettings settings = new VoiceMailProviderSettings(vmNumberSetting, cfi);
1855 if (DBG) log("Loaded settings for " + key + ": " + settings.toString());
1856 return settings;
1860 * Deletes settings for the specified provider.
1863 if (DBG) log("Deleting settings for" + key);
1893 * Finish current Activity and go up to the top level Settings ({@link CallFeaturesSetting}).
1894 * This is useful for implementing "HomeAsUp" capability for second-level Settings.