HomeSort by relevance Sort by last modified time
    Searched refs:StatusUpdates (Results 1 - 25 of 31) sorted by null

1 2

  /packages/apps/ContactsCommon/src/com/android/contacts/common/
ContactPresenceIconUtil.java 21 import android.provider.ContactsContract.StatusUpdates;
35 case StatusUpdates.AVAILABLE:
36 case StatusUpdates.IDLE:
37 case StatusUpdates.AWAY:
38 case StatusUpdates.DO_NOT_DISTURB:
39 case StatusUpdates.INVISIBLE:
41 StatusUpdates.getPresenceIconResourceId(status));
42 case StatusUpdates.OFFLINE:
ContactStatusUtil.java 21 import android.provider.ContactsContract.StatusUpdates;
33 case StatusUpdates.AVAILABLE:
35 case StatusUpdates.IDLE:
36 case StatusUpdates.AWAY:
38 case StatusUpdates.DO_NOT_DISTURB:
40 case StatusUpdates.OFFLINE:
41 case StatusUpdates.INVISIBLE:
  /packages/experimental/LoaderApp/src/com/android/loaderapp/util/
ContactPresenceIconUtil.java 21 import android.provider.ContactsContract.StatusUpdates;
35 case StatusUpdates.AVAILABLE:
36 case StatusUpdates.IDLE:
37 case StatusUpdates.AWAY:
38 case StatusUpdates.DO_NOT_DISTURB:
39 case StatusUpdates.INVISIBLE:
41 StatusUpdates.getPresenceIconResourceId(status));
42 case StatusUpdates.OFFLINE:
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_StatusUpdatesTest.java 29 import android.provider.ContactsContract.StatusUpdates;
69 Uri uri = insertStatusUpdate(dataId, StatusUpdates.DO_NOT_DISTURB, null, null);
70 assertPresence(uri, StatusUpdates.DO_NOT_DISTURB);
75 Uri uri2 = insertStatusUpdate(dataId, StatusUpdates.AVAILABLE, null, null);
78 assertPresence(uri, StatusUpdates.AVAILABLE);
83 Uri uri3 = insertStatusUpdate(dataId, StatusUpdates.AWAY, "Grabbing a byte", null);
86 assertPresence(uri, StatusUpdates.AWAY);
92 Uri uri4 = insertStatusUpdate(dataId, StatusUpdates.IDLE, "Taking a bit of a break", null);
95 assertPresence(uri, StatusUpdates.IDLE);
104 ops.add(ContentProviderOperation.newInsert(StatusUpdates.CONTENT_URI
    [all...]
  /packages/apps/Email/tests/src/com/android/email/activity/
ContactStatusLoaderTest.java 29 import android.provider.ContactsContract.StatusUpdates;
101 cursor1.addRow(new Object[]{12345, StatusUpdates.AWAY});
132 cursor1.addRow(new Object[]{12345, StatusUpdates.AWAY});
151 cursor1.addRow(new Object[]{12345, StatusUpdates.AWAY});
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsProvider2Test.java 64 import android.provider.ContactsContract.StatusUpdates;
734 assertProjection(StatusUpdates.CONTENT_URI, new String[]{
736 StatusUpdates.DATA_ID,
737 StatusUpdates.IM_ACCOUNT,
738 StatusUpdates.IM_HANDLE,
739 StatusUpdates.PROTOCOL,
740 StatusUpdates.CUSTOM_PROTOCOL,
741 StatusUpdates.PRESENCE,
742 StatusUpdates.CHAT_CAPABILITY,
743 StatusUpdates.STATUS
    [all...]
GlobalSearchSupportTest.java 28 import android.provider.ContactsContract.StatusUpdates;
80 String.valueOf(StatusUpdates.getPresenceIconResourceId(StatusUpdates.OFFLINE)))
BaseContactsProvider2Test.java 53 import android.provider.ContactsContract.StatusUpdates;
397 values.put(StatusUpdates.PROTOCOL, protocol);
398 values.put(StatusUpdates.CUSTOM_PROTOCOL, customProtocol);
399 values.put(StatusUpdates.IM_HANDLE, handle);
412 values.put(StatusUpdates.DATA_ID, dataId);
420 values.put(StatusUpdates.PRESENCE, presence);
421 values.put(StatusUpdates.CHAT_CAPABILITY, chatMode);
424 values.put(StatusUpdates.STATUS, status);
427 values.put(StatusUpdates.STATUS_TIMESTAMP, timestamp);
431 ? StatusUpdates.PROFILE_CONTENT_UR
    [all...]
ContactsActor.java 54 import android.provider.ContactsContract.StatusUpdates;
434 values.put(StatusUpdates.DATA_ID, dataId);
435 values.put(StatusUpdates.STATUS, status);
436 Uri dataUri = resolver.insert(StatusUpdates.CONTENT_URI, values);
  /packages/apps/Email/src/com/android/email/activity/
ContactStatusLoader.java 30 import android.provider.ContactsContract.StatusUpdates;
125 final int presenceStatusResId = StatusUpdates.getPresenceIconResourceId(presenceStatus);
  /packages/experimental/LoaderApp/src/com/android/loaderapp/model/
ContactLoader.java 23 import android.provider.ContactsContract.StatusUpdates;
79 Cursor cursor = resolver.query(dataUri, StatusQuery.PROJECTION, StatusUpdates.PRESENCE
80 + " IS NOT NULL OR " + StatusUpdates.STATUS + " IS NOT NULL", null, null);
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactManager.java 43 import android.provider.ContactsContract.StatusUpdates;
584 values.put(StatusUpdates.DATA_ID, profileId);
585 values.put(StatusUpdates.STATUS, status);
586 values.put(StatusUpdates.PROTOCOL, Im.PROTOCOL_CUSTOM);
587 values.put(StatusUpdates.CUSTOM_PROTOCOL, CUSTOM_IM_PROTOCOL);
588 values.put(StatusUpdates.IM_ACCOUNT, username);
589 values.put(StatusUpdates.IM_HANDLE, userId);
590 values.put(StatusUpdates.STATUS_RES_PACKAGE, context.getPackageName());
591 values.put(StatusUpdates.STATUS_ICON, R.drawable.icon);
592 values.put(StatusUpdates.STATUS_LABEL, R.string.label)
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
ContactsDatabaseHelper.java 69 import android.provider.ContactsContract.StatusUpdates;
585 String CONCRETE_PRESENCE = Tables.STATUS_UPDATES + "." + StatusUpdates.PRESENCE;
586 String CONCRETE_STATUS = Tables.STATUS_UPDATES + "." + StatusUpdates.STATUS;
588 + StatusUpdates.STATUS_TIMESTAMP;
590 + StatusUpdates.STATUS_RES_PACKAGE;
591 String CONCRETE_STATUS_LABEL = Tables.STATUS_UPDATES + "." + StatusUpdates.STATUS_LABEL;
592 String CONCRETE_STATUS_ICON = Tables.STATUS_UPDATES + "." + StatusUpdates.STATUS_ICON;
600 String CONCRETE_PRESENCE = ALIAS + "." + StatusUpdates.PRESENCE;
601 String CONCRETE_STATUS = ALIAS + "." + StatusUpdates.STATUS;
602 String CONCRETE_STATUS_TIMESTAMP = ALIAS + "." + StatusUpdates.STATUS_TIMESTAMP
    [all...]
GlobalSearchSupport.java 32 import android.provider.ContactsContract.StatusUpdates;
67 "(SELECT " + StatusUpdates.PRESENCE +
96 icon2 = String.valueOf(StatusUpdates.getPresenceIconResourceId(presence));
ContactsProvider2.java 102 import android.provider.ContactsContract.StatusUpdates;
392 INSERT_URI_ID_VALUE_MAP.put(STATUS_UPDATES, StatusUpdates.DATA_ID);
623 Tables.AGGREGATED_PRESENCE + "." + StatusUpdates.PRESENCE)
625 Tables.AGGREGATED_PRESENCE + "." + StatusUpdates.CHAT_CAPABILITY)
690 Tables.AGGREGATED_PRESENCE + '.' + StatusUpdates.PRESENCE)
692 Tables.AGGREGATED_PRESENCE + '.' + StatusUpdates.CHAT_CAPABILITY)
    [all...]
