/bootable/recovery/updater/ |
D | update_simulator_main.cpp | 103 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()
|
D | install.cpp | 73 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 …]
|
D | updater.cpp | 85 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()
|
D | updater_runtime_dynamic_partitions.cpp | 107 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()
|
D | blockimg.cpp | 675 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 …]
|
D | commands.cpp | 294 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()
|
D | target_files.cpp | 60 if (line.empty() || line[0] == '#') continue; in ParsePropertyFile() 76 if (line.empty() || line[0] == '#') continue; in ParseFstab() 275 if (fstab_content.empty()) { in ParseFstabInfo()
|
D | dynamic_partitions.cpp | 69 if (args.empty()) return StringValue(""); in UnmapPartitionFn() 79 if (args.empty()) return StringValue(""); in MapPartitionFn()
|
/bootable/recovery/bootloader_message/ |
D | bootloader_message.cpp | 49 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/ |
D | update_verifier.cpp | 121 } 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()
|
D | update_verifier_main.cpp | 29 if (s.empty()) { in main()
|
/bootable/recovery/tests/unit/ |
D | applypatch_modes_test.cpp | 50 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()
|
D | asn1_decoder_test.cpp | 26 uint8_t empty[] = {}; in TEST() local 27 asn1_context ctx(empty, sizeof(empty)); in TEST()
|
D | parse_install_logs_test.cpp | 31 ASSERT_TRUE(metrics.empty()); in TEST()
|
/bootable/recovery/recovery_utils/ |
D | roots.cpp | 93 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/ |
D | install.cpp | 132 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 …]
|
D | fuse_install.cpp | 114 if (!result.empty()) return result; in BrowseDirectory() 125 if (path.empty()) { in StartInstallPackageFuse() 215 if (path.empty()) { in ApplyFromSdcard()
|
D | wipe_device.cpp | 79 if (android::base::StartsWith(partition, "#") || partition.empty()) { in GetWipePartitionList() 187 if (partition_list.empty()) { in WipeAbDevice()
|
/bootable/recovery/minadbd/ |
D | minadbd_services.cpp | 189 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/ |
D | expr.cpp | 42 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/ |
D | recovery_main.cpp | 128 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/ |
D | UpdateManager.java | 140 ? Optional.empty() in getOnStateChangeCallback() 160 ? Optional.empty() in getOnEngineStatusUpdateCallback() 180 ? Optional.empty() in getOnEngineCompleteCallback() 199 ? Optional.empty() in getOnProgressUpdateCallback()
|
/bootable/recovery/applypatch/ |
D | applypatch_modes.cpp | 81 if (!bonus_file.empty()) { in PatchMode() 175 if (!bonus.empty()) { in applypatch_modes()
|
/bootable/recovery/otautil/ |
D | rangeset.cpp | 34 if (pairs.empty()) { in RangeSet() 107 if (ranges_.empty() || groups == 0) return {}; in Split() 147 if (ranges_.empty()) { in ToString()
|
/bootable/recovery/recovery_ui/ |
D | ethernet_ui.cpp | 25 if (!address_.empty()) { in SetTitle()
|