Home
last modified time | relevance | path

Searched refs:value (Results 1 – 17 of 17) sorted by relevance

/bootable/recovery/updater/
Dtarget_files.cpp64 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()
Dupdater_runtime_dynamic_partitions.cpp153 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()
Dupdater_runtime.cpp70 for (const auto& [name, value] : mount_flags_list) { in setMountFlag()
72 *mount_flags |= value; in setMountFlag()
Dinstall.cpp540 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/
DREADME.md90 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/
Dui.cpp271 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()
Dscreen_ui.cpp968 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/
Dparse_install_logs.cpp79 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/
Dminadbd_services.cpp191 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/
Dfuse_provider.cpp109 for (const auto& [range_start, range_end] : read_ranges.value()) { in ReadBlockAlignedData()
123 read_ranges.value() in ReadBlockAlignedData()
/bootable/recovery/
DREADME.md141 * `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`.
Drecovery.cpp210 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/
Dupdate_simulator_test.cpp232 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/
Dminui.h154 using ev_set_key_callback = std::function<int(int code, int value)>;
/bootable/recovery/applypatch/
Dimgdiff.cpp185 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/
Dupdater_test.cpp505 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/
DREADME.md145 Called whenever the value of `status` or `progress` changes. For