/cts/tests/autofillservice/src/android/autofillservice/cts/common/ |
D | SettingsHelper.java | 42 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/ |
D | BlockedNumberContractTest.java | 63 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()
|
D | MediaStore_FilesTest.java | 63 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 …]
|
D | MediaStore_Video_ThumbnailsTest.java | 118 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()
|
D | SmsBackupRestoreTest.java | 112 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()
|
D | MediaStore_Audio_AlbumsTest.java | 135 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()
|
D | Settings_SystemTest.java | 51 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()
|
D | MediaStore_Images_ThumbnailsTest.java | 55 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 …]
|
D | MediaStore_Audio_Playlists_MembersTest.java | 127 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 …]
|
D | MediaStore_Video_MediaTest.java | 64 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/ |
D | native_media_utils.h | 62 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/ |
D | MediaScannerTest.java | 94 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 …]
|
D | MediaScannerNotificationTest.java | 79 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/ |
D | RecoverySystemTest.java | 68 packageFile.delete(); in testVerify() 77 otacerts.delete(); in testVerify() 94 packageFile.delete(); in expectVerifyFail()
|
D | FileObserverTest.java | 59 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/ |
D | FullbackupTest.java | 126 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/ |
D | MarkResetConsole.java | 42 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/ |
D | NumberBlockingAppTest.java | 29 assertTrue(mContext.getContentResolver().delete( in testCleanupBlockedNumberAsPrimaryUserSucceeds() 54 assertEquals(1, mContext.getContentResolver().delete( in testUnblockNumberAsPrimaryUserSucceeds()
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | JarBuildStep.java | 101 jarOutFile.delete(); in build() 107 tempFile.delete(); in build() 110 inputFile.fileName.delete(); in build()
|
/cts/hostsidetests/backup/FullBackupOnly/src/ |
D | FullBackupOnlyTest.java | 129 mKeyValueBackupFile.delete(); in deleteAllFiles() 130 mDoBackupFile.delete(); in deleteAllFiles() 131 mDoBackupFile2.delete(); in deleteAllFiles()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_RawContactsTest.java | 129 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()
|
D | ContactsContract_PinnedPositionsTest.java | 129 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/ |
D | Database.java | 72 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/ |
D | SettingsSession.java | 110 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/ |
D | SessionLifecycleTest.java | 116 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()
|