Home
last modified time | relevance | path

Searched refs:empty (Results 1 – 25 of 44) sorted by relevance

12

/bootable/recovery/bootloader_message/
Dbootloader_message.cpp44 if (!g_misc_device_for_test.empty()) { in get_misc_blk_device()
137 if (misc_blk_device.empty()) return ""; in get_bootloader_message_blk_device()
150 if (misc_blk_device.empty()) { in read_bootloader_message()
164 if (misc_blk_device.empty()) { in write_bootloader_message()
225 if (misc_blk_device.empty()) { in read_wipe_package()
235 if (misc_blk_device.empty()) { in write_wipe_package()
253 if (misc_blk_device.empty()) { in ReadMiscPartitionVendorSpace()
266 if (misc_blk_device.empty()) { in WriteMiscPartitionVendorSpace()
/bootable/recovery/tests/component/
Dapplypatch_modes_test.cpp50 return "EMMC:"s + (display_name.empty() ? filename : display_name) + ":" + in GetEmmcTargetString()
58 ASSERT_FALSE(source.empty()); in SetUp()
62 ASSERT_FALSE(recovery.empty()); in SetUp()
66 ASSERT_FALSE(target.empty()); in SetUp()
91 ASSERT_FALSE(patched_emmc.empty()); in VerifyPatchedTarget()
/bootable/recovery/update_verifier/
Dupdate_verifier.cpp121 } else if (!android::base::GetProperty("ro.boot.avb_version", "").empty()) { in FindDmPartitions()
193 if (dm_block_devices.empty()) { in VerifyPartitions()
236 if (file_content.empty()) { in ParseCareMap()
248 if (partition.name().empty()) { in ParseCareMap()
252 if (partition.ranges().empty()) { in ParseCareMap()
263 if (partition.id().empty() || partition.id() == "unknown") { in ParseCareMap()
280 if (partition_map_.empty()) { in ParseCareMap()
326 if (verity_mode.empty()) { in update_verifier()
Dupdate_verifier_main.cpp29 if (s.empty()) { in main()
/bootable/recovery/install/
Dinstall.cpp129 if (!source_build.empty()) { in ReadSourceTargetBuild()
134 if (!target_build.empty()) { in ReadSourceTargetBuild()
146 if (!pkg_pre_build.empty() && pkg_pre_build != device_pre_build) { in CheckAbSpecificMetadata()
154 if (!pkg_pre_build_fingerprint.empty() && pkg_pre_build_fingerprint != device_fingerprint) { in CheckAbSpecificMetadata()
167 if (pkg_post_timestamp_string.empty() || in CheckAbSpecificMetadata()
177 if (pkg_pre_build_fingerprint.empty()) { in CheckAbSpecificMetadata()
202 if (pkg_device != device || pkg_device.empty()) { in CheckPackageMetadata()
211 if (!pkg_serial_no.empty()) { in CheckPackageMetadata()
431 if (command.empty()) continue; in try_update_binary()
469 if (!args.empty()) { in try_update_binary()
[all …]
Dfuse_sdcard_install.cpp112 if (!result.empty()) return result; in BrowseDirectory()
143 if (path.empty()) { in ApplyFromSdcard()
/bootable/recovery/otautil/
Droots.cpp92 CHECK(!args.empty()); in exec_cmd()
157 if (!v->key_loc.empty() && v->key_loc[0] == '/') { in format_volume()
207 if (result == 0 && !directory.empty()) { in format_volume()
237 if (!directory.empty()) { in format_volume()
254 if (fstab.empty()) { in setup_install_mounts()
Drangeset.cpp34 if (pairs.empty()) { in RangeSet()
107 if (ranges_.empty() || groups == 0) return {}; in Split()
147 if (ranges_.empty()) { in ToString()
Ddirutil.cpp52 if (input_path.empty()) { in mkdir_recursively()
/bootable/recovery/updater/
Dinstall.cpp75 if (!line.empty()) { in uiPrint()
301 if (fs_type.empty()) { in MountFn()
304 if (partition_type.empty()) { in MountFn()
308 if (location.empty()) { in MountFn()
311 if (mount_point.empty()) { in MountFn()
353 if (mount_point.empty()) { in IsMountedFn()
376 if (mount_point.empty()) { in UnmountFn()
397 CHECK(!args.empty()); in exec_cmd()
437 if (fs_type.empty()) { in FormatFn()
440 if (partition_type.empty()) { in FormatFn()
[all …]
Ddynamic_partitions.cpp123 if (args.empty()) return StringValue(""); in UnmapPartitionFn()
131 if (args.empty()) return StringValue(""); in MapPartitionFn()
145 CHECK(!tokens.empty()); in ExpectArgSize()
154 CHECK(!tokens.empty()); in op()
307 if (!partition_names.empty()) { in PerformOpRemoveGroup()
395 if (op_and_args.empty()) continue; in UpdateDynamicPartitionsFn()
Dupdater.cpp173 if (state.errmsg.empty()) { in main()
182 if (!line.empty() && line[0] == 'E') { in main()
Dcommands.cpp295 if (hash_algorithm.empty() || salt_hex.empty() || root_hash.empty()) { in Parse()
399 if (!source.stashes_.empty()) { in operator <<()
440 if (line.empty()) continue; in Parse()
Dblockimg.cpp670 if (base.empty()) { in GetStashFileName()
674 if (id.empty() && postfix.empty()) { in GetStashFileName()
684 if (dirname.empty()) return; in EnumerateStash()
706 if (fn.empty()) return; in DeleteFile()
716 if (base.empty()) return; in DeleteStash()
806 if (base.empty()) { in WriteStash()
925 if (fn.empty()) return; in CreateStash()
947 if (base.empty() || id.empty()) { in FreeStash()
1198 if (!params.freestash.empty()) { in PerformCommandMove()
1426 if (!params.freestash.empty()) { in PerformCommandDiff()
[all …]
/bootable/recovery/misc_writer/
Dmisc_writer.cpp91 if (hex_string.empty()) { in main()
97 if (data.empty()) { in main()
/bootable/recovery/applypatch/
Dapplypatch_modes.cpp81 if (!bonus_file.empty()) { in PatchMode()
175 if (!bonus.empty()) { in applypatch_modes()
/bootable/recovery/tests/unit/
Dasn1_decoder_test.cpp26 uint8_t empty[] = {}; in TEST() local
27 asn1_context ctx(empty, sizeof(empty)); in TEST()
Dparse_install_logs_test.cpp31 ASSERT_TRUE(metrics.empty()); in TEST()
/bootable/recovery/edify/
Dexpr.cpp42 return !s.empty(); in BooleanString()
79 if (argv.empty()) { in ConcatFn()
105 if (!cond.empty()) { in IfElseFn()
116 if (!argv.empty() && Evaluate(state, argv[0], &msg)) { in AbortFn()
130 if (result.empty()) { in AssertFn()
/bootable/recovery/
Drecovery_main.cpp122 if (!tokens.empty() && tokens[0] == "recovery") { in get_args()
125 if (!it->empty() && (*it)[0] != '\0') args.push_back(std::move(*it)); in get_args()
143 if (!it->empty() && (*it)[0] != '\0') args.push_back(std::move(*it)); in get_args()
372 if (locale.empty()) { in main()
377 if (locale.empty()) { in main()
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/
DUpdateManager.java140 ? Optional.empty() in getOnStateChangeCallback()
160 ? Optional.empty() in getOnEngineStatusUpdateCallback()
180 ? Optional.empty() in getOnEngineCompleteCallback()
199 ? Optional.empty() in getOnProgressUpdateCallback()
/bootable/recovery/otautil/include/otautil/
Dsysutil.h44 return !path_.empty();
Drangeset.h105 return !ranges_.empty();
/bootable/recovery/recovery_ui/
Ddevice.cpp60 CHECK(!g_menu_actions.empty()); in RemoveMenuItemForAction()
/bootable/recovery/applypatch/include/applypatch/
Dapplypatch.h62 return !name.empty();

12