Home
last modified time | relevance | path

Searched refs:delete (Results 1 – 25 of 404) sorted by relevance

12345678910>>...17

/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java626 mMockContext.getContentResolver().delete(uri, null, null); in testAccountDelete()
634 mMockContext.getContentResolver().delete(uri, null, null); in testAccountDelete()
792 resolver.delete(ContentUris.withAppendedId(Message.CONTENT_URI, message1Id), null, null); in testDeleteBody()
798 resolver.delete(ContentUris.withAppendedId(Message.CONTENT_URI, message2Id), null, null); in testDeleteBody()
842 resolver.delete(ContentUris.withAppendedId(Message.CONTENT_URI, message1Id), null, null); in testDeleteOrphanBodies()
845 resolver.delete(ContentUris.withAppendedId(Mailbox.CONTENT_URI, box2Id), null, null); in testDeleteOrphanBodies()
974 resolver.delete( in testDeleteOrphanMessages()
976 resolver.delete( in testDeleteOrphanMessages()
978 resolver.delete( in testDeleteOrphanMessages()
980 resolver.delete( in testDeleteOrphanMessages()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java175 mResolver.delete(ownVoicemail, null, null); in testDeleteOwnPackageVoicemail_DeletesRow()
187 mResolver.delete(anotherVoicemail, null, null); in testDeleteOtherPackageVoicemail_SetsDirtyStatus()
199 int count = mResolver.delete(voicemailUri(), Voicemails._ID + "=" in testDelete()
249 mResolver.delete(Voicemails.CONTENT_URI, null, null); in testMustUsePackageUriWithoutFullPermission()
301 mResolver.delete(withSourcePackageParam(ownVoicemail), null, null); in testPermissions_UpdateAndDelete()
313 mResolver.delete(anotherVoicemail, null, null); in testPermissions_UpdateAndDelete()
329 mResolver.delete(anotherVoicemail, null, null); in testPermissions_UpdateAndDelete()
441 mResolver.delete(uri, null, null); in checkHasUpdateAndDeleteAccessToUri()
454 mResolver.delete(uri, null, null); in checkHasNoWriteAccessToUri()
503 mResolver.delete(voicemailUri(), null, null); in testNoPermissions()
[all …]
DCallLogProviderTest.java91 mResolver.delete(Calls.CONTENT_URI_WITH_VOICEMAIL, null, null); in tearDown()
149 mResolver.delete(uri, null, null); in testDelete()
155 int count = mResolver.delete(Calls.CONTENT_URI, Calls._ID + "=" in testDelete()
389 mResolver.delete(Calls.CONTENT_URI_WITH_VOICEMAIL, null, null); in testVoicemailPermissions_Delete()
395 mResolver.delete(Calls.CONTENT_URI_WITH_VOICEMAIL, null, null); in testVoicemailPermissions_Delete()
400 mResolver.delete(Calls.CONTENT_URI_WITH_VOICEMAIL, null, null); in testVoicemailPermissions_Delete()
DLegacyContactsProviderTest.java100 mResolver.delete(personId, null, null); in testPeopleDelete()
165 mResolver.delete(orgUri1, null, null); in testPrimaryOrganization()
173 mResolver.delete(orgUri2, null, null); in testPrimaryOrganization()
214 mResolver.delete(phoneUri1, null, null); in testPrimaryPhone()
222 mResolver.delete(phoneUri2, null, null); in testPrimaryPhone()
286 mResolver.delete(emailUri1, null, null); in testPrimaryEmail()
294 mResolver.delete(emailUri2, null, null); in testPrimaryEmail()
848 mResolver.delete(personUri, null, null); in assertSearchSuggestion()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFileCache.java76 context.getDatabasePath(dbName).delete(); in deleteFiles()
82 && name.endsWith(FILE_POSTFIX)) file.delete(); in deleteFiles()
111 file.delete(); in store()
117 file.delete(); in store()
150 mDbHelper.getWritableDatabase().delete( in lookup()
236 if (new File(mRootDir, path).delete()) { in freeSomeSpaceIfNeed()
238 mDbHelper.getWritableDatabase().delete(TABLE_NAME, in freeSomeSpaceIfNeed()
299 if (!file.delete()) { in onCreate()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1001 db.delete("Calendars", null, null); in wipeAndInitData()
1002 db.delete("Events", null, null); in wipeAndInitData()
1003 db.delete("EventsRawTimes", null, null); in wipeAndInitData()
1004 db.delete("Instances", null, null); in wipeAndInitData()
1005 db.delete("CalendarMetaData", null, null); in wipeAndInitData()
1006 db.delete("CalendarCache", null, null); in wipeAndInitData()
1007 db.delete("Attendees", null, null); in wipeAndInitData()
1008 db.delete("Reminders", null, null); in wipeAndInitData()
1009 db.delete("CalendarAlerts", null, null); in wipeAndInitData()
1010 db.delete("ExtendedProperties", null, null); in wipeAndInitData()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockProvider.java188 public int delete(Uri uri, String where, String[] whereArgs) { in delete() method in ClockProvider
194 count = db.delete(ClockDatabaseHelper.ALARMS_TABLE_NAME, where, whereArgs); in delete()
204 count = db.delete(ClockDatabaseHelper.ALARMS_TABLE_NAME, where, whereArgs); in delete()
207 count = db.delete(ClockDatabaseHelper.INSTANCES_TABLE_NAME, where, whereArgs); in delete()
217 count = db.delete(ClockDatabaseHelper.INSTANCES_TABLE_NAME, where, whereArgs); in delete()
220 count = db.delete(ClockDatabaseHelper.CITIES_TABLE_NAME, where, whereArgs); in delete()
230 count = db.delete(ClockDatabaseHelper.CITIES_TABLE_NAME, where, whereArgs); in delete()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
DLockableFileWriter.java244 lockFile.delete(); in initWriter()
246 file.delete(); in initWriter()
252 lockFile.delete(); in initWriter()
254 file.delete(); in initWriter()
271 lockFile.delete(); in close()
/packages/apps/Dialer/src/com/android/dialer/database/
DDialerDatabaseHelper.java542 db.delete(Tables.SMARTDIAL_TABLE, in removeDeletedContacts()
544 db.delete(Tables.PREFIX_TABLE, in removeDeletedContacts()
564 db.delete(Tables.PREFIX_TABLE, in removePotentiallyCorruptedContacts()
570 db.delete(Tables.SMARTDIAL_TABLE, in removePotentiallyCorruptedContacts()
579 db.delete(Tables.SMARTDIAL_TABLE, null, null); in removeAllContacts()
580 db.delete(Tables.PREFIX_TABLE, null, null); in removeAllContacts()
604 db.delete(Tables.SMARTDIAL_TABLE, SmartDialDbColumns.CONTACT_ID + "=" + in removeUpdatedContacts()
606 db.delete(Tables.PREFIX_TABLE, PrefixColumns.CONTACT_ID + "=" + in removeUpdatedContacts()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DSelectedConversationsActionMenu.java129 if (itemId == R.id.delete) { in onActionItemClicked()
131 performDestructiveAction(R.id.delete, undoCallback); in onActionItemClicked()
270 } else if (settings != null && (action == R.id.archive || action == R.id.delete)) { in performDestructiveAction()
271 showDialog = (action == R.id.delete) ? settings.confirmDelete : settings.confirmArchive; in performDestructiveAction()
278 if (action == R.id.delete) { in performDestructiveAction()
305 mUpdater.delete(actionId, target, action, true); in destroy()
472 final MenuItem trash = menu.findItem(R.id.delete); in onPrepareActionMode()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java568 ImageButton delete; field in AlarmClockFragment.AlarmItemAdapter.ItemHolder
695 holder.delete = (ImageButton) view.findViewById(R.id.delete); in setNewHolder()
804 itemHolder.delete.setVisibility(expanded ? View.VISIBLE : View.GONE); in bindView()
861 itemHolder.delete.setOnClickListener(new View.OnClickListener() { in bindView()
1161 itemHolder.delete.setVisibility(View.VISIBLE); in expandAlarm()
1172 itemHolder.delete.setVisibility(View.VISIBLE); in expandAlarm()
1251 itemHolder.delete.setVisibility(View.VISIBLE); in expandAlarm()
1320 itemHolder.delete.setVisibility(View.GONE); in collapseAlarm()
1341 itemHolder.delete.setAlpha(value); in collapseAlarm()
/packages/apps/Calendar/src/com/android/calendar/
DDeleteEventHelper.java120 DeleteEventHelper.this.delete(mStartMillis, mEndMillis, mModel, mWhichDelete); in DeleteEventHelper()
209 public void delete(long begin, long end, long eventId, int which) { in delete() method in DeleteEventHelper
218 public void delete(long begin, long end, long eventId, int which, Runnable callback) { in delete() method in DeleteEventHelper
219 delete(begin, end, eventId, which); in delete()
257 public void delete(long begin, long end, CalendarEventModel model, int which) { in delete() method in DeleteEventHelper
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarDebugActivity.java68 mDeleteButton = (Button) findViewById(R.id.delete); in onCreate()
86 case R.id.delete: in onClick()
99 outFile.delete(); in cleanup()
119 outFile.delete(); in doInBackground()
DCalendarProvider2.java3086 return mDbHelper.getSyncState().delete(mDb, selection, selectionArgs); in deleteInTransaction()
3094 return mDbHelper.getSyncState().delete(mDb, selectionWithId, in deleteInTransaction()
3143 return mDb.delete(Tables.ATTENDEES, selection, selectionArgs); in deleteInTransaction()
3153 return mDb.delete(Tables.ATTENDEES, SQL_WHERE_ID, in deleteInTransaction()
3172 return mDb.delete(Tables.EXTENDED_PROPERTIES, selection, selectionArgs); in deleteInTransaction()
3182 return mDb.delete(Tables.EXTENDED_PROPERTIES, SQL_WHERE_ID, in deleteInTransaction()
3192 return mDb.delete(Tables.CALENDAR_ALERTS, selection, selectionArgs); in deleteInTransaction()
3203 return mDb.delete(Tables.CALENDAR_ALERTS, SQL_WHERE_ID, in deleteInTransaction()
3263 mDb.delete(Tables.EVENTS, SQL_WHERE_ID, selectionArgs); in deleteEventInternal()
3270 mDb.delete(Tables.EVENTS, SQL_WHERE_ORIGINAL_ID, selectionArgs); in deleteEventInternal()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAbstractActivityController.java1515 actionId == R.id.delete ||
1562 delete(R.id.remove_folder, target,
1565 } else if (id == R.id.delete) {
1575 delete(id, target, getDeferredAction(id, target, isBatch, undoCallback), isBatch);
1581 delete(R.id.mark_not_important, target,
1589delete(R.id.mute, target, getDeferredAction(R.id.mute, target, isBatch, undoCallback),
1592 delete(R.id.report_spam, target,
1599 delete(R.id.mark_not_spam, target,
1603 delete(R.id.report_phishing, target,
2103 delete(0, target, getDeferredAction(actionId, target, isBatch, undoCallback), isBatch);
[all …]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DMmsProvider.java518 db.delete(table, Rate.SENT_TIME + "<=" + oneHourAgo, null); in insert()
575 public int delete(Uri uri, String selection, in delete() method in MmsProvider
642 deletedRows = db.delete(table, finalSelection, selectionArgs); in delete()
672 int count = db.delete(TABLE_PDU, selection, selectionArgs); in deleteMessages()
714 new File(path).delete(); in deleteDataRows()
724 return db.delete(table, selection, selectionArgs); in deleteDataRows()
868 filePath.delete(); in openFile()
DSmsProvider.java508 db.delete(TABLE_SMS, "thread_id=? AND type=?", in insertInner()
588 public int delete(Uri url, String where, String[] whereArgs) { in delete() method in SmsProvider
594 count = db.delete(TABLE_SMS, where, whereArgs); in delete()
624 count = db.delete(TABLE_SMS, where, whereArgs); in delete()
629 count = db.delete("raw", where, whereArgs); in delete()
633 count = db.delete("sr_pending", where, whereArgs); in delete()
/packages/apps/Camera2/tests_camera/src/com/android/camera/functional/
DVideoCaptureIntentTest.java65 new File(cursor.getString(0)).delete(); in tearDown()
71 resolver.delete(mVideoUri, null, null); in tearDown()
73 if (mFile != null) mFile.delete(); in tearDown()
74 if (mFile2 != null) mFile2.delete(); in tearDown()
/packages/apps/Camera/tests/src/com/android/camera/functional/
DVideoCaptureIntentTest.java65 new File(cursor.getString(0)).delete(); in tearDown()
71 resolver.delete(mVideoUri, null, null); in tearDown()
73 if (mFile != null) mFile.delete(); in tearDown()
74 if (mFile2 != null) mFile2.delete(); in tearDown()
/packages/apps/Camera2/tests/src/com/android/camera/functional/
DVideoCaptureIntentTest.java65 new File(cursor.getString(0)).delete(); in tearDown()
71 resolver.delete(mVideoUri, null, null); in tearDown()
73 if (mFile != null) mFile.delete(); in tearDown()
74 if (mFile2 != null) mFile2.delete(); in tearDown()
/packages/apps/Email/provider_src/com/android/email/service/
DPop3Service.java299 context.getContentResolver().delete(uri, null, null); in synchronizePop3Mailbox()
432 resolver.delete(attUri, null, null); in synchronizePop3Mailbox()
461 resolver.delete(uriToDelete, null, null); in synchronizePop3Mailbox()
466 resolver.delete(updateRowToDelete, null, null); in synchronizePop3Mailbox()
469 resolver.delete(deleteRowToDelete, null, null); in synchronizePop3Mailbox()
DImapService.java719 resolver.delete(uriToDelete, null, null); in synchronizeMailboxGeneric()
724 resolver.delete(updateRowToDelete, null, null); in synchronizeMailboxGeneric()
727 resolver.delete(deleteRowToDelete, null, null); in synchronizeMailboxGeneric()
849 context.getContentResolver().delete(uri, null, null); in processPendingDeletesSynchronous()
1008 resolver.delete(uri, null, null); in processPendingUpdatesSynchronous()
1067 context.getContentResolver().delete(uri, null, null); in processUploadMessage()
1259 context.getContentResolver().delete(newMessage.getUri(), null, null); in processPendingMoveToTrash()
1431 resolver.delete(uri, null, null); in processPendingAppend()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryFileDumper.java280 outputFile.delete(); in installWordListToStaging()
334 if (0 >= providerClient.delete(wordListUriBuilder.build(), null, null)) { in installWordListToStaging()
348 outputFile.delete(); in installWordListToStaging()
378 if (0 >= providerClient.delete(wordListUriBuilder.build(), null, null)) { in reportBrokenFileToDictionaryProvider()
502 client.delete(metadataContentUri, null, null); in reinitializeClientRecordInDictionaryContentProvider()
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
DVideoCaptureIntentTest.java72 new File(cursor.getString(0)).delete(); in tearDown()
78 resolver.delete(mVideoUri, null, null); in tearDown()
80 if (mFile != null) mFile.delete(); in tearDown()
81 if (mFile2 != null) mFile2.delete(); in tearDown()
/packages/apps/Browser/src/com/android/browser/provider/
DSnapshotProvider.java131 oldPath.delete(); in migrateToDataFolder()
226 if (!f.delete()) { in deleteDataFiles()
235 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() method in SnapshotProvider
251 deleted = db.delete(TABLE_SNAPSHOTS, selection, selectionArgs); in delete()

12345678910>>...17