/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
|
D | NOTICE | 5 you may not use this file except in compliance with the License. 119 (d) If the Work includes a "NOTICE" text file as part of its 122 within such NOTICE file, excluding those notices that do not 124 of the following places: within a NOTICE text file distributed 129 of the NOTICE file are for informational purposes only and 154 origin of the Work and reproducing the content of the NOTICE 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/recovery/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/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
|
D | Android.bp | 4 // you may not use this file except in compliance with the License.
|
/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/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
|
D | Android.bp | 4 // you may not use this file except in compliance with the License.
|
D | proguard.flags | 4 # you may not use this file except in compliance with the License.
|
/bootable/recovery/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/recovery/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/recovery/updater_sample/tools/ |
D | gen_update_config.py | 106 for file in property_str.split(','): 107 filename, offset, size = file.split(':')
|
/bootable/recovery/tools/image_generator/ |
D | Android.bp | 4 // you may not use this file except in compliance with the License.
|
/bootable/recovery/fuse_sideload/ |
D | Android.bp | 4 // you may not use this file except in compliance with the License.
|
/bootable/recovery/uncrypt/ |
D | Android.bp | 4 // you may not use this file except in compliance with the License.
|
/bootable/recovery/update_verifier/ |
D | care_map.proto | 5 * you may not use this file except in compliance with the License.
|
/bootable/recovery/minui/ |
D | Android.bp | 4 // you may not use this file except in compliance with the License.
|
/bootable/recovery/edify/ |
D | Android.bp | 4 // you may not use this file except in compliance with the License.
|
/bootable/recovery/updater_sample/tests/ |
D | Android.bp | 4 // you may not use this file except in compliance with the License.
|
/bootable/recovery/otautil/ |
D | Android.bp | 4 // you may not use this file except in compliance with the License.
|