Home
last modified time | relevance | path

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

12345678910>>...12

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DSettingsUtils.java50 delete(namespace, key); in set()
55 delete(namespace, key); in set()
111 public static void delete(@NonNull String namespace, @NonNull String key) { in delete() method in SettingsUtils
118 public static void delete(@NonNull String key) { in delete() method in SettingsUtils
119 delete(NAMESPACE_SECURE, key); in delete()
136 delete(namespace, key); in syncDelete()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DSettingsUtils.java51 delete(namespace, key); in set()
56 delete(namespace, key); in set()
112 public static void delete(@NonNull String namespace, @NonNull String key) { in delete() method in SettingsUtils
119 public static void delete(@NonNull String key) { in delete() method in SettingsUtils
120 delete(NAMESPACE_SECURE, key); in delete()
137 delete(namespace, key); in syncDelete()
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerTest.java98 mMediaFile.delete(); in cleanup()
104 new File(mFileDir + "/" + f).delete(); in cleanup()
107 new File(mFileDir).delete(); in cleanup()
115 mContext.getContentResolver().delete(MediaStore.Audio.Media.getContentUri("external"), in cleanup()
202 nomedia.delete(); in testMediaScanner()
215 res.delete(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, in testMediaScanner()
218 res.delete(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, in testMediaScanner()
222 res.delete(MediaStore.Files.getContentUri("external"), in testMediaScanner()
225 res.delete(MediaStore.Files.getContentUri("external"), in testMediaScanner()
343 new File(file1).delete(); in testWildcardPaths()
[all …]
DMediaScannerNotificationTest.java70 assertTrue(noMedia.delete()); in testMediaScannerNotification()
116 assertTrue(new File(tmpPath, "foobar." + extensions[i]).delete()); in deleteTempFiles()
118 assertTrue(new File(tmpPath).delete()); in deleteTempFiles()
/cts/tests/tests/provider/src/android/provider/cts/
DBlockedNumberContractTest.java68 mContentResolver.delete(row, null, null); in tearDown()
295 mContentResolver.delete( in testDelete()
302 mContentResolver.delete( in testDelete()
309 mContentResolver.delete( in testDelete()
316 mContentResolver.delete( in testDelete()
322 assertEquals(1, mContentResolver.delete(insertedUri, null, null)); in testDelete()
325 mContentResolver.delete( in testDelete()
339 mContentResolver.delete(Uri.parse("foobar"), null, null); in testDelete_failsOnInvalidInputs()
346 mContentResolver.delete( in testDelete_failsOnInvalidInputs()
377 mContentResolver.delete(uri, null, null); in testProviderNotifiesChangesUsingContentObserver()
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_Video_ThumbnailsTest.java130 assertEquals(1, mResolver.delete(videoUri, null, null)); in testGetThumbnail()
152 mResolver.delete(uri, null /* where clause */, null /* where args */); in testThumbnailGenerationAndCleanup()
193 mResolver.delete(fileUri, null /* where */, null /* where args */); in testThumbnailGenerationAndCleanup()
194 new File(sourcePath).delete(); in testThumbnailGenerationAndCleanup()
201 mResolver.delete(Media.EXTERNAL_CONTENT_URI, in insertVideo()
203 file.delete(); in insertVideo()
259 mResolver.delete(finalUri, null, null); in testInsertUpdateDelete()
DMediaStore_Audio_Playlists_MembersTest.java156 mContentResolver.delete(uri, Media._ID + "=" + mIdOfAudio1, null); in tearDown()
157 mContentResolver.delete(uri, Media._ID + "=" + mIdOfAudio2, null); in tearDown()
158 mContentResolver.delete(uri, Media._ID + "=" + mIdOfAudio3, null); in tearDown()
159 mContentResolver.delete(uri, Media._ID + "=" + mIdOfAudio4, null); in tearDown()
160 mContentResolver.delete(uri, Media._ID + "=" + mIdOfAudio5, null); in tearDown()
357 mContentResolver.delete(Media.getContentUri(mVolumeName), in testStoreAudioPlaylistsMembersExternal()
437 result = mContentResolver.delete(membersUri, null, null); in testStoreAudioPlaylistsMembersExternal()
439 result = mContentResolver.delete(members2Uri, null, null); in testStoreAudioPlaylistsMembersExternal()
461 mContentResolver.delete(Media.getContentUri(mVolumeName), in testStoreAudioPlaylistsMembersExternal()
479 mContentResolver.delete(Playlists.getContentUri(mVolumeName), in testStoreAudioPlaylistsMembersExternal()
[all …]
DMediaStore_Video_MediaTest.java106 mContentResolver.delete(mExternalVideo, "_data=?", new String[] { path }); in cleanExternalMediaFile()
107 new File(path).delete(); in cleanExternalMediaFile()
182 assertEquals(1, mContentResolver.delete(uri, null, null)); in testStoreVideoMediaExternal()
183 new File(externalVideoPath).delete(); in testStoreVideoMediaExternal()
191 mContentResolver.delete(videoUri, null, null); in testStoreVideoMediaExternal()
363 mContentResolver.delete(a, null, null); in testCanonicalize()
364 mContentResolver.delete(b, null, null); in testCanonicalize()
365 mContentResolver.delete(c, null, null); in testCanonicalize()
DMediaStore_Audio_Genres_MembersTest.java95 mContentResolver.delete(Media.getContentUri(mVolumeName), in tearDown()
97 mContentResolver.delete(Media.getContentUri(mVolumeName), in tearDown()
258 … assertEquals(1, mContentResolver.delete(membersUri, null, null)); // check number of rows deleted in testStoreAudioGenresMembersExternal()
266 assertEquals(1, mContentResolver.delete(members2Uri, null, null)); in testStoreAudioGenresMembersExternal()
290 mContentResolver.delete(Media.getContentUri(mVolumeName), in testStoreAudioGenresMembersExternal()
307 mContentResolver.delete(Genres.getContentUri(mVolumeName), in testStoreAudioGenresMembersExternal()
310 mContentResolver.delete(Genres.getContentUri(mVolumeName), in testStoreAudioGenresMembersExternal()
/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/hostsidetests/backup/fullbackupapp/src/android/cts/backup/fullbackupapp/
DFullbackupTest.java129 mNoBackupFile.delete(); in deleteAllFiles()
130 mNoBackupFile2.delete(); in deleteAllFiles()
131 mDoBackupFile.delete(); in deleteAllFiles()
132 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()
DContactsTest.java89 mProvider.delete(People.CONTENT_URI, PeopleColumns.NAME + " = ?", in testPeopleTable()
137 mProvider.delete(uri, null, null); in testPeopleTable()
196 assertEquals(1, mProvider.delete(uri, null, null)); in testGroupsTable()
315 mProvider.delete(uri, null, null); in testPhonesTable()
320 mProvider.delete(peopleUri, null, null); in testPhonesTable()
398 mProvider.delete(uri, null, null); in testOrganizationsTable()
403 mProvider.delete(peopleUri, null, null); in testOrganizationsTable()
536 mCallLogProvider.delete(Calls.CONTENT_URI, Calls._ID + " = " + id, null); in testCallsTable()
624 mProvider.delete(uri, null, null);
631 mProvider.delete(peopleUri, null, null);
[all …]
/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.java70 testFile.delete(); in helpTearDown()
74 moveDestFile.delete(); in helpTearDown()
78 testDir.delete(); in helpTearDown()
136 testFile.delete(); // delete in helpTestFileObserver()
220 testFile.delete(); in verifyTriggeredEventsOnDir()
221 testDir.delete(); in verifyTriggeredEventsOnDir()
/cts/tools/vm-tests-tf/build/src/util/build/
DJarBuildStep.java101 jarOutFile.delete(); in build()
107 tempFile.delete(); in build()
110 inputFile.fileName.delete(); in build()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteQueryBuilderTest.java534 assertEquals(2, qb.delete(mDatabase, null, null)); in testDelete()
535 assertEquals(0, qb.delete(mDatabase, null, null)); in testDelete()
540 assertEquals(1, qb.delete(mDatabase, "month=?", new String[] { "2" })); in testDelete()
541 assertEquals(0, qb.delete(mDatabase, "month=?", new String[] { "2" })); in testDelete()
624 assertEquals(1, qb.delete(mDatabase, null, null)); in testStrictDelete()
630 assertEquals(1, qb.delete(mDatabase, "1=1", null)); in testStrictDelete()
635 assertEquals(1, qb.delete(mDatabase, "1=1 --", null)); in testStrictDelete()
640 assertEquals(1, qb.delete(mDatabase, "1=1) OR (1=1", null)); in testStrictDelete()
645 assertEquals(1, qb.delete(mDatabase, "1=1)) OR ((1=1", null)); in testStrictDelete()
/cts/hostsidetests/backup/FullBackupOnly/src/
DFullBackupOnlyTest.java132 mKeyValueBackupFile.delete(); in deleteAllFiles()
133 mDoBackupFile.delete(); in deleteAllFiles()
134 mDoBackupFile2.delete(); in deleteAllFiles()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DSessionLifecycleTest.java142 getStartedMarker(getContext()).delete(); in startAndWaitExternalActivity()
147 getStartedMarker(getContext()).delete(); in startAndWaitExternalActivity()
210 getStoppedMarker(getContext()).delete(); in testDatasetAuthResponseWhileAutofilledAppIsLifecycled()
305 getStoppedMarker(getContext()).delete(); in testAuthCanceledWhileAutofilledAppIsLifecycled()
345 getStoppedMarker(getContext()).delete(); in testDatasetVisibleWhileAutofilledAppIsLifecycled()
389 getStoppedMarker(getContext()).delete(); in testAutofillNestedActivitiesWhileAutofilledAppIsLifecycled()
/cts/tests/tests/content/src/android/content/cts/
DMockContentProvider.java139 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() method in MockContentProvider
150 count = db.delete("TestTable1", selection, selectionArgs); in delete()
154 count = db.delete("TestTable1", "_id=" + segment + in delete()
159 count = db.delete("TestTable2", selection, selectionArgs); in delete()
163 count = db.delete("TestTable2", "_id=" + segment + in delete()
443 file.delete(); in setCrashOnLaunch()
/cts/tests/tests/util/src/android/util/cts/
DSparseLongArrayTest.java87 sparseArray.delete(KEYS[1]); in testSparseArrayWithDefaultCapacity()
95 sparseArray.delete(KEYS[2]); in testSparseArrayWithDefaultCapacity()
149 sparseArray.delete(KEYS[1]); in testSparseArrayWithSpecifiedCapacity()
157 sparseArray.delete(KEYS[2]); in testSparseArrayWithSpecifiedCapacity()
/cts/tests/tests/telephonyprovider/src/android/telephonyprovider/cts/
DThreadsTest.java57 contentResolver.delete(Telephony.Threads.CONTENT_URI, null, null); in cleanup()
58 contentResolver.delete(Telephony.Sms.CONTENT_URI, null, null); in cleanup()
76 mContentResolver.delete( in testThreadDeletion_doNotReuseThreadIdsFromEmptyThreads()
/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()

12345678910>>...12