summaryrefslogtreecommitdiffstats
path: root/core/java/android/provider/Settings.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/provider/Settings.java')
-rw-r--r--core/java/android/provider/Settings.java42
1 files changed, 42 insertions, 0 deletions
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 42a5075..a7ba3a2 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -1174,6 +1174,22 @@ public final class Settings {
public static final Uri DEFAULT_NOTIFICATION_URI = getUriFor(NOTIFICATION_SOUND);
/**
+ * Persistent store for the system-wide default alarm alert.
+ *
+ * @see #RINGTONE
+ * @see #DEFAULT_ALARM_ALERT_URI
+ */
+ public static final String ALARM_ALERT = "alarm_alert";
+
+ /**
+ * A {@link Uri} that will point to the current default alarm alert at
+ * any given time.
+ *
+ * @see #DEFAULT_ALARM_ALERT_URI
+ */
+ public static final Uri DEFAULT_ALARM_ALERT_URI = getUriFor(ALARM_ALERT);
+
+ /**
* Setting to enable Auto Replace (AutoText) in text editors. 1 = On, 0 = Off
*/
public static final String TEXT_AUTO_REPLACE = "auto_replace";
@@ -2582,6 +2598,32 @@ public final class Settings {
"gtalk_nosync_heartbeat_ping_interval_ms";
/**
+ * The maximum heartbeat interval used while on the WIFI network.
+ */
+ public static final String GTALK_SERVICE_WIFI_MAX_HEARTBEAT_INTERVAL_MS =
+ "gtalk_wifi_max_heartbeat_ping_interval_ms";
+
+ /**
+ * The minimum interval for how frequently we send heartbeat pings to the GTalk server.
+ */
+ public static final String GTALK_SERVICE_MIN_HEARTBEAT_INTERVAL_MS =
+ "gtalk_min_heartbeat_ping_interval_ms";
+
+ /**
+ * The scale down factor used by adaptive heartbeat logic (to scale down the heartbeat
+ * interval) when the previous interval fails to get a response from the server.
+ */
+ public static final String GTALK_SERVICE_ADAPTIVE_HEARTBEAT_SCALER =
+ "gtalk_adaptive_heartbeat_scaler";
+
+ /**
+ * The trigger for adaptively scaling down the heartbeat interval. This is the number of
+ * consecutive times we failed to get a server response for sending the heartbeat ping.
+ */
+ public static final String GTALK_SERVICE_ADAPTIVE_HEARTBEAT_TRIGGER =
+ "gtalk_adaptive_heartbeat_trigger";
+
+ /**
* How long we wait to receive a heartbeat ping acknowledgement (or another packet)
* from the GTalk server, before deeming the connection dead.
*/