summaryrefslogtreecommitdiff
path: root/telephony/java/android/provider/Telephony.java
diff options
context:
space:
mode:
Diffstat (limited to 'telephony/java/android/provider/Telephony.java')
-rw-r--r--telephony/java/android/provider/Telephony.java74
1 files changed, 71 insertions, 3 deletions
diff --git a/telephony/java/android/provider/Telephony.java b/telephony/java/android/provider/Telephony.java
index f2438b833d90..8283e97adce2 100644
--- a/telephony/java/android/provider/Telephony.java
+++ b/telephony/java/android/provider/Telephony.java
@@ -25,8 +25,8 @@ import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
-import android.database.Cursor;
import android.database.ContentObserver;
+import android.database.Cursor;
import android.database.sqlite.SqliteWrapper;
import android.net.Uri;
import android.telephony.Rlog;
@@ -40,7 +40,6 @@ import android.util.Patterns;
import com.android.internal.telephony.PhoneConstants;
import com.android.internal.telephony.SmsApplication;
-
import java.util.HashSet;
import java.util.Set;
import java.util.regex.Matcher;
@@ -274,6 +273,70 @@ public final class Telephony {
}
/**
+ * Columns in sms_changes table.
+ * @hide
+ */
+ public interface TextBasedSmsChangesColumns {
+ /**
+ * The {@code content://} style URL for this table.
+ * @hide
+ */
+ public static final Uri CONTENT_URI = Uri.parse("content://sms-changes");
+
+ /**
+ * Primary key.
+ * <P>Type: INTEGER (long)</P>
+ * @hide
+ */
+ public static final String ID = "_id";
+
+ /**
+ * Triggers on sms table create a row in this table for each update/delete.
+ * This column is the "_id" of the row from sms table that was updated/deleted.
+ * <P>Type: INTEGER (long)</P>
+ * @hide
+ */
+ public static final String ORIG_ROW_ID = "orig_rowid";
+
+ /**
+ * Triggers on sms table create a row in this table for each update/delete.
+ * This column is the "sub_id" of the row from sms table that was updated/deleted.
+ * @hide
+ * <P>Type: INTEGER (long)</P>
+ */
+ public static final String SUB_ID = "sub_id";
+
+ /**
+ * The type of operation that created this row.
+ * {@link #TYPE_UPDATE} = update op
+ * {@link #TYPE_DELETE} = delete op
+ * @hide
+ * <P>Type: INTEGER (long)</P>
+ */
+ public static final String TYPE = "type";
+
+ /**
+ * One of the possible values for the above column "type". Indicates it is an update op.
+ * @hide
+ */
+ public static final int TYPE_UPDATE = 0;
+
+ /**
+ * One of the possible values for the above column "type". Indicates it is a delete op.
+ * @hide
+ */
+ public static final int TYPE_DELETE = 1;
+
+ /**
+ * This column contains a non-null value only if the operation on sms table is an update op
+ * and the column "read" is changed by the update op.
+ * <P>Type: INTEGER (boolean)</P>
+ * @hide
+ */
+ public static final String NEW_READ_STATUS = "new_read_status";
+ }
+
+ /**
* Contains all text-based SMS messages.
*/
public static final class Sms implements BaseColumns, TextBasedSmsColumns {
@@ -3372,7 +3435,6 @@ public final class Telephony {
/**
* Contains carrier identification information for the current subscriptions.
- * @see SubscriptionManager#getActiveSubscriptionIdList()
*/
public static final class CarrierId implements BaseColumns {
/**
@@ -3480,6 +3542,12 @@ public final class Telephony {
public static final String ICCID_PREFIX = "iccid_prefix";
/**
+ * Certificate for carrier privilege access rules.
+ * <P>Type: TEXT in hex string </P>
+ */
+ public static final String PRIVILEGE_ACCESS_RULE = "privilege_access_rule";
+
+ /**
* The {@code content://} URI for this table.
*/
public static final Uri CONTENT_URI = Uri.parse("content://carrier_id/all");