/bootable/recovery/updater/ |
D | install.cpp | 73 std::string name = updater->FindBlockDeviceName(partition->name); in UpdateBlockDeviceNameForPartition() local 74 if (name.empty()) { in UpdateBlockDeviceNameForPartition() 75 LOG(ERROR) << "Failed to find the block device " << partition->name; in UpdateBlockDeviceNameForPartition() 79 partition->name = std::move(name); in UpdateBlockDeviceNameForPartition() 85 Value* UIPrintFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in UIPrintFn() argument 88 return ErrorAbort(state, kArgsParsingFailure, "%s(): Failed to parse the argument(s)", name); in UIPrintFn() 100 Value* PackageExtractFileFn(const char* name, State* state, in PackageExtractFileFn() argument 103 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 1 or 2 args, got %zu", name, in PackageExtractFileFn() 112 return ErrorAbort(state, kArgsParsingFailure, "%s() Failed to parse %zu args", name, in PackageExtractFileFn() 121 LOG(ERROR) << name << ": no " << zip_path << " in package"; in PackageExtractFileFn() [all …]
|
D | target_files.cpp | 107 bool TargetFile::EntryExists(const std::string_view name) const { in EntryExists() 109 std::string entry_path = path_ + "/" + std::string(name); in EntryExists() 119 return FindEntry(handle_, name, &img_entry) == 0; in EntryExists() 122 bool TargetFile::ReadEntryToString(const std::string_view name, std::string* content) const { in ReadEntryToString() argument 124 std::string entry_path = path_ + "/" + std::string(name); in ReadEntryToString() 130 if (auto find_err = FindEntry(handle_, name, &entry); find_err != 0) { in ReadEntryToString() 131 LOG(ERROR) << "failed to find " << name << " in the package: " << ErrorCodeString(find_err); in ReadEntryToString() 141 LOG(ERROR) << "Failed to extract " << name in ReadEntryToString() 151 LOG(ERROR) << "failed to read " << name << " from package: " << ErrorCodeString(extract_err); in ReadEntryToString() 158 bool TargetFile::ExtractEntryToTempFile(const std::string_view name, in ExtractEntryToTempFile() argument [all …]
|
D | dynamic_partitions.cpp | 36 static std::vector<std::string> ReadStringArgs(const char* name, State* state, in ReadStringArgs() argument 40 ErrorAbort(state, kArgsParsingFailure, "%s expects %zu arguments, got %zu", name, in ReadStringArgs() 55 arg_names[i].c_str(), name); in ReadStringArgs() 66 Value* UnmapPartitionFn(const char* name, State* state, in UnmapPartitionFn() argument 68 auto args = ReadStringArgs(name, state, argv, { "name" }); in UnmapPartitionFn() 76 Value* MapPartitionFn(const char* name, State* state, in MapPartitionFn() argument 78 auto args = ReadStringArgs(name, state, argv, { "name" }); in MapPartitionFn() 89 Value* UpdateDynamicPartitionsFn(const char* name, State* state, in UpdateDynamicPartitionsFn() argument 92 ErrorAbort(state, kArgsParsingFailure, "%s expects 1 arguments, got %zu", name, argv.size()); in UpdateDynamicPartitionsFn() 101 ErrorAbort(state, kArgsParsingFailure, "op_list argument to %s must be blob", name); in UpdateDynamicPartitionsFn()
|
D | Android.bp | 25 name: "libupdater_static_libs", 59 name: "libupdater_defaults", 72 name: "libupdater_device_defaults", 88 name: "libupdater_core", 117 name: "libupdater_device", 145 name: "libupdater_host", 177 name: "update_host_simulator",
|
D | update_simulator_main.cpp | 40 void Usage(std::string_view name) { in Usage() argument 41 LOG(INFO) << "Usage: " << name << "[--oem_settings <oem_property_file>]" in Usage() 47 Value* SimulatorPlaceHolderFn(const char* name, State* /* state */, in SimulatorPlaceHolderFn() argument 49 LOG(INFO) << "Skip function " << name << " in host simulation"; in SimulatorPlaceHolderFn() 82 auto option_name = OPTIONS[option_index].name; in main()
|
/bootable/recovery/edify/include/edify/ |
D | expr.h | 71 using Function = Value* (*)(const char* name, State* state, 76 std::string name; member 80 Expr(Function fn, const std::string& name, int start, int end) : in Expr() 82 name(name), in Expr() 96 Value* Literal(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv); 101 Value* ConcatFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv); 102 Value* LogicalAndFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv); 103 Value* LogicalOrFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv); 104 Value* LogicalNotFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv); 105 Value* SubstringFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv); [all …]
|
/bootable/recovery/edify/ |
D | expr.cpp | 50 std::unique_ptr<Value> v(expr->fn(expr->name.c_str(), state, expr->argv)); in Evaluate() 64 return expr->fn(expr->name.c_str(), state, expr->argv); in EvaluateValue() 78 Value* ConcatFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in ConcatFn() argument 94 Value* IfElseFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in IfElseFn() argument 114 Value* AbortFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in AbortFn() argument 124 Value* AssertFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in AssertFn() argument 139 Value* SleepFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in SleepFn() argument 154 Value* StdoutFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in StdoutFn() argument 165 Value* LogicalAndFn(const char* name, State* state, in LogicalAndFn() argument 178 Value* LogicalOrFn(const char* name, State* state, in LogicalOrFn() argument [all …]
|
/bootable/recovery/applypatch/include/applypatch/ |
D | applypatch.h | 51 Partition(const std::string& name, size_t size, const std::string& hash) in Partition() 52 : name(name), size(size), hash(hash) {} in Partition() 62 return !name.empty(); 65 std::string name; member
|
/bootable/recovery/recovery_utils/ |
D | logging.cpp | 75 void check_and_fclose(FILE* fp, const std::string& name) { in check_and_fclose() argument 78 PLOG(ERROR) << "Failed to fsync " << name; in check_and_fclose() 81 PLOG(ERROR) << "Error in " << name; in check_and_fclose() 104 std::string name(filename); in logrotate() local 105 size_t dot = name.find_last_of('.'); in logrotate() 106 std::string sub = name.substr(0, dot); in logrotate() 115 name += ".1"; in logrotate() 117 std::string number = name.substr(dot + 1); in logrotate() 119 name += ".1"; in logrotate() 126 name = sub + "." + std::to_string(i + 1); in logrotate() [all …]
|
/bootable/recovery/applypatch/ |
D | Android.bp | 22 name: "bootable_recovery_applypatch_license", 33 name: "applypatch_defaults", 48 name: "libapplypatch", 89 name: "libapplypatch_modes", 113 name: "applypatch", 150 name: "libimgdiff", 178 name: "imgdiff",
|
/bootable/recovery/ |
D | TEST_MAPPING | 4 "name": "minadbd_test" 7 "name": "recovery_unit_test"
|
D | Android.bp | 37 name: "bootable_recovery_license", 50 name: "recovery_defaults", 64 name: "librecovery_fastboot", 88 name: "librecovery_defaults", 121 name: "librecovery", 138 name: "init_recovery.rc", 146 name: "recovery", 182 name: "recovery-persist", 208 name: "recovery-refresh", 233 name: "res-testdata",
|
/bootable/recovery/minadbd/ |
D | minadbd_services.cpp | 312 unique_fd daemon_service_to_fd(std::string_view name, atransport* /* transport */) { in daemon_service_to_fd() argument 314 if (android::base::ConsumePrefix(&name, "reboot:")) { in daemon_service_to_fd() 316 std::string args(name); in daemon_service_to_fd() 327 if (android::base::ConsumePrefix(&name, "rescue-install:")) { in daemon_service_to_fd() 329 std::string args(name); in daemon_service_to_fd() 332 } else if (android::base::ConsumePrefix(&name, "rescue-getprop:")) { in daemon_service_to_fd() 334 std::string args(name); in daemon_service_to_fd() 337 } else if (android::base::ConsumePrefix(&name, "rescue-wipe:")) { in daemon_service_to_fd() 339 std::string args(name); in daemon_service_to_fd() 348 if (name.starts_with("sideload:")) { in daemon_service_to_fd() [all …]
|
D | Android.bp | 25 name: "minadbd_defaults", 47 name: "libminadbd_services", 74 name: "libminadbd_headers", 86 name: "minadbd", 116 name: "minadbd_test",
|
/bootable/recovery/install/ |
D | fuse_install.cpp | 72 std::string name(de->d_name); in BrowseDirectory() local 76 if (name == "." || name == "..") continue; in BrowseDirectory() 77 dirs.push_back(name + "/"); in BrowseDirectory() 78 } else if (de->d_type == DT_REG && (android::base::EndsWithIgnoreCase(name, ".zip") || in BrowseDirectory() 79 android::base::EndsWithIgnoreCase(name, ".map"))) { in BrowseDirectory() 80 entries.push_back(name); in BrowseDirectory()
|
D | Android.bp | 25 name: "libinstall_defaults", 61 name: "libinstall_host_unittests", 74 name: "libspl_check_defaults", 86 name: "libspl_check", 99 name: "libinstall",
|
/bootable/recovery/recovery_ui/ |
D | Android.bp | 25 name: "librecovery_ui", 59 name: "librecovery_ui_default", 75 name: "librecovery_ui_wear", 91 name: "librecovery_ui_vr", 107 name: "librecovery_ui_ethernet",
|
/bootable/recovery/update_verifier/ |
D | care_map_generator.py | 51 info.name = lines[index] 57 info.name, info.ranges, info.id, info.fingerprint) 78 assert info.name, "partition name is required in care_map" 80 info_list += [info.name, info.ranges]
|
D | Android.bp | 25 name: "update_verifier_defaults", 37 name: "libupdate_verifier", 72 name: "update_verifier", 106 name: "care_map_generator",
|
/bootable/recovery/updater/include/updater/ |
D | target_files.h | 54 bool EntryExists(const std::string_view name) const; 62 bool ReadEntryToString(const std::string_view name, std::string* content) const; 63 bool ExtractEntryToTempFile(const std::string_view name, TemporaryFile* temp_file) const;
|
/bootable/recovery/minui/ |
D | resources.cpp | 66 PngHandler::PngHandler(const std::string& name) { in PngHandler() argument 67 std::string res_path = g_resource_dir + "/" + name + ".png"; in PngHandler() 71 png_fp_.reset(fopen(name.c_str(), "rbe")); in PngHandler() 186 int res_create_display_surface(const char* name, GRSurface** pSurface) { in res_create_display_surface() argument 189 PngHandler png_handler(name); in res_create_display_surface() 218 int res_create_multi_display_surface(const char* name, int* frames, int* fps, in res_create_multi_display_surface() argument 223 PngHandler png_handler(name); in res_create_multi_display_surface() 300 int res_create_alpha_surface(const char* name, GRSurface** pSurface) { in res_create_alpha_surface() argument 303 PngHandler png_handler(name); in res_create_alpha_surface() 394 int res_create_localized_alpha_surface(const char* name, in res_create_localized_alpha_surface() argument [all …]
|
/bootable/recovery/minui/include/minui/ |
D | minui.h | 130 int gr_init_font(const char* name, GRFont** dest); 190 int res_create_display_surface(const char* name, GRSurface** pSurface); 196 int res_create_multi_display_surface(const char* name, int* frames, int* fps, 200 int res_create_alpha_surface(const char* name, GRSurface** pSurface); 208 int res_create_localized_alpha_surface(const char* name, const char* locale,
|
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/ |
D | PayloadSpecs.java | 59 String name = entry.getName(); in forNonStreaming() local 63 offset += 30 + name.length() + extraSize; in forNonStreaming() 70 if (PackageFiles.PAYLOAD_BINARY_FILE_NAME.equals(name)) { in forNonStreaming() 77 } else if (PackageFiles.PAYLOAD_PROPERTIES_FILE_NAME.equals(name)) { in forNonStreaming()
|
/bootable/recovery/tests/ |
D | Android.bp | 25 name: "recovery_test_defaults", 109 name: "recovery_image", 125 name: "recovery_unit_test", 165 name: "recovery_manual_test", 180 name: "recovery_host_test", 216 name: "libinstall_verify_package_fuzzer",
|
/bootable/recovery/recovery_utils/include/recovery_utils/ |
D | logging.h | 34 std::string name; member 53 void check_and_fclose(FILE* fp, const std::string& name);
|