/cts/tests/tests/permission2/src/android/permission2/cts/ |
ReadSocialStreamPermissionTest.java | 24 import android.provider.ContactsContract.StreamItems; 41 Contacts.StreamItems.CONTENT_DIRECTORY), null, null, null, null); 52 Contacts.StreamItems.CONTENT_DIRECTORY), null, null, null, null); 63 .appendPath(Contacts.StreamItems.CONTENT_DIRECTORY) 73 mResolver.query(ContentUris.withAppendedId(StreamItems.CONTENT_URI, 1337),
|
WriteSocialStreamPermissionTest.java | 24 import android.provider.ContactsContract.StreamItems; 42 RawContacts.StreamItems.CONTENT_DIRECTORY), values); 52 mResolver.insert(StreamItems.CONTENT_URI, values);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_StreamItemsTest.java | 29 import android.provider.ContactsContract.StreamItems; 39 private static final String INSERT_TEXT = "Wrote a test for the StreamItems class"; 43 private static final String UPDATE_TEXT = "Wrote more tests for the StreamItems class"; 64 .appendPath(RawContacts.StreamItems.CONTENT_DIRECTORY) 76 values.put(StreamItems.TEXT, UPDATE_TEXT); 77 values.put(StreamItems.TIMESTAMP, UPDATE_TIMESTAMP); 78 values.put(StreamItems.COMMENTS, UPDATE_COMMENTS); 101 values.put(StreamItems.TEXT, INSERT_TEXT); 102 values.put(StreamItems.TIMESTAMP, INSERT_TIMESTAMP); 103 values.put(StreamItems.COMMENTS, INSERT_COMMENTS) [all...] |
ContactsContract_StreamItemPhotosTest.java | 24 import android.provider.ContactsContract.StreamItems; 54 ContentUris.withAppendedId(StreamItems.CONTENT_URI, mStreamItemId), 55 StreamItems.StreamItemPhotos.CONTENT_DIRECTORY); 69 Uri uri = mResolver.insert(StreamItems.CONTENT_PHOTO_URI, values); 72 assertEquals(Uri.withAppendedPath(StreamItems.CONTENT_PHOTO_URI,
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
StreamItemEntry.java | 21 import android.provider.ContactsContract.StreamItems; 84 // This is expected to be populated via a cursor containing all StreamItems columns in 86 mId = getLong(cursor, StreamItems._ID); 87 mText = getString(cursor, StreamItems.TEXT); 88 mComments = getString(cursor, StreamItems.COMMENTS); 89 mTimestamp = getLong(cursor, StreamItems.TIMESTAMP); 90 mAccountType = getString(cursor, StreamItems.ACCOUNT_TYPE); 91 mAccountName = getString(cursor, StreamItems.ACCOUNT_NAME); 92 mDataSet = getString(cursor, StreamItems.DATA_SET); 93 mResPackage = getString(cursor, StreamItems.RES_PACKAGE) [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/tests/streamitems/ |
StreamItemPopulatorActivity.java | 17 package com.android.contacts.tests.streamitems; 30 import android.provider.ContactsContract.StreamItems; 225 ContactsContract.RawContacts.StreamItems.CONTENT_DIRECTORY)) 236 ops.add(ContentProviderOperation.newInsert(StreamItems.CONTENT_PHOTO_URI) 261 values.put(StreamItems.TEXT, 266 values.put(StreamItems.RES_PACKAGE, "com.android.contacts.tests"); 268 values.put(StreamItems.RES_LABEL, labelResources[sourceIndex]); 270 values.put(StreamItems.RES_ICON, iconResources[sourceIndex]); 274 values.put(StreamItems.COMMENTS, pickRandom(commentStrings)); 276 values.put(StreamItems.COMMENTS, "") [all...] |
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactDetailUpdatesFragment.java | 24 import android.provider.ContactsContract.StreamItems; 66 final Uri uri = ContentUris.withAppendedId(StreamItems.CONTENT_URI,
|
ContactDetailDisplayUtils.java | 30 import android.provider.ContactsContract.StreamItems; 81 final Uri.Builder builder = StreamItems.CONTENT_URI.buildUpon(); 83 builder.appendPath(StreamItems.StreamItemPhotos.CONTENT_DIRECTORY);
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/ |
ContactManager.java | 45 import android.provider.ContactsContract.StreamItems; 618 values.put(StreamItems.RAW_CONTACT_ID, rawContactId); 619 values.put(StreamItems.TEXT, text); 620 values.put(StreamItems.TIMESTAMP, System.currentTimeMillis()); 621 values.put(StreamItems.COMMENTS, comments); 622 values.put(StreamItems.ACCOUNT_NAME, accountName); 623 values.put(StreamItems.ACCOUNT_TYPE, accountType); 626 StreamItems.CONTENT_URI, false, true).withValues(values).build()); 644 values.put(StreamItems.ACCOUNT_NAME, accountName); 645 values.put(StreamItems.ACCOUNT_TYPE, accountType) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ContactsProvider2.java | 104 import android.provider.ContactsContract.StreamItems; 393 INSERT_URI_ID_VALUE_MAP.put(STREAM_ITEMS, StreamItems.RAW_CONTACT_ID); 394 INSERT_URI_ID_VALUE_MAP.put(RAW_CONTACTS_ID_STREAM_ITEMS, StreamItems.RAW_CONTACT_ID); [all...] |
ContactsDatabaseHelper.java | 71 import android.provider.ContactsContract.StreamItems; 611 Tables.STREAM_ITEMS + "." + StreamItems.RAW_CONTACT_ID; 612 final String CONCRETE_PACKAGE = Tables.STREAM_ITEMS + "." + StreamItems.RES_PACKAGE; 613 final String CONCRETE_ICON = Tables.STREAM_ITEMS + "." + StreamItems.RES_ICON; 614 final String CONCRETE_LABEL = Tables.STREAM_ITEMS + "." + StreamItems.RES_LABEL; 615 final String CONCRETE_TEXT = Tables.STREAM_ITEMS + "." + StreamItems.TEXT; 616 final String CONCRETE_TIMESTAMP = Tables.STREAM_ITEMS + "." + StreamItems.TIMESTAMP; 617 final String CONCRETE_COMMENTS = Tables.STREAM_ITEMS + "." + StreamItems.COMMENTS; 618 final String CONCRETE_SYNC1 = Tables.STREAM_ITEMS + "." + StreamItems.SYNC1; 619 final String CONCRETE_SYNC2 = Tables.STREAM_ITEMS + "." + StreamItems.SYNC2 [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsProvider2Test.java | 66 import android.provider.ContactsContract.StreamItems; [all...] |
BaseContactsProvider2Test.java | 54 import android.provider.ContactsContract.StreamItems; 441 RawContacts.StreamItems.CONTENT_DIRECTORY), account), 448 ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), 449 StreamItems.StreamItemPhotos.CONTENT_DIRECTORY), account), [all...] |
/frameworks/base/core/java/android/provider/ |
ContactsContract.java | [all...] |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/18/ |
android.jar | |
/prebuilts/sdk/19/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |