/system/update_engine/aosp/ |
D | cow_converter.cc | 105 auto payload_size = chromeos_update_engine::utils::FileSize(payload_fd); in main() local 106 if (payload_size <= 0) { in main() 114 mmap(nullptr, payload_size, PROT_READ, MAP_PRIVATE, payload_fd, 0)); in main() 118 auto munmap_deleter = [payload_size](auto payload) { in main() 119 munmap(payload, payload_size); in main() 128 if (payload_metadata.ParsePayloadHeader(payload, payload_size, nullptr) != in main() 134 if (!payload_metadata.GetManifest(payload, payload_size, &manifest)) { in main()
|
D | ota_extractor.cc | 233 auto payload_size = chromeos_update_engine::utils::FileSize(payload_fd); in main() local 234 if (payload_size <= 0) { in main() 242 mmap(nullptr, payload_size, PROT_READ, MAP_PRIVATE, payload_fd, 0)); in main() 249 auto munmap_deleter = [payload_size](auto payload) { in main() 250 munmap(payload, payload_size); in main() 255 payload_size - FLAGS_payload_offset, in main() 263 payload_size - FLAGS_payload_offset, in main()
|
D | metrics_reporter_android.cc | 90 int64_t payload_size, in ReportUpdateAttemptMetrics() argument 93 int64_t payload_size_mib = payload_size / kNumBytesInOneMiB; in ReportUpdateAttemptMetrics() 167 int64_t payload_size, in ReportSuccessfulUpdateMetrics() argument 174 int64_t payload_size_mib = payload_size / kNumBytesInOneMiB; in ReportSuccessfulUpdateMetrics()
|
D | service_delegate_android_interface.h | 59 int64_t payload_size, 66 int64_t payload_size,
|
D | update_attempter_android.cc | 218 int64_t payload_size, in ApplyPayload() argument 245 payload.size = payload_size; in ApplyPayload() 380 int64_t payload_size, in ApplyPayload() argument 400 payload_url, payload_offset, payload_size, key_value_pair_headers, error); in ApplyPayload() 770 size_t payload_size = in SetStatusAndNotify() local 774 .new_size_bytes = payload_size}; in SetStatusAndNotify() 862 int64_t payload_size = 0; in CollectAndReportUpdateMetricsOnUpdateFinished() local 866 payload_size += p.size; in CollectAndReportUpdateMetricsOnUpdateFinished() 871 if (payload_size == 0) { in CollectAndReportUpdateMetricsOnUpdateFinished() 889 payload_size, in CollectAndReportUpdateMetricsOnUpdateFinished() [all …]
|
D | metrics_reporter_android.h | 55 int64_t payload_size, 72 int64_t payload_size,
|
D | binder_service_android.cc | 104 int64_t payload_size, in applyPayload() argument 111 payload_url, payload_offset, payload_size, str_headers, &error)) { in applyPayload() 120 int64_t payload_size, in applyPayloadFd() argument 126 pfd.get(), payload_offset, payload_size, str_headers, &error)) { in applyPayloadFd()
|
D | binder_service_stable_android.cc | 110 int64_t payload_size, in applyPayloadFd() argument 116 pfd.get(), payload_offset, payload_size, str_headers, &error)) { in applyPayloadFd()
|
D | binder_service_android.h | 54 int64_t payload_size, 59 int64_t payload_size,
|
D | sideload_main.cc | 125 int64_t payload_size, in ApplyUpdatePayload() argument 165 payload, payload_offset, payload_size, headers, nullptr)); in ApplyUpdatePayload()
|
D | binder_service_stable_android.h | 57 int64_t payload_size,
|
D | update_attempter_android.h | 78 int64_t payload_size, 83 int64_t payload_size,
|
/system/update_engine/binder_bindings/android/os/ |
D | IUpdateEngine.aidl | 27 in long payload_size, in applyPayload() argument 32 in long payload_size, in applyPayloadFd() argument
|
/system/core/fs_mgr/libdm/ |
D | dm.cpp | 351 uint32_t payload_size = sizeof(struct dm_target_versions); in GetAvailableTargets() local 352 payload_size += DM_MAX_TYPE_NAME; in GetAvailableTargets() 354 payload_size = DM_ALIGN(payload_size); in GetAvailableTargets() 355 payload_size *= kMaxPossibleDmTargets; in GetAvailableTargets() 357 uint32_t data_size = sizeof(struct dm_ioctl) + payload_size; in GetAvailableTargets() 428 uint32_t payload_size = sizeof(struct dm_name_list); in GetAvailableDevices() local 430 payload_size += DM_NAME_LEN; in GetAvailableDevices() 432 payload_size = DM_ALIGN(payload_size); in GetAvailableDevices() 433 payload_size *= kMaxPossibleDmDevices; in GetAvailableDevices() 434 uint32_t data_size = sizeof(struct dm_ioctl) + payload_size; in GetAvailableDevices()
|
/system/update_engine/common/ |
D | metrics_reporter_stub.h | 50 int64_t payload_size, in ReportUpdateAttemptMetrics() argument 67 int64_t payload_size, in ReportSuccessfulUpdateMetrics() argument
|
D | mock_metrics_reporter.h | 49 int64_t payload_size, 66 int64_t payload_size,
|
D | metrics_reporter_interface.h | 121 int64_t payload_size, 170 int64_t payload_size,
|
/system/update_engine/stable/aidl_api/libupdate_engine_stable/current/android/os/ |
D | IUpdateEngineStable.aidl | 20 …void applyPayloadFd(in ParcelFileDescriptor pfd, in long payload_offset, in long payload_size, in … in applyPayloadFd() argument
|
/system/update_engine/stable/aidl_api/libupdate_engine_stable/1/android/os/ |
D | IUpdateEngineStable.aidl | 36 …void applyPayloadFd(in ParcelFileDescriptor pfd, in long payload_offset, in long payload_size, in … in applyPayloadFd() argument
|
/system/update_engine/stable/android/os/ |
D | IUpdateEngineStable.aidl | 41 in long payload_size, in applyPayloadFd() argument
|
/system/update_engine/ |
D | libcurl_http_fetcher.cc | 589 const size_t payload_size = size * nmemb; in LibcurlWrite() local 592 if (payload_size == 0 || !IsHttpResponseSuccess()) { in LibcurlWrite() 594 << ") or no payload (" << payload_size << "), nothing to do"; in LibcurlWrite() 610 bytes_downloaded_ += payload_size; in LibcurlWrite() 613 auto should_terminate = !delegate_->ReceivedBytes(this, ptr, payload_size); in LibcurlWrite() 623 return payload_size; in LibcurlWrite()
|
/system/core/trusty/storage/proxy/ |
D | rpmb.c | 488 size_t payload_size) { in send_virt_rpmb_req() argument 491 uint16_t cmd_count = payload_size / MMC_BLOCK_SIZE; in send_virt_rpmb_req() 500 rc = write(rpmb_fd, payload, payload_size); in send_virt_rpmb_req() 557 size_t payload_size = req->reliable_write_size + req->write_size; in rpmb_send() local 558 rc = send_virt_rpmb_req(rpmb_fd, read_buf, req->read_size, req->payload, payload_size); in rpmb_send()
|
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/ |
D | snapuserd_dm_user.cpp | 291 size_t payload_size = size; in WriteDmUserPayload() local 294 payload_size += sizeof(struct dm_user_header); in WriteDmUserPayload() 298 if (!android::base::WriteFully(ctrl_fd_, buf, payload_size)) { in WriteDmUserPayload() 299 SNAP_PLOG(ERROR) << "Write to dm-user failed size: " << payload_size; in WriteDmUserPayload()
|
/system/core/fs_mgr/libsnapshot/snapuserd/dm-snapshot-merge/ |
D | snapuserd_worker.cpp | 611 size_t payload_size = size; in WriteDmUserPayload() local 614 payload_size += sizeof(struct dm_user_header); in WriteDmUserPayload() 618 if (!android::base::WriteFully(ctrl_fd_, buf, payload_size)) { in WriteDmUserPayload() 619 SNAP_PLOG(ERROR) << "Write to dm-user failed size: " << payload_size; in WriteDmUserPayload()
|
/system/update_engine/payload_consumer/ |
D | delta_performer.cc | 99 size_t payload_size = payload_->size; in LogProgress() local 102 if (payload_size) { in LogProgress() 103 payload_size_str = std::to_string(payload_size); in LogProgress() 106 " (%" PRIu64 "%%)", IntRatio(total_bytes_received_, payload_size, 100)); in LogProgress() 133 size_t payload_size = payload_->size; in UpdateOverallProgress() local 135 if (payload_size) in UpdateOverallProgress() 138 total_bytes_received_, payload_size, kProgressDownloadWeight)), in UpdateOverallProgress()
|