/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | ShortcutRepositoryImplLog.java | 236 db.delete(Shortcuts.TABLE_NAME, Shortcuts.intent_key.fullName + " = ?", 247 db.delete(ClickLog.TABLE_NAME, null, null); 248 db.delete(Shortcuts.TABLE_NAME, null, null); 249 db.delete(SourceStats.TABLE_NAME, null, null); 362 db.delete(Shortcuts.TABLE_NAME, SHORTCUT_BY_ID_WHERE, whereArgs); 831 new File(mPath).delete(); 834 Log.w(TAG, "couldn't delete " + mPath, e);
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
H A D | MmsProvider.java | 470 db.delete(table, Rate.SENT_TIME + "<=" + oneHourAgo, null); 527 public int delete(Uri uri, String selection, method in class:MmsProvider 594 deletedRows = db.delete(table, finalSelection, selectionArgs); 624 int count = db.delete(TABLE_PDU, selection, selectionArgs); 666 new File(path).delete(); 676 return db.delete(table, selection, selectionArgs);
|
H A D | MmsSmsDatabaseHelper.java | 241 * Look through all the recipientIds referenced by the threads and then delete any 250 // no threads, delete all addresses 251 int rows = db.delete("canonical_addresses", null, null); 276 int rows = db.delete("canonical_addresses", sb.toString(), null); 296 int rows = db.delete("threads", 408 db.delete("threads", 436 int rows = db.delete("sms", "_id=" + message_id, null); 685 // When a message is moved out of Outbox, delete its pending status. 789 // Update the error flag of threads when delete pending message. 944 // As of DATABASE_VERSION 55, we've removed these triggers that delete empt [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
H A D | EmailProvider.java | 108 /** Appended to the notification URI for delete operations */ 109 public static final String NOTIFICATION_OP_DELETE = "delete"; 281 private static final String UPDATED_MESSAGE_DELETE = "delete from " + 288 private static final String DELETE_ORPHAN_BODIES = "delete from " + Body.TABLE_NAME + 293 private static final String DELETE_BODY = "delete from " + Body.TABLE_NAME + 342 // The attachments of a specific message (query only) (insert & delete TBD) 448 * delete from <table> where <column> not in (select <foreignColumn> from <foreignTable>) 458 int count = db.delete(table, column + " not in (select " + foreignColumn + " from " + 602 // If there's a legacy backup, create a new-style backup and delete the legacy backup 679 // Now, delete th 691 public int delete(Uri uri, String selection, String[] selectionArgs) { method in class:EmailProvider [all...] |
/packages/apps/Email/src/com/android/email/ |
H A D | Controller.java | 218 // Must delete attachments BEFORE messages 221 resolver.delete(Message.CONTENT_URI, WHERE_MAILBOX_KEY, 736 * Does not delete any eventual associated files. 741 resolver.delete(uri, null, null); 772 * Delete a single message by moving it to the trash, or really delete it if it's already in 778 * @param messageId The id of the message to "delete". 802 // 5. Perform "delete" as appropriate 804 // 5a. Really delete it 805 resolver.delete(uri, null, null); 990 resolver.delete(Messag [all...] |
H A D | MessagingController.java | 297 // Never, ever delete special mailboxes 307 mContext.getContentResolver().delete(uri, null, null); 924 // Attachment & Body records are auto-deleted when we delete the Message record 931 resolver.delete(uriToDelete, null, null); 936 resolver.delete(syncRowToDelete, null, null); 939 resolver.delete(deletERowToDelete, null, null); 1188 // Finally, delete the update 1191 resolver.delete(uri, null, null); 1197 Log.d(Logging.LOG_TAG, "Unable to process pending delete for id=" 1380 // Finally, delete th [all...] |
/packages/apps/Browser/src/com/android/browser/provider/ |
H A D | BrowserProvider.java | 363 gearsFiles[i].delete(); 381 files[i].delete(); 383 currentDir.delete(); 905 public int delete(Uri url, String where, String[] whereArgs) { method in class:BrowserProvider 932 // we'lll need to back up the bookmark set if we are about to delete one 946 int count = db.delete(TABLE_NAMES[match % 10], where, whereArgs);
|
H A D | BrowserProvider2.java | 574 // Wipe the old DB, in case the delete fails. 575 oldDb.delete(table, null, null); 581 if (!oldDbFile.delete()) { 1213 return db.delete(TABLE_BOOKMARKS, selection, selectionArgs); 1257 deleted = db.delete(TABLE_HISTORY, selection, selectionArgs); 1269 deleted = db.delete(TABLE_SEARCHES, selection, selectionArgs); 1274 deleted = mSyncHelper.delete(db, selection, selectionArgs); 1281 deleted = mSyncHelper.delete(db, selectionWithId, selectionArgs); 1312 db.delete(TABLE_HISTORY, History.URL + "=?", 1315 deleted += db.delete(TABLE_HISTOR [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
H A D | MailboxTests.java | 108 * Test delete mailbox 113 Account account1 = ProviderTestUtils.setupAccount("mailbox-delete", true, c); 127 // now delete one of them 129 c.getContentResolver().delete(uri, null, null); 135 // now delete the other one 137 c.getContentResolver().delete(uri, null, null); 286 // delete account 1 and confirm no mailboxes are returned 287 context.getContentResolver().delete( 332 * Test for the message count triggers (insert/delete/move mailbox), and also 453 // 3. Check the delete trigge [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | ApnEditor.java | 386 // If it's a new APN, then cancel will delete the new entry in onPause 411 getContentResolver().delete(mUri, null, null); 465 getContentResolver().delete(mUri, null, null); 567 getContentResolver().delete(mUri, null, null);
|
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
H A D | ApplicationsProvider.java | 603 mDb.delete(APPLICATIONS_TABLE, null, null); 605 mDb.delete(APPLICATIONS_TABLE, PACKAGE + " = ?", new String[] { packageName }); 622 public int delete(Uri uri, String selection, String[] selectionArgs) { method in class:ApplicationsProvider
|
/packages/providers/PartnerBookmarksProvider/src/com/android/providers/partnerbookmarks/ |
H A D | PartnerBookmarksProvider.java | 151 db.delete(TABLE_BOOKMARKS, null, null); 154 db.delete(TABLE_BOOKMARKS, null, null); 442 public int delete(Uri uri, String selection, String[] selectionArgs) { method in class:PartnerBookmarksProvider
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppProvider.java | 434 public int delete(Uri uri, String selection, String[] selectionArgs) { method in class:BluetoothOppProvider 457 count = db.delete(DB_TABLE, myWhere, selectionArgs); 462 throw new UnsupportedOperationException("Cannot delete URI: " + uri);
|
/packages/apps/Browser/src/com/android/browser/widget/ |
H A D | BookmarkThumbnailWidgetService.java | 95 if (!file.delete()) { 129 if (!f.delete()) {
|
/packages/apps/Browser/tests/src/com/android/browser/ |
H A D | PopularUrlsTest.java | 375 mFile.delete(); 393 mFile.delete();
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
H A D | EasOutboxService.java | 441 mContentResolver.delete( 471 tmpFile.delete();
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | ImageManager.java | 467 f.delete(); 472 f.delete();
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | LocalImage.java | 266 public void delete() { method in class:LocalImage 269 mApplication.getContentResolver().delete(baseUri, "_id=?",
|
/packages/apps/Mms/src/com/android/mms/util/ |
H A D | Recycler.java | 217 // Move to the keep limit and then delete everything older than that one. 221 long cntDeleted = SqliteWrapper.delete(context, resolver, 366 // Move to the keep limit and then delete everything older than that one. 411 // Move to the keep limit and then delete everything older than that one. 424 long cntDeleted = SqliteWrapper.delete(context, context.getContentResolver(),
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | Utils.java | 363 mFile.delete(); 384 mFile.delete();
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarAlarmManager.java | 96 * the user corrects it we might delete good alarms that appear to be old 288 int rowsDeleted = db.delete( 493 db.delete(CalendarAlerts.TABLE_NAME, CalendarAlerts.STATE + "="
|
H A D | CalendarProvider2.java | 1368 // safely delete all the entries in the Instances table. 3008 return mDbHelper.getSyncState().delete(mDb, selection, selectionArgs); 3016 return mDbHelper.getSyncState().delete(mDb, selectionWithId, 3030 // Query this event to get the ids to delete. 3065 return mDb.delete(Tables.ATTENDEES, selection, selectionArgs); 3075 return mDb.delete(Tables.ATTENDEES, SQL_WHERE_ID, 3094 return mDb.delete(Tables.EXTENDED_PROPERTIES, selection, selectionArgs); 3104 return mDb.delete(Tables.EXTENDED_PROPERTIES, SQL_WHERE_ID, 3114 return mDb.delete(Tables.CALENDAR_ALERTS, selection, selectionArgs); 3125 return mDb.delete(Table [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | CallLogProvider.java | 270 public int delete(Uri uri, String selection, String[] selectionArgs) { method in class:CallLogProvider 278 return getDatabaseModifier(db).delete(Tables.CALLS, 281 throw new UnsupportedOperationException("Cannot delete that URL: " + uri);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | LegacyContactsProviderTest.java | 100 mResolver.delete(personId, null, null); 165 mResolver.delete(orgUri1, null, null); 173 mResolver.delete(orgUri2, null, null); 214 mResolver.delete(phoneUri1, null, null); 222 mResolver.delete(phoneUri2, null, null); 286 mResolver.delete(emailUri1, null, null); 294 mResolver.delete(emailUri2, null, null); 848 mResolver.delete(personUri, null, null);
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | Bookmarks.java | 121 cr.delete(uri, null, null);
|