Searched refs:delete (Results 276 - 300 of 410) sorted by relevance

<<11121314151617

/packages/apps/Email/provider_src/com/android/email/provider/
H A DAccountReconciler.java102 * account in the other list), delete the orphan, as these must remain in sync.
184 // We want to delete the account if there is no matching Account Manager account for it
185 // unless it is flagged as incomplete. We also want to delete it if we can't find
216 context.getContentResolver().delete(
298 // it still works pretty well because there is nowhere in the email app to delete the
H A DEmailConversationCursor.java240 resolver.delete(purgeUri, null, null);
/packages/apps/Email/provider_src/com/android/email/service/
H A DPopImapSyncAdapterService.java114 // This is an update to a message in a non-syncing mailbox; delete this from the
116 resolver.delete(Message.UPDATED_CONTENT_URI, MessageColumns.MAILBOX_KEY + "=?",
H A DAttachmentService.java934 EmailContent.delete(this, Attachment.CONTENT_URI, att.mId);
1135 // can't be downloaded) delete it from the outgoing message, lest that
1137 EmailContent.delete(this, Attachment.CONTENT_URI, attachment.mId);
1168 // If there's no associated message, delete the attachment
1169 EmailContent.delete(this, Attachment.CONTENT_URI, attachment.mId);
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasLoadAttachment.java351 tmpFile.delete();
/packages/apps/Exchange/src/com/android/exchange/service/
H A DPingSyncSynchronizer.java358 mAccountStateMap.delete(accountId);
/packages/apps/Exchange/tests/src/com/android/exchange/provider/
H A DMailboxUtilitiesTests.java65 // If we've created and saved an account, delete it
67 mResolver.delete(
305 mResolver.delete(ContentUris.withAppendedId(Mailbox.CONTENT_URI, box3.mId), null, null);
358 mResolver.delete(ContentUris.withAppendedId(Mailbox.CONTENT_URI, box3.mId), null, null);
411 mResolver.delete(ContentUris.withAppendedId(Mailbox.CONTENT_URI, box3.mId), null, null);
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/
H A DWidgetDatabaseHelper.java303 db.delete(TABLE_WIDGETS, WHERE_APPWIDGET_ID,
306 Log.e(TAG, "Could not delete photo from database", e);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncherProvider.java144 db.delete(args.table, args.where, args.args);
184 public int delete(Uri uri, String selection, String[] selectionArgs) { method in class:LauncherProvider
188 int count = db.delete(args.table, args.where, args.args);
427 resolver.delete(uri, null, null);
1019 // We just delete the folder and any items that made it
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
H A DWallpaperPickerActivity.java999 f.delete();
1011 new File(getContext().getFilesDir(), LauncherFiles.DEFAULT_WALLPAPER_THUMBNAIL_OLD).delete();
1012 new File(getContext().getFilesDir(), LauncherFiles.DEFAULT_WALLPAPER_THUMBNAIL).delete();
1016 + LauncherFiles.DEFAULT_WALLPAPER_THUMBNAIL).delete();
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DProcessSentMessageAction.java146 tempFile.delete();
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
H A DAudioRecordView.java276 Factory.get().getApplicationContext().getContentResolver().delete(
/packages/apps/Messaging/tests/src/com/android/messaging/util/
H A DContactUtilTest.java130 mContext.getContentResolver().delete(uri, null, null);
/packages/apps/Settings/src/com/android/settings/notification/
H A DZenModeRuleSettingsBase.java204 if (item.getItemId() == R.id.delete) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
H A DUserDictionaryAddWordContents.java131 /* package */ void delete(final Context context) { method in class:UserDictionaryAddWordContents
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DMmsSmsProvider.java72 * Finally, this class provides a way to delete or update all messages
1212 public int delete(Uri uri, String selection, method in class:MmsSmsProvider
1233 + db.delete("sms", selection, selectionArgs);
1240 affectedRows = db.delete(TABLE_THREADS,
1265 + db.delete("sms", finalSelection, selectionArgs);
/packages/services/Mms/src/com/android/mms/service/
H A DDownloadRequest.java174 SqliteWrapper.delete(context,
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppService.java793 * 3) If the batch become empty delete the batch
925 int delNum = contentResolver.delete(BluetoothShare.CONTENT_URI,
933 delNum = contentResolver.delete(BluetoothShare.CONTENT_URI,
957 delNum = contentResolver.delete(BluetoothShare.CONTENT_URI,
/packages/apps/Email/provider_src/com/android/email/
H A DSecurityPolicy.java639 mContext.getContentResolver().delete(uri, null, null);
720 // Find all accounts with security and delete them
729 cr.delete(uri, null, null);
825 context.getContentResolver().delete(uri, null, null);
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DFolderSyncParser.java748 // Look for sync issues and its children and delete them
766 mContentResolver.delete(ContentUris.withAppendedId(Mailbox.CONTENT_URI, id),
769 mContentResolver.delete(Mailbox.CONTENT_URI, WHERE_PARENT_SERVER_ID_AND_ACCOUNT,
798 // And only then, delete mailboxes
799 mContentResolver.delete(Mailbox.CONTENT_URI, WHERE_ACCOUNT_KEY,
/packages/apps/Settings/src/com/android/settings/
H A DApnEditor.java519 // If it's a new APN, then cancel will delete the new entry in onPause
544 getContentResolver().delete(mUri, null, null);
598 getContentResolver().delete(mUri, null, null);
724 getContentResolver().delete(mUri, null, null);
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DNotificationActionUtils.java93 DELETE("delete", true, R.drawable.ic_delete_wht_24dp,
220 // no undo for archive/delete, and mark conversation as read after reply.
736 * Processes the specified destructive action (archive, delete, mute) on the message.
774 contentResolver.delete(uri, null, null);
842 sNotificationTimestamps.delete(notificationId);
854 sUndoNotifications.delete(notificationId);
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarInstancesHelper.java443 // First, delete the original instances corresponding to recurrence
473 // that delete the original instance.
618 * to delete those before we do any additional work.
645 db.delete(Tables.INSTANCES, Instances.EVENT_ID + "=?", new String[] {
792 delCount = db.delete(Tables.INSTANCES, where, new String[] {
800 delCount = db.delete(Tables.INSTANCES, where, new String[] {
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
H A DConversationCursor.java72 * ConversationCursor is a wrapper around a conversation list cursor that provides update/delete
1309 // so that we can intercept update/delete and handle it ourselves
1461 public int delete(Uri uri, String selection, String[] selectionArgs) { method in class:ConversationCursor.ConversationProvider
1462 throw new IllegalStateException("Unexpected call to ConversationProvider.delete");
1506 return mResolver.delete(mUri, null, null);
2026 // Below are methods that update Conversation data (update/delete)
2196 public int delete(Collection<Conversation> conversations) { method in class:ConversationCursor
2197 return delete(conversations, null);
2200 public int delete(Collection<Conversation> conversations, UndoCallback undoCallback) { method in class:ConversationCursor
2290 * As above, for mostly delete
[all...]
/packages/providers/TvProvider/src/com/android/providers/tv/
H A DTvProvider.java81 private static final String OP_DELETE = "delete";
646 public int delete(Uri uri, String selection, String[] selectionArgs) { method in class:TvProvider
664 count = db.delete(params.getTables(), params.getSelection(),
1070 db.delete(WATCHED_PROGRAMS_TABLE, WATCHED_PROGRAMS_COLUMN_CONSOLIDATED + "=0", null);
1231 db.delete(WATCHED_PROGRAMS_TABLE, WatchedPrograms._ID + "=" + String.valueOf(id),
1270 // entries are safe to delete.
1276 db.delete(WATCHED_PROGRAMS_TABLE, deleteWhere, null);

Completed in 871 milliseconds

<<11121314151617