/packages/services/Car/libvehiclenetwork/include/ |
D | VehicleNetworkDataTypes.h | 64 delete[] config->config_string.data; in deleteMembers() 71 delete[] config->int32_max_values; in deleteMembers() 72 delete[] config->int32_min_values; in deleteMembers() 78 delete[] config->float_max_values; in deleteMembers() 79 delete[] config->float_min_values; in deleteMembers() 138 delete eDelete; in ~VehiclePropertiesHolder() 169 delete[] v->value.str_value.data; in deleteMembers() 182 delete[] dest->value.str_value.data; 256 delete pv; in ~VehiclePropValueListHolder() 258 delete mList; in ~VehiclePropValueListHolder()
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
D | MockContentProvider.java | 470 Delete delete = new Delete(contentUri); in expectDelete() local 471 mExpectedDeletes.add(delete); in expectDelete() 472 return delete; in expectDelete() 573 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() method in MockContentProvider 579 Delete delete = iterator.next(); in delete() local 580 if (delete.equals(uri, selection, selectionArgs)) { in delete() 581 delete.mIsExecuted = true; in delete() 582 if (!delete.mAnyNumberOfTimes) { in delete() 585 return delete.mRowsAffected; in delete() 651 for (Delete delete : mExpectedDeletes) { in verifyDeletes() [all …]
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | FileCache.java | 76 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/UnifiedEmail/src/org/apache/commons/io/output/ |
D | LockableFileWriter.java | 244 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/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/ |
D | BlockedNumberProviderTest.java | 176 mResolver.delete(uri, null, null); in testChangesNotified() 220 mResolver.delete(u1, null, null); in testDelete() 224 mResolver.delete(u2, "1=1", null); in testDelete() 230 mResolver.delete(u2, null, null); in testDelete() 233 mResolver.delete(BlockedNumbers.CONTENT_URI, in testDelete() 240 mResolver.delete(BlockedNumbers.CONTENT_URI, "; DROP TABLE blocked; ", null); in testDelete() 246 mResolver.delete(BlockedNumbers.CONTENT_URI, null, null); in testDelete() 345 mResolver.delete(BlockedNumbers.CONTENT_URI, null, null); in testRegularAppCannotAccessApis() 544 mResolver.delete(BlockedNumbers.CONTENT_URI, null, null); in testPrivilegedAppAccessingApisAsSecondaryUser() 582 mResolver.delete(BlockedNumbers.CONTENT_URI, null, null); in testRegularAppAccessingApisAsSecondaryUser()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | VoicemailProviderTest.java | 179 mResolver.delete(ownVoicemail, null, null); in testDeleteOwnPackageVoicemail_DeletesRow() 191 mResolver.delete(anotherVoicemail, null, null); in testDeleteOtherPackageVoicemail_SetsDirtyStatus() 204 int count = mResolver.delete(voicemailUri(), Voicemails._ID + "=" in testDelete() 254 mResolver.delete(Voicemails.CONTENT_URI, null, null); in testMustUsePackageUriWithoutFullPermission() 306 mResolver.delete(withSourcePackageParam(ownVoicemail), null, null); in testPermissions_UpdateAndDelete() 318 mResolver.delete(anotherVoicemail, null, null); in testPermissions_UpdateAndDelete() 334 mResolver.delete(anotherVoicemail, null, null); in testPermissions_UpdateAndDelete() 446 mResolver.delete(uri, null, null); in checkHasUpdateAndDeleteAccessToUri() 459 mResolver.delete(uri, null, null); in checkHasNoWriteAccessToUri() 508 mResolver.delete(voicemailUri(), null, null); in testNoPermissions() [all …]
|
D | CallLogProviderTest.java | 87 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() 390 mResolver.delete(Calls.CONTENT_URI_WITH_VOICEMAIL, null, null); in testVoicemailPermissions_Delete() 396 mResolver.delete(Calls.CONTENT_URI_WITH_VOICEMAIL, null, null); in testVoicemailPermissions_Delete() 401 mResolver.delete(Calls.CONTENT_URI_WITH_VOICEMAIL, null, null); in testVoicemailPermissions_Delete()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ProviderTests.java | 626 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/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarDebugActivity.java | 68 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/DeskClock/src/com/android/deskclock/provider/ |
D | ClockProvider.java | 249 public int delete(Uri uri, String where, String[] whereArgs) { in delete() method in ClockProvider 255 count = db.delete(ALARMS_TABLE_NAME, where, whereArgs); in delete() 264 count = db.delete(ALARMS_TABLE_NAME, where, whereArgs); in delete() 267 count = db.delete(INSTANCES_TABLE_NAME, where, whereArgs); in delete() 276 count = db.delete(INSTANCES_TABLE_NAME, where, whereArgs); in delete()
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
D | EpgDataCleanupService.java | 80 int deleteCount = getContentResolver().delete( in clearOldPrograms() 98 int deleteCount = getContentResolver().delete( in clearOldWatchHistory() 142 int deleteCount = getContentResolver().delete( in clearOverflowWatchHistory()
|
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
D | VideoCaptureIntentTest.java | 65 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_camera/src/com/android/camera/functional/ |
D | VideoCaptureIntentTest.java | 65 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/LegacyCamera/tests/src/com/android/camera/functional/ |
D | VideoCaptureIntentTest.java | 72 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/Camera2/src/com/android/camera/data/ |
D | FilmstripItemBase.java | 72 public boolean delete() { in delete() method in FilmstripItemBase 74 boolean deletionSucceeded = fileToDelete.delete(); in delete() 156 if(!directory.delete()) { in deleteIfEmptyCameraSubDir()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 1001 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/UnifiedEmail/src/com/android/mail/browse/ |
D | SelectedConversationsActionMenu.java | 129 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/Calendar/src/com/android/calendar/ |
D | DeleteEventHelper.java | 120 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/DeskClock/src/com/android/deskclock/alarms/dataadapter/ |
D | ExpandedAlarmViewHolder.java | 54 public final Button delete; field in ExpandedAlarmViewHolder 81 delete = (Button) itemView.findViewById(R.id.delete); in ExpandedAlarmViewHolder() 146 delete.setOnClickListener(new View.OnClickListener() { in ExpandedAlarmViewHolder()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | FileUtil.java | 43 if (!entry.delete()) { in deleteDirectoryRecursively() 47 return directory.delete(); in deleteDirectoryRecursively()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | FileUtils.java | 37 return path.delete(); in deleteRecursively() 58 toFile.delete(); in renameTo()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | FileDeleteStrategy.java | 93 public void delete(File fileToDelete) throws IOException { in delete() method in FileDeleteStrategy 116 return fileToDelete.delete(); in doDelete()
|
/packages/apps/Dialer/tests/src/com/android/dialer/database/ |
D | VoicemailArchiveProviderTest.java | 174 mResolver.delete(mVoicemailUri, null, null); in testDelete() 184 mResolver.delete(VoicemailArchive.CONTENT_URI, getIdQuery(), null); in testDelete_selection() 191 mResolver.delete(Uri.withAppendedPath(VoicemailArchive.CONTENT_URI, TEST_STRING), in testDelete_illegalUri() 283 fileOrDirectory.delete(); in deleteRecursive()
|
/packages/apps/KeyChain/src/com/android/keychain/ |
D | KeyChainService.java | 187 if (!mKeyStore.delete(Credentials.USER_PRIVATE_KEY + alias)) { 398 db.delete(TABLE_GRANTS, SELECT_GRANTS_BY_UID_AND_ALIAS, in setGrantInternal() 405 db.delete(TABLE_GRANTS, SELECTION_GRANTS_BY_ALIAS, new String[] {alias}); in removeGrantsForAlias() 409 db.delete(TABLE_GRANTS, null /* whereClause */, null /* whereArgs */); in removeAllGrants() 466 db.delete(TABLE_GRANTS, SELECTION_GRANTS_BY_UID, in purgeOldGrants()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | VoicemailCleanupService.java | 51 contentResolver.delete(Voicemails.buildSourceUri(packageUninstalled), null, null); in handleIntentInternal() 52 contentResolver.delete(Status.buildSourceUri(packageUninstalled), null, null); in handleIntentInternal()
|