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
236 * Forwarding settings we are going to save.
247 * Constructs settings object, setting all conditional forwarding to the specified number
322 * Results of reading forwarding settings
355 * Flag indicating that we are invoking settings for the voicemail provider programmatically
385 * Data about discovered voice mail settings providers.
398 settings and vm number we will be setting
400 // query the existing forwarding settings.
413 * We have to pull current settings from the network for all kinds of
415 * so use this bit to keep track of whether we're reading settings for the
434 android.provider.Settings.System.putInt(mPhone.getContext().getContentResolver(),
435 android.provider.Settings.System.CALL_AUTO_RETRY,
440 // Update HAC value in Settings database
441 Settings.System.putInt(mPhone.getContext().getContentResolver(),
442 Settings.System.HEARING_AID, hac);
466 Settings.System.putInt(mPhone.getContext().getContentResolver(),
467 Settings.System.DTMF_TONE_TYPE_WHEN_DIALING, index);
593 // Only revert the settings for which the update
630 // a call to the VM settings provider.
784 + " settings");
786 // No fwd settings on CDMA
805 if (DBG) log("Reading current forwarding settings");
941 // Called after we are done saving the previous forwarding settings if
1310 // We failed to get current forwarding settings and the user
1318 // We failed to get current forwarding settings but the user
1319 // wishes to continue changing settings to the new vm provider
1329 // with settings UI. If we were called to explicitly configure voice mail then
1330 // we finish the settings activity here to come back to whatever the user was doing.
1489 // Add Internet call settings.
1538 int dtmf = Settings.System.getInt(getContentResolver(),
1539 Settings.System.DTMF_TONE_TYPE_WHEN_DIALING, DTMF_TONE_TYPE_NORMAL);
1544 int autoretry = Settings.System.getInt(getContentResolver(),
1545 Settings.System.CALL_AUTO_RETRY, 0);
1550 int hac = Settings.System.getInt(getContentResolver(), Settings.System.HEARING_AID, 0);
1555 int settingsTtyMode = Settings.Secure.getInt(getContentResolver(),
1556 Settings.Secure.PREFERRED_TTY_MODE,
1564 return Settings.System.getInt(getContentResolver(),
1565 Settings.System.AIRPLANE_MODE_ON, 0) != 0;
1571 int settingsTtyMode = android.provider.Settings.Secure.getInt(
1573 android.provider.Settings.Secure.PREFERRED_TTY_MODE, preferredTtyMode);
1583 android.provider.Settings.Secure.putInt(getContentResolver(),
1584 android.provider.Settings.Secure.PREFERRED_TTY_MODE, buttonTtyMode);
1626 * Updates the look of the VM preference widgets based on current VM provider settings.
1750 // Go through settings until we find our setting
1763 * Saves new VM provider settings associating them with the currently selected
1764 * provider if settings are different than the ones already stored for this
1778 if (DBG) log("Saving settings for " + key + ": " + newSettings.toString());
1800 * Returns settings previously stored for the currently selected
1802 * If the user switches to a voice mail provider and we have settings
1811 if (DBG) log("Settings for " + key + " not found");
1837 VoiceMailProviderSettings settings = new VoiceMailProviderSettings(vmNumberSetting, cfi);
1838 if (DBG) log("Loaded settings for " + key + ": " + settings.toString());
1839 return settings;
1843 * Deletes settings for the specified provider.
1846 if (DBG) log("Deleting settings for" + key);
1876 * Finish current Activity and go up to the top level Settings ({@link CallFeaturesSetting}).
1877 * This is useful for implementing "HomeAsUp" capability for second-level Settings.