HomeSort by relevance Sort by last modified time
    Searched refs:PayloadError (Results 1 - 9 of 9) sorted by null

  /system/update_engine/scripts/update_payload/
error.py 8 class PayloadError(Exception):
__init__.py 9 from update_payload.error import PayloadError
checker.py 303 raise error.PayloadError(
306 raise error.PayloadError('Invalid assert_type value (%r).' %
353 error.PayloadError if a mandatory element is missing.
357 raise error.PayloadError('%smissing mandatory %s %r.' %
411 error.PayloadError if assertion does not hold.
415 raise error.PayloadError('%r present without %r%s.' %
454 error.PayloadError if signature could not be verified.
457 raise error.PayloadError(
465 raise error.PayloadError('%s: unexpected signed data length (%d).' %
469 raise error.PayloadError('%s: not containing standard ASN.1 prefix.'
    [all...]
checker_unittest.py 27 from update_payload.error import PayloadError
200 self.assertRaises(PayloadError,
234 self.assertRaises(PayloadError, tested_func, *args, **kwargs)
258 self.assertRaises(PayloadError, tested_func, *args)
270 self.assertRaises(PayloadError, checker.PayloadChecker._CheckPresentIff,
272 self.assertRaises(PayloadError, checker.PayloadChecker._CheckPresentIff,
301 self.assertRaises(PayloadError,
361 self.assertRaises(PayloadError,
364 self.assertRaises(PayloadError,
367 self.assertRaises(PayloadError,
    [all...]
applier.py 28 from update_payload.error import PayloadError
44 PayloadError if computed hash doesn't match expected one, or if fails to
60 raise PayloadError(
66 raise PayloadError('%s hash (%s) not as expected (%s)' %
118 PayloadError when things don't add up.
124 raise PayloadError('%s: more write extents than data' % ex_name)
137 raise PayloadError('%s: more data than write extents' % base_name)
156 PayloadError if data_length is too short or too long.
164 raise PayloadError('%s: more extents than total data length' % ex_name)
181 raise PayloadError('%s: extents not covering full data length' % base_name
    [all...]
common.py 10 from update_payload.error import PayloadError
85 PayloadError if something is wrong with the arguments.
95 raise PayloadError('unsupport numeric field size (%s)' % size)
122 PayloadError if a read error occurred or not enough data was read.
133 raise PayloadError('error reading from file (%s): %s' % (file_obj.name, e))
136 raise PayloadError(
payload.py 17 from update_payload.error import PayloadError
40 PayloadError if an read error occurred.
82 PayloadError if a read error occurred or the header is invalid.
87 raise PayloadError('invalid payload magic: %s' % magic)
128 PayloadError if a read error occurred.
141 PayloadError if a read error occurred.
144 raise PayloadError('payload header not present')
157 PayloadError if a read error occurred.
160 raise PayloadError('payload header not present')
178 PayloadError if a read error occurred
    [all...]
test_utils.py 57 PayloadError if a write error occurred.
62 raise payload.PayloadError('error writing to file (%s): %s' %
  /system/update_engine/scripts/
paycheck.py 229 except update_payload.PayloadError, e:

Completed in 148 milliseconds