Home
last modified time | relevance | path

Searched refs:PayloadError (Results 1 – 9 of 9) sorted by relevance

/system/update_engine/scripts/update_payload/
Dchecker.py315 raise error.PayloadError(
318 raise error.PayloadError('Invalid assert_type value (%r).' %
370 raise error.PayloadError('%smissing mandatory %s %r.' %
398 raise error.PayloadError('%sfield %r not empty.' %
414 raise error.PayloadError('%sfield %r exists.' %
460 raise error.PayloadError('%r present without %r%s.' %
477 raise error.PayloadError('%r is not present in all values%s.' %
518 raise error.PayloadError(
526 raise error.PayloadError('%s: unexpected signed data length (%d).' %
530 raise error.PayloadError('%s: not containing standard ASN.1 prefix.' %
[all …]
Dapplier.py53 from update_payload.error import PayloadError
84 raise PayloadError(
90 raise PayloadError('%s hash (%s) not as expected (%s)' %
144 raise PayloadError('%s: more write extents than data' % ex_name)
153 raise PayloadError('%s: more data than write extents' % base_name)
180 raise PayloadError('%s: more extents than total data length' % ex_name)
194 raise PayloadError('%s: extents not covering full data length' % base_name)
268 raise PayloadError(
275 raise PayloadError(
291 raise PayloadError('%s: wrote fewer bytes (%d) than expected (%d)' %
[all …]
Dchecker_unittest.py41 from update_payload.error import PayloadError
244 self.assertRaises(PayloadError,
278 self.assertRaises(PayloadError, tested_func, *args, **kwargs)
302 self.assertRaises(PayloadError, tested_func, *args)
314 self.assertRaises(PayloadError, checker.PayloadChecker._CheckPresentIff,
316 self.assertRaises(PayloadError, checker.PayloadChecker._CheckPresentIff,
344 self.assertRaises(PayloadError,
402 self.assertRaises(PayloadError,
405 self.assertRaises(PayloadError,
408 self.assertRaises(PayloadError,
[all …]
Dcommon.py25 from update_payload.error import PayloadError
108 raise PayloadError('unsupport numeric field size (%s)' % size)
146 raise PayloadError('error reading from file (%s): %s' % (file_obj.name, e))
149 raise PayloadError(
Dpayload.py29 from update_payload.error import PayloadError
99 raise PayloadError('invalid payload magic: %s' % magic)
155 raise PayloadError('payload header not present')
171 raise PayloadError('payload header not present')
205 raise PayloadError('payload object already initialized')
257 raise PayloadError('payload object not initialized')
Derror.py20 class PayloadError(Exception): class
D__init__.py23 from update_payload.error import PayloadError
Dtest_utils.py75 raise payload.PayloadError('error writing to file (%s): %s' %
/system/update_engine/scripts/
Dpaycheck.py285 raise error.PayloadError(
292 except error.PayloadError as e: