/frameworks/base/core/java/android/os/ |
RecoverySystem.java | 378 COMMAND_FILE.delete(); // In case it's not writable 379 LOG_FILE.delete(); 413 // Delete everything in RECOVERY_DIR except those beginning 419 if (!f.delete()) { 420 Log.e(TAG, "Can't delete: " + f);
|
/frameworks/base/keystore/tests/src/android/security/ |
KeyStoreTest.java | 158 assertTrue(mKeyStore.delete(TEST_KEYNAME)); 160 assertTrue(mKeyStore.delete(TEST_KEYNAME)); 164 assertTrue(mKeyStore.delete(TEST_KEYNAME));
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
SimPukUnlockScreen.java | 188 digits.delete(len-1, len); 196 digits.delete(len-1, len); 283 digits.delete(len-1, len);
|
/libcore/luni/src/main/java/java/util/logging/ |
FileHandler.java | 184 files[i].delete(); method 235 files[i].delete(); 496 file.delete();
|
/packages/apps/KeyChain/src/com/android/keychain/ |
KeyChainService.java | 153 // delete user-installed CA certs 167 // only Settings should be able to delete 239 db.delete(TABLE_GRANTS, SELECT_GRANTS_BY_UID_AND_ALIAS, 245 db.delete(TABLE_GRANTS, null /* whereClause */, null /* whereArgs */); 302 db.delete(TABLE_GRANTS, SELECTION_GRANTS_BY_UID,
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
VoicemailContentTable.java | 160 public int delete(UriData uriData, String selection, String[] selectionArgs) { method in class:VoicemailContentTable 165 // Delete all the files associated with this query. Once we've deleted the rows, there will 173 Log.w(TAG, "No filename for uri " + uriData.getUri() + ", cannot delete file"); 178 boolean success = file.delete(); 180 Log.e(TAG, "Failed to delete file: " + file.getAbsolutePath()); 188 // Now delete the rows themselves. 189 return getDatabaseModifier(db).delete(mTableName, combinedClause,
|
/packages/providers/DrmProvider/src/com/android/providers/drm/ |
DrmProvider.java | 88 // TODO: delete temporary files 328 throw new SecurityException("Attempted to delete a non-DRM file"); 330 new File(path).delete(); 341 public int delete(Uri uri, String userWhere, String[] whereArgs) { method in class:DrmProvider 356 count = db.delete(sGetTableAndWhereParam.table,
|
/sdk/common/tests/src/com/android/util/ |
PositionXmlParserTest.java | 111 file.delete(); 176 file.delete(); 256 file.delete();
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentProviderTest.java | 219 // delete the temporary file 220 file.delete(); 257 public int delete(Uri url, String selection, String[] selectionArgs) { 340 public int delete(Uri uri, String selection, String[] selectionArgs) { method in class:ContentProviderTest.MockContentProvider 403 // delete the database if it already exists 411 public int delete(Uri uri, String selection, String[] selectionArgs) { method in class:ContentProviderTest.OpenFileContentProvider
|
SearchRecentSuggestionsProviderTest.java | 71 s.delete(TEST_URI, null, null);
|
/cts/tests/tests/holo/src/android/holo/cts/ |
BitmapAssets.java | 62 files[i].delete(); method
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaScannerConnectionTest.java | 62 mMediaFile.delete();
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Video_MediaTest.java | 180 // delete 181 assertEquals(1, mContentResolver.delete(uri, null, null)); 189 mContentResolver.delete(videoUri, null, null); 192 // insert again, then delete with the "delete data" parameter set to false 197 mContentResolver.delete(builder.build(), null, null); 199 videofile.delete();
|
Settings_NameValueTableTest.java | 57 // delete this row 58 cr.delete(uri, selection, null);
|
UserDictionary_WordsTest.java | 55 mContentResolver.delete(row, null, null);
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
TextToSpeechTest.java | 99 sampleFile.delete();
|
/cts/tests/tests/text/src/android/text/cts/ |
SpannableStringBuilderTest.java | 575 builder.delete(0, 5); 580 builder.delete(2, 4); 584 builder.delete(-1, 100); 591 builder.delete(4, 1);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
LoaderThrottle.java | 305 public int delete(Uri uri, String where, String[] whereArgs) { method in class:LoaderThrottle.SimpleProvider 313 // If URI is main table, delete uses incoming where clause and args. 314 count = db.delete(MainTable.TABLE_NAME, where, whereArgs); 317 // If the incoming URI matches a single note ID, does the delete based on the 321 // If URI is for a particular row ID, delete is based on incoming 325 count = db.delete(MainTable.TABLE_NAME, finalWhere, whereArgs); 466 cr.delete(MainTable.CONTENT_URI, null, null);
|
/development/samples/Support4Demos/src/com/example/android/supportv4/app/ |
LoaderThrottleSupport.java | 306 public int delete(Uri uri, String where, String[] whereArgs) { method in class:LoaderThrottleSupport.SimpleProvider 314 // If URI is main table, delete uses incoming where clause and args. 315 count = db.delete(MainTable.TABLE_NAME, where, whereArgs); 318 // If the incoming URI matches a single note ID, does the delete based on the 322 // If URI is for a particular row ID, delete is based on incoming 326 count = db.delete(MainTable.TABLE_NAME, finalWhere, whereArgs); 466 cr.delete(MainTable.CONTENT_URI, null, null);
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherDataProvider.java | 112 public int delete(Uri uri, String selection, String[] selectionArgs) { method in class:WeatherDataProvider
|
/development/tutorials/NotepadCodeLab/Notepadv1/src/com/android/demo/notepad1/ |
NotesDbAdapter.java | 129 * Delete the note with the given rowId 131 * @param rowId id of note to delete 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
|
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/ |
NotesDbAdapter.java | 129 * Delete the note with the given rowId 131 * @param rowId id of note to delete 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
|
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/ |
NotesDbAdapter.java | 129 * Delete the note with the given rowId 131 * @param rowId id of note to delete 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
|
/development/tutorials/NotepadCodeLab/Notepadv2Solution/src/com/android/demo/notepad2/ |
NotesDbAdapter.java | 129 * Delete the note with the given rowId 131 * @param rowId id of note to delete 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
|
/development/tutorials/NotepadCodeLab/Notepadv3/src/com/android/demo/notepad3/ |
NotesDbAdapter.java | 129 * Delete the note with the given rowId 131 * @param rowId id of note to delete 136 return mDb.delete(DATABASE_TABLE, KEY_ROWID + "=" + rowId, null) > 0;
|