/packages/apps/Browser/tests/src/com/android/browser/tests/ |
H A D | BookmarksTests.java | 41 ContentResolver cr = getMockContentResolver(); 47 c = Bookmarks.queryCombinedForUrl(cr, null, url); 55 c = Bookmarks.queryCombinedForUrl(cr, null, url);
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | AccountsChangedReceiver.java | 55 ContentResolver cr = mContext.getContentResolver(); 56 Cursor c = cr.query(Accounts.CONTENT_URI, PROJECTION, 62 delete(cr, name, type); 65 cr.update(Accounts.CONTENT_URI, null, null, null); 69 void delete(ContentResolver cr, String name, String type) { argument 77 cr.delete(uri, DELETE_SELECTION, new String[] { name, type });
|
H A D | Bookmarks.java | 98 * @param cr The ContentResolver being used to remove the bookmark. 102 ContentResolver cr, String url, String title) { 106 cursor = cr.query(uri, 121 cr.delete(uri, null, null); 160 public static Cursor queryCombinedForUrl(ContentResolver cr, argument 162 if (cr == null || url == null) { 176 return cr.query(Combined.CONTENT_URI, projection, QUERY_BOOKMARKS_WHERE, selArgs, null); 195 * @param cr The ContentResolver to use. 200 /* package */ static void updateFavicon(final ContentResolver cr, argument 211 updateImages(cr, originalUr 101 removeFromBookmarks(Context context, ContentResolver cr, String url, String title) argument [all...] |
H A D | DataController.java | 183 ContentResolver cr = mContext.getContentResolver(); 185 cr.delete(ContentUris.withAppendedId( 216 ContentResolver cr = mContext.getContentResolver(); 220 cr.insert(Thumbnails.CONTENT_URI, values); 224 ContentResolver cr = mContext.getContentResolver(); 228 c = cr.query(uri, new String[] {Thumbnails._ID, 244 ContentResolver cr = mContext.getContentResolver(); 247 c = cr.query(History.CONTENT_URI, new String[] { History._ID, History.VISITS }, 253 cr.update(ContentUris.withAppendedId(History.CONTENT_URI, c.getLong(0)), 256 android.provider.Browser.truncateHistory(cr); [all...] |
H A D | DownloadTouchIcon.java | 61 public DownloadTouchIcon(Tab tab, Context ctx, ContentResolver cr, WebView view) { argument 64 mContentResolver = cr; 78 public DownloadTouchIcon(Context ctx, ContentResolver cr, String url) { argument 81 mContentResolver = cr;
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarReceiver.java | 53 final ContentResolver cr = context.getContentResolver(); 59 cr.update(CalendarAlarmManager.SCHEDULE_ALARM_URI, null /* values */, 62 removeScheduledAlarms(cr);
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | ImageManager.java | 203 public static Uri addImage(ContentResolver cr, String title, long dateTaken, argument 249 return cr.insert(STORAGE_URI, values); 283 public static IImageList makeImageList(ContentResolver cr, argument 292 if (isEmptyImageList || cr == null) { 297 return new SingleImageList(cr, singleImageUri); 308 l.add(new ImageList(cr, STORAGE_URI, sort, bucketId)); 311 l.add(new VideoList(cr, VIDEO_STORAGE_URI, sort, bucketId)); 316 l.add(new ImageList(cr, 321 cr, DrmStore.Images.CONTENT_URI, sort, bucketId)); 347 public static IImageList makeImageList(ContentResolver cr, Ur argument 436 makeImageList(ContentResolver cr, DataLocation location, int inclusion, int sort, String bucketId) argument 447 makeSingleImageList(ContentResolver cr, Uri uri) argument 515 isMediaScannerScanning(ContentResolver cr) argument [all...] |
H A D | BitmapManager.java | 113 public synchronized void cancelThreadDecoding(Thread t, ContentResolver cr) { argument 128 Images.Thumbnails.cancelThumbnailRequest(cr, -1, t.getId()); 129 Video.Thumbnails.cancelThumbnailRequest(cr, -1, t.getId()); 138 public Bitmap getThumbnail(ContentResolver cr, long origId, int kind, argument 153 return Video.Thumbnails.getThumbnail(cr, origId, t.getId(), 156 return Images.Thumbnails.getThumbnail(cr, origId, t.getId(),
|
H A D | ImageLoader.java | 108 public ImageLoader(ContentResolver cr, Handler handler) { argument 109 mCr = cr;
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
H A D | EmailSyncAlarmReceiver.java | 65 ContentResolver cr = context.getContentResolver(); 73 Cursor c = cr.query(Message.DELETED_CONTENT_URI, MAILBOX_DATA_PROJECTION, selector, 90 c = cr.query(Message.UPDATED_CONTENT_URI, MAILBOX_DATA_PROJECTION, selector,
|
H A D | ContactsSyncAdapterService.java | 105 ContentResolver cr = context.getContentResolver(); 114 boolean changed = hasDirtyRows(cr, uri, RawContacts.DIRTY); 121 changed = hasDirtyRows(cr, uri, Groups.DIRTY); 131 cr.query(com.android.emailcommon.provider.Account.CONTENT_URI, ID_PROJECTION, 137 Cursor mailboxCursor = cr.query(Mailbox.CONTENT_URI, ID_PROJECTION,
|
H A D | EmailSyncAdapterService.java | 92 ContentResolver cr = context.getContentResolver(); 97 cr.query(com.android.emailcommon.provider.Account.CONTENT_URI, 104 Cursor mailboxCursor = cr.query(Mailbox.CONTENT_URI, ID_PROJECTION,
|
H A D | CalendarSyncAdapterService.java | 100 ContentResolver cr = context.getContentResolver(); 103 Cursor c = cr.query(Events.CONTENT_URI, 119 cr.query(com.android.emailcommon.provider.Account.CONTENT_URI, 126 Cursor mailboxCursor = cr.query(Mailbox.CONTENT_URI, ID_SYNC_KEY_PROJECTION,
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
H A D | NoNullCursorAsyncQueryHandler.java | 31 public NoNullCursorAsyncQueryHandler(ContentResolver cr) { argument 32 super(cr);
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
H A D | TestSyncAdapter.java | 54 ContentResolver cr = mContext.getContentResolver(); 58 final int count = cr.update(RawContacts.CONTENT_URI, values,
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | LocationSettings.java | 132 final ContentResolver cr = getContentResolver(); 136 Settings.Secure.setLocationProviderEnabled(cr, 142 Settings.Secure.setLocationProviderEnabled(cr, 149 Settings.Global.putInt(cr, Settings.Global.ASSISTED_GPS_ENABLED, 193 final ContentResolver cr = getContentResolver(); 194 Settings.Secure.setLocationProviderEnabled(cr, 196 Settings.Secure.setLocationProviderEnabled(cr,
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
H A D | AccountBackupRestoreTests.java | 109 ContentResolver cr = mMockContext.getContentResolver(); 110 cr.delete(Account.CONTENT_URI, null, null); 111 cr.delete(HostAuth.CONTENT_URI, null, null); 127 Cursor c = cr.query(Account.CONTENT_URI, Account.CONTENT_PROJECTION, null, null, "_id ASC");
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | UninstallShortcutReceiver.java | 102 final ContentResolver cr = context.getContentResolver(); 103 Cursor c = cr.query(LauncherSettings.Favorites.CONTENT_URI, 118 cr.delete(uri, null, null); 133 cr.notifyChange(LauncherSettings.Favorites.CONTENT_URI, null);
|
/packages/apps/Mms/src/com/android/mms/model/ |
H A D | AudioModel.java | 59 ContentResolver cr = mContext.getContentResolver(); 60 Cursor c = SqliteWrapper.query(mContext, cr, uri, null, null, null, null); 151 ContentRestriction cr = ContentRestrictionFactory.getContentRestriction(); 152 cr.checkAudioContentType(mContentType);
|
/packages/apps/Gallery/src/com/android/camera/gallery/ |
H A D | DrmImageList.java | 60 protected DrmImage(BaseImageList container, ContentResolver cr, argument 64 super(container, cr, id, index, uri, dataPath,
|
H A D | VideoObject.java | 43 * @param cr the content resolver 45 protected VideoObject(BaseImageList container, ContentResolver cr, argument 48 super(container, cr, id, index, uri, dataPath,
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | HandleSetAlarm.java | 93 ContentResolver cr = getContentResolver(); 94 Uri result = cr.insert(Alarm.Columns.CONTENT_URI, values); 97 c = cr.query(result, Alarm.Columns.ALARM_QUERY_COLUMNS, null,
|
/packages/apps/OneTimeInitializer/src/com/android/onetimeinitializer/ |
H A D | OneTimeInitializerService.java | 103 ContentResolver cr = getContentResolver(); 104 Cursor c = cr.query(LAUNCHER_CONTENT_URI, 138 cr.update(LAUNCHER_CONTENT_URI, values, updateWhere, null);
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
H A D | BluetoothOppHandover.java | 78 ContentResolver cr = context.getContentResolver(); 79 return cr.getType(uri);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
H A D | ContactsUtils.java | 273 public static long queryForContactId(ContentResolver cr, long rawContactId) { argument 277 contactIdCursor = cr.query(RawContacts.CONTENT_URI, 291 public static String querySuperPrimaryPhone(ContentResolver cr, long contactId) { argument 298 c = cr.query(dataUri, 315 public static long queryForRawContactId(ContentResolver cr, long contactId) { argument 319 rawContactIdCursor = cr.query(RawContacts.CONTENT_URI, 334 public static ArrayList<Long> queryForAllRawContactIds(ContentResolver cr, long contactId) { argument 338 rawContactIdCursor = cr.query(RawContacts.CONTENT_URI,
|