Home
last modified time | relevance | path

Searched refs:tokens (Results 1 – 10 of 10) sorted by relevance

/build/make/tools/releasetools/
Dedify_generator.py173 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 …]
Dtest_non_ab_ota.py44 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)
Dota_utils.py526 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)
Dtest_ota_from_target_files.py711 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 …]
Dtest_utils.py226 def _verify_entries(self, input_file, tokens, entries): argument
228 offset, size = map(int, tokens[entry].split(':'))
Dsign_target_files_apks.py1015 tokens = []
1020 tokens.append(token)
1023 tokens.append('{}/{}'.format(prefix, EditTags(tag)))
1027 result = ' '.join(tokens)
Dsign_target_files_apks1015 tokens = []
1020 tokens.append(token)
1023 tokens.append('{}/{}'.format(prefix, EditTags(tag)))
1027 result = ' '.join(tokens)
Dcommon.py1001 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/
Dsdk.go118 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/
Dfs.go50 if tokens := strings.SplitN(f, "->", 2); len(tokens) == 2 {
51 fs.symlinks[strings.TrimSpace(tokens[0])] = strings.TrimSpace(tokens[1])