Home
last modified time | relevance | path

Searched refs:base_name (Results 1 – 6 of 6) sorted by relevance

/system/update_engine/scripts/update_payload/
Dcommon.py165 def _ObjNameIter(items, base_name, reverse=False, name_format_func=None): argument
182 item_name = '%s[%d]' % (base_name, idx)
193 def OperationIter(operations, base_name, reverse=False): argument
195 return _ObjNameIter(operations, base_name, reverse=reverse,
199 def ExtentIter(extents, base_name, reverse=False): argument
201 return _ObjNameIter(extents, base_name, reverse=reverse)
204 def SignatureIter(sigs, base_name, reverse=False): argument
206 return _ObjNameIter(sigs, base_name, reverse=reverse)
Dblock_tracer.py38 def _TraceBlock(block, skip, trace_out_file, operations, base_name): argument
57 for op, op_name in common.OperationIter(operations, base_name,
108 base_name = 'kernel_install_operations'
111 base_name = 'install_operations'
113 self._TraceBlock(block, skip, trace_out_file, operations, base_name)
Dapplier.py105 def _WriteExtents(file_obj, data, extents, block_size, base_name): argument
122 for ex, ex_name in common.ExtentIter(extents, base_name):
137 raise PayloadError('%s: more data than write extents' % base_name)
140 def _ExtentsToBspatchArg(extents, block_size, base_name, data_length=-1): argument
162 for ex, ex_name in common.ExtentIter(extents, base_name):
181 raise PayloadError('%s: extents not covering full data length' % base_name)
315 base_name = '%s.dst_extents' % op_name
319 for ex, ex_name in common.ExtentIter(op.dst_extents, base_name):
352 def _BytesInExtents(self, extents, base_name): argument
365 for ex, ex_name in common.ExtentIter(extents, base_name):
[all …]
Dchecker.py1046 def _CheckOperations(self, operations, report, base_name, old_fs_size, argument
1108 for op, op_name in common.OperationIter(operations, base_name):
1160 base_name)
/system/ca-certificates/google/
Dextract_from_pem.py24 def WriteCertificateFile(content, base_name, output_dir): argument
35 file_path = os.path.join(output_dir, '%s.%d' % (base_name, i))
42 file_path = os.path.join(output_dir, '%s.%d' % (base_name, i))
81 base_name = '%08x' % x509.get_subject().as_hash()
82 WriteCertificateFile(content, base_name, args.output_dir)
/system/core/adb/
Dtest_device.py651 self.base_name = os.path.basename(self.full_path)
658 self.base_name = posixpath.basename(self.full_path)
688 base_name = prefix + str(file_num)
689 full_path = posixpath.join(in_dir, base_name)
748 temp_file.base_name)
837 temp_file.base_name)
844 temp_file.base_name)
925 temp_file.base_name)
960 temp_file.base_name)
991 host_path = os.path.join(real_dir, temp_file.base_name)
[all …]