/bootable/recovery/updater/ |
D | install.cpp | 99 Value* UIPrintFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv) { in UIPrintFn() argument 102 return ErrorAbort(state, kArgsParsingFailure, "%s(): Failed to parse the argument(s)", name); in UIPrintFn() 114 Value* PackageExtractFileFn(const char* name, State* state, in PackageExtractFileFn() argument 117 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 1 or 2 args, got %zu", name, in PackageExtractFileFn() 126 return ErrorAbort(state, kArgsParsingFailure, "%s() Failed to parse %zu args", name, in PackageExtractFileFn() 136 LOG(ERROR) << name << ": no " << zip_path << " in package"; in PackageExtractFileFn() 143 PLOG(ERROR) << name << ": can't open " << dest_path << " for write"; in PackageExtractFileFn() 150 LOG(ERROR) << name << ": Failed to extract entry \"" << zip_path << "\" (" in PackageExtractFileFn() 171 return ErrorAbort(state, kArgsParsingFailure, "%s() Failed to parse %zu args", name, in PackageExtractFileFn() 180 return ErrorAbort(state, kPackageExtractFileFailure, "%s(): no %s in package", name, in PackageExtractFileFn() [all …]
|
D | dynamic_partitions.cpp | 62 static std::vector<std::string> ReadStringArgs(const char* name, State* state, in ReadStringArgs() argument 66 ErrorAbort(state, kArgsParsingFailure, "%s expects %zu arguments, got %zu", name, in ReadStringArgs() 81 arg_names[i].c_str(), name); in ReadStringArgs() 120 Value* UnmapPartitionFn(const char* name, State* state, in UnmapPartitionFn() argument 122 auto args = ReadStringArgs(name, state, argv, { "name" }); in UnmapPartitionFn() 128 Value* MapPartitionFn(const char* name, State* state, in MapPartitionFn() argument 130 auto args = ReadStringArgs(name, state, argv, { "name" }); in MapPartitionFn() 161 std::optional<uint64_t> uint_arg(size_t pos, const std::string& name) const { in uint_arg() 165 LOG(ERROR) << "Op " << op() << " expects uint64 for argument " << name << ", got " << str; in uint_arg() 298 [](Partition* partition) { return partition->name(); }); in ListPartitionNamesInGroup() [all …]
|
D | Android.bp | 16 name: "libupdater_defaults", 61 name: "libupdater",
|
/bootable/recovery/edify/include/edify/ |
D | expr.h | 70 using Function = Value* (*)(const char* name, State* state, 75 std::string name; member 79 Expr(Function fn, const std::string& name, int start, int end) : in Expr() 81 name(name), in Expr() 95 Value* Literal(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv); 100 Value* ConcatFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv); 101 Value* LogicalAndFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv); 102 Value* LogicalOrFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv); 103 Value* LogicalNotFn(const char* name, State* state, const std::vector<std::unique_ptr<Expr>>& argv); 104 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/ |
D | Android.bp | 16 name: "recovery_defaults", 30 name: "librecovery_fastboot", 54 name: "librecovery_defaults", 84 name: "librecovery", 102 name: "recovery", 135 name: "recovery-persist", 163 name: "recovery-refresh", 189 name: "res-testdata",
|
/bootable/recovery/minadbd/ |
D | minadbd_services.cpp | 239 unique_fd daemon_service_to_fd(std::string_view name, atransport* /* transport */) { in daemon_service_to_fd() argument 241 if (ConsumePrefix(&name, "reboot:")) { in daemon_service_to_fd() 243 std::string args(name); in daemon_service_to_fd() 254 if (ConsumePrefix(&name, "rescue-install:")) { in daemon_service_to_fd() 256 std::string args(name); in daemon_service_to_fd() 259 } else if (ConsumePrefix(&name, "rescue-getprop:")) { in daemon_service_to_fd() 261 std::string args(name); in daemon_service_to_fd() 264 } else if (ConsumePrefix(&name, "rescue-wipe:")) { in daemon_service_to_fd() 266 std::string args(name); in daemon_service_to_fd() 275 if (name.starts_with("sideload:")) { in daemon_service_to_fd() [all …]
|
D | Android.bp | 16 name: "minadbd_defaults", 34 name: "libminadbd_services", 55 name: "libminadbd_headers", 64 name: "minadbd", 84 name: "minadbd_test",
|
/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/applypatch/ |
D | Android.bp | 16 name: "applypatch_defaults", 31 name: "libapplypatch", 68 name: "libapplypatch_modes", 88 name: "applypatch", 118 name: "libimgdiff", 148 name: "imgdiff", 175 name: "libimgpatch",
|
/bootable/recovery/otautil/ |
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/misc_writer/ |
D | misc_writer.cpp | 50 static int Usage(std::string_view name) { in Usage() argument 51 std::cerr << name << " usage:\n"; in Usage() 52 std::cerr << name << " [--vendor-space-offset <offset>] --hex-string 0xABCDEF\n"; in Usage() 77 auto option_name = OPTIONS[option_index].name; in main()
|
/bootable/recovery/install/ |
D | fuse_sdcard_install.cpp | 71 std::string name(de->d_name); in BrowseDirectory() local 75 if (name == "." || name == "..") continue; in BrowseDirectory() 76 dirs.push_back(name + "/"); in BrowseDirectory() 77 } else if (de->d_type == DT_REG && android::base::EndsWithIgnoreCase(name, ".zip")) { in BrowseDirectory() 78 entries.push_back(name); in BrowseDirectory()
|
D | verifier.cpp | 324 ZipString name; in IterateZipEntriesAndSearchForKeys() local 326 while ((iter_status = Next(cookie, &entry, &name)) == 0) { in IterateZipEntriesAndSearchForKeys() 331 LOG(ERROR) << "Failed to extract " << std::string(name.name, name.name + name.name_length); in IterateZipEntriesAndSearchForKeys() 339 << std::string(name.name, name.name + name.name_length); in IterateZipEntriesAndSearchForKeys()
|
D | Android.bp | 16 name: "libinstall_defaults", 55 name: "libinstall",
|
/bootable/recovery/recovery_ui/ |
D | Android.bp | 16 name: "librecovery_ui", 47 name: "librecovery_ui_default", 63 name: "librecovery_ui_wear", 79 name: "librecovery_ui_vr",
|
/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 | 16 name: "update_verifier_defaults", 28 name: "libupdate_verifier", 63 name: "update_verifier", 97 name: "care_map_generator",
|
D | update_verifier.cpp | 248 if (partition.name().empty()) { in ParseCareMap() 253 LOG(WARNING) << "Unexpected block ranges for partition " << partition.name(); in ParseCareMap() 264 LOG(WARNING) << "Skip reading partition " << partition.name() in ParseCareMap() 271 LOG(WARNING) << "Skip reading partition " << partition.name() << ": fingerprint " in ParseCareMap() 277 partition_map_.emplace(partition.name(), ranges); in ParseCareMap()
|
/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() 390 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 | 129 int gr_init_font(const char* name, GRFont** dest); 189 int res_create_display_surface(const char* name, GRSurface** pSurface); 195 int res_create_multi_display_surface(const char* name, int* frames, int* fps, 199 int res_create_alpha_surface(const char* name, GRSurface** pSurface); 207 int res_create_localized_alpha_surface(const char* name, const char* locale,
|
/bootable/recovery/bootloader_message/ |
D | Android.bp | 18 name: "libbootloader_message_defaults", 34 name: "libbootloader_message", 42 name: "libbootloader_message_vendor",
|
/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 | 16 name: "recovery_test_defaults", 105 name: "recovery_unit_test", 131 name: "recovery_manual_test", 146 name: "recovery_component_test", 173 name: "recovery_host_test",
|
/bootable/recovery/otautil/include/otautil/ |
D | logging.h | 34 std::string name; member 53 void check_and_fclose(FILE* fp, const std::string& name);
|