/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/services/ |
D | PrepareUpdateService.java | 44 import java.nio.file.Files; 45 import java.nio.file.Path; 46 import java.nio.file.Paths; 242 for (String file : PRE_STREAMING_FILES_SET) { in downloadPreStreamingFiles() 243 Files.deleteIfExists(Paths.get(OTA_PACKAGE_DIR, file)); in downloadPreStreamingFiles() 246 for (UpdateConfig.PackageFile file : config.getAbConfig().getPropertyFiles()) { in downloadPreStreamingFiles() 247 if (PRE_STREAMING_FILES_SET.contains(file.getFilename())) { in downloadPreStreamingFiles() 248 Log.d(TAG, "Downloading file " + file.getFilename()); in downloadPreStreamingFiles() 251 file.getOffset(), in downloadPreStreamingFiles() 252 file.getSize(), in downloadPreStreamingFiles() [all …]
|
/bootable/recovery/ |
D | .clang-format | 2 # local style file in `.clang-format`. This will be triggered automatically with `repo upload`. 6 # $ git clang-format --style file 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 15 # $ git config --local clangFormat.style file 20 # `/usr/bin/clang-format`). Specifying the file with `--binary` will ensure consistent results.
|
D | PREUPLOAD.cfg | 6 clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
|
/bootable/libbootloader/gbl/tools/ |
D | gen_gpt_disk.py | 144 name, size, file = part.split(",") 158 partition_info.append((name, part_start, size, file)) 167 for name, start, size, file in partition_info: 175 if file: 176 file_size = os.path.getsize(file) 179 append_offset += _append(file, 0, file_size, args.out)
|
/bootable/libbootloader/gbl/toolchain/ |
D | gbl_workspace_util.bzl | 4 # you may not use this file except in compliance with the License. 16 This file contains rules and logic to initialize GBL workspace. 53 # Create a info.bzl file in the assembled repo to export header/library/tool paths. 79 repo_ctx.file("info.bzl", info_bzl_content) 82 # top level directory in case the the distribution repo has its own BUILD file which blocks 87 # same name as the actual library file name in cc_import(). Otherwise it complains it can't 98 # Add a BUILD file to make it a package 99 repo_ctx.file("BUILD", """ 140 build_file (Label): Label of the build file to use. 149 # Ignore native BUILD file as we'll use override from `ctx.attr.build_file` instead. [all …]
|
D | gbl_toolchain.bzl | 4 # you may not use this file except in compliance with the License. 16 This file contains rules for defininig GBL toolchains. 184 This is for rules that only accept executable type target but not binary file directly. 216 for file in ctx.files.deps: 217 # Append the label name to the file name but keep the same extension. i.e. 218 # "<file>.<extension>" -> "<file>_<label>.<extension>" 219 stem = file.basename.removesuffix(".{}".format(file.extension)) 220 out = ctx.actions.declare_file("{}_{}.{}".format(stem, ctx.label.name, file.extension)) 221 ctx.actions.symlink(output = out, target_file = file)
|
/bootable/recovery/updater_sample/src/com/example/android/systemupdatersample/util/ |
D | UpdateConfigs.java | 26 import java.nio.file.Files; 27 import java.nio.file.Paths; 95 .filter(file -> filename.equals(file.getFilename())) in getPropertyFile()
|
/bootable/deprecated-ota/applypatch/ |
D | applypatch.cpp | 52 bool LoadFileContents(const std::string& filename, FileContents* file) { in LoadFileContents() argument 64 file->data = std::vector<unsigned char>(data.begin(), data.end()); in LoadFileContents() 65 SHA1(file->data.data(), file->data.size(), file->sha1); in LoadFileContents() 109 bool SaveFileContents(const std::string& filename, const FileContents* file) { in SaveFileContents() argument 117 if (!android::base::WriteFully(fd, file->data.data(), file->data.size())) { in SaveFileContents() 118 PLOG(ERROR) << "Failed to write " << file->data.size() << " bytes of data to " << filename; in SaveFileContents()
|
D | freecache.cpp | 229 for (const auto& file : files) { in RemoveFilesInDirectory() local 230 if (unlink(file.c_str()) == -1) { in RemoveFilesInDirectory() 231 PLOG(ERROR) << "Failed to delete " << file; in RemoveFilesInDirectory() 240 LOG(INFO) << "Deleted " << file << "; now " << free_now << " bytes free"; in RemoveFilesInDirectory()
|
/bootable/libbootloader/gbl/libgbl/testdata/ |
D | gen_test_data.py | 41 def write_file(file, offset, data): argument 42 file.seek(offset, 0) 43 file.write(data)
|
/bootable/libbootloader/gbl/ |
D | README.md | 77 -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 \
|
D | bazel.MODULE.bazel | 4 # you may not use this file except in compliance with the License. 21 Do not fork this file for other projects!
|
/bootable/recovery/tools/recovery_l10n/ |
D | README.md | 22 file from the device. 26 5. Compress the output file put it under the corresponding directory. 29 which is accepted by Recovery. This also compresses the image file by
|
/bootable/recovery/updater_sample/tests/src/com/example/android/systemupdatersample/util/ |
D | PayloadSpecsTest.java | 43 import java.nio.file.Paths; 79 java.nio.file.Files.deleteIfExists(packageFile.toPath()); in forNonStreaming_works() 80 java.nio.file.Files.copy(mTestContext.getResources().openRawResource(R.raw.ota_002_package), in forNonStreaming_works()
|
D | FileDownloaderTest.java | 36 import java.nio.file.Files; 37 import java.nio.file.Paths;
|
/bootable/deprecated-ota/applypatch/include/applypatch/ |
D | applypatch.h | 97 bool LoadFileContents(const std::string& filename, FileContents* file); 100 bool SaveFileContents(const std::string& filename, const FileContents* file);
|
/bootable/libbootloader/gbl/libgbl/ |
D | Cargo.toml | 4 # you may not use this file except in compliance with the License. 15 # For now this file is only provided so that `rustfmt` can run, but it may
|
/bootable/recovery/updater_sample/ |
D | README.md | 20 ## Update Config file 23 The structure of a config file is defined in 24 `com.example.android.systemupdatersample.UpdateConfig`, example file is located 33 `url` is expected to point to file system, e.g. `file:///data/my-sample-ota-builds-dir/ota-002.zip`. 36 with `file://` and passes `url` to the `update_engine`. 168 5. Add update config files; look above at [Update Config file](#Update-Config-file). 199 8. Add update config files; look above at `## Update Config file`; 212 update zip file 239 5. Run a test file
|
/bootable/recovery/updater_sample/tools/ |
D | gen_update_config.py | 106 for file in property_str.split(','): 107 filename, offset, size = file.split(':')
|
/bootable/libbootloader/vts/ |
D | PREUPLOAD.cfg | 6 clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc
|
/bootable/deprecated-ota/tests/unit/ |
D | applypatch_test.cpp | 182 for (const auto& file : files) { in AddFilesToDir() local 183 temporary_files_.push_back(dir + "/" + file); in AddFilesToDir() 194 for (const auto& file : temporary_files_) { in TearDown() local 195 ASSERT_TRUE(android::base::RemoveFileIfExists(file)); in TearDown()
|
/bootable/libbootloader/gbl/libboot/ |
D | BUILD | 4 # you may not use this file except in compliance with the License. 23 # library and instead of only headers. Thus we generate a placeholder source file to meet the
|
/bootable/libbootloader/libxbc/ |
D | COPYING | 107 (d) If the Work includes a "NOTICE" text file as part of its 110 within such NOTICE file, excluding those notices that do not 112 of the following places: within a NOTICE text file distributed 117 of the NOTICE file are for informational purposes only and 142 origin of the Work and reproducing the content of the NOTICE file. 185 comment syntax for the file format. We also recommend that a 186 file or class name and description of purpose be included on the 193 you may not use this file except in compliance with the License.
|
/bootable/libbootloader/ |
D | LICENSE | 107 (d) If the Work includes a "NOTICE" text file as part of its 110 within such NOTICE file, excluding those notices that do not 112 of the following places: within a NOTICE text file distributed 117 of the NOTICE file are for informational purposes only and 142 origin of the Work and reproducing the content of the NOTICE file. 185 comment syntax for the file format. We also recommend that a 186 file or class name and description of purpose be included on the 193 you may not use this file except in compliance with the License.
|
/bootable/libbootloader/gbl/integration/aosp_u-boot-mainline/ |
D | workspace.bzl | 4 # you may not use this file except in compliance with the License. 16 This file contains rules and logic for setting up GBL workspace dependencies in the AOSP 25 """Generate BUILD file content for a rust crate 39 A string for the BUILD file content.
|