Searched refs:delete (Results 101 - 125 of 291) sorted by relevance

1234567891011>>

/packages/apps/Camera/tests/src/com/android/camera/stress/
H A DShotToShotLatency.java71 f.delete();
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
H A DFolderSyncParser.java145 mContentResolver.delete(Mailbox.CONTENT_URI, ALL_BUT_ACCOUNT_MAILBOX,
165 mService.errorLog("Bad sync key; RESET and delete all folders");
176 // And only then, delete mailboxes
177 mContentResolver.delete(Mailbox.CONTENT_URI, ALL_BUT_ACCOUNT_MAILBOX,
658 // Look for sync issues and its children and delete them
676 mContentResolver.delete(ContentUris.withAppendedId(Mailbox.CONTENT_URI, id),
679 mContentResolver.delete(Mailbox.CONTENT_URI, WHERE_PARENT_SERVER_ID_AND_ACCOUNT,
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DBaseImageList.java134 // TODO: need to delete the thumbnails as well
135 if (mContentResolver.delete(image.fullSizeImageUri(), null, null) > 0) {
146 // TODO: need to delete the thumbnails as well
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/provider/
H A DSharedImageProvider.java49 public int delete(Uri arg0, String arg1, String[] arg2) { method in class:SharedImageProvider
/packages/apps/Launcher2/src/com/android/launcher2/
H A DUninstallShortcutReceiver.java118 cr.delete(uri, null, null);
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/
H A DImageCaptureIntentTest.java98 file.delete();
/packages/apps/Phone/src/com/android/phone/sip/
H A DSipProfileDb.java66 file.delete();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DRichInputConnection.java101 internal.delete(0, internal.length() - actualLength);
225 // heavy pressing of delete, for example DEFAULT_TEXT_CACHE_SIZE - 5 times or so.
311 mCommittedTextBeforeComposingText.delete(
316 mComposingText.delete(mComposingText.length() - 1, mComposingText.length());
412 internal.delete(0, internal.length() - checkLength);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DBaseVoicemailProviderTest.java129 assertTrue("error deleting " + input.getAbsolutePath(), input.delete());
H A DDirectoryTest.java113 mResolver.delete(Data.CONTENT_URI,
H A DGlobalSearchSupportTest.java55 mResolver.delete(Data.CONTENT_URI, Data.RAW_CONTACT_ID + "=" + rawContactId
157 contact.delete();
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
H A DSizeLimitActivity.java129 getContentResolver().delete(mCurrentUri, null, null);
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/
H A DPublicApiAccessTest.java60 mContentResolver.delete(Downloads.Impl.CONTENT_URI, null, null);
/packages/apps/Contacts/tests/src/com/android/contacts/
H A DCallDetailActivityTest.java293 getContentResolver().delete(VoicemailContract.Voicemails.CONTENT_URI,
298 getContentResolver().delete(CallLog.Calls.CONTENT_URI_WITH_VOICEMAIL,
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DAttachmentUtilities.java302 * In support of deleting a message, find all attachments and delete associated attachment
316 // Note, delete() throws no exceptions for basic FS errors (e.g. file not found)
319 attachmentFile.delete();
327 * In support of deleting a mailbox, find all messages and delete their attachments.
349 * In support of deleting or wiping an account, delete all related attachments.
358 boolean result = file.delete();
360 Log.e(Logging.LOG_TAG, "Failed to delete attachment file " + file.getName());
/packages/apps/Email/src/com/android/email/provider/
H A DAttachmentProvider.java86 file.delete();
226 public int delete(Uri uri, String arg1, String[] arg2) { method in class:AttachmentProvider
/packages/apps/Email/tests/src/com/android/email/service/
H A DMailServiceTests.java94 // delete the provider account
95 context.getContentResolver().delete(firstAccount.getUri(), null, null);
96 // delete the account manager account
153 // Ok, now we've got two of each; let's delete a provider account
154 resolver.delete(ContentUris.withAppendedId(Account.CONTENT_URI, firstAccount.mId),
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DDataManager.java254 public void delete(Path path) { method in class:DataManager
255 getMediaObject(path).delete();
H A DLocalAlbum.java266 public void delete() { method in class:LocalAlbum
268 mResolver.delete(mBaseUri, mWhereClause,
/packages/apps/Settings/src/com/android/settings/
H A DUserDictionarySettings.java230 resolver.delete(
234 resolver.delete(
/packages/apps/Settings/src/com/android/settings/deviceinfo/
H A DMiscFilesHandler.java98 // delete the files selected
115 // delete the file
120 file.delete();
145 // If a deletion fails, the method stops attempting to delete and returns false.
156 // The directory is now empty so delete it
157 return dir.delete();
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForGroupMembership.java124 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { method in class:DataRowHandlerForGroupMembership
127 int count = super.delete(db, txContext, c);
H A DDataRowHandlerForStructuredName.java98 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { method in class:DataRowHandlerForStructuredName
102 int count = super.delete(db, txContext, c);
H A DDbModifierWithNotification.java154 public int delete(String table, String whereClause, String[] whereArgs) { method in class:DbModifierWithNotification
156 int count = mDb.delete(table, whereClause, whereArgs);
H A DVoicemailContentProvider.java126 public int delete(Uri uri, String selection, String[] selectionArgs) { method in class:VoicemailContentProvider
130 return getTableDelegate(uriData).delete(uriData, selectionBuilder.build(), selectionArgs);

Completed in 487 milliseconds

1234567891011>>