summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndroid (Google) Code Review <android-gerrit@google.com>2009-09-02 09:41:14 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2009-09-02 09:41:14 -0700
commit82b43d4f4ea56745be1ce9bc3b3a5e18e6222ac9 (patch)
tree1a6d0cb69c0f4b54c68908459c7e6dacbe635743 /core
parent854bcb95ce5d8d75b843e8da1b691fa93395977c (diff)
parent62d95ead34d954c286f13a6d341f07a267796ee4 (diff)
downloadframeworks_base-82b43d4f4ea56745be1ce9bc3b3a5e18e6222ac9.zip
frameworks_base-82b43d4f4ea56745be1ce9bc3b3a5e18e6222ac9.tar.gz
frameworks_base-82b43d4f4ea56745be1ce9bc3b3a5e18e6222ac9.tar.bz2
Merge change 23631 into eclair
* changes: Add APANIC kernel logging to CheckinService. we keep book and only read a particular file once and send it to the server.
Diffstat (limited to 'core')
-rw-r--r--core/java/android/provider/Checkin.java2
-rw-r--r--core/java/android/provider/Settings.java26
2 files changed, 28 insertions, 0 deletions
diff --git a/core/java/android/provider/Checkin.java b/core/java/android/provider/Checkin.java
index 6b491ab..84753ee 100644
--- a/core/java/android/provider/Checkin.java
+++ b/core/java/android/provider/Checkin.java
@@ -59,6 +59,8 @@ public final class Checkin {
/** Valid tag values. Extend as necessary for your needs. */
public enum Tag {
+ APANIC_CONSOLE,
+ APANIC_THREADS,
AUTOTEST_FAILURE,
AUTOTEST_SEQUENCE_BEGIN,
AUTOTEST_SUITE_BEGIN,
diff --git a/core/java/android/provider/Settings.java b/core/java/android/provider/Settings.java
index 77d1740..125ed0b 100644
--- a/core/java/android/provider/Settings.java
+++ b/core/java/android/provider/Settings.java
@@ -2231,6 +2231,32 @@ public final class Settings {
public static final String BACKGROUND_DATA = "background_data";
/**
+ * The time in msec, when the LAST_KMSG file was send to the checkin server.
+ * We will only send the LAST_KMSG file if it was modified after this time.
+ *
+ * @hide
+ */
+ public static final String CHECKIN_SEND_LAST_KMSG_TIME = "checkin_kmsg_time";
+
+ /**
+ * The time in msec, when the apanic_console file was send to the checkin server.
+ * We will only send the apanic_console file if it was modified after this time.
+ *
+ * @hide
+ */
+ public static final String CHECKIN_SEND_APANIC_CONSOLE_TIME =
+ "checkin_apanic_console_time";
+
+ /**
+ * The time in msec, when the apanic_thread file was send to the checkin server.
+ * We will only send the apanic_thread file if it was modified after this time.
+ *
+ * @hide
+ */
+ public static final String CHECKIN_SEND_APANIC_THREAD_TIME =
+ "checkin_apanic_thread_time";
+
+ /**
* The CDMA roaming mode 0 = Home Networks, CDMA default
* 1 = Roaming on Affiliated networks
* 2 = Roaming on any networks