/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,
|
/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);
|
/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...] |
/frameworks/base/docs/html/sdk/api_diff/15/changes/ |
classes_index_additions.html | 58 <A HREF="pkg_android.provider.html#ContactsContract.Contacts.StreamItems" class="hiddenlink" target="rightframe"><b>ContactsContract.Contacts.StreamItems</b></A><br> 59 <A HREF="pkg_android.provider.html#ContactsContract.RawContacts.StreamItems" class="hiddenlink" target="rightframe"><b>ContactsContract.RawContacts.StreamItems</b></A><br> 62 <A HREF="pkg_android.provider.html#ContactsContract.StreamItems" class="hiddenlink" target="rightframe"><b>ContactsContract.StreamItems</b></A><br> 63 <A HREF="pkg_android.provider.html#ContactsContract.StreamItems.StreamItemPhotos" class="hiddenlink" target="rightframe"><b>ContactsContract.StreamItems.StreamItemPhotos</b></A><br>
|
pkg_android.provider.html | 98 <A NAME="ContactsContract.Contacts.StreamItems"></A> 99 <nobr><A HREF="../../../../reference/android/provider/ContactsContract.Contacts.StreamItems.html" target="_top"><code>ContactsContract.Contacts.<br>StreamItems</code></A></nobr> 105 <A NAME="ContactsContract.RawContacts.StreamItems"></A> 106 <nobr><A HREF="../../../../reference/android/provider/ContactsContract.RawContacts.StreamItems.html" target="_top"><code>ContactsContract.RawContacts.<br>StreamItems</code></A></nobr> 126 <A NAME="ContactsContract.StreamItems"></A> 127 <nobr><A HREF="../../../../reference/android/provider/ContactsContract.StreamItems.html" target="_top"><code>ContactsContract.StreamItems</code></A></nobr> 133 <A NAME="ContactsContract.StreamItems.StreamItemPhotos"></A [all...] |
classes_index_all.html | 112 <A HREF="pkg_android.provider.html#ContactsContract.Contacts.StreamItems" class="hiddenlink" target="rightframe"><b>ContactsContract.Contacts.StreamItems</b></A><br> 113 <A HREF="pkg_android.provider.html#ContactsContract.RawContacts.StreamItems" class="hiddenlink" target="rightframe"><b>ContactsContract.RawContacts.StreamItems</b></A><br> 116 <A HREF="pkg_android.provider.html#ContactsContract.StreamItems" class="hiddenlink" target="rightframe"><b>ContactsContract.StreamItems</b></A><br> 117 <A HREF="pkg_android.provider.html#ContactsContract.StreamItems.StreamItemPhotos" class="hiddenlink" target="rightframe"><b>ContactsContract.StreamItems.StreamItemPhotos</b></A><br>
|
alldiffs_index_additions.html | 145 <!-- Class ContactsContract.Contacts.StreamItems --> 146 <A HREF="pkg_android.provider.html#ContactsContract.Contacts.StreamItems" class="hiddenlink" target="rightframe"><b>ContactsContract.Contacts.StreamItems</b></A><br> 147 <!-- Class ContactsContract.RawContacts.StreamItems --> 148 <A HREF="pkg_android.provider.html#ContactsContract.RawContacts.StreamItems" class="hiddenlink" target="rightframe"><b>ContactsContract.RawContacts.StreamItems</b></A><br> 153 <!-- Class ContactsContract.StreamItems --> 154 <A HREF="pkg_android.provider.html#ContactsContract.StreamItems" class="hiddenlink" target="rightframe"><b>ContactsContract.StreamItems</b></A><br> 155 <!-- Class ContactsContract.StreamItems.StreamItemPhotos -- [all...] |
alldiffs_index_all.html | 234 <!-- Class ContactsContract.Contacts.StreamItems --> 235 <A HREF="pkg_android.provider.html#ContactsContract.Contacts.StreamItems" class="hiddenlink" target="rightframe"><b>ContactsContract.Contacts.StreamItems</b></A><br> 236 <!-- Class ContactsContract.RawContacts.StreamItems --> 237 <A HREF="pkg_android.provider.html#ContactsContract.RawContacts.StreamItems" class="hiddenlink" target="rightframe"><b>ContactsContract.RawContacts.StreamItems</b></A><br> 242 <!-- Class ContactsContract.StreamItems --> 243 <A HREF="pkg_android.provider.html#ContactsContract.StreamItems" class="hiddenlink" target="rightframe"><b>ContactsContract.StreamItems</b></A><br> 244 <!-- Class ContactsContract.StreamItems.StreamItemPhotos -- [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/socialwidget/ |
SocialWidgetProvider.java | 30 import android.provider.ContactsContract.StreamItems; 173 List<StreamItemEntry> streamItems, PendingIntent defaultIntent) { 193 if (streamItems == null || streamItems.isEmpty()) { 204 StreamItemEntry streamItem = streamItems.get(0); 222 final Uri uri = ContentUris.withAppendedId(StreamItems.CONTENT_URI,
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
StreamItemAdapter.java | 146 public void setStreamItems(List<StreamItemEntry> streamItems) { 147 mStreamItems = streamItems;
|
ContactDetailUpdatesFragment.java | 24 import android.provider.ContactsContract.StreamItems; 66 final Uri uri = ContentUris.withAppendedId(StreamItems.CONTENT_URI,
|
ContactDetailDisplayUtils.java | 29 import android.provider.ContactsContract.StreamItems; 80 final Uri.Builder builder = StreamItems.CONTENT_URI.buildUpon(); 82 builder.appendPath(StreamItems.StreamItemPhotos.CONTENT_DIRECTORY);
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
ContactLoader.java | 39 import android.provider.ContactsContract.StreamItems; 719 .appendPath(Contacts.StreamItems.CONTENT_DIRECTORY).build(), 723 final ArrayList<StreamItemEntry> streamItems = new ArrayList<StreamItemEntry>(); 728 streamItems.add(streamItem); 736 for (StreamItemEntry streamItem : streamItems) { 741 Log.d(TAG, "Decoded HTML for " + streamItems.size() + " items, took " 746 if (!streamItems.isEmpty()) { [all...] |
Contact.java | 492 /* package */ void setStreamItems(ImmutableList<StreamItemEntry> streamItems) { 493 mStreamItems = streamItems;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsProvider2Test.java | 63 import android.provider.ContactsContract.StreamItems; [all...] |
BaseContactsProvider2Test.java | 55 import android.provider.ContactsContract.StreamItems; 499 RawContacts.StreamItems.CONTENT_DIRECTORY), 508 ContentUris.withAppendedId(StreamItems.CONTENT_URI, streamItemId), 509 StreamItems.StreamItemPhotos.CONTENT_DIRECTORY), [all...] |
/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 | 101 import android.provider.ContactsContract.StreamItems; 374 INSERT_URI_ID_VALUE_MAP.put(STREAM_ITEMS, StreamItems.RAW_CONTACT_ID); 375 INSERT_URI_ID_VALUE_MAP.put(RAW_CONTACTS_ID_STREAM_ITEMS, StreamItems.RAW_CONTACT_ID); [all...] |
ContactsDatabaseHelper.java | 69 import android.provider.ContactsContract.StreamItems; 585 Tables.STREAM_ITEMS + "." + StreamItems.RAW_CONTACT_ID; 586 final String CONCRETE_PACKAGE = Tables.STREAM_ITEMS + "." + StreamItems.RES_PACKAGE; 587 final String CONCRETE_ICON = Tables.STREAM_ITEMS + "." + StreamItems.RES_ICON; 588 final String CONCRETE_LABEL = Tables.STREAM_ITEMS + "." + StreamItems.RES_LABEL; 589 final String CONCRETE_TEXT = Tables.STREAM_ITEMS + "." + StreamItems.TEXT; 590 final String CONCRETE_TIMESTAMP = Tables.STREAM_ITEMS + "." + StreamItems.TIMESTAMP; 591 final String CONCRETE_COMMENTS = Tables.STREAM_ITEMS + "." + StreamItems.COMMENTS; 592 final String CONCRETE_SYNC1 = Tables.STREAM_ITEMS + "." + StreamItems.SYNC1; 593 final String CONCRETE_SYNC2 = Tables.STREAM_ITEMS + "." + StreamItems.SYNC2 [all...] |
/frameworks/base/docs/html/about/versions/ |
android-4.0.3.jd | 79 defined by {@link android.provider.ContactsContract.StreamItems}, the Uri for 87 as a sub-directory of the {@link android.provider.ContactsContract.StreamItems} 90 <p>See {@link android.provider.ContactsContract.StreamItems} and
|
/packages/apps/Contacts/tests/ |
AndroidManifest.xml | 89 <activity android:name=".streamitems.StreamItemPopulatorActivity"
|
/frameworks/base/core/java/android/provider/ |
ContactsContract.java | [all...] |