/system/update_engine/aosp/ |
D | cleanup_previous_update_action.h | 53 android::snapshot::ISnapshotManager* snapshot, 72 android::snapshot::ISnapshotManager* snapshot_; 74 std::unique_ptr<android::snapshot::AutoDevice> metadata_device_; 78 android::snapshot::ISnapshotMergeStats* merge_stats_;
|
D | cleanup_previous_update_action.cc | 37 using android::snapshot::ISnapshotManager; 38 using android::snapshot::SnapshotMergeStats; 39 using android::snapshot::UpdateState; 64 android::snapshot::ISnapshotManager* snapshot, in CleanupPreviousUpdateAction() argument 68 snapshot_(snapshot), in CleanupPreviousUpdateAction() 209 if (!android::snapshot::SnapshotManager::IsSnapshotManagerNeeded()) { in CheckForMergeDelay() 260 case android::snapshot::CreateResult::CREATED: { in StartMerge() 266 case android::snapshot::CreateResult::NOT_CREATED: { in StartMerge() 273 case android::snapshot::CreateResult::ERROR: in StartMerge() 278 std::underlying_type_t<android::snapshot::CreateResult>>( in StartMerge() [all …]
|
D | cleanup_previous_update_action_unittest.cc | 32 using android::snapshot::AutoDevice; 33 using android::snapshot::MockSnapshotManager; 34 using android::snapshot::MockSnapshotMergeStats; 35 using android::snapshot::UpdateState;
|
/system/server_configurable_flags/aconfigd/ |
D | aconfigd.cpp | 83 auto snapshot = storage_files_manager_->ListFlag(msg.package_name(), msg.flag_name()); in HandleFlagQuery() local 84 RETURN_IF_ERROR(snapshot, "Failed query failed"); in HandleFlagQuery() 86 result_msg->set_package_name(snapshot->package_name); in HandleFlagQuery() 87 result_msg->set_flag_name(snapshot->flag_name); in HandleFlagQuery() 88 result_msg->set_server_flag_value(snapshot->server_flag_value); in HandleFlagQuery() 89 result_msg->set_local_flag_value(snapshot->local_flag_value); in HandleFlagQuery() 90 result_msg->set_boot_flag_value(snapshot->boot_flag_value); in HandleFlagQuery() 91 result_msg->set_default_flag_value(snapshot->default_flag_value); in HandleFlagQuery() 92 result_msg->set_has_server_override(snapshot->has_server_override); in HandleFlagQuery() 93 result_msg->set_is_readwrite(snapshot->is_readwrite); in HandleFlagQuery() [all …]
|
/system/core/fs_mgr/libsnapshot/android/snapshot/ |
D | snapshot.proto | 16 package android.snapshot; 22 // No snapshot is found. 25 // The snapshot has been created and possibly written to. Rollbacks are 26 // possible by destroying the snapshot. 51 // Name of the snapshot. This is usually the name of the snapshotted 60 // Size of the snapshot. This is the sum of lengths of ranges in the base 63 // This value is 0 if no snapshot is needed for this device because 69 // the "COW image" form the "COW device" that supports the snapshot device. 82 // snapshot device. 85 // to the snapshot device. [all …]
|
/system/logging/liblog/tests/ |
D | liblog_benchmark.cpp | 220 uint32_t snapshot = 0; in BM_pmsg_short() local 221 buffer.payload.data = snapshot; in BM_pmsg_short() 227 ++snapshot; in BM_pmsg_short() 228 buffer.payload.data = snapshot; in BM_pmsg_short() 295 uint32_t snapshot = 0; in BM_pmsg_short_aligned() local 296 buffer->payload.payload.data = snapshot; in BM_pmsg_short_aligned() 299 ++snapshot; in BM_pmsg_short_aligned() 300 buffer->payload.payload.data = snapshot; in BM_pmsg_short_aligned() 369 uint32_t snapshot = 0; in BM_pmsg_short_unaligned1() local 370 buffer->payload.payload.data = snapshot; in BM_pmsg_short_unaligned1() [all …]
|
/system/update_engine/payload_consumer/ |
D | snapshot_extent_writer.h | 32 explicit SnapshotExtentWriter(android::snapshot::ICowWriter* cow_writer) in SnapshotExtentWriter() 39 android::snapshot::ICowWriter* cow_writer_;
|
D | vabc_partition_writer.h | 42 android::snapshot::ICowWriter* cow_writer, 78 android::snapshot::ICowWriter* cow_writer); 84 std::unique_ptr<android::snapshot::ICowWriter> cow_writer_;
|
D | snapshot_extent_writer_unittest.cc | 35 class FakeCowWriter : public android::snapshot::ICowWriter { 94 std::unique_ptr<android::snapshot::ICowReader> OpenReader() override { in OpenReader() 109 android::snapshot::CowSizeInfo GetCowSizeInfo() const override { in GetCowSizeInfo() 110 return android::snapshot::CowSizeInfo{GetCowSize(), 0}; in GetCowSizeInfo() 125 android::snapshot::CowOptions options_ = {
|
D | cow_writer_file_descriptor.h | 35 std::unique_ptr<android::snapshot::ICowWriter> cow_writer, 67 std::unique_ptr<android::snapshot::ICowWriter> cow_writer_;
|
D | xor_extent_writer.h | 37 android::snapshot::ICowWriter* cow_writer, in XORExtentWriter() 70 android::snapshot::ICowWriter* cow_writer_;
|
D | cow_writer_file_descriptor_unittest.cc | 37 using android::snapshot::CowOptions; 38 using android::snapshot::ICowWriter; 56 return android::snapshot::CreateCowWriter( in GetCowWriter()
|
D | vabc_partition_writer_unittest.cc | 38 using android::snapshot::CowOptions; 76 android::snapshot::CowOptions options_ = { 78 android::snapshot::MockCowWriter cow_writer_; 100 auto cow_writer = std::make_unique<android::snapshot::MockCowWriter>(); in TEST_F() 125 std::make_unique<android::snapshot::MockCowWriter>(); in TEST_F() 176 auto cow_writer = std::make_unique<android::snapshot::MockCowWriter>(); in AddBlockTest() 249 auto cow_writer = std::make_unique<android::snapshot::MockCowWriter>(); in TEST_F()
|
/system/apex/apexd/ |
D | apexd.rc | 9 # CAP_CHOWN, CAP_DAC_OVERRIDE, CAP_DAC_READ_SEARCH required for apexdata snapshot & restore 20 …# apexd-bootstrap doesn't manage apexdata snapshot & restore, hence no need for other capabilities. 28 # CAP_CHOWN, CAP_DAC_OVERRIDE, CAP_DAC_READ_SEARCH required for apexdata snapshot & restore
|
/system/core/fs_mgr/libsnapshot/snapuserd/ |
D | snapuserd_daemon.cpp | 25 DEFINE_string(socket, android::snapshot::kSnapuserdSocket, "Named socket or socket path."); 35 namespace snapshot { namespace 199 android::snapshot::Daemon& daemon = android::snapshot::Daemon::Instance(); in main()
|
/system/logging/liblog/ |
D | logd_writer.cpp | 151 int32_t snapshot = atomic_exchange_explicit(&dropped, 0, memory_order_relaxed); in LogdWrite() local 152 if (snapshot && __android_log_is_loggable_len(ANDROID_LOG_INFO, "liblog", strlen("liblog"), in LogdWrite() 159 buffer.payload.data = snapshot; in LogdWrite() 166 atomic_fetch_add_explicit(&dropped, snapshot, memory_order_relaxed); in LogdWrite()
|
/system/update_engine/payload_generator/ |
D | cow_size_estimator.h | 31 android::snapshot::CowSizeInfo EstimateCowSizeInfo( 53 android::snapshot::ICowWriter* cow_writer,
|
D | cow_size_estimator.cc | 38 using android::snapshot::CreateCowEstimator; 39 using android::snapshot::ICowWriter; 59 android::snapshot::ICowWriter* cow_writer, in CowDryRun() 199 android::snapshot::CowSizeInfo EstimateCowSizeInfo( in EstimateCowSizeInfo() 212 android::snapshot::CowOptions options{ in EstimateCowSizeInfo()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot_stats.h | 24 namespace snapshot { 31 virtual void set_state(android::snapshot::UpdateState state) = 0; 70 void set_state(android::snapshot::UpdateState state) override;
|
D | mock_snapshot_merge_stats.h | 24 namespace android::snapshot { 31 MOCK_METHOD(void, set_state, (android::snapshot::UpdateState), (override));
|
/system/update_engine/common/ |
D | cow_operation_convert.h | 29 CowCopy = static_cast<int>(android::snapshot::kCowCopyOp), 30 CowReplace = static_cast<int>(android::snapshot::kCowReplaceOp),
|
/system/core/fs_mgr/libsnapshot/ |
D | Android.bp | 85 "android/snapshot/snapshot.proto", 87 "snapshot.cpp", 224 "android/snapshot/snapshot.proto", 510 "android/snapshot/snapshot.proto",
|
D | snapshot.cpp | 53 namespace snapshot { namespace 814 for (const auto& snapshot : snapshots) { in InitiateMerge() local 815 if (!android::base::EndsWith(snapshot, current_slot_suffix)) { in InitiateMerge() 817 LOG(ERROR) << "Unexpected snapshot found during merge: " << snapshot; in InitiateMerge() 825 if (dm_.GetState(snapshot) == DmDeviceState::INVALID) { in InitiateMerge() 826 LOG(ERROR) << "Cannot begin merge; device " << snapshot << " is not mapped."; in InitiateMerge() 857 for (const auto& snapshot : snapshots) { in InitiateMerge() local 860 if (!QuerySnapshotStatus(snapshot, nullptr, ¤t_status)) { in InitiateMerge() 869 if (!ReadSnapshotStatus(lock.get(), snapshot, &snapshot_status)) { in InitiateMerge() 875 first_merge_group.emplace_back(snapshot); in InitiateMerge() [all …]
|
/system/core/libstats/push_compat/ |
D | statsd_writer.cpp | 200 int32_t snapshot = atomic_exchange_explicit(&dropped, 0, memory_order_relaxed); in statsdWrite() local 201 if (snapshot) { in statsdWrite() 211 composed_long = ((composed_long << 32) | ((int64_t)snapshot)); in statsdWrite() 219 atomic_fetch_add_explicit(&dropped, snapshot, memory_order_relaxed); in statsdWrite()
|
/system/core/init/ |
D | snapuserd_transition.cpp | 55 using android::snapshot::SnapshotManager; 56 using android::snapshot::SnapuserdClient; 67 socket_desc.name = android::snapshot::kSnapuserdSocket; in LaunchFirstStageSnapuserd() 97 auto client = SnapuserdClient::Connect(android::snapshot::kSnapuserdSocket, 10s); in LaunchFirstStageSnapuserd() 396 auto socket_path = ANDROID_SOCKET_DIR "/"s + android::snapshot::kSnapuserdSocket; in CleanupSnapuserdSocket() 403 if (auto client = SnapuserdClient::Connect(android::snapshot::kSnapuserdSocket, 3s)) { in CleanupSnapuserdSocket()
|