/bootable/recovery/updater/ |
D | target_files.cpp | 64 std::string value = line.substr(pos + 1); in ParsePropertyFile() local 65 LOG(INFO) << key << ": " << value; in ParsePropertyFile() 66 props_map->emplace(key, value); in ParsePropertyFile() 227 for (const auto& [key, value] : props) { in GetBuildProps() 228 if (auto it = props_map->find(key); it != props_map->end() && it->second != value) { in GetBuildProps() 230 << it->second << " and " << value; in GetBuildProps() 232 props_map->emplace(key, value); in GetBuildProps()
|
D | updater_runtime_dynamic_partitions.cpp | 153 if (!params.builder->ResizePartition(partition, size.value())) { in PerformOpResize() 222 if (maximum_size.value() == 0) { in PerformOpAddGroup() 226 if (!params.builder->AddGroup(group_name_suffix, maximum_size.value())) { in PerformOpAddGroup() 228 << maximum_size.value() << "."; in PerformOpAddGroup() 247 if (old_size != new_size.value()) { in PerformOpResizeGroup() 248 if (!params.builder->ChangeGroupSize(group_name_suffix, new_size.value())) { in PerformOpResizeGroup() 250 << new_size.value() << "."; in PerformOpResizeGroup()
|
D | updater_runtime.cpp | 66 for (const auto& [name, value] : mount_flags_list) { in setMountFlag() 68 *mount_flags |= value; in setMountFlag()
|
D | install.cpp | 546 std::string value = updater_runtime->GetProperty(key, ""); in GetPropFn() local 548 return StringValue(value); in GetPropFn() 696 const std::string& value = args[0]; in WriteValueFn() local 698 if (!updater_runtime->WriteStringToFile(value, filename)) { in WriteValueFn()
|
/bootable/recovery/edify/ |
D | README.md | 90 expression. Their value is the value of the last-evaluated 97 get_it() || "xxx" # returns value of get_it() if that value is 102 but the operator can be used anywhere. Its value is the value of
|
/bootable/recovery/recovery_ui/ |
D | ui.cpp | 284 rel_sum += ev.value; in OnInputEvent() 301 touch_slot_ = ev.value; in OnInputEvent() 308 touch_X_ = ev.value; in OnInputEvent() 313 touch_Y_ = ev.value; in OnInputEvent() 319 if (ev.value < 0) touch_finger_down_ = false; in OnInputEvent() 330 touch_finger_down_ = (ev.value == 1); in OnInputEvent() 341 ProcessKey(ev.code, ev.value); in OnInputEvent()
|
D | screen_ui.cpp | 968 int value, num_chars; in LoadAnimation() local 969 if (sscanf(de->d_name, "intro%d%n.png", &value, &num_chars) == 1) { in LoadAnimation() 971 } else if (sscanf(de->d_name, "loop%d%n.png", &value, &num_chars) == 1) { in LoadAnimation()
|
/bootable/recovery/recovery_utils/ |
D | parse_install_logs.cpp | 79 metrics.emplace("ota_written_in_MiBs", bytes_written_in_mib.value()); in ParseRecoveryUpdateMetrics() 82 metrics.emplace("ota_stashed_in_MiBs", bytes_stashed_in_mib.value()); in ParseRecoveryUpdateMetrics()
|
/bootable/recovery/fuse_sideload/ |
D | fuse_provider.cpp | 109 for (const auto& [range_start, range_end] : read_ranges.value()) { in ReadBlockAlignedData() 123 read_ranges.value() in ReadBlockAlignedData()
|
/bootable/recovery/minadbd/ |
D | minadbd_services.cpp | 230 auto value = query_prop(key); in RescueGetpropHostService() local 231 if (value.empty()) { in RescueGetpropHostService() 234 result += "[" + key + "]: [" + value + "]\n"; in RescueGetpropHostService()
|
/bootable/recovery/ |
D | README.md | 141 * `ro.adb.secure` has a value of `0`. 144 value is set at build time (written into `/prop.default`). It defaults to `1` on `-user` builds, and 145 `0` for other build variants. The value is overridable via `PRODUCT_DEFAULT_PROPERTY_OVERRIDES`.
|
D | recovery.cpp | 210 bool convert_fbe = device->GetReason().value() == "convert_fbe"; in prompt_and_wipe_data() 700 sscanf(device->GetStage().value().c_str(), "%d/%d", &st_cur, &st_max) == 2) { in start_recovery() 797 bool convert_fbe = device->GetReason().value() == "convert_fbe"; in start_recovery()
|
/bootable/recovery/tests/unit/host/ |
D | update_simulator_test.cpp | 232 for (const auto& [key, value] : expected_result) { in TEST_F() 233 ASSERT_EQ(value, build_info.GetProperty(key, "")); in TEST_F()
|
/bootable/recovery/minui/include/minui/ |
D | minui.h | 154 using ev_set_key_callback = std::function<int(int code, int value)>;
|
/bootable/recovery/applypatch/ |
D | imgdiff.cpp | 185 static inline bool Write8(int fd, int64_t value) { in Write8() argument 186 return android::base::WriteFully(fd, &value, sizeof(int64_t)); in Write8() 191 static inline bool Write4(int fd, int32_t value) { in Write4() argument 192 return android::base::WriteFully(fd, &value, sizeof(int32_t)); in Write4()
|
/bootable/recovery/tests/unit/ |
D | updater_test.cpp | 505 std::string value = "magicvalue"; in TEST_F() local 506 std::string script("write_value(\"" + value + "\", \"" + std::string(temp_file.path) + "\")"); in TEST_F() 512 ASSERT_EQ(value, content); in TEST_F()
|
/bootable/recovery/updater_sample/ |
D | README.md | 145 Called whenever the value of `status` or `progress` changes. For
|