/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() 220 for (const auto& [key, value] : props) { in GetBuildProps() 221 if (auto it = props_map->find(key); it != props_map->end() && it->second != value) { in GetBuildProps() 223 << it->second << " and " << value; in GetBuildProps() 225 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 | 70 for (const auto& [name, value] : mount_flags_list) { in setMountFlag() 72 *mount_flags |= value; in setMountFlag()
|
D | install.cpp | 540 std::string value = updater_runtime->GetProperty(key, ""); in GetPropFn() local 542 return StringValue(value); in GetPropFn() 690 const std::string& value = args[0]; in WriteValueFn() local 692 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 | 271 rel_sum += ev.value; in OnInputEvent() 288 touch_slot_ = ev.value; in OnInputEvent() 295 touch_X_ = ev.value; in OnInputEvent() 300 touch_Y_ = ev.value; in OnInputEvent() 306 if (ev.value < 0) touch_finger_down_ = false; in OnInputEvent() 317 touch_finger_down_ = (ev.value == 1); in OnInputEvent() 328 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/minadbd/ |
D | minadbd_services.cpp | 191 auto value = query_prop(key); in RescueGetpropHostService() local 192 if (value.empty()) { in RescueGetpropHostService() 195 result += "[" + key + "]: [" + value + "]\n"; in RescueGetpropHostService()
|
/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/ |
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() 803 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
|