Home
last modified time | relevance | path

Searched refs:ex (Results 1 – 25 of 30) sorted by relevance

12

/system/update_engine/scripts/update_payload/
Dapplier.py112 for ex in extents:
115 read_length = min(max_length, ex.num_blocks * block_size)
117 file_obj.seek(ex.start_block * block_size)
142 for ex, ex_name in common.ExtentIter(extents, base_name):
145 write_length = min(data_length, ex.num_blocks * block_size)
146 file_obj.seek(ex.start_block * block_size)
178 for ex, ex_name in common.ExtentIter(extents, base_name):
182 start_byte = ex.start_block * block_size
183 num_bytes = ex.num_blocks * block_size
258 for ex, ex_name in common.ExtentIter(op.dst_extents,
[all …]
Dcommon.py162 def FormatExtent(ex, block_size=0): argument
163 end_block = ex.start_block + ex.num_blocks
165 return '%d->%d * %d' % (ex.start_block, end_block, block_size)
166 return '%d->%d' % (ex.start_block, end_block)
Dtest_utils.py152 def _WriteExtent(ex, val): argument
155 _SetMsgField(ex, 'start_block', start_block)
156 _SetMsgField(ex, 'num_blocks', num_blocks)
Dchecker.py729 for ex, ex_name in common.ExtentIter(extents, name):
731 start_block = PayloadChecker._CheckMandatoryField(ex, 'start_block',
733 num_blocks = PayloadChecker._CheckMandatoryField(ex, 'num_blocks', None,
745 (ex_name, common.FormatExtent(ex, self.block_size), usable_size))
Dchecker_unittest.py159 ex = update_metadata_pb2.Extent()
161 ex.start_block = start_block
163 ex.num_blocks = num_blocks
164 return ex
/system/libhidl/base/
DStatus.cpp29 static std::string exceptionToString(int32_t ex) { in exceptionToString() argument
34 switch (ex) { in exceptionToString()
47 return std::to_string(ex); in exceptionToString()
84 void Status::setException(int32_t ex, const char *message) { in setException() argument
85 mException = ex; in setException()
86 mErrorCode = ex == EX_TRANSACTION_FAILED ? FAILED_TRANSACTION : NO_ERROR; in setException()
/system/tools/aidl/tests/java/src/android/aidl/tests/
DNullableTests.java60 } catch (NullPointerException ex) { in testExpectNpeWithNullString()
72 } catch (NullPointerException ex) { in testExpectNpeWithNullBinder()
89 } catch (NullPointerException ex) { in testExpectNpeWithNullBinderList()
/system/memory/libmeminfo/testdata1/
Dsmaps_short21 VmFlags: rd ex mr mw me ac
82 VmFlags: rd ex mr mw me
102 VmFlags: rd ex mr mw me
122 VmFlags: rd ex
Dsmaps441 VmFlags: rd ex mr mw me ac
733 VmFlags: rd ex sh mr mw me ms
1116 VmFlags: rd ex mr mw me
1237 VmFlags: rd ex mr mw me
1358 VmFlags: rd ex mr mw me
1458 VmFlags: rd ex mr mw me
1579 VmFlags: rd ex mr mw me
1700 VmFlags: rd ex mr mw me
1821 VmFlags: rd ex mr mw me
1942 VmFlags: rd ex mr mw me
[all …]
/system/bt/embdrv/sbc/decoder/srce/
Dbitalloc-sbc.c64 OI_UINT ex; in stereoBitAllocation() local
66 2 * nrof_subbands, bitcount, &ex); in stereoBitAllocation()
68 excess = ex; in stereoBitAllocation()
Dbitalloc.c342 OI_UINT ex; in oneChannelBitAllocation() local
344 nrof_subbands, bitcount, &ex); in oneChannelBitAllocation()
346 excess = ex; in oneChannelBitAllocation()
/system/core/code_coverage/seccomp_policy/
Dgenerate.sh5 set -ex
/system/core/debuggerd/seccomp_policy/
Dgenerate.sh3 set -ex
/system/libvintf/test/
Dvintf_object_recovery_test.sh3 set -ex
/system/tools/hidl/hidl2aidl/test/
Drun_build_file_test.sh8 set -ex
/system/tools/aidl/
Drun_integration_tests.sh17 set -ex
Dgenerate_java_binder.cpp500 auto ex = std::make_shared<MethodCall>(transact_reply, "writeNoException"); in generate_stub_code() local
501 statements->Add(ex); in generate_stub_code()
510 auto ex = std::make_shared<MethodCall>(transact_reply, "writeNoException"); in generate_stub_code() local
511 statements->Add(ex); in generate_stub_code()
715 auto ex = std::make_shared<MethodCall>(_reply, "readException"); in generate_proxy_method() local
716 tryStatement->statements->Add(ex); in generate_proxy_method()
/system/security/ondevice-signing/
DCertUtils.cpp48 X509_EXTENSION* ex = X509V3_EXT_nconf_nid(nullptr, &context, nid, mutableValue.data()); in add_ext() local
49 if (!ex) { in add_ext()
53 X509_add_ext(cert, ex, -1); in add_ext()
54 X509_EXTENSION_free(ex); in add_ext()
/system/extras/perf2cfg/perf2cfg/
Dedit.py136 except exceptions.ArchitectureError as ex:
137 logging.error(ex)
139 except exceptions.ParseError as ex:
140 logging.error('Line %d: %s', lineno, ex)
/system/apex/apexd/
Dapex_shim.cpp146 auto ex = expected_files.find(local_path); in ValidateShimApex() local
147 if (ex != expected_files.end()) { in ValidateShimApex()
/system/extras/verity/
DUtils.java143 } catch (IOException ex) { in decryptPrivateKey()
159 } catch (InvalidKeySpecException ex) { in decryptPrivateKey()
161 throw ex; in decryptPrivateKey()
/system/chre/java/test/chqts/src/com/google/android/chre/test/chqts/
DContextHubNanoAppInfoEventsTestExecutor.java88 } catch (BufferUnderflowException ex) { in handleMessageFromNanoApp()
/system/security/keystore2/src/
Derror.rs288 fn binder_exception(ex: ExceptionCode) -> BinderResult<()> { in binder_exception()
289 Err(BinderStatus::new_exception(ex, None)) in binder_exception()
/system/nfc/src/fuzzers/
Dfuzz.sh135 …$ANDROID_BUILD_TOP/prebuilts/gdb/linux-x86/bin/gdb --directory=$ANDROID_BUILD_TOP -ex "target remo…
/system/libhidl/base/include/hidl/
DStatus.h100 void setException(int32_t ex, const char *message);

12