Searched refs:contentResolver (Results 1 – 9 of 9) sorted by relevance
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
D | ContactAccessorSdk5.java | 58 public ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri) { in loadContact() argument 63 Cursor cursor = contentResolver.query(contactUri, in loadContact() 75 cursor = contentResolver.query(Phone.CONTENT_URI, in loadContact()
|
D | ContactAccessorSdk3_4.java | 55 public ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri) { in loadContact() argument 57 Cursor cursor = contentResolver.query(contactUri, in loadContact() 68 cursor = contentResolver.query(phoneUri, in loadContact()
|
D | ContactAccessor.java | 88 public abstract ContactInfo loadContact(ContentResolver contentResolver, Uri contactUri); in loadContact() argument
|
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/ |
D | DirectorySelectionFragment.java | 151 ContentResolver contentResolver = getActivity().getContentResolver(); in updateDirectoryEntries() local 157 Cursor docCursor = contentResolver.query(docUri, new String[]{ in updateDirectoryEntries() 171 Cursor childCursor = contentResolver.query(childrenUri, new String[]{ in updateDirectoryEntries() 198 ContentResolver contentResolver = getActivity().getContentResolver(); in createDirectory() local 202 .createDocument(contentResolver, docUri, Document.MIME_TYPE_DIR, directoryName); in createDirectory()
|
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/ |
D | CalendarQueryService.java | 135 ContentResolver contentResolver = context.getContentResolver(); in queryEvents() local 140 Cursor cursor = contentResolver.query(builder.build(), INSTANCE_PROJECTION, in queryEvents() 163 Cursor contactCursor = contentResolver.query(Data.CONTENT_URI, in queryEvents() 172 event.ownerProfilePic = getProfilePicture(contentResolver, context, ownerId); in queryEvents() 198 private static Asset getProfilePicture(ContentResolver contentResolver, Context context, in getProfilePicture() argument 203 InputStream inputStream = Contacts.openContactPhotoInputStream(contentResolver, in getProfilePicture()
|
/development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/ |
D | ScopedDirectoryAccessFragment.java | 187 ContentResolver contentResolver = getActivity().getContentResolver(); in updateDirectoryEntries() local 193 try (Cursor docCursor = contentResolver in updateDirectoryEntries() 201 try (Cursor childCursor = contentResolver in updateDirectoryEntries()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
D | SyncAdapter.java | 205 final ContentResolver contentResolver = getContext().getContentResolver(); in updateLocalFeedData() local 223 Cursor c = contentResolver.query(uri, PROJECTION, null, null, null); in updateLocalFeedData()
|
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/core/ |
D | VoicemailProviderHelpers.java | 66 private VoicemailProviderHelpers(Uri baseUri, ContentResolver contentResolver) { in VoicemailProviderHelpers() argument 67 mContentResolver = contentResolver; in VoicemailProviderHelpers()
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/ |
D | ContactDetailFragment.java | 549 final ContentResolver contentResolver = getActivity().getContentResolver(); in loadContactPhoto() local 564 afd = contentResolver.openAssetFileDescriptor(displayImageUri, "r"); in loadContactPhoto()
|