/developers/build/prebuilts/gradle/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/ |
CalendarQueryService.java | 34 import android.content.ContentResolver; 135 ContentResolver contentResolver = context.getContentResolver(); 140 Cursor cursor = contentResolver.query(builder.build(), INSTANCE_PROJECTION, 163 Cursor contactCursor = contentResolver.query(Data.CONTENT_URI, 172 event.ownerProfilePic = getProfilePicture(contentResolver, context, ownerId); 198 private static Asset getProfilePicture(ContentResolver contentResolver, Context context, 203 InputStream inputStream = Contacts.openContactPhotoInputStream(contentResolver,
|
/developers/samples/android/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/ |
CalendarQueryService.java | 34 import android.content.ContentResolver; 135 ContentResolver contentResolver = context.getContentResolver(); 140 Cursor cursor = contentResolver.query(builder.build(), INSTANCE_PROJECTION, 163 Cursor contactCursor = contentResolver.query(Data.CONTENT_URI, 172 event.ownerProfilePic = getProfilePicture(contentResolver, context, ownerId); 198 private static Asset getProfilePicture(ContentResolver contentResolver, Context context, 203 InputStream inputStream = Contacts.openContactPhotoInputStream(contentResolver,
|
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/ |
CalendarQueryService.java | 34 import android.content.ContentResolver; 135 ContentResolver contentResolver = context.getContentResolver(); 140 Cursor cursor = contentResolver.query(builder.build(), INSTANCE_PROJECTION, 163 Cursor contactCursor = contentResolver.query(Data.CONTENT_URI, 172 event.ownerProfilePic = getProfilePicture(contentResolver, context, ownerId); 198 private static Asset getProfilePicture(ContentResolver contentResolver, Context context, 203 InputStream inputStream = Contacts.openContactPhotoInputStream(contentResolver,
|
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/ |
ContactDetailFragment.java | 21 import android.content.ContentResolver; 548 // Instantiates a ContentResolver for retrieving the Uri of the image 549 final ContentResolver contentResolver = getActivity().getContentResolver(); 552 // ContentResolver can return an AssetFileDescriptor for the file. 564 afd = contentResolver.openAssetFileDescriptor(displayImageUri, "r");
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
EABDbUtil.java | 37 import android.content.ContentResolver; 62 ContentResolver contentResolver = context.getContentResolver(); 71 Cursor cursor = contentResolver.query(Contacts.CONTENT_URI, projection, selection, 95 Cursor pCur = contentResolver.query( 118 String dataId = getDataId(contentResolver,rawContactId, contactNumber); 150 private static String getDataId(ContentResolver contentResolver, 158 cur = contentResolver.query(Data.CONTENT_URI,
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppManager.java | 39 import android.content.ContentResolver; 429 ContentResolver contentResolver = mContext.getContentResolver(); 430 String contentType = contentResolver.getType(fileUri);
|
BluetoothOppService.java | 41 import android.content.ContentResolver; 161 final ContentResolver contentResolver = getContentResolver(); 164 trimDatabase(contentResolver); [all...] |
/packages/apps/Nfc/src/com/android/nfc/handover/ |
BluetoothPeripheralHandover.java | 27 import android.content.ContentResolver; 120 ContentResolver contentResolver = mContext.getContentResolver(); 121 mProvisioning = Settings.Secure.getInt(contentResolver,
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowApplication.java | 7 import android.content.ContentResolver; 72 private ContentResolver contentResolver; 140 public ContentResolver getContentResolver() { 141 if (contentResolver == null) { 142 contentResolver = new ContentResolver(realApplication) { 145 return contentResolver;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
DpmMockContext.java | 25 import android.content.ContentResolver; 265 public final MockContentResolver contentResolver; 307 contentResolver = new MockContentResolver(); 609 public ContentResolver getContentResolver() { 610 return contentResolver;
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapObexServer.java | 36 import android.content.ContentResolver; 762 ContentResolver contentResolver; 763 contentResolver = mContext.getContentResolver(); 765 Cursor c = contentResolver.query( 795 ContentResolver contentResolver; 796 contentResolver = mContext.getContentResolver(); 798 Cursor c = contentResolver.query( [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
AggregationSuggestionEngine.java | 19 import android.content.ContentResolver; 324 ContentResolver contentResolver = mContext.getContentResolver(); 325 Cursor cursor = contentResolver.query(uri, new String[]{Contacts._ID}, null, null, null); 351 Cursor dataCursor = contentResolver.query(Data.CONTENT_URI, 406 final ContentResolver contentResolver = mContext.getContentResolver(); 407 final Cursor contactCursor = contentResolver.query(contactFilterUri,
|
/packages/apps/Email/src/com/android/email/ |
EmailNotificationController.java | 23 import android.content.ContentResolver; 192 ContentResolver resolver = mContext.getContentResolver(); 264 ContentResolver resolver = mContext.getContentResolver(); 299 ContentResolver resolver = mContext.getContentResolver(); 613 final ContentResolver contentResolver = context.getContentResolver(); 615 final Cursor mailboxCursor = contentResolver.query( 672 final ContentResolver contentResolver = context.getContentResolver(); 674 final Cursor accountCursor = contentResolver.query(accountUri [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
SaveImage.java | 19 import android.content.ContentResolver; 172 * @param contentResolver The application's contentResolver 175 public static void deleteAuxFiles(ContentResolver contentResolver, 179 querySourceFromContentResolver(contentResolver, 559 ContentResolver contentResolver = context.getContentResolver(); 560 querySourceFromContentResolver(contentResolver, sourceUri, projection, callback); 564 ContentResolver contentResolver, Uri sourceUri, String[] projection [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
ImageUtils.java | 19 import android.content.ContentResolver; 225 public static String getContentType(final ContentResolver cr, final Uri uri) { 303 ContentResolver contentResolver = Factory.get().getApplicationContext() 305 InputStream inputStream = contentResolver.openInputStream(contentUri); 483 if (!TextUtils.equals(mUri.getScheme(), ContentResolver.SCHEME_FILE)) { 568 final ContentResolver cr = mContext.getContentResolver(); 675 final ContentResolver cr = mContext.getContentResolver(); [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
LauncherModel.java | 23 import android.content.ContentResolver; 634 final ContentResolver cr = context.getContentResolver(); 648 final ContentResolver cr = context.getContentResolver(); [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
IntentTest.java | 23 import android.content.ContentResolver; 257 final ContentResolver contentResolver = mContext.getContentResolver(); 263 assertEquals(contentResolver.getType(TEST_URI), mIntent.resolveType(mContext)); 269 final ContentResolver contentResolver = mContext.getContentResolver(); 270 assertNull(mIntent.resolveType(contentResolver)); 272 assertEquals(TEST_TYPE, mIntent.resolveType(contentResolver)); 275 assertEquals(contentResolver.getType(TEST_URI), mIntent.resolveType(contentResolver)); [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
AlarmStateManager.java | 22 import android.content.ContentResolver; 193 final ContentResolver cr = context.getContentResolver(); 269 ContentResolver cr = context.getContentResolver(); 358 ContentResolver contentResolver = context.getContentResolver(); 360 AlarmInstance.updateInstance(contentResolver, instance); 380 ContentResolver contentResolver = context.getContentResolver(); 382 AlarmInstance.updateInstance(contentResolver, instance); 402 ContentResolver contentResolver = context.getContentResolver() [all...] |
/packages/apps/Dialer/src/com/android/dialer/voicemail/ |
VoicemailPlaybackPresenter.java | 23 import android.content.ContentResolver; 426 ContentResolver contentResolver = mContext.getContentResolver(); 427 Cursor cursor = contentResolver.query( [all...] |
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
BugleDatabaseOperations.java | 19 import android.content.ContentResolver; [all...] |
/frameworks/base/core/java/android/provider/ |
ContactsContract.java | 26 import android.content.ContentResolver; 127 * ContentResolver#notifyChange(android.net.Uri, android.database.ContentObserver, boolean)}. 657 public static void notifyDirectoryChange(ContentResolver resolver) { [all...] |
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
DialpadFragment.java | 27 import android.content.ContentResolver; 671 final ContentResolver contentResolver = activity.getContentResolver(); 674 mDTMFToneEnabled = Settings.System.getInt(contentResolver, [all...] |
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
PanoramaActivity.java | 39 import android.content.ContentResolver; [all...] |
/frameworks/support/samples/SupportLeanbackShowcase/libs/ |
picasso-2.5.2.jar | |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaRouter.java | 21 import android.content.ContentResolver; [all...] |