LegacyApiSupport.java 51 import android.provider.ContactsContract.StatusUpdates;
147 " ON (" + Tables.PRESENCE + "." + StatusUpdates.DATA_ID + "=" +
148 "(SELECT MAX(" + StatusUpdates.DATA_ID + ")" +
174 "(CASE WHEN " + StatusUpdates.PROTOCOL + "=" + Im.PROTOCOL_CUSTOM
175 + " THEN 'custom:'||" + StatusUpdates.CUSTOM_PROTOCOL
176 + " ELSE 'pre:'||" + StatusUpdates.PROTOCOL
394 "(SELECT " + StatusUpdates.STATUS +
399 " ORDER BY " + StatusUpdates.STATUS_TIMESTAMP + " DESC " +
    [all...]
  /frameworks/base/core/java/android/provider/
Contacts.java     [all...]
ContactsContract.java 92 * {@link StatusUpdates}, which contains social status updates including IM
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/model/
ContactLoaderTest.java 27 import android.provider.ContactsContract.StatusUpdates;
334 0, 0, StatusUpdates.AVAILABLE,
358 StatusUpdates.INVISIBLE, null,
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
ContactAggregator.java 38 import android.provider.ContactsContract.StatusUpdates;
115 " ORDER BY " + StatusUpdates.STATUS_TIMESTAMP + " DESC,"
116 + StatusUpdates.STATUS +
283 + StatusUpdates.PRESENCE + ", "
284 + StatusUpdates.CHAT_CAPABILITY + ")"
286 + StatusUpdates.PRESENCE + ","
287 + StatusUpdates.CHAT_CAPABILITY
290 + " (" + StatusUpdates.PRESENCE
291 + " * 10 + " + StatusUpdates.CHAT_CAPABILITY + ")"
293 + "MAX (" + StatusUpdates.PRESENC
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/
ContactHeaderWidget.java 38 import android.provider.ContactsContract.StatusUpdates;
324 mPresenceView.setImageResource(StatusUpdates.getPresenceIconResourceId(presence));
  /packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
ContactFragment.java 56 import android.provider.ContactsContract.StatusUpdates;
607 if (StatusUpdates.getPresencePrecedence(presence)
608 < StatusUpdates.getPresencePrecedence(entry.presence)) {
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
ContactAggregatorTest.java 35 import android.provider.ContactsContract.StatusUpdates;
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/detail/
ContactDetailFragment.java 44 import android.provider.ContactsContract.StatusUpdates;
    [all...]
  /prebuilts/sdk/12/
android.jar 

Completed in 1081 milliseconds

1 2