Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 29) sorted by relevance

12

/bootable/recovery/
D.clang-format1 # bootable/recovery project uses repohook to apply `clang-format` to the changed lines, with the
2 # local style file in `.clang-format`. This will be triggered automatically with `repo upload`.
3 # Alternatively, one can stage and format a change with `git clang-format` directly.
6 # $ git clang-format --style file
8 # Or to format a committed change.
10 # $ git clang-format --style file HEAD~1
12 # `--style file` will pick up the local style file in `.clang-format`. This can be configured as the
17 # Note that `repo upload` calls the `clang-format` binary in Android repo (i.e.
18 # `$ANDROID_BUILD_TOP/prebuilts/clang/host/linux-x86/clang-stable/bin/clang-format`), which might
20 # `/usr/bin/clang-format`). Specifying the file with `--binary` will ensure consistent results.
[all …]
/bootable/recovery/minui/
Dgraphics_drm.cpp60 static int drm_format_to_bpp(uint32_t format) { in drm_format_to_bpp() argument
61 switch (format) { in drm_format_to_bpp()
74 printf("Unknown format %d\n", format); in drm_format_to_bpp()
80 uint32_t format; in Create() local
87 format = DRM_FORMAT_RGBA8888; in Create()
89 format = DRM_FORMAT_ARGB8888; in Create()
91 format = DRM_FORMAT_XBGR8888; in Create()
93 format = DRM_FORMAT_BGRA8888; in Create()
95 format = DRM_FORMAT_RGB565; in Create()
101 create_dumb.bpp = drm_format_to_bpp(format); in Create()
[all …]
Dgraphics.cpp406 std::string format = android::base::GetProperty("ro.minui.pixel_format", ""); in gr_init() local
407 if (format == "ABGR_8888") { in gr_init()
409 } else if (format == "RGBX_8888") { in gr_init()
411 } else if (format == "ARGB_8888") { in gr_init()
413 } else if (format == "BGRA_8888") { in gr_init()
415 } else if (format == "RGBA_8888") { in gr_init()
/bootable/libbootloader/gbl/integration/aosp_u-boot-mainline/
Dworkspace.bzl42 deps = "[{}]".format(",".join(["\"{}\"".format(ele) for ele in deps]))
43 features = "[{}]".format(",".join(["\"{}\"".format(ele) for ele in features]))
44 rustc_flags = "[{}]".format(",".join(["\"{}\"".format(ele) for ele in rustc_flags]))
58 """.format(name, crate_name, features, rustc_flags, deps)
89 path = "prebuilts/clang/host/linux-x86/clang-{}".format(CLANG_VERSION),
270 path = "external/rust/crates/{}".format(crate),
271 build_file = "//external/rust/crates/{}:BUILD".format(crate),
/bootable/libbootloader/gbl/toolchain/
Dgbl_toolchain.bzl45 "--target={}".format(ctx.attr.target_system_triple),
50 ] + ["-I{}".format(inc) for inc in builtin_includes] + ctx.attr.cc_flags),
55 toolchain_identifier = "{}_id".format(ctx.attr.cc_toolchain_name),
153 config_name = "_{}_config".format(name)
164 empty_filegroup = "_empty_{}".format(name)
166 empty_filegroup_target = ":{}".format(empty_filegroup)
171 toolchain_config = ":{}".format(config_name),
219 stem = file.basename.removesuffix(".{}".format(file.extension))
220 out = ctx.actions.declare_file("{}_{}.{}".format(stem, ctx.label.name, file.extension))
271 libname = "_{}".format(ctx.label.name)
[all …]
Dgbl_workspace_util.bzl57 """.format(gbl_llvm_bin_dir)
65 """.format(
66 "{}/include".format(llvm_resource_dir),
77 """.format(",".join(["\"{}\"".format(inc) for inc in sysroot_includes]))
120 """.format(libcpp_base_name, libclang_basename))
DBUILD322 "--codegen=linker={}".format(gbl_llvm_tool_path("lld")),
353 "--codegen=linker={}".format(gbl_llvm_tool_path("lld")),
391 "--codegen=linker={}".format(gbl_llvm_tool_path("lld")),
422 "--codegen=linker={}".format(gbl_llvm_tool_path("lld")),
DBUILD.android_rust_prebuilts.bazel82 .format(COMPILER_BUILTIN_X86_SRC, COMPILER_BUILTIN_X86_PATCH),
/bootable/libbootloader/gbl/third_party/libzbi/
DREADME.md3 Rust version of [C library](src/firmware/lib/zbi) to work with ZBI format.
9 Currently [`sdk/lib/zbi-format`](sdk/lib/zbi-format) is not ready to provide Rust bindings from FID…
/bootable/recovery/tools/image_generator/
Ddraw-progress.sh32 mogrify -define png:format=png24 -type TrueColor "$filename"
33 mogrify -define png:format=png24 -type TrueColor "rtl_$filename"
DREADME.md20 strings in xml format, e.g. bootable/recovery/tools/recovery_l10n/res/
/bootable/libbootloader/gbl/
DREADME.md77 -drive if=pflash,format=raw,readonly=on,file=/usr/share/OVMF/OVMF_CODE.fd \
78 -drive format=raw,file=fat:rw:/tmp/esp
86 -drive if=pflash,format=raw,readonly=on,file=/usr/share/AAVMF/AAVMF_CODE.fd \
87 -drive format=raw,file=fat:rw:/tmp/esp
96 -drive format=raw,file=fat:rw:/tmp/esp,id=blk0 \
/bootable/deprecated-ota/edify/include/edify/
Dexpr.h144 Value* ErrorAbort(State* state, const char* format, ...)
145 __attribute__((format(printf, 2, 3), deprecated));
149 Value* ErrorAbort(State* state, CauseCode cause_code, const char* format, ...)
150 __attribute__((format(printf, 3, 4)));
/bootable/deprecated-ota/edify/
Dexpr.cpp404 Value* ErrorAbort(State* state, const char* format, ...) { in ErrorAbort() argument
406 va_start(ap, format); in ErrorAbort()
407 android::base::StringAppendV(&state->errmsg, format, ap); in ErrorAbort()
412 Value* ErrorAbort(State* state, CauseCode cause_code, const char* format, ...) { in ErrorAbort() argument
415 va_start(ap, format); in ErrorAbort()
416 android::base::StringAppendV(&err_message, format, ap); in ErrorAbort()
/bootable/recovery/update_verifier/
Dcare_map_generator.py46 "line count must be multiple of {}: {}".format(step, len(lines))
112 format=logging_format)
/bootable/libbootloader/gbl/libbootimg/
DBUILD56 "--blocklist-type={}".format(BLOCKED_TYPES_RE),
57 "--blocklist-item={}".format(BLOCKED_ITEMS_RE),
58 "--with-derive-custom-struct={}={}".format(CUSTOM_STRUCT_RE, CUSTOM_STRUCT_DERIVES),
/bootable/libbootloader/gbl/libboot/
DBUILD48 "--with-derive-custom-struct=.*={}".format(CUSTOM_DERIVES),
49 "--with-derive-custom-union=.*={}".format(CUSTOM_DERIVES),
/bootable/libbootloader/gbl/libgbl/src/fastboot/
Dmod.rs331 out.push(format!("{}:{}: {}", name, args.join(":"), val)); in test_get_var_all()
412 let part = format!(":{:#x}:{:#x}:{:#x}", blk_id, off, size); in check_blk_upload()
415 let part = format!(":{:#x}", blk_id); in check_blk_upload()
447 let blk_id = blk_id.map_or("".to_string(), |v| format!("{:#x}", v)); in check_gpt_upload()
449 let gpt_part = format!("{}:{}:{:#x}:{:#x}", part, blk_id, off, size); in check_gpt_upload()
452 let gpt_part = format!("{}:{}", part, blk_id); in check_gpt_upload()
/bootable/libbootloader/gbl/efi/
DBUILD74 # For RISCV target, existing toolchain can only generate ELF format image.
85 """.format(gbl_llvm_tool_path("llvm-objcopy")),
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/services/
DPrepareUpdateService.java205 Log.w(TAG, String.format("ab_config.property_files doesn't contain %s", in verifyPayloadMetadata()
219 Log.w(TAG, String.format("Downloading %s from %s failed", in verifyPayloadMetadata()
/bootable/libbootloader/gbl/libfastboot/src/
Dlib.rs1271 transport.add_input(format!("download:{:#x}", download_content.len()).as_bytes()); in test_download()
1309 transport.add_input(format!("download:{:#x}", download_size).as_bytes()); in test_download_size()
1332 transport.add_input(format!("download:{:#x}", download_content.len() - 1).as_bytes()); in test_download_more_than_expected()
1355 transport.add_input(format!("download:{:#x}", download_content.len()).as_bytes()); in test_oem_cmd()
1389 transport.add_input(format!("download:{:#x}", download_content.len()).as_bytes()); in test_flash()
1426 transport.add_input(format!("download:{:#x}", download_content.len()).as_bytes()); in test_upload()
1556 format!("download:{:#x}", download_content.len()).as_bytes(), in test_fastboot_tcp()
/bootable/libbootloader/gbl/libfdt/
DBUILD52 "-I{}".format(LLVM_PREBUILTS_C_INCLUDE),
/bootable/libbootloader/gbl/libefi/
DBUILD83 "-I{}".format(LLVM_PREBUILTS_C_INCLUDE),
/bootable/libbootloader/gbl/libavb/
DBUILD.avb.bazel168 "-I{}".format(LLVM_PREBUILTS_C_INCLUDE),
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/
DUpdateManager.java486 Log.d(TAG, String.format( in onStatusUpdate()

12