Home
last modified time | relevance | path

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

12345678910>>...20

/packages/apps/Contacts/tests/src/com/android/contacts/test/mocks/
DMockContentProvider.java510 Delete delete = new Delete(contentUri); in expectDelete() local
511 mExpectedDeletes.add(delete); in expectDelete()
512 return delete; in expectDelete()
613 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() method in MockContentProvider
619 Delete delete = iterator.next(); in delete() local
620 if (delete.equals(uri, selection, selectionArgs)) { in delete()
621 delete.mIsExecuted = true; in delete()
622 if (!delete.mAnyNumberOfTimes) { in delete()
625 return delete.mRowsAffected; in delete()
691 for (Delete delete : mExpectedDeletes) { in verifyDeletes()
[all …]
/packages/apps/Dialer/java/com/android/dialer/calldetails/
DCallDetailsFooterViewHolder.java42 private final View delete; field in CallDetailsFooterViewHolder
56 delete = view.findViewById(R.id.call_detail_action_delete); in CallDetailsFooterViewHolder()
60 delete.setOnClickListener(this); in CallDetailsFooterViewHolder()
91 } else if (view == delete) { in onClick()
92 deleteCallDetailsListener.delete(); in onClick()
113 void delete(); in delete() method
/packages/apps/Contacts/tests/src/com/android/contacts/
DGroupsDaoIntegrationTests.java78 assertEquals(1, sut.delete(uri)); in test_deleteEmptyGroup_marksRowDeleted()
96 assertEquals(1, sut.delete(uri)); in test_undoDeleteEmptyGroup_createsGroupWithMatchingTitle()
111 assertEquals(1, sut.delete(groupUri)); in test_deleteNonEmptyGroup_removesGroupAndMembers()
139 sut.delete(groupUri); in test_undoDeleteNonEmptyGroup_restoresGroupAndMembers()
161 sut.delete(uri); in test_captureUndoDataForDeletedGroup_returnsEmptyBundle()
196 sut.delete(groupUri); in test_undoDeleteEmptyGroupWithMissingMembersKey_shouldRecreateGroup()
290 public int delete(Uri groupUri) { in delete() method in GroupsDaoIntegrationTests.GroupsDaoWrapper
291 return mDelegate.delete(groupUri); in delete()
/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/modules/DnsResolver/
DDns64Configuration.h71 Dns64Configuration() = delete;
76 Dns64Configuration(const Dns64Configuration&) = delete;
77 Dns64Configuration(Dns64Configuration&&) = delete;
78 Dns64Configuration& operator=(const Dns64Configuration&) = delete;
79 Dns64Configuration& operator=(Dns64Configuration&&) = delete;
DResolverEventReporter.h33 ResolverEventReporter(ResolverEventReporter const&) = delete;
34 ResolverEventReporter(ResolverEventReporter&&) = delete;
35 ResolverEventReporter& operator=(ResolverEventReporter const&) = delete;
36 ResolverEventReporter& operator=(ResolverEventReporter&&) = delete;
DExperiments.h40 Experiments(Experiments const&) = delete;
41 void operator=(Experiments const&) = delete;
45 Experiments() = delete;
/packages/apps/KeyChain/src/com/android/keychain/internal/
DGrantsDatabase.java181 db.delete( in setGrant()
190 db.delete(TABLE_GRANTS, SELECTION_GRANTS_BY_ALIAS, new String[] {alias}); in removeAliasInformation()
191 db.delete(TABLE_SELECTABLE, SELECTION_GRANTS_BY_ALIAS, new String[] {alias}); in removeAliasInformation()
196 db.delete(TABLE_GRANTS, null /* whereClause */, null /* whereArgs */); in removeAllAliasesInformation()
197 db.delete(TABLE_SELECTABLE, null /* whereClause */, null /* whereArgs */); in removeAllAliasesInformation()
215 db.delete( in purgeOldGrants()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DExpandedAlarmViewHolder.java69 public final TextView delete; field in ExpandedAlarmViewHolder
79 delete = (TextView) itemView.findViewById(R.id.delete); in ExpandedAlarmViewHolder()
112 delete.setCompoundDrawablesRelativeWithIntrinsicBounds(deleteIcon, null, null, null); in ExpandedAlarmViewHolder()
159 delete.setOnClickListener(new View.OnClickListener() { in ExpandedAlarmViewHolder()
284 ObjectAnimator.ofFloat(delete, TRANSLATION_Y, 0f), in onAnimateChange()
308 delete.setTranslationY(translationY); in setTranslationY()
374 final Animator deleteAnimation = ObjectAnimator.ofFloat(delete, View.ALPHA, 0f) in createCollapsingAnimator()
448 final Animator deleteAnimation = ObjectAnimator.ofFloat(delete, View.ALPHA, 1f) in createExpandingAnimator()
511 delete.setAlpha(alpha); in setChangingViewsAlpha()
DExpandedAlarmViewHolder.kt64 val delete: TextView = itemView.findViewById(R.id.delete) as TextView in <lambda>() constant
93 delete.setCompoundDrawablesRelativeWithIntrinsicBounds(deleteIcon, null, null, null) in <lambda>()
122 delete.setOnClickListener { view -> in <lambda>()
254 ObjectAnimator.ofFloat(delete, TRANSLATION_Y, 0f), in <lambda>()
277 delete.setTranslationY(translationY) in <lambda>()
346 val deleteAnimation: Animator = ObjectAnimator.ofFloat(delete, View.ALPHA, 0f) in <lambda>()
420 val deleteAnimation: Animator = ObjectAnimator.ofFloat(delete, View.ALPHA, 1f) in <lambda>()
482 delete.alpha = alpha in <lambda>()
/packages/apps/Dialer/java/com/android/dialer/speeddial/database/
DSpeedDialEntryDatabaseHelper.java259 public void delete(ImmutableList<Long> ids) { in delete() method in SpeedDialEntryDatabaseHelper
265 delete(db, ids); in delete()
269 private void delete(SQLiteDatabase writeableDatabase, ImmutableList<Long> ids) { in delete() method in SpeedDialEntryDatabaseHelper
277 writeableDatabase.delete( in delete()
298 delete(db, entriesToDelete); in insertUpdateAndDelete()
313 db.delete(TABLE_NAME, /* whereClause=*/ null, null); in deleteAll()
/packages/apps/Car/Radio/src/com/android/car/radio/storage/
DRadioDatabase.java59 void delete(int primaryIdType, long primaryIdValue); in delete() method
61 default void delete(@NonNull ProgramSelector.Identifier id) { in delete() method
62 delete(id.getType(), id.getValue()); in delete()
101 favoriteDao().delete(sel.getPrimaryId()); in removeFavorite()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DVoicemailProviderTest.java294 mResolver.delete(ownVoicemail, null, null); in testDeleteOwnPackageVoicemail_DeletesRow()
307 mResolver.delete(anotherVoicemail, null, null); in testDeleteOtherPackageVoicemail_SetsDirtyStatus()
320 int count = mResolver.delete(voicemailUri(), Voicemails._ID + "=" in testDelete()
334 mResolver.delete(anotherVoicemail, null, null); in testUpdateAfterDelete_lastModifiedNotChanged()
399 mResolver.delete(Voicemails.CONTENT_URI, null, null); in assertBaseUriThrowsSecurityExceptions()
472 mResolver.delete(anotherVoicemail, null, null); in testPermissions_UpdateAndDelete()
485 mResolver.delete(withSourcePackageParam(ownVoicemail), null, null); in assertOnlyOwnVoicemailsCanBeUpdatedAndDeleted()
497 mResolver.delete(anotherVoicemail, null, null); in assertOnlyOwnVoicemailsCanBeUpdatedAndDeleted()
606 mResolver.delete(uri, null, null); in checkHasUpdateAndDeleteAccessToUri()
619 mResolver.delete(uri, null, null); in checkHasNoWriteAccessToUri()
[all …]
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DBlockedNumberProviderTest.java178 mResolver.delete(uri, null, null); in testChangesNotified()
222 mResolver.delete(u1, null, null); in testDelete()
226 mResolver.delete(u2, "1=1", null); in testDelete()
232 mResolver.delete(u2, null, null); in testDelete()
235 mResolver.delete(BlockedNumbers.CONTENT_URI, in testDelete()
242 mResolver.delete(BlockedNumbers.CONTENT_URI, "; DROP TABLE blocked; ", null); in testDelete()
248 mResolver.delete(BlockedNumbers.CONTENT_URI, null, null); in testDelete()
437 mResolver.delete(BlockedNumbers.CONTENT_URI, null, null); in testRegularAppCannotAccessApis()
654 mResolver.delete(BlockedNumbers.CONTENT_URI, null, null); in testPrivilegedAppAccessingApisAsSecondaryUser()
692 mResolver.delete(BlockedNumbers.CONTENT_URI, null, null); in testRegularAppAccessingApisAsSecondaryUser()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DSampleChunk.java262 static void release(SampleChunk chunk, boolean delete) { in release() argument
263 chunk.release(delete); in release()
403 private void release(boolean delete) { in release() argument
413 if (delete) { in release()
414 mFile.delete(); in release()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DSampleChunk.java279 static void release(SampleChunk chunk, boolean delete) { in release() argument
280 chunk.release(delete); in release()
441 private void release(boolean delete) { in release() argument
451 if (delete) { in release()
452 mFile.delete(); in release()
/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/Bluetooth/tests/unit/src/com/android/bluetooth/
DFileSystemWriteTest.java40 file.delete(); in testBluetoothDirWrite()
51 file.delete(); in testBluedroidDirWrite()
62 file.delete(); in testBluetoothLogsDirWrite()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DClockProvider.java257 public int delete(@NonNull Uri uri, String where, String[] whereArgs) { in delete() method in ClockProvider
263 count = db.delete(ALARMS_TABLE_NAME, where, whereArgs); in delete()
272 count = db.delete(ALARMS_TABLE_NAME, where, whereArgs); in delete()
275 count = db.delete(INSTANCES_TABLE_NAME, where, whereArgs); in delete()
284 count = db.delete(INSTANCES_TABLE_NAME, where, whereArgs); in delete()
DClockProvider.kt245 override fun delete(uri: Uri, where: String?, whereArgs: Array<String>?): Int { in delete() method in com.android.deskclock.provider.ClockProvider
252 db.delete(ALARMS_TABLE_NAME, whereString, whereArgs) in delete()
260 count = db.delete(ALARMS_TABLE_NAME, whereString, whereArgs) in delete()
263 db.delete(INSTANCES_TABLE_NAME, whereString, whereArgs) in delete()
271 count = db.delete(INSTANCES_TABLE_NAME, whereString, whereArgs) in delete()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1080 db.delete("Calendars", null, null); in wipeAndInitData()
1081 db.delete("Events", null, null); in wipeAndInitData()
1082 db.delete("EventsRawTimes", null, null); in wipeAndInitData()
1083 db.delete("Instances", null, null); in wipeAndInitData()
1084 db.delete("CalendarMetaData", null, null); in wipeAndInitData()
1085 db.delete("CalendarCache", null, null); in wipeAndInitData()
1086 db.delete("Attendees", null, null); in wipeAndInitData()
1087 db.delete("Reminders", null, null); in wipeAndInitData()
1088 db.delete("CalendarAlerts", null, null); in wipeAndInitData()
1089 db.delete("ExtendedProperties", null, null); in wipeAndInitData()
[all …]
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/
DDbDowngradeHelperTest.java70 mSchemaFile.delete(); in testDowngradeSchemaMatchesVersion()
85 mSchemaFile.delete(); in testUpdateSchemaFile()
159 mSchemaFile.delete(); in setupTestDb()
160 mDbFile.delete(); in setupTestDb()
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/
DBugStorageProvider.java304 public int delete( in delete() method in BugStorageProvider
328 return db.delete(BUG_REPORTS_TABLE, selection, selectionArgs); in delete()
423 return new File(bugReport.getFilePath()).delete(); in deleteFilesFor()
428 result = new File(pendingDir, bugReport.getAudioFileName()).delete(); in deleteFilesFor()
431 result = result && new File(pendingDir, bugReport.getBugReportFileName()).delete(); in deleteFilesFor()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyProviderTest.java487 int numRowsDeleted = mContentResolver.delete(uri, selectionToDelete, selectionArgsToDelete); in doSimpleTestForUri()
546 int numRowsDeleted = mContentResolver.delete(Carriers.CONTENT_URI, in testOwnedBy()
616 int numRowsDeleted = mContentResolver.delete(SimInfo.CONTENT_URI, in testSimTable()
746 int numRowsDeleted = mContentResolver.delete(URI_TELEPHONY, selection, selectionArgs); in testEnforceManagedUri()
749 numRowsDeleted = mContentResolver.delete( in testEnforceManagedUri()
830 int numRowsDeleted = mContentResolver.delete(URI_TELEPHONY, selection, selectionArgs); in testTelephonyUriDpcRecordAccessControl()
840 numRowsDeleted = mContentResolver.delete( in testTelephonyUriDpcRecordAccessControl()
911 int numRowsDeleted = mContentResolver.delete( in testDpcUri()
914 numRowsDeleted = mContentResolver.delete( in testDpcUri()
920 int numRowsDeleted = mContentResolver.delete( in testDpcUri()
[all …]
/packages/providers/TvProvider/src/com/android/providers/tv/
DTransientRowHelper.java87 db.delete(TvProvider.PREVIEW_PROGRAMS_TABLE, PreviewPrograms.COLUMN_TRANSIENT + "=1", null); in ensureOldTransientRowsDeleted()
88 db.delete(TvProvider.CHANNELS_TABLE, Channels.COLUMN_TRANSIENT + "=1", null); in ensureOldTransientRowsDeleted()
89 db.delete(TvProvider.WATCH_NEXT_PROGRAMS_TABLE, WatchNextPrograms.COLUMN_TRANSIENT + "=1", in ensureOldTransientRowsDeleted()

12345678910>>...20