Home
last modified time | relevance | path

Searched refs:PRESENCE (Results 1 – 13 of 13) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java136 public static final String PRESENCE = "presence"; field
580 String CONCRETE_PRESENCE = Tables.STATUS_UPDATES + "." + StatusUpdates.PRESENCE;
595 String CONCRETE_PRESENCE = ALIAS + "." + StatusUpdates.PRESENCE;
864 db.execSQL("CREATE TABLE IF NOT EXISTS " + DATABASE_PRESENCE + "." + Tables.PRESENCE + " ("+ in onOpen()
872 StatusUpdates.PRESENCE + " INTEGER," + in onOpen()
879 + Tables.PRESENCE + " (" + PresenceColumns.RAW_CONTACT_ID + ");"); in onOpen()
881 + Tables.PRESENCE + " (" + PresenceColumns.CONTACT_ID + ");"); in onOpen()
887 StatusUpdates.PRESENCE + " INTEGER," + in onOpen()
892 db.execSQL("CREATE TRIGGER " + DATABASE_PRESENCE + "." + Tables.PRESENCE + "_deleted" in onOpen()
893 + " BEFORE DELETE ON " + DATABASE_PRESENCE + "." + Tables.PRESENCE in onOpen()
[all …]
DContactsProvider2.java592 Tables.AGGREGATED_PRESENCE + "." + StatusUpdates.PRESENCE)
659 Tables.AGGREGATED_PRESENCE + '.' + StatusUpdates.PRESENCE)
675 .add(Data.PRESENCE, Tables.PRESENCE + "." + StatusUpdates.PRESENCE)
676 .add(Data.CHAT_CAPABILITY, Tables.PRESENCE + "." + StatusUpdates.CHAT_CAPABILITY)
1005 .add(StatusUpdates.PRESENCE)
1071 " FROM " + Tables.STATUS_UPDATES + " LEFT OUTER JOIN " + Tables.PRESENCE +
3221 if (values.containsKey(StatusUpdates.PRESENCE)) { in insertStatusUpdate()
3238 mValues.put(StatusUpdates.PRESENCE, in insertStatusUpdate()
3239 values.getAsString(StatusUpdates.PRESENCE)); in insertStatusUpdate()
3244 db.replace(Tables.PRESENCE, null, mValues); in insertStatusUpdate()
[all …]
DLegacyApiSupport.java146 " LEFT OUTER JOIN " + Tables.PRESENCE +
147 " ON (" + Tables.PRESENCE + "." + StatusUpdates.DATA_ID + "=" +
149 " FROM " + Tables.PRESENCE +
DGlobalSearchSupport.java67 "(SELECT " + StatusUpdates.PRESENCE +
DDataRowHandler.java255 db.delete(Tables.PRESENCE, PresenceColumns.RAW_CONTACT_ID + "=?", mSelectionArgs1); in delete()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java280 + StatusUpdates.PRESENCE + ", " in ContactAggregator()
283 + StatusUpdates.PRESENCE + "," in ContactAggregator()
285 + " FROM " + Tables.PRESENCE in ContactAggregator()
287 + " (" + StatusUpdates.PRESENCE in ContactAggregator()
290 + "MAX (" + StatusUpdates.PRESENCE in ContactAggregator()
292 + " FROM " + Tables.PRESENCE in ContactAggregator()
353 "UPDATE " + Tables.PRESENCE + in ContactAggregator()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DContactLoader.java52 Data.STATUS_LABEL, Data.STATUS_TIMESTAMP, Data.PRESENCE,
79 Cursor cursor = resolver.query(dataUri, StatusQuery.PROJECTION, StatusUpdates.PRESENCE in loadInBackground()
/packages/apps/Contacts/src/com/android/contacts/model/
DContactLoader.java174 Data.PRESENCE,
246 public static final int PRESENCE = 54; field in ContactLoader.ContactQuery
393 if (!cursor.isNull(ContactQuery.PRESENCE) in loadContactEntity()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java349 Data.PRESENCE, in testDataProjection()
433 Data.PRESENCE, in testDistinctDataProjection()
512 Data.PRESENCE, in testEntityProjection()
730 StatusUpdates.PRESENCE, in testStatusUpdatesProjection()
905 values.putNull(Contacts.Entity.PRESENCE); in assertEntityRows()
922 values.put(Contacts.Entity.PRESENCE, StatusUpdates.IDLE); in assertEntityRows()
940 values.putNull(Contacts.Entity.PRESENCE); in assertEntityRows()
3995 values.put(StatusUpdates.PRESENCE, StatusUpdates.INVISIBLE); in testStatusUpdateInsert()
4083 StatusUpdates.PRESENCE, StatusUpdates.STATUS}, in testStatusUpdateMatchingImOrEmail()
4138 values.put(StatusUpdates.PRESENCE, "presence_test"); in testStatusUpdateUpdateAndDelete()
[all …]
DBaseContactsProvider2Test.java422 values.put(StatusUpdates.PRESENCE, presence); in insertStatusUpdate()
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
DDataStatus.java75 mPresence = getInt(cursor, Data.PRESENCE, -1); in fromCursor()
/packages/apps/Contacts/src/com/android/contacts/util/
DDataStatus.java77 mPresence = getInt(cursor, Data.PRESENCE, -1); in fromCursor()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DContactLoaderTest.java320 Data.PRESENCE, Data.CHAT_CAPABILITY, in fetchAllData()