Home
last modified time | relevance | path

Searched refs:ex (Results 1 – 25 of 28) 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.py727 for ex, ex_name in common.ExtentIter(extents, name):
729 start_block = PayloadChecker._CheckMandatoryField(ex, 'start_block',
731 num_blocks = PayloadChecker._CheckMandatoryField(ex, 'num_blocks', None,
743 (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/core/adb/crypto/
Dx509_generator.cpp45 X509_EXTENSION* ex = X509V3_EXT_nconf_nid(nullptr, &context, nid, mutableValue.data()); in add_ext() local
46 if (!ex) { in add_ext()
50 X509_add_ext(cert, ex, -1); in add_ext()
51 X509_EXTENSION_free(ex); in add_ext()
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DNullableTests.java53 } catch (NullPointerException ex) { in testExpectNpeWithNullString()
63 } catch (NullPointerException ex) { in testExpectNpeWithNullBinder()
75 } catch (NullPointerException ex) { in testExpectNpeWithNullBinderList()
DTestServiceClient.java449 } catch (ServiceSpecificException ex) { in testServiceSpecificExceptions()
450 assertThat(ex.errorCode, is(i)); in testServiceSpecificExceptions()
/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/debuggerd/seccomp_policy/
Dgenerate.sh3 set -ex
/system/core/code_coverage/seccomp_policy/
Dgenerate.sh5 set -ex
/system/libvintf/test/
Dvintf_object_recovery_test.sh3 set -ex
/system/tools/aidl/
Drun_integration_tests.sh17 set -ex
Dgenerate_java_binder.cpp497 auto ex = std::make_shared<MethodCall>(transact_reply, "writeNoException"); in generate_stub_code() local
498 statements->Add(ex); in generate_stub_code()
507 auto ex = std::make_shared<MethodCall>(transact_reply, "writeNoException"); in generate_stub_code() local
508 statements->Add(ex); in generate_stub_code()
684 auto ex = std::make_shared<MethodCall>(_reply, "readException"); in generate_proxy_method() local
685 tryStatement->statements->Add(ex); in generate_proxy_method()
/system/apex/apexd/
Dapex_shim.cpp144 auto ex = expected_files.find(local_path); in ValidateShimApex() local
145 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/libhidl/base/include/hidl/
DStatus.h100 void setException(int32_t ex, const char *message);
/system/extras/app-launcher/
DREADME15 5) Enable wifi and connect to a network (ex. GoogleGuest).
/system/chre/
DREADME.md9 The vendor is the provider of the CHRE implementation (ex: google, qcom). The
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java1054 } catch (RemoteException ex) { in client()
1055 throw new RuntimeException("Failed at call #" + Integer.toString(i), ex); in client()
/system/tools/mkbootimg/
Dpylintrc151 good-names=i,j,k,ex,Run,_

12