Searched refs:tokens (Results 1 – 10 of 10) sorted by relevance
/build/make/tools/releasetools/ |
D | edify_generator.py | 173 tokens = filename.split(':') 174 assert len(tokens) == 6 and tokens[0] == 'EMMC', \ 176 source = '{}:{}:{}:{}'.format(tokens[0], tokens[1], tokens[2], tokens[3]) 177 target = '{}:{}:{}:{}'.format(tokens[0], tokens[1], tokens[4], tokens[5]) 299 tokens = srcfile.split(':') 300 assert (len(tokens) == 6 and tokens[0] == 'EMMC' and tgtfile == '-' and 305 assert tokens[3] == patchpairs[0], \ 307 tokens[3], patchpairs[0]) 308 assert int(tokens[4]) == tgtsize, \ 310 tokens[4], tgtsize) [all …]
|
D | test_non_ab_ota.py | 44 tokens = self._parse_property_files_string(property_files_string) 45 self.assertEqual(2, len(tokens)) 46 self._verify_entries(zip_file, tokens, entries) 59 tokens = self._parse_property_files_string(property_files_string) 61 self.assertEqual(2, len(tokens)) 65 self._verify_entries(zip_file, tokens, entries)
|
D | ota_utils.py | 526 tokens = [] 527 tokens.extend(self._GetPrecomputed(zip_file)) 529 tokens.append(ComputeEntryOffsetSize(entry)) 532 tokens.append(ComputeEntryOffsetSize(entry)) 541 tokens.append('metadata:' + ' ' * 15) 542 tokens.append('metadata.pb:' + ' ' * 15) 544 tokens.append(ComputeEntryOffsetSize(METADATA_NAME)) 545 tokens.append(ComputeEntryOffsetSize(METADATA_PROTO_NAME)) 547 return ','.join(tokens)
|
D | test_ota_from_target_files.py | 711 tokens = self._parse_property_files_string(property_files_string) 712 self.assertEqual(4, len(tokens)) 713 self._verify_entries(zip_file, tokens, entries) 727 tokens = self._parse_property_files_string(property_files_string) 728 self.assertEqual(6, len(tokens)) 729 self._verify_entries(zip_file, tokens, entries) 754 tokens = self._parse_property_files_string(streaming_metadata) 756 self.assertEqual(4, len(tokens)) 761 self._verify_entries(zip_file, tokens, entries) 855 tokens = self._parse_property_files_string(property_files_string) [all …]
|
D | test_utils.py | 226 def _verify_entries(self, input_file, tokens, entries): argument 228 offset, size = map(int, tokens[entry].split(':'))
|
D | sign_target_files_apks.py | 1015 tokens = [] 1020 tokens.append(token) 1023 tokens.append('{}/{}'.format(prefix, EditTags(tag))) 1027 result = ' '.join(tokens)
|
D | sign_target_files_apks | 1015 tokens = [] 1020 tokens.append(token) 1023 tokens.append('{}/{}'.format(prefix, EditTags(tag))) 1027 result = ' '.join(tokens)
|
D | common.py | 1001 tokens = line.split() 1002 if tokens[0] != 'import' or (len(tokens) != 2 and len(tokens) != 3): 1005 if len(tokens) == 3: 1006 logger.info("Import %s from %s, skip", tokens[2], tokens[1]) 1009 import_path = tokens[1]
|
/build/soong/android/ |
D | sdk.go | 118 tokens := strings.Split(str, string(SdkVersionSeparator)) 119 if len(tokens) < 1 || len(tokens) > 2 { 124 name := tokens[0] 127 if len(tokens) == 2 { 128 version = tokens[1]
|
/build/blueprint/pathtools/ |
D | fs.go | 50 if tokens := strings.SplitN(f, "->", 2); len(tokens) == 2 { 51 fs.symlinks[strings.TrimSpace(tokens[0])] = strings.TrimSpace(tokens[1])
|