Home
last modified time | relevance | path

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

12345678910>>...12

/packages/apps/Email/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/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/apps/Browser/src/com/android/browser/
DAccountsChangedReceiver.java62 delete(cr, name, type); in run()
69 void delete(ContentResolver cr, String name, String type) { in delete() method in AccountsChangedReceiver.DeleteRemovedAccounts
77 cr.delete(uri, DELETE_SELECTION, new String[] { name, type }); in delete()
/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()
/packages/apps/Email/src/org/apache/commons/io/
DFileDeleteStrategy.java93 public void delete(File fileToDelete) throws IOException { in delete() method in FileDeleteStrategy
116 return fileToDelete.delete(); in doDelete()
DFileCleaningTracker.java211 tracker.delete(); in run()
254 public boolean delete() { in delete() method in FileCleaningTracker.Tracker
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailCleanupService.java51 contentResolver.delete(Voicemails.buildSourceUri(packageUninstalled), null, null); in handleIntentInternal()
52 contentResolver.delete(Status.buildSourceUri(packageUninstalled), null, null); in handleIntentInternal()
DDataRowHandlerForIdentity.java64 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete() method in DataRowHandlerForIdentity
65 final int count = super.delete(db, txContext, c); in delete()
DDataRowHandlerForNickname.java76 public int delete(SQLiteDatabase db, TransactionContext txContext, Cursor c) { in delete() method in DataRowHandlerForNickname
80 int count = super.delete(db, txContext, c); in delete()
DPhotoStore.java93 mDb.delete(Tables.PHOTO_FILES, null, null); in clear()
227 boolean deleted = file.delete(); in cleanupFile()
273 mDb.delete(ContactsDatabaseHelper.Tables.PHOTO_FILES, PhotoFilesColumns.CONCRETE_ID + "=?", in removeEntry()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionaryFileDumper.java174 outputFile.delete(); in cacheWordList()
208 finalFile.delete(); in cacheWordList()
214 if (0 >= resolver.delete(wordListUriBuilder.build(), null, null)) { in cacheWordList()
228 outputFile.delete(); in cacheWordList()
257 if (0 >= resolver.delete(wordListUriBuilder.build(), null, null)) { in cacheWordList()
/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmProvider.java132 public int delete(Uri url, String where, String[] whereArgs) { in delete() method in AlarmProvider
138 count = db.delete("alarms", where, whereArgs); in delete()
148 count = db.delete("alarms", where, whereArgs); in delete()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
DBinaryTempFileBody.java75 mFile.delete(); in writeTo()
86 mFile.delete(); in close()
/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/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadService.java386 getContentResolver().delete(Uri.parse(info.mMediaProviderUri), null, in run()
392 getContentResolver().delete(Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI, in run()
476 new File(info.mFileName).delete(); in deleteDownloadLocked()
528 getContentResolver().delete(uri, null, null); in scanFile()
532 getContentResolver().delete( in scanFile()
554 file.delete(); in deleteFileIfExists()
/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()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java124 int count = mResolver.delete(voicemailUri(), Voicemails._ID + "=" in testDelete()
174 mResolver.delete(Voicemails.CONTENT_URI, null, null); in testMustUsePackageUriWithoutFullPermission()
212 mResolver.delete(withSourcePackageParam(ownVoicemail), null, null); in testPermissions_UpdateAndDelete()
224 mResolver.delete(anotherVoicemail, null, null); in testPermissions_UpdateAndDelete()
311 mResolver.delete(uri, null, null); in checkHasNoWriteAccessToUri()
360 mResolver.delete(voicemailUri(), null, null); in testNoPermissions()
452 int count = mResolver.delete(statusUri(), Status._ID + "=" in testStatusDelete()
DCallLogProviderTest.java87 mResolver.delete(Calls.CONTENT_URI_WITH_VOICEMAIL, null, null); in tearDown()
148 mResolver.delete(uri, null, null); in testDelete()
154 int count = mResolver.delete(Calls.CONTENT_URI, Calls._ID + "=" in testDelete()
360 mResolver.delete(Calls.CONTENT_URI_WITH_VOICEMAIL, null, null); in testVoicemailPermissions_Delete()
365 mResolver.delete(Calls.CONTENT_URI_WITH_VOICEMAIL, null, null); in testVoicemailPermissions_Delete()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/
DDevice.java64 if (!f.delete()) { in getDeviceIdInternal()
73 if (!f.delete()) { in getDeviceIdInternal()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastContentProvider.java167 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() method in CellBroadcastContentProvider
218 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME, in deleteBroadcast()
236 int rowCount = db.delete(CellBroadcastDatabaseHelper.TABLE_NAME, null, null); in deleteAllBroadcasts()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DRecorder.java90 delete(); in restoreState()
122 public void delete() { in delete() method in Recorder
126 mSampleFile.delete(); in delete()
/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/apps/Gallery2/src/com/android/gallery3d/data/
DFilterTypeSet.java126 public void delete() { in delete() method in FilterTypeSet
131 item.delete(); in delete()
/packages/apps/Settings/tests/src/com/android/settings/bluetooth/
DUtf8ByteLengthFilterTest.java71 dest.delete(1, 3); in testFilter()
92 dest.delete(2, 6); in testFilter()

12345678910>>...12