Home
last modified time | relevance | path

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

12

/bootable/recovery/updater/
Dupdate_simulator_main.cpp103 if (source_target_file.empty() || package_name.empty()) { in main()
114 if (!skip_function_file.empty()) { in main()
123 if (line.empty() || android::base::StartsWith(line, "#")) { in main()
140 if (work_dir.empty()) { in main()
150 if (!oem_settings.empty()) { in main()
Dinstall.cpp73 if (name.empty()) { in UpdateBlockDeviceNameForPartition()
127 !block_device_name.empty()) { in PackageExtractFileFn()
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()
338 if (mount_point.empty()) { in IsMountedFn()
360 if (mount_point.empty()) { in UnmountFn()
402 if (fs_type.empty()) { in FormatFn()
405 if (partition_type.empty()) { in FormatFn()
[all …]
Dupdater.cpp85 if (result_.empty() && state.cause_code != kNoCause) { in RunUpdate()
110 if (!line.empty()) { in UiPrint()
127 if (state->errmsg.empty()) { in ParseAndReportErrorCode()
136 if (!line.empty() && line[0] == 'E') { in ParseAndReportErrorCode()
Dupdater_runtime_dynamic_partitions.cpp107 CHECK(!tokens.empty()); in ExpectArgSize()
116 CHECK(!tokens.empty()); in op()
271 if (!partition_names.empty()) { in PerformOpRemoveGroup()
327 if (op_and_args.empty()) continue; in UpdateDynamicPartitions()
Dblockimg.cpp675 if (base.empty()) { in GetStashFileName()
679 if (id.empty() && postfix.empty()) { in GetStashFileName()
689 if (dirname.empty()) return; in EnumerateStash()
711 if (fn.empty()) return; in DeleteFile()
721 if (base.empty()) return; in DeleteStash()
811 if (base.empty()) { in WriteStash()
930 if (fn.empty()) return; in CreateStash()
952 if (base.empty() || id.empty()) { in FreeStash()
1203 if (!params.freestash.empty()) { in PerformCommandMove()
1431 if (!params.freestash.empty()) { in PerformCommandDiff()
[all …]
Dcommands.cpp294 if (hash_algorithm.empty() || salt_hex.empty() || root_hash.empty()) { in Parse()
398 if (!source.stashes_.empty()) { in operator <<()
439 if (line.empty()) continue; in Parse()
Dtarget_files.cpp60 if (line.empty() || line[0] == '#') continue; in ParsePropertyFile()
76 if (line.empty() || line[0] == '#') continue; in ParseFstab()
275 if (fstab_content.empty()) { in ParseFstabInfo()
Ddynamic_partitions.cpp69 if (args.empty()) return StringValue(""); in UnmapPartitionFn()
79 if (args.empty()) return StringValue(""); in MapPartitionFn()
/bootable/recovery/bootloader_message/
Dbootloader_message.cpp49 if (g_misc_device_for_test.has_value() && !g_misc_device_for_test->empty()) { in get_misc_blk_device()
142 if (misc_blk_device.empty()) return ""; in get_bootloader_message_blk_device()
155 if (misc_blk_device.empty()) { in read_bootloader_message()
169 if (misc_blk_device.empty()) { in write_bootloader_message()
240 if (misc_blk_device.empty()) { in read_wipe_package()
250 if (misc_blk_device.empty()) { in write_wipe_package()
277 if (misc_blk_device.empty()) { in ReadMiscPartitionSystemSpace()
290 if (misc_blk_device.empty()) { in WriteMiscPartitionSystemSpace()
/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/tests/unit/
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()
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/recovery_utils/
Droots.cpp93 CHECK(!args.empty()); in exec_cmd()
166 if (!v->key_loc.empty() && v->key_loc[0] == '/') { in format_volume()
231 if (result == 0 && !directory.empty()) { in format_volume()
277 if (!directory.empty()) { in format_volume()
294 if (fstab.empty()) { in setup_install_mounts()
320 CHECK(!fstab.empty()); in HasCache()
/bootable/recovery/install/
Dinstall.cpp132 if (!source_build.empty()) { in ReadSourceTargetBuild()
137 if (!target_build.empty()) { in ReadSourceTargetBuild()
149 if (!pkg_pre_build.empty() && pkg_pre_build != device_pre_build) { in CheckAbSpecificMetadata()
157 if (!pkg_pre_build_fingerprint.empty() && in CheckAbSpecificMetadata()
171 if (pkg_post_timestamp_string.empty() || in CheckAbSpecificMetadata()
181 if (pkg_pre_build_fingerprint.empty()) { in CheckAbSpecificMetadata()
207 if (pkg_device.empty() || !isInStringList(device, pkg_device, FINGERPRING_SEPARATOR)) { in CheckPackageMetadata()
216 if (!pkg_serial_no.empty()) { in CheckPackageMetadata()
449 if (command.empty()) continue; in TryUpdateBinary()
487 if (!args.empty()) { in TryUpdateBinary()
[all …]
Dfuse_install.cpp114 if (!result.empty()) return result; in BrowseDirectory()
125 if (path.empty()) { in StartInstallPackageFuse()
215 if (path.empty()) { in ApplyFromSdcard()
Dwipe_device.cpp79 if (android::base::StartsWith(partition, "#") || partition.empty()) { in GetWipePartitionList()
187 if (partition_list.empty()) { in WipeAbDevice()
/bootable/recovery/minadbd/
Dminadbd_services.cpp189 if (prop.empty()) { in RescueGetpropHostService()
192 if (value.empty()) { in RescueGetpropHostService()
200 if (result.empty()) { in RescueGetpropHostService()
278 if (args.empty() || args == "bootloader" || args == "rescue" || args == "recovery" || in daemon_service_to_fd()
/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.cpp128 if (!tokens.empty() && tokens[0] == "recovery") { in get_args()
131 if (!it->empty() && (*it)[0] != '\0') args.push_back(std::move(*it)); in get_args()
149 if (!it->empty() && (*it)[0] != '\0') args.push_back(std::move(*it)); in get_args()
389 if (locale.empty()) { in main()
394 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/applypatch/
Dapplypatch_modes.cpp81 if (!bonus_file.empty()) { in PatchMode()
175 if (!bonus.empty()) { in applypatch_modes()
/bootable/recovery/otautil/
Drangeset.cpp34 if (pairs.empty()) { in RangeSet()
107 if (ranges_.empty() || groups == 0) return {}; in Split()
147 if (ranges_.empty()) { in ToString()
/bootable/recovery/recovery_ui/
Dethernet_ui.cpp25 if (!address_.empty()) { in SetTitle()

12