/build/blueprint/ |
D | splice_modules_test.go | 4 // you may not use this file except in compliance with the License. 34 with modulesOrAliases 43 with: modulesOrAliases{testModuleD, testModuleE}, 52 with: modulesOrAliases{testModuleD, testModuleE}, 61 with: modulesOrAliases{testModuleD, testModuleE}, 70 with: modulesOrAliases{testModuleD, testModuleE}, 79 with: modulesOrAliases{testModuleD, testModuleE}, 88 with: modulesOrAliases{testModuleD, testModuleE}, 97 with: modulesOrAliases{testModuleD, testModuleE}, 106 with: modulesOrAliases{testModuleD, testModuleE}, [all …]
|
D | glob_test.go | 4 // you may not use this file except in compliance with the License. 27 // Test a simple glob with no excludes 36 // Test the same glob with an empty excludes array to make sure 37 // excludes=nil does not conflict with excludes=[]string{} in the 47 // Test the same glob with a different excludes array
|
D | LICENSE | 18 control with that entity. For the purposes of this definition, 82 with the Work to which such Contribution(s) was submitted. If You 91 Work or Derivative Works thereof in any medium, with or without 114 documentation, if provided along with the Derivative Works; or, 128 reproduction, and distribution of the Work otherwise complies with 137 with Licensor regarding such Contributions. 152 risks associated with Your exercise of permissions under this License. 169 or other liability obligations and/or rights consistent with this 182 boilerplate notice, with the fields enclosed by brackets "[]" 183 replaced with your own identifying information. (Don't include [all …]
|
/build/make/tools/fs_config/ |
D | test_fs_config_generator.py | 67 with tempfile.NamedTemporaryFile() as temp_file: 94 with tempfile.NamedTemporaryFile() as temp_file: 121 with tempfile.NamedTemporaryFile() as temp_file: 128 with self.assertRaises(SystemExit): 134 with tempfile.NamedTemporaryFile() as temp_file: 142 with self.assertRaises(SystemExit): 148 with tempfile.NamedTemporaryFile() as temp_file: 155 with self.assertRaises(SystemExit): 161 with tempfile.NamedTemporaryFile() as temp_file: 168 with self.assertRaises(SystemExit): [all …]
|
/build/make/tools/releasetools/ |
D | test_check_partition_sizes.py | 5 # you may not use this file except in compliance with the License. 54 with self.assertRaises(RuntimeError): 71 with self.assertRaises(RuntimeError): 78 with self.assertRaises(RuntimeError): 83 with self.assertRaises(KeyError): 94 with self.assertRaises(RuntimeError): 110 with self.assertRaises(RuntimeError): 128 with self.assertRaises(RuntimeError): 138 with self.assertRaises(RuntimeError):
|
D | test_sign_target_files_apks.py | 5 # you may not use this file except in compliance with the License. 38 # Note that we test one apex with the partition tag, and another without to 167 with zipfile.ZipFile(input_file, 'w', allowZip64=True) as input_zip: 170 # Test with the first certificate. 174 with zipfile.ZipFile(input_file, 'r', allowZip64=True) as input_zip, \ 178 with zipfile.ZipFile(output_file) as output_zip: 181 # Test with the second certificate. 184 with zipfile.ZipFile(input_file, 'r', allowZip64=True) as input_zip, \ 188 with zipfile.ZipFile(output_file) as output_zip: 198 with zipfile.ZipFile(input_file, 'w', allowZip64=True) as input_zip: [all …]
|
D | test_validate_target_files.py | 5 # you may not use this file except in compliance with the License. 38 with open(kernel, 'wb') as kernel_fp: 55 "Failed to sign boot image with boot_signer: {}".format(stdoutdata)) 97 with open(boot_image, 'r+b') as boot_fp: 138 "Failed to create system image with mkuserimg_mke2fs: {}".format( 243 with open(os.path.join(system_root, 'a'), 'w') as f: 246 with open(os.path.join(system_root, 'b'), 'w') as f: 256 with open(raw_file_map) as f: 265 with open(os.path.join(input_tmp, 'IMAGES', 'system.map'), 'w') as f: 275 with zipfile.ZipFile(input_file, 'w', allowZip64=True) as input_zip: [all …]
|
D | ota_utils.py | 4 # you may not use this file except in compliance with the License. 67 # Write the current metadata entry with placeholders. 68 with zipfile.ZipFile(input_file, allowZip64=True) as input_zip: 88 with zipfile.ZipFile(prelim_signing, allowZip64=True) as prelim_signing_zip: 96 # (with an incomplete metadata entry) to allow that to happen. Then compute 103 # Even with the preliminary signing, the entry orders may change 125 with zipfile.ZipFile(output_file, allowZip64=True) as output_zip: 156 with open('{}.pb'.format(output), 'w') as f: 158 with open(output, 'w') as f: 164 """Update the fields of the DeviceState proto with build info.""" [all …]
|
D | check_ota_package_signature.py | 6 # you may not use this file except in compliance with the License. 18 Verify a given OTA package with the specifed certificate. 53 """Verify the given package with the certificate. 57 An archive with a whole-file signature will end in six bytes: 71 with open(package, 'rb') as package_file: 108 with open(sig_file, 'wb') as f: 118 with open(digest_file, 'wb') as f: 152 with open(pubkey, 'w') as pubkey_fp: 157 # Signature verification with delta_generator.
|
/build/make/core/tasks/ |
D | with-license.mk | 4 # you may not use this file except in compliance with the License. 16 .PHONY: with-license 23 name := $(name)-flashable-$(FILE_NAME_TAG)-with-license 28 # Create a with-license artifact target 33 @echo "with-license requires VENDOR_BLOBS_LICENSE to be set." 49 with-license : $(with_license_zip) 50 $(call dist-for-goals, with-license, $(with_license_zip))
|
/build/soong/scripts/ |
D | conv_linker_config.py | 6 # you may not use this file except in compliance with the License. 16 """ A tool to convert json file into pb with linker config format.""" 31 with open(args.source) as f: 37 with open(args.output, 'wb') as f: 42 with open(args.source, 'rb') as f: 50 with open(args.source, 'rb') as f: 63 with open(args.output, 'wb') as f: 69 with open(args.source, 'rb') as f: 78 with open(args.output, 'wb') as f: 84 with open(other, 'rb') as f: [all …]
|
/build/make/tools/warn/ |
D | java_warn_patterns.py | 5 # you may not use this file except in compliance with the License. 80 java_medium('Non-varargs call of varargs method with inexact argument type for last parameter', 81 …[r".*: warning: non-varargs call of varargs method with inexact argument type for last parameter"]… 131 …s) are not designed to be instantiated and should be made noninstantiable with a default construct… 147 …'Type parameters must be a single letter with an optional numeric suffix, or an UpperCamelCase nam… 149 …'Constructors and methods with the same name should appear sequentially with no other code in betw… 187 …with commonly-used names can make code harder to read, because it may not be clear from the contex… 205 'Duration can be expressed more clearly with different units'), 217 …'The type of the array parameter of Collection.toArray needs to be compatible with the array type'… 245 'An equality test between objects with incompatible types always returns false'), [all …]
|
/build/bazel/docs/ |
D | concepts.md | 5 and how components communicate with each other. 17 …Blueprint. Uses Blueprint to generate Ninja file. Generates a `.mk` file with prebuilt module stu… 39 * **soong\_ui** as the tool to orchestrate all of the above, and with auxiliary tools like finder, … 42 for inter-process communication (IPC), with one known case of unix socket 52 1. soong\_ui bootstraps itself with microfactory (`go build` replacement) and launches. 55 1. soong\_ui runs Kati-config with 68 out/soong/build.ninja, which can be skipped with the `--skip-soong-tests` 70 1. soong\_ui runs Kati-cleanspec with 72 1. soong\_ui runs Kati-build to generate a Ninja file, with 74 1. soong\_ui runs Kati-package to generate a Ninja file, with [all …]
|
/build/soong/android/ |
D | test_asserts.go | 4 // you may not use this file except in compliance with the License. 27 // it reports an error prefixed with the supplied message and including a reason for why it failed. 36 // reports an error prefixed with the supplied message and including a reason for why it failed. 45 // reports an error prefixed with the supplied message and including a reason for why it failed. 54 // it reports an error prefixed with the supplied message and including a reason for why it failed. 91 // not then this reports an error prefixed with the supplied message and including a reason for why 104 // with the supplied message and including a reason for why it failed. 111 // then it reports an error prefixed with the supplied message and including a reason for why it 121 // it reports an error prefixed with the supplied message and including a reason for why it failed. 130 … the value of the expected bool. If the expectation does not hold it reports an error prefixed with [all …]
|
D | onceper.go | 4 // you may not use this file except in compliance with the License. 42 // Once computes a value the first time it is called with a given key per OncePer, and returns the 43 // value without recomputing when called with the same key. key must be hashable. If value panics 44 // the panic will be propagated but the next call to Once with the same key will return nil. 71 // Get returns the value previously computed with Once for a given key. If Once has not been calle… 113 // NewOnceKey returns an opaque OnceKey object for the provided key. Two calls to NewOnceKey with … 120 // key in a map, i.e. comparable. Two calls to NewCustomOnceKey with key values that compare equal… 121 // objects that access the same value stored with Once.
|
D | path_properties.go | 4 // you may not use this file except in compliance with the License. 25 // with the ":module" module reference syntax in a property that is annotated with `android:"path"`. 33 // The pathDepsMutator automatically adds dependencies on any module that is listed with the 34 // ":module" module reference syntax in a property that is tagged with `android:"path"`. 42 // tagged with `android:"path"`. 59 // pathPropertiesForPropertyStruct uses the indexes of properties that are tagged with 76 // Get or create the list of indexes of properties that are tagged with `android:"path"`. 161 // property struct type that are tagged with `android:"path"`. Each index is a []int suitable for
|
/build/soong/ui/build/ |
D | exec.go | 4 // you may not use this file except in compliance with the License. 26 // Cmd is a wrapper of os/exec.Cmd that integrates with the build context for 74 c.ctx.Verbosef("%q finished with exit code %d (%s real, %s user, %s system, %dMB maxrss)", 115 // StartOrFatal is equivalent to Start, but handles the error with a call to ctx.Fatal 127 c.ctx.Fatalf("%s failed with: %v", c.name, e.ProcessState.String()) 133 // RunOrFatal is equivalent to Run, but handles the error with a call to ctx.Fatal 138 // WaitOrFatal is equivalent to Wait, but handles the error with a call to ctx.Fatal 143 // OutputOrFatal is equivalent to Output, but handles the error with a call to ctx.Fatal 150 // CombinedOutputOrFatal is equivalent to CombinedOutput, but handles the error with 159 // print any output, then handling any errors with a call to [all …]
|
/build/make/tools/zipalign/ |
D | README.txt | 16 with a particular alignment relative to the start of the file. This 17 allows those portions to be accessed directly with mmap() even if they 18 contain binary data with alignment restrictions. 32 By default, zipalign will not overwrite an existing output file. With the 37 The "-p" flag aligns any file with a ".so" extension, and which is stored
|
/build/make/tools/ |
D | auto_gen_test_config_test.py | 6 # you may not use this file except in compliance with the License. 56 you may not use this file except in compliance with the License. 84 you may not use this file except in compliance with the License. 131 with open(self.manifest_file, 'w') as f: 139 with open(self.config_file) as config_file: 140 with open(EMPTY_TEST_CONFIG) as empty_config: 146 with open(self.manifest_file, 'w') as f: 154 with open(self.config_file) as config_file: 160 with open(self.manifest_file, 'w') as f: 168 with open(self.config_file) as config_file:
|
D | generate-self-extracting-archive.py | 6 # you may not use this file except in compliance with the License. 18 Generates a self extracting archive with a license click through. 133 with open(license_filename, 'r') as license_file: 158 with open(output_filename, 'wb') as output: 165 with open(input_archive_filename, 'rb') as input_file: 168 with tempfile.TemporaryFile() as trailing_zip: 169 with zipfile.ZipFile(trailing_zip, 'w') as myzip:
|
/build/soong/licenses/ |
D | LICENSE | 5 you may not use this file except in compliance with the License. 30 control with that entity. For the purposes of this definition, 94 with the Work to which such Contribution(s) was submitted. If You 103 Work or Derivative Works thereof in any medium, with or without 126 documentation, if provided along with the Derivative Works; or, 140 reproduction, and distribution of the Work otherwise complies with 149 with Licensor regarding such Contributions. 164 risks associated with Your exercise of permissions under this License. 181 or other liability obligations and/or rights consistent with this 194 boilerplate notice, with the fields enclosed by brackets "[]" [all …]
|
/build/soong/docs/ |
D | map_files.md | 4 map.txt files. These files are [linker version scripts] with comments that are 37 Here, `api_foo` and `api_bar` are exposed in the generated stubs with the 38 `MY_API_R` version and `api_baz` is exposed with the `MY_API_S` version. No 46 Note that, with few exceptions (see "Special version names" below), the name of 60 Version names that end with `_PRIVATE` or `_PLATFORM` will not be exposed in any 62 naming schemes is equivalent to marking the version with the `platform-only` 74 than the NDK. May be used in combination with `llndk` if the symbol is exposed 83 Warning: APIs marked `future` will be usable in any module with `sdk: "current"` 119 symbol is defined with only architecture-specific tags, it will not be present 130 than the NDK. May be used in combination with `apex` if the symbol is exposed to
|
/build/soong/ui/terminal/ |
D | status_test.go | 4 // you may not use this file except in compliance with the License. 47 name: "action with output", 53 name: "action with output without newline", 59 name: "action with error", 65 name: "action with empty description", 77 name: "action with long description", 79 …smart: "\r\x1b[1m[ 0% 0/2] action with very long descrip\x1b[0m\x1b[K\r\x1b[1m[ 50% 1/2] action … 80 simple: "[ 50% 1/2] action with very long description to test eliding\n", 83 name: "action with output with ansi codes", 250 action1 := &status.Action{Description: "action with very long description to test eliding"} [all …]
|
/build/make/core/ |
D | dex_preopt_config_merger.py | 6 # you may not use this file except in compliance with the License. 45 with open(arg, 'r') as f: 60 # Create a new CLC map that will be a copy of the original one with patched 85 # arguments, which may be the case with compatibility libraries that 91 # Overwrite the original class loader context with the patched one. 95 with open(sys.argv[1], 'w') as f:
|
/build/blueprint/parser/ |
D | sort_test.go | 4 // you may not use this file except in compliance with the License. 64 // The same should be true both strings are prefixed with an "a" 70 // The same should be true both strings are suffixed with an "a" 76 // The same should be true both strings are suffixed with a "1" 82 // The same should be true both strings are prefixed with a "0" 88 // The same should be true both strings are suffixed with a "0"
|