Home
last modified time | relevance | path

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

12345678910

/cts/tests/autofillservice/src/android/autofillservice/cts/common/
DSettingsHelper.java42 delete(namespace, key); in set()
85 public static void delete(@NonNull String namespace, @NonNull String key) { in delete() method in SettingsHelper
89 public static void delete(@NonNull String key) { in delete() method in SettingsHelper
90 delete(NAMESPACE_SECURE, key); in delete()
107 delete(namespace, key); in syncDelete()
/cts/tests/tests/provider/src/android/provider/cts/
DBlockedNumberContractTest.java63 mContentResolver.delete(row, null, null); in tearDown()
222 mContentResolver.delete( in testDelete()
229 mContentResolver.delete( in testDelete()
236 mContentResolver.delete( in testDelete()
243 mContentResolver.delete( in testDelete()
249 assertEquals(1, mContentResolver.delete(insertedUri, null, null)); in testDelete()
252 mContentResolver.delete( in testDelete()
262 mContentResolver.delete(Uri.parse("foobar"), null, null); in testDelete_failsOnInvalidInputs()
269 mContentResolver.delete( in testDelete_failsOnInvalidInputs()
296 mContentResolver.delete(uri, null, null); in testProviderNotifiesChangesUsingContentObserver()
DMediaStore_FilesTest.java63 mResolver.delete(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in cleanup()
66 mResolver.delete(MediaStore.Files.getContentUri("external"), in cleanup()
89 f.delete(); in deleteAll()
139 assertEquals(1, mResolver.delete(fileUri, null, null)); in testGetContentUri()
171 mResolver.delete(fileUri, null, null); in testGetContentUri()
194 mResolver.delete(fileUri, null, null); in testCaseSensitivity()
195 new File(fileName).delete(); in testCaseSensitivity()
196 new File(fileDir).delete(); in testCaseSensitivity()
211 mResolver.delete(MediaStore.Images.Media.INTERNAL_CONTENT_URI, in testAccess()
283 path.delete(); in testAccess()
[all …]
DMediaStore_Video_ThumbnailsTest.java118 mResolver.delete(ContentUris.withAppendedId(Thumbnails.EXTERNAL_CONTENT_URI, id), in testGetThumbnail()
124 assertEquals(1, mResolver.delete(videoUri, null, null)); in testGetThumbnail()
156 mResolver.delete(uri, null /* where clause */, null /* where args */); in testThumbnailGenerationAndCleanup()
218 mResolver.delete(uri, null /* where */, null /* where args */); in testThumbnailGenerationAndCleanup()
219 new File(sourcePath).delete(); in testThumbnailGenerationAndCleanup()
225 mResolver.delete(Media.EXTERNAL_CONTENT_URI, in insertVideo()
227 file.delete(); in insertVideo()
DSmsBackupRestoreTest.java112 mContentResolver.delete(Telephony.Sms.CONTENT_URI, SMS_SELECTION, smsAddressBody1); in clearMessages()
113 mContentResolver.delete(Telephony.Sms.CONTENT_URI, SMS_SELECTION, smsAddressBody2); in clearMessages()
121 mContentResolver.delete(partUri, MMS_PART_SELECTION, in clearMessages()
125 mContentResolver.delete(addrUri, MMS_ADDR_SELECTION, in clearMessages()
129 mContentResolver.delete(Telephony.Mms.CONTENT_URI, MMS_SELECTION, new String[]{mmsSubject}); in clearMessages()
164 mContentResolver.delete(Telephony.Sms.CONTENT_URI, SMS_SELECTION, smsAddressBody1)); in testSmsBackupRestore()
166 mContentResolver.delete(Telephony.Sms.CONTENT_URI, SMS_SELECTION, smsAddressBody2)); in testSmsBackupRestore()
188 assertEquals(2, mContentResolver.delete(partUri, MMS_PART_SELECTION, in testSmsBackupRestore()
201 assertEquals(mmsAddresses.length, mContentResolver.delete(addrUri, MMS_ADDR_SELECTION, in testSmsBackupRestore()
DMediaStore_Audio_AlbumsTest.java135 mContentResolver.delete(audioAlbumsUri, selection, selectionArgs); in testStoreAudioAlbums()
156 mContentResolver.delete(audioMediaUri, null, null); in testStoreAudioAlbums()
191 mContentResolver.delete(albumart, null, null); in testAlbumArt()
201 new File(albumartfile).delete(); in testAlbumArt()
211 path.delete(); in testAlbumArt()
213 mContentResolver.delete(uri, null, null); in testAlbumArt()
DSettings_SystemTest.java51 cr.delete(System.CONTENT_URI, selection, null); in deleteTestedRows()
54 cr.delete(System.CONTENT_URI, selection, null); in deleteTestedRows()
57 cr.delete(System.CONTENT_URI, selection, null); in deleteTestedRows()
60 cr.delete(System.CONTENT_URI, selection, null); in deleteTestedRows()
DMediaStore_Images_ThumbnailsTest.java55 mContentResolver.delete(row, null, null); in tearDown()
169 mContentResolver.delete(stringUri, null, null); in testQueryExternalMiniThumbnails()
192 mContentResolver.delete(fileuri, null, null); in testQueryExternalMiniThumbnails()
214 mContentResolver.delete(MediaStore.Images.Thumbnails.EXTERNAL_CONTENT_URI, in testQueryExternalMiniThumbnails()
274 assertEquals(1, mContentResolver.delete(uri, null, null)); in testStoreImagesMediaExternal()
296 mContentResolver.delete(uri, null /* where clause */, null /* where args */); in testThumbnailGenerationAndCleanup()
354 mContentResolver.delete(uri, null /* where */, null /* where args */); in testThumbnailGenerationAndCleanup()
355 new File(sourcePath).delete(); in testThumbnailGenerationAndCleanup()
388 assertTrue(new File(path).delete()); in testThumbnailOrderedQuery()
399 assertTrue(new File(path).delete()); in testThumbnailOrderedQuery()
[all …]
DMediaStore_Audio_Playlists_MembersTest.java127 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio1, null); in tearDown()
128 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio2, null); in tearDown()
129 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio3, null); in tearDown()
130 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio4, null); in tearDown()
131 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio5, null); in tearDown()
322 … mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, Media._ID + "=" + mIdOfAudio2, null); in testStoreAudioPlaylistsMembersExternal()
402 result = mContentResolver.delete(membersUri, null, null); in testStoreAudioPlaylistsMembersExternal()
404 result = mContentResolver.delete(members2Uri, null, null); in testStoreAudioPlaylistsMembersExternal()
427 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, in testStoreAudioPlaylistsMembersExternal()
445 mContentResolver.delete(Playlists.EXTERNAL_CONTENT_URI, in testStoreAudioPlaylistsMembersExternal()
[all …]
DMediaStore_Video_MediaTest.java64 mContentResolver.delete(Media.EXTERNAL_CONTENT_URI, "_data=?", new String[] { path }); in cleanExternalMediaFile()
65 new File(path).delete(); in cleanExternalMediaFile()
196 assertEquals(1, mContentResolver.delete(uri, null, null)); in testStoreVideoMediaExternal()
197 new File(externalVideoPath).delete(); in testStoreVideoMediaExternal()
205 mContentResolver.delete(videoUri, null, null); in testStoreVideoMediaExternal()
213 mContentResolver.delete(builder.build(), null, null); in testStoreVideoMediaExternal()
215 videofile.delete(); in testStoreVideoMediaExternal()
/cts/tests/tests/media/libmediandkjni/
Dnative_media_utils.h62 Thread(const Thread& ) = delete;
99 DynamicParam() = delete;
100 DynamicParam(const DynamicParam&) = delete;
137 RunConfig(const RunConfig&) = delete;
170 Stats(const Stats&) = delete;
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerTest.java94 mMediaFile.delete(); in cleanup()
100 new File(mFileDir + "/" + f).delete(); in cleanup()
103 new File(mFileDir).delete(); in cleanup()
111 mContext.getContentResolver().delete(MediaStore.Audio.Media.getContentUri("external"), in cleanup()
218 nomedia.delete(); in testMediaScanner()
237 res.delete(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, in testMediaScanner()
240 res.delete(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, in testMediaScanner()
244 res.delete(MediaStore.Files.getContentUri("external"), in testMediaScanner()
247 res.delete(MediaStore.Files.getContentUri("external"), in testMediaScanner()
371 new File(file1).delete(); in testWildcardPaths()
[all …]
DMediaScannerNotificationTest.java79 assertTrue(noMedia.delete()); in testMediaScannerNotification()
125 assertTrue(new File(tmpPath, "foobar." + extensions[i]).delete()); in deleteTempFiles()
127 assertTrue(new File(tmpPath).delete()); in deleteTempFiles()
/cts/tests/tests/os/src/android/os/cts/
DRecoverySystemTest.java68 packageFile.delete(); in testVerify()
77 otacerts.delete(); in testVerify()
94 packageFile.delete(); in expectVerifyFail()
DFileObserverTest.java59 testFile.delete(); in helpTearDown()
63 moveDestFile.delete(); in helpTearDown()
67 testDir.delete(); in helpTearDown()
132 testFile.delete(); // delete in helpTestFileObserver()
153 testFile.delete(); in helpTestFileObserver()
154 testDir.delete(); in helpTestFileObserver()
/cts/hostsidetests/backup/fullbackupapp/src/android/cts/backup/fullbackupapp/
DFullbackupTest.java126 mNoBackupFile.delete(); in deleteAllFiles()
127 mNoBackupFile2.delete(); in deleteAllFiles()
128 mDoBackupFile.delete(); in deleteAllFiles()
129 mDoBackupFile2.delete(); in deleteAllFiles()
/cts/libs/vogar-expect/src/vogar/util/
DMarkResetConsole.java42 rowContent.delete(0, rowContent.length()); in print()
82 rowContent.delete(0, rowContent.length()); in reset()
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/
DNumberBlockingAppTest.java29 assertTrue(mContext.getContentResolver().delete( in testCleanupBlockedNumberAsPrimaryUserSucceeds()
54 assertEquals(1, mContext.getContentResolver().delete( in testUnblockNumberAsPrimaryUserSucceeds()
/cts/tools/vm-tests-tf/src/util/build/
DJarBuildStep.java101 jarOutFile.delete(); in build()
107 tempFile.delete(); in build()
110 inputFile.fileName.delete(); in build()
/cts/hostsidetests/backup/FullBackupOnly/src/
DFullBackupOnlyTest.java129 mKeyValueBackupFile.delete(); in deleteAllFiles()
130 mDoBackupFile.delete(); in deleteAllFiles()
131 mDoBackupFile2.delete(); in deleteAllFiles()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContract_RawContactsTest.java129 RawContactUtil.delete(mResolver, rawContactid, false); in testRawContactDelete_setsDeleteFlag()
149 RawContactUtil.delete(mResolver, rawContactid, true); in testRawContactDelete_removesRecord()
168 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testRawContactCreate_updatesContactUpdatedTimestamp()
184 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testRawContactUpdate_updatesContactUpdatedTimestamp()
192 RawContactUtil.delete(mResolver, ids.mRawContactId, false); in testRawContactPsuedoDelete_hasDeleteLogForContact()
197 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testRawContactPsuedoDelete_hasDeleteLogForContact()
205 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testRawContactDelete_hasDeleteLogForContact()
DContactsContract_PinnedPositionsTest.java129 ContactUtil.delete(mResolver, i1.mContactId); in testPinnedPositionsUpdate()
130 ContactUtil.delete(mResolver, i2.mContactId); in testPinnedPositionsUpdate()
131 ContactUtil.delete(mResolver, i3.mContactId); in testPinnedPositionsUpdate()
132 ContactUtil.delete(mResolver, i4.mContactId); in testPinnedPositionsUpdate()
249 ContactUtil.delete(mResolver, cId1); in testPinnedPositionsAfterJoinAndSplit()
250 ContactUtil.delete(mResolver, i2.mContactId); in testPinnedPositionsAfterJoinAndSplit()
251 ContactUtil.delete(mResolver, cId4); in testPinnedPositionsAfterJoinAndSplit()
252 ContactUtil.delete(mResolver, i5.mContactId); in testPinnedPositionsAfterJoinAndSplit()
327 ContactUtil.delete(mResolver, i1.mContactId); in testPinnedPositionsAfterDemoteAndUndemote()
328 ContactUtil.delete(mResolver, i2.mContactId); in testPinnedPositionsAfterDemoteAndUndemote()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/
DDatabase.java72 public int delete(final String table, final String selection, final String[] selectionArgs) { in delete() method in Database
73 return mHelper.getWritableDatabase().delete(table, selection, selectionArgs); in delete()
/cts/tests/framework/base/activitymanager/util/src/android/server/am/settings/
DSettingsSession.java110 delete(mUri); in close()
133 private static void delete(final Uri uri) throws IllegalArgumentException { in delete() method in SettingsSession
134 getContentResolver().delete(uri, null, null); in delete()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DSessionLifecycleTest.java116 getStartedMarker(getContext()).delete(); in startAndWaitExternalActivity()
121 getStartedMarker(getContext()).delete(); in startAndWaitExternalActivity()
179 getStoppedMarker(getContext()).delete(); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
271 getStoppedMarker(getContext()).delete(); in testAuthCanceledWhileAutofilledAppIsLifecycled()
311 getStoppedMarker(getContext()).delete(); in testDatasetVisibleWhileAutofilledAppIsLifecycled()
355 getStoppedMarker(getContext()).delete(); in testAutofillNestedActivitiesWhileAutofilledAppIsLifecycled()

12345678910