Home
last modified time | relevance | path

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

/bootable/recovery/
Drecovery-persist.cpp119 for (const auto& [event, value] : metrics) { in report_metrics_from_last_install()
120 if (value > std::numeric_limits<int>::max()) { in report_metrics_from_last_install()
121 LOG(WARNING) << event << " (" << value << ") exceeds integer max."; in report_metrics_from_last_install()
123 LOG(INFO) << "Uploading " << value << " to " << event; in report_metrics_from_last_install()
124 android::metricslogger::LogHistogram(event, value); in report_metrics_from_last_install()
DREADME.md129 * `ro.adb.secure` has a value of `0`.
132 value is set at build time (written into `/prop.default`). It defaults to `1` on `-user` builds, and
133 `0` for other build variants. The value is overridable via `PRODUCT_DEFAULT_PROPERTY_OVERRIDES`.
/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/updater/
Ddynamic_partitions.cpp191 if (!params.builder->ResizePartition(partition, size.value())) { in PerformOpResize()
258 if (maximum_size.value() == 0) { in PerformOpAddGroup()
262 if (!params.builder->AddGroup(group_name, maximum_size.value())) { in PerformOpAddGroup()
264 << maximum_size.value() << "."; in PerformOpAddGroup()
283 if (old_size != new_size.value()) { in PerformOpResizeGroup()
284 if (!params.builder->ChangeGroupSize(group_name, new_size.value())) { in PerformOpResizeGroup()
286 << new_size.value() << "."; in PerformOpResizeGroup()
Dinstall.cpp572 std::string value = android::base::GetProperty(key, ""); in GetPropFn() local
574 return StringValue(value); in GetPropFn()
737 const std::string& value = args[0]; in WriteValueFn() local
738 if (!android::base::WriteStringToFile(value, filename)) { in WriteValueFn()
/bootable/recovery/recovery_ui/
Dui.cpp272 rel_sum += ev.value; in OnInputEvent()
289 touch_slot_ = ev.value; in OnInputEvent()
296 touch_X_ = ev.value; in OnInputEvent()
301 touch_Y_ = ev.value; in OnInputEvent()
307 if (ev.value < 0) touch_finger_down_ = false; in OnInputEvent()
318 touch_finger_down_ = (ev.value == 1); in OnInputEvent()
329 ProcessKey(ev.code, ev.value); in OnInputEvent()
Dscreen_ui.cpp933 int value, num_chars; in LoadAnimation() local
934 if (sscanf(de->d_name, "intro%d%n.png", &value, &num_chars) == 1) { in LoadAnimation()
936 } else if (sscanf(de->d_name, "loop%d%n.png", &value, &num_chars) == 1) { in LoadAnimation()
/bootable/recovery/otautil/
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/minui/include/minui/
Dminui.h153 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/component/
Dupdater_test.cpp475 std::string value = "magicvalue"; in TEST_F() local
476 std::string script("write_value(\"" + value + "\", \"" + std::string(temp_file.path) + "\")"); in TEST_F()
482 ASSERT_EQ(value, content); in TEST_F()
/bootable/recovery/updater_sample/
DREADME.md145 Called whenever the value of `status` or `progress` changes. For