Home
last modified time | relevance | path

Searched refs:RCS_THREAD_ID_COLUMN (Results 1 – 5 of 5) sorted by relevance

/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DRcsProviderThreadHelper.java27 import static android.provider.Telephony.RcsColumns.RcsThreadColumns.RCS_THREAD_ID_COLUMN;
70 RCS_THREAD_ID_COLUMN + " INTEGER PRIMARY KEY AUTOINCREMENT);"); in createThreadTables()
73 RCS_THREAD_ID_COLUMN + " INTEGER PRIMARY KEY, " + in createThreadTables()
75 "FOREIGN KEY(" + RCS_THREAD_ID_COLUMN in createThreadTables()
76 + ") REFERENCES " + RCS_THREAD_TABLE + "(" + RCS_THREAD_ID_COLUMN + ")," + in createThreadTables()
81 RCS_THREAD_ID_COLUMN + " INTEGER PRIMARY KEY, " + in createThreadTables()
86 "FOREIGN KEY(" + RCS_THREAD_ID_COLUMN in createThreadTables()
87 + ") REFERENCES " + RCS_THREAD_TABLE + "(" + RCS_THREAD_ID_COLUMN + "))"); in createThreadTables()
118 + RCS_THREAD_ID_COLUMN + ", " in createThreadTables()
131 + RCS_1_TO_1_THREAD_TABLE + "." + RCS_THREAD_ID_COLUMN + "=" in createThreadTables()
[all …]
DRcsProviderParticipantHelper.java25 import static android.provider.Telephony.RcsColumns.RcsThreadColumns.RCS_THREAD_ID_COLUMN;
75 RCS_THREAD_ID_COLUMN + " INTEGER, " + in createParticipantTables()
78 + RCS_THREAD_ID_COLUMN + ", " + RCS_PARTICIPANT_ID_COLUMN + "), " + in createParticipantTables()
79 "FOREIGN KEY(" + RCS_THREAD_ID_COLUMN in createParticipantTables()
80 + ") REFERENCES " + RCS_THREAD_TABLE + "(" + RCS_THREAD_ID_COLUMN + "), " + in createParticipantTables()
190 rawQuery.append(RCS_THREAD_ID_COLUMN).append("=").append(queryParameters.getThreadId()); in buildInitialRawQuery()
275 if (!values.containsKey(RCS_THREAD_ID_COLUMN) || !values.containsKey( in insertParticipantIntoGroupThread()
302 contentValues.put(RCS_THREAD_ID_COLUMN, threadId); in insertParticipantIntoGroupThreadWithId()
347 RCS_THREAD_ID_COLUMN + "=? AND " + RCS_PARTICIPANT_ID_COLUMN + "=?", in deleteParticipantFromGroupThread()
374 Integer threadId = values.getAsInteger(RCS_THREAD_ID_COLUMN); in getParticipantInThreadUri()
DRcsProviderMessageHelper.java47 import static android.provider.Telephony.RcsColumns.RcsThreadColumns.RCS_THREAD_ID_COLUMN;
104 + " INTEGER PRIMARY KEY AUTOINCREMENT, " + RCS_THREAD_ID_COLUMN + " INTEGER, " in createRcsMessageTables()
108 + " INTEGER, FOREIGN KEY(" + RCS_THREAD_ID_COLUMN + ") REFERENCES " in createRcsMessageTables()
109 + RCS_THREAD_TABLE + "(" + RCS_THREAD_ID_COLUMN + "))"); in createRcsMessageTables()
189 + RCS_MESSAGE_TABLE + "." + RCS_THREAD_ID_COLUMN + ", " in createRcsMessageTables()
206 + RCS_MESSAGE_TABLE + "." + RCS_THREAD_ID_COLUMN + ", " in createRcsMessageTables()
245 + RCS_MESSAGE_TABLE + "." + RCS_THREAD_ID_COLUMN + ", " in createRcsMessageTables()
279 + RCS_MESSAGE_TABLE + "." + RCS_THREAD_ID_COLUMN + ", " in createRcsMessageTables()
380 rawQuery.append(RCS_THREAD_ID_COLUMN).append("=").append(threadId); in performInitialQuery()
460 values.put(RCS_THREAD_ID_COLUMN, Integer.parseInt(threadId)); in insertMessageOnThread()
[all …]
DRcsProviderEventHelper.java25 import static android.provider.Telephony.RcsColumns.RcsThreadColumns.RCS_THREAD_ID_COLUMN;
76 + " INTEGER PRIMARY KEY AUTOINCREMENT, " + RCS_THREAD_ID_COLUMN + " INTEGER, " in createRcsEventTables()
80 + RCS_THREAD_ID_COLUMN + ") REFERENCES " + RCS_THREAD_TABLE + " (" in createRcsEventTables()
81 + RCS_THREAD_ID_COLUMN + "), FOREIGN KEY (" + SOURCE_PARTICIPANT_ID_COLUMN in createRcsEventTables()
98 + TIMESTAMP_COLUMN + ", " + NEW_ALIAS_COLUMN + ", NULL as " + RCS_THREAD_ID_COLUMN in createRcsEventTables()
105 + "NULL as " + NEW_ALIAS_COLUMN + ", " + RCS_THREAD_ID_COLUMN + ", " in createRcsEventTables()
222 values.put(RCS_THREAD_ID_COLUMN, threadId); in insertGroupThreadEvent()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DRcsProviderQueryTest.java29 import static android.provider.Telephony.RcsColumns.RcsThreadColumns.RCS_THREAD_ID_COLUMN;
268 new String[]{RCS_THREAD_ID_COLUMN}, null, null, null); in testQuery1To1Threads()
441 assertThat(cursor.getInt(cursor.getColumnIndex(RCS_THREAD_ID_COLUMN))).isEqualTo(3); in testQueryMessages()
445 assertThat(cursor.getInt(cursor.getColumnIndex(RCS_THREAD_ID_COLUMN))).isEqualTo(1); in testQueryMessages()
449 assertThat(cursor.getInt(cursor.getColumnIndex(RCS_THREAD_ID_COLUMN))).isEqualTo(1); in testQueryMessages()
469 assertThat(cursor.getInt(cursor.getColumnIndex(RCS_THREAD_ID_COLUMN))).isEqualTo(3); in testQueryMessagesWithContinuation()
487 assertThat(cursor.getInt(cursor.getColumnIndex(RCS_THREAD_ID_COLUMN))).isEqualTo(1); in testQueryMessagesWithContinuation()
510 assertThat(cursor.getInt(cursor.getColumnIndex(RCS_THREAD_ID_COLUMN))).isEqualTo(3); in testQueryMessagesWithThreadFilter()