Home
last modified time | relevance | path

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

12345678910>>...24

/packages/providers/MediaProvider/tests/transcode/src/com/android/providers/media/transcode/
DTranscodeTest.java121 modernFile.delete(); in testTranscoded_FilePath()
153 modernFile.delete(); in testNoTranscodeOutsideCamera_FilePath()
155 file.delete(); in testNoTranscodeOutsideCamera_FilePath()
176 modernFile.delete(); in testSameTranscoded_FilePath()
198 modernFile.delete(); in testTranscoded_ContentResolver()
233 modernFile.delete(); in testNoTranscodeOutsideCamera_ConentResolver()
235 file.delete(); in testNoTranscodeOutsideCamera_ConentResolver()
257 modernFile.delete(); in testSameTranscodedFile_ContentResolver()
273 assertTrue(modernFile.delete()); in testDeleteTranscodedFile_FilePath()
280 modernFile.delete(); in testDeleteTranscodedFile_FilePath()
[all …]
/packages/services/Car/cpp/computepipe/runner/include/
DInputFrame.h69 InputFrame() = delete;
70 InputFrame(const InputFrame&) = delete;
71 InputFrame& operator=(const InputFrame& f) = delete;
72 InputFrame(InputFrame&& f) = delete;
73 InputFrame& operator=(InputFrame&& f) = delete;
/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/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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DLastMileLoggerTest.java90 mTraceReleaseFile.delete(); in connectionEventStartedDoesNotCrashIfReleaseFileIsMissing()
98 mTraceReleaseFile.delete(); in connectionEventStartedDoesNotEnableTracingIfReleaseFileIsMissing()
115 mTraceReleaseFile.delete(); in connectionEventStartedDoesNotAttemptToReopenReleaseFile()
122 mTraceEnableFile.delete(); in connectionEventStartedDoesNotCrashIfEnableFileIsMissing()
140 mTraceEnableFile.delete(); in connectionEventSucceededDoesNotCrashIfEnableFileIsMissing()
185 mTraceEnableFile.delete(); in connectionEventFailedDoesNotCrashIfEnableFileIsMissing()
191 mTraceDataFile.delete(); in connectionEventFailedDoesNotCrashIfDataFileIsMissing()
275 mTraceDataFile.delete(); in dumpDoesNotCrashIfDataFileIsMissing()
/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/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.h34 ResolverEventReporter(ResolverEventReporter const&) = delete;
35 ResolverEventReporter(ResolverEventReporter&&) = delete;
36 ResolverEventReporter& operator=(ResolverEventReporter const&) = delete;
37 ResolverEventReporter& operator=(ResolverEventReporter&&) = delete;
DExperiments.h40 Experiments(Experiments const&) = delete;
41 void operator=(Experiments const&) = delete;
45 Experiments() = 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/services/Car/cpp/telemetry/cartelemetryd/src/
DRingBuffer.h37 RingBuffer(const RingBuffer&) = delete;
38 RingBuffer& operator=(const RingBuffer&) = delete;
39 RingBuffer(RingBuffer&&) = delete;
40 RingBuffer& operator=(RingBuffer&&) = delete;
/packages/services/Car/cpp/computepipe/runner/input_manager/include/
DInputManager.h47 InputManagerFactory(const InputManagerFactory&) = delete;
48 InputManagerFactory& operator=(const InputManagerFactory&) = delete;
49 InputManagerFactory(const InputManagerFactory&&) = delete;
50 InputManagerFactory& operator=(const InputManagerFactory&&) = delete;
/packages/services/Car/cpp/computepipe/runner/stream_manager/include/
DStreamManager.h92 StreamManagerFactory(const StreamManagerFactory&) = delete;
93 StreamManagerFactory(const StreamManagerFactory&&) = delete;
94 StreamManagerFactory& operator=(const StreamManagerFactory&&) = delete;
95 StreamManagerFactory& operator=(const StreamManagerFactory&) = delete;
/packages/apps/KeyChain/src/com/android/keychain/internal/
DGrantsDatabase.java191 db.delete( in setGrant()
219 db.delete(TABLE_GRANTS, SELECTION_GRANTS_BY_ALIAS, new String[] {alias}); in removeAliasInformation()
220 db.delete(TABLE_SELECTABLE, SELECTION_GRANTS_BY_ALIAS, new String[] {alias}); in removeAliasInformation()
225 db.delete(TABLE_GRANTS, null /* whereClause */, null /* whereArgs */); in removeAllAliasesInformation()
226 db.delete(TABLE_SELECTABLE, null /* whereClause */, null /* whereArgs */); in removeAllAliasesInformation()
244 db.delete( in purgeOldGrants()
/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworksWrapper.h218 Memory(const Memory&) = delete;
219 Memory& operator=(const Memory&) = delete;
268 Model(const Model&) = delete;
269 Model& operator=(const Model&) = delete;
397 Event(const Event&) = delete;
398 Event& operator=(const Event&) = delete;
483 Compilation(const Compilation&) = delete;
484 Compilation& operator=(const Compilation&) = delete;
600 Execution(const Execution&) = delete;
601 Execution& operator=(const Execution&) = delete;
/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/services/Car/cpp/computepipe/runner/stream_manager/
DPixelStreamManager.h43 PixelMemHandle(const PixelMemHandle&) = delete;
44 PixelMemHandle(PixelMemHandle&&) = delete;
45 PixelMemHandle operator=(const PixelMemHandle&) = delete;
46 PixelMemHandle operator=(PixelMemHandle&&) = delete;
/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/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.java182 mResolver.delete(uri, null, null); in testChangesNotified()
226 mResolver.delete(u1, null, null); in testDelete()
230 mResolver.delete(u2, "1=1", null); in testDelete()
236 mResolver.delete(u2, null, null); in testDelete()
239 mResolver.delete(BlockedNumbers.CONTENT_URI, in testDelete()
246 mResolver.delete(BlockedNumbers.CONTENT_URI, "; DROP TABLE blocked; ", null); in testDelete()
252 mResolver.delete(BlockedNumbers.CONTENT_URI, null, null); in testDelete()
441 mResolver.delete(BlockedNumbers.CONTENT_URI, null, null); in testRegularAppCannotAccessApis()
659 mResolver.delete(BlockedNumbers.CONTENT_URI, null, null); in testPrivilegedAppAccessingApisAsSecondaryUser()
697 mResolver.delete(BlockedNumbers.CONTENT_URI, null, null); in testRegularAppAccessingApisAsSecondaryUser()
/packages/modules/NeuralNetworks/runtime/test/
DTestNeuralNetworksWrapper.h75 Memory(const Memory&) = delete;
76 Memory& operator=(const Memory&) = delete;
112 Model(const Model&) = delete;
113 Model& operator=(const Model&) = delete;
279 Compilation(const Compilation&) = delete;
280 Compilation& operator=(const Compilation&) = delete;
378 Execution(const Execution&) = delete;
379 Execution& operator=(const Execution&) = delete;
/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/DeskClock/src/com/android/deskclock/alarms/dataadapter/
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/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/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()

12345678910>>...24