Home
last modified time | relevance | path

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

12

/bootable/deprecated-ota/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()
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()
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.cpp66 for (const auto& [name, value] : mount_flags_list) { in setMountFlag()
68 *mount_flags |= value; in setMountFlag()
Dinstall.cpp546 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/deprecated-ota/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/libbootloader/gbl/smoltcp/
Dheapless.rs92 pub fn insert(&mut self, key: K, value: V) -> Result<Option<V>, (K, V)> { in insert()
94 true => Ok(self.0.insert(key, value)), in insert()
95 _ => Err((key, value)), in insert()
/bootable/recovery/recovery_ui/
Dui.cpp310 rel_sum += ev.value; in OnInputEvent()
327 touch_slot_ = ev.value; in OnInputEvent()
334 touch_X_ = ev.value; in OnInputEvent()
339 touch_Y_ = ev.value; in OnInputEvent()
345 if (ev.value < 0) touch_finger_down_ = false; in OnInputEvent()
356 touch_finger_down_ = (ev.value == 1); in OnInputEvent()
367 ProcessKey(ev.code, ev.value); in OnInputEvent()
372 SetSwCallback(ev.code, ev.value); in OnInputEvent()
Dwear_ui.cpp181 int value, num_chars; in LoadAnimation() local
182 if (sscanf(de->d_name, "progress%d%n.png", &value, &num_chars) == 1) { in LoadAnimation()
184 } else if (sscanf(de->d_name, "rtl_progress%d%n.png", &value, &num_chars) == 1) { in LoadAnimation()
Dscreen_ui.cpp978 int value, num_chars; in LoadAnimation() local
979 if (sscanf(de->d_name, "intro%d%n.png", &value, &num_chars) == 1) { in LoadAnimation()
981 } else if (sscanf(de->d_name, "loop%d%n.png", &value, &num_chars) == 1) { in LoadAnimation()
1381 int ScreenRecoveryUI::SetSwCallback(int code, int value) { in SetSwCallback() argument
1396 gr_fb_blank(false, value); in SetSwCallback()
1401 if (value == DirectRenderManager::DRM_OUTER) { in SetSwCallback()
/bootable/libbootloader/gbl/efi/arch/riscv64/
Ddeps.cpp61 void* memset(void* ptr, int value, size_t num) { in memset() argument
64 start[i] = value; in memset()
/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/fuse_sideload/
Dfuse_provider.cpp109 for (const auto& [range_start, range_end] : read_ranges.value()) { in ReadBlockAlignedData()
127 read_ranges.value() in ReadBlockAlignedData()
/bootable/recovery/minui/include/minui/
Dminui.h169 using ev_set_key_callback = std::function<int(int code, int value)>;
170 using ev_set_sw_callback = std::function<int(int code, int value)>;
/bootable/recovery/minadbd/
Dminadbd_services.cpp230 auto value = query_prop(key); in RescueGetpropHostService() local
231 if (value.empty()) { in RescueGetpropHostService()
234 result += "[" + key + "]: [" + value + "]\n"; in RescueGetpropHostService()
/bootable/libbootloader/gbl/libgbl/src/slots/
Dfuchsia.rs454 ($($name:ident: $value:expr,)*) => {
460 assert_eq!(sb.set_slot_unbootable(suffix, $value), Ok(()));
465 Bootability::Unbootable($value)
527 ($($name:ident: $value:expr,)*) => {
532 assert_eq!(sb.set_oneshot_status($value), Ok(()));
533 assert_eq!(sb.get_oneshot_status(), Some($value));
/bootable/libbootloader/gbl/libgbl/src/
Dslots.rs87 fn try_from(value: usize) -> Result<Self, Self::Error> { in try_from()
88 u32::try_from(value).ok().and_then(char::from_u32).ok_or(Error::Other).map(Self) in try_from()
Dlib.rs626 fn read_persistent_value(&mut self, name: &CStr, value: &mut [u8]) -> AvbIoResult<usize> { in read_persistent_value()
629 fn write_persistent_value(&mut self, name: &CStr, value: &[u8]) -> AvbIoResult<()> { in write_persistent_value()
/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`.
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp336 << ": isSlotMarkedSuccessful=" << is_successful.value(); in update_verifier()
338 if (is_successful.has_value() && !is_successful.value()) { in update_verifier()
/bootable/deprecated-ota/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/libbootloader/gbl/libgbl/src/fastboot/
Dsparse.rs106 fn new_fill(blocks: u32, value: u32) -> Self { in new_fill()
108 Self { fill_blocks: blocks, fill_value_or_skip_blocks: value } in new_fill()
/bootable/libbootloader/gbl/libfdt/src/
Dlib.rs115 pub fn set_totalsize(&mut self, value: u32) { in set_totalsize()
116 self.0.totalsize = value.to_be(); in set_totalsize()
/bootable/recovery/recovery_ui/include/recovery_ui/
Dui.h238 virtual int SetSwCallback(int code, int value) = 0;
/bootable/deprecated-ota/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/deprecated-ota/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()

12