Home
last modified time | relevance | path

Searched refs:deleted (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/os/
DAtomicDirectory.java220 boolean deleted = false; in delete()
222 deleted |= deleteDirectory(mBaseDirectory); in delete()
225 deleted |= deleteDirectory(mBackupDirectory); in delete()
227 if (deleted) { in delete()
/frameworks/base/cmds/statsd/src/packages/
DUidMap.cpp81 return it != mMap.end() && !it->second.deleted; in hasApp()
98 if (kv.first.first == uid && !kv.second.deleted) { in getAppNamesFromUidLocked()
109 if (it == mMap.end() || it->second.deleted) { in getAppVersion()
126 if (kv.second.deleted) { in updateMap()
180 it->second.deleted = false; in updateApp()
234 if (it != mMap.end() && !it->second.deleted) { in removeApp()
237 it->second.deleted = true; in removeApp()
365 proto->write(FIELD_TYPE_BOOL | FIELD_ID_SNAPSHOT_PACKAGE_DELETED, kv.second.deleted); in writeUidMapSnapshotLocked()
444 if (!kv.second.deleted) { in printUidMap()
465 if (kv.first.second == package && !kv.second.deleted) { in getAppUid()
DUidMap.h48 bool deleted; member
55 : versionCode(v), versionString(versionString), installer(installer), deleted(false){}; in AppData()
/frameworks/av/media/bufferpool/1.0/
DAccessorImpl.cpp278 bool deleted = erase(&mUsingBuffers, connectionId, bufferId); in handleReleaseBuffer() local
279 if (deleted) { in handleReleaseBuffer()
289 ALOGV("release buffer %u : %d", bufferId, deleted); in handleReleaseBuffer()
290 return deleted; in handleReleaseBuffer()
353 bool deleted = erase(&mPendingTransactions, message.connectionId, in handleTransferResult() local
355 if (deleted) { in handleTransferResult()
372 message.bufferId, deleted); in handleTransferResult()
373 return deleted; in handleTransferResult()
427 bool deleted = erase(&mUsingConnections, bufferId, connectionId); in handleClose() local
428 if (deleted) { in handleClose()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DImageUtils.java181 boolean deleted = output.delete(); in assertImageSimilar()
182 assertTrue(deleted); in assertImageSimilar()
328 boolean deleted = output.delete(); in saveImageAndAppendMessage()
329 assertTrue(deleted); in saveImageAndAppendMessage()
/frameworks/av/media/bufferpool/2.0/
DAccessorImpl.cpp454 bool deleted = erase(&mUsingBuffers, connectionId, bufferId); in handleReleaseBuffer() local
455 if (deleted) { in handleReleaseBuffer()
472 ALOGV("release buffer %u : %d", bufferId, deleted); in handleReleaseBuffer()
473 return deleted; in handleReleaseBuffer()
536 bool deleted = erase(&mPendingTransactions, message.connectionId, in handleTransferResult() local
538 if (deleted) { in handleTransferResult()
562 message.bufferId, deleted); in handleTransferResult()
563 return deleted; in handleTransferResult()
621 bool deleted = erase(&mUsingConnections, bufferId, connectionId); in handleClose() local
622 if (deleted) { in handleClose()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteDatabase.java835 boolean deleted = false; in deleteDatabase()
836 deleted |= file.delete(); in deleteDatabase()
837 deleted |= new File(file.getPath() + "-journal").delete(); in deleteDatabase()
838 deleted |= new File(file.getPath() + "-shm").delete(); in deleteDatabase()
839 deleted |= new File(file.getPath() + "-wal").delete(); in deleteDatabase()
855 deleted |= masterJournal.delete(); in deleteDatabase()
859 return deleted; in deleteDatabase()
/frameworks/base/libs/androidfw/include/androidfw/
DBackupHelpers.h56 bool deleted; member
/frameworks/base/libs/androidfw/
DBackupHelpers.cpp151 if (!g.deleted) { in write_snapshot_file()
171 if (!r.deleted) { in write_snapshot_file()
360 r.deleted = false; in back_up_files()
808 r.deleted = false; in WriteFile()
983 r.deleted = false; in backup_helper_test_four()
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java255 int deleted = 0; in deleteSurroundingText() local
264 deleted = numDeleteBefore; in deleteSurroundingText()
269 b = b - deleted; in deleteSurroundingText()
/frameworks/base/proto/src/
Dsystem_messages.proto108 // Package manager either installed or deleted a package
285 // Notify the user that their work profile has been deleted
/frameworks/base/core/java/android/os/
DFileUtils.java821 boolean deleted = false; in deleteOlderFiles()
830 deleted = true; in deleteOlderFiles()
834 return deleted; in deleteOlderFiles()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java1015 boolean deleted = false; in deleteKeyphraseSoundModel()
1021 deleted = mDbHelper.deleteKeyphraseSoundModel(keyphraseId, callingUid, bcp47Locale); in deleteKeyphraseSoundModel()
1022 return deleted ? SoundTriggerInternal.STATUS_OK : SoundTriggerInternal.STATUS_ERROR; in deleteKeyphraseSoundModel()
1024 if (deleted) { in deleteKeyphraseSoundModel()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java358 boolean deleted = false; in pushDynamicShortcut()
383 deleted = deleteDynamicWithId(shortcut.getId(), /*ignoreInvisible=*/ true) != null; in pushDynamicShortcut()
396 return deleted; in pushDynamicShortcut()
503 final ShortcutInfo deleted = deleteOrDisableWithId(shortcutId, /* disable =*/ true, in disableWithId() local
517 return deleted; in disableWithId()
DShortcutService.java2093 boolean deleted = ps.pushDynamicShortcut(shortcut, changedShortcuts); in pushDynamicShortcut()
2095 if (deleted) { in pushDynamicShortcut()
2216 final ShortcutInfo deleted = ps.disableWithId(id, in disableShortcuts() local
2221 if (deleted == null) { in disableShortcuts()
2230 removedShortcuts.add(deleted); in disableShortcuts()
/frameworks/base/core/java/android/app/
DNotificationChannel.java371 public void setDeleted(boolean deleted) { in setDeleted() argument
372 mDeleted = deleted; in setDeleted()
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags56 # File on cache partition was deleted
/frameworks/hardware/interfaces/cameraservice/device/2.0/
DICameraDeviceUser.hal134 * @param streamId the stream id of the stream to be deleted
/frameworks/native/services/sensorservice/
DSensorService.cpp1944 bool deleted = false; in onUidIdle() local
1948 deleted = true; in onUidIdle()
1951 if (deleted) { in onUidIdle()
/frameworks/native/opengl/specs/
DEGL_ANDROID_blob_cache.txt125 deleted and <dpy> itself is terminated. Concurrent calls to these
/frameworks/base/cmds/statsd/tests/
DUidMap_test.cpp244 EXPECT_EQ(true, results.snapshots(0).package_info(0).deleted()); in TEST()
/frameworks/base/cmds/statsd/src/
Dstats_log.proto288 optional bool deleted = 4; field
/frameworks/native/cmds/surfacereplayer/replayer/
DREADME.md164 **Surface/Display Deletion** contain the id of the surface/display to be deleted
/frameworks/compile/libbcc/tests/libbcc/
Dtest_reduce_general_cleanup.ll1 ; Check that the unexpanded accumulator functions and the dummy variables are deleted.
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java1320 final boolean deleted = info.bugreportFile.delete(); in zipBugreport()
1321 if (deleted) { in zipBugreport()

12