Home
last modified time | relevance | path

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

12

/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DNullableTests.java39 } catch (NullPointerException ex) { in checkNullHandling()
43 } catch (Exception ex) { in checkNullHandling()
45 "null parameter, but got " + ex.toString()); in checkNullHandling()
56 } catch (NullPointerException ex) { in checkNullBinderDetection()
59 } catch (Exception ex) { in checkNullBinderDetection()
61 "but got " + ex.toString()); in checkNullBinderDetection()
73 } catch (NullPointerException ex) { in checkNullBinderInListDetection()
76 } catch (Exception ex) { in checkNullBinderInListDetection()
78 "but got " + ex.toString()); in checkNullBinderInListDetection()
95 } catch (Exception ex) { in checkNullInterfaceHandling()
[all …]
DTestServiceClient.java186 } catch (RemoteException ex) { in checkPrimitiveRepeat()
187 mLog.log(ex.toString()); in checkPrimitiveRepeat()
349 } catch (RemoteException ex) { in checkArrayReversal()
350 mLog.log(ex.toString()); in checkArrayReversal()
372 } catch (RemoteException ex) { in checkBinderExchange()
373 mLog.log(ex.toString()); in checkBinderExchange()
395 } catch (RemoteException ex) { in checkListReversal()
396 mLog.log(ex.toString()); in checkListReversal()
446 } catch (Exception ex) { in checkSimpleParcelables()
447 mLog.log(ex.toString()); in checkSimpleParcelables()
[all …]
DTestLogger.java32 } catch (IOException ex) { in TestLogger()
/system/update_engine/scripts/update_payload/
Dapplier.py114 for ex in extents:
117 read_length = min(max_length, ex.num_blocks * block_size)
120 if ex.start_block == common.PSEUDO_EXTENT_MARKER:
123 file_obj.seek(ex.start_block * block_size)
148 for ex, ex_name in common.ExtentIter(extents, base_name):
151 write_length = min(data_length, ex.num_blocks * block_size)
154 if ex.start_block != common.PSEUDO_EXTENT_MARKER:
155 file_obj.seek(ex.start_block * block_size)
188 for ex, ex_name in common.ExtentIter(extents, base_name):
192 is_pseudo = ex.start_block == common.PSEUDO_EXTENT_MARKER
[all …]
Dcommon.py166 def FormatExtent(ex, block_size=0): argument
167 end_block = ex.start_block + ex.num_blocks
169 return '%d->%d * %d' % (ex.start_block, end_block, block_size)
171 return '%d->%d' % (ex.start_block, end_block)
Dtest_utils.py151 def _WriteExtent(ex, val): argument
154 _SetMsgField(ex, 'start_block', start_block)
155 _SetMsgField(ex, 'num_blocks', num_blocks)
Dchecker.py746 for ex, ex_name in common.ExtentIter(extents, name):
748 start_block = PayloadChecker._CheckMandatoryField(ex, 'start_block',
750 num_blocks = PayloadChecker._CheckMandatoryField(ex, 'num_blocks', None,
763 (ex_name, common.FormatExtent(ex, self.block_size), usable_size))
Dchecker_unittest.py127 ex = update_metadata_pb2.Extent()
129 ex.start_block = start_block
131 ex.num_blocks = num_blocks
132 return ex
/system/libhidl/base/
DStatus.cpp63 static std::string exceptionToString(int32_t ex) { in exceptionToString() argument
77 auto it = exceptionStrings.find(ex); in exceptionToString()
78 return it == exceptionStrings.end() ? std::to_string(ex) : it->second; in exceptionToString()
115 void Status::setException(int32_t ex, const char *message) { in setException() argument
116 mException = ex; in setException()
117 mErrorCode = ex == EX_TRANSACTION_FAILED ? FAILED_TRANSACTION : NO_ERROR; in setException()
/system/netd/resolv/
Dgetaddrinfo.cpp92 #define WILD_AF(ex) ((ex).e_wild & 0x01) argument
93 #define WILD_SOCKTYPE(ex) ((ex).e_wild & 0x02) argument
94 #define WILD_PROTOCOL(ex) ((ex).e_wild & 0x04) argument
325 for (const Explore& ex : explore_options) { in android_getaddrinfofornetcontext() local
326 if (ai.ai_family != ex.e_af) continue; in android_getaddrinfofornetcontext()
327 if (ex.e_socktype == ANY) continue; in android_getaddrinfofornetcontext()
328 if (ex.e_protocol == ANY) continue; in android_getaddrinfofornetcontext()
329 if (ai.ai_socktype == ex.e_socktype && ai.ai_protocol != ex.e_protocol) { in android_getaddrinfofornetcontext()
353 for (const Explore& ex : explore_options) { in android_getaddrinfofornetcontext() local
355 if (ex.e_af == PF_UNSPEC) continue; in android_getaddrinfofornetcontext()
[all …]
/system/tools/hidl/docs/src/parser/elements/
DEntryCollectionParser.kt61 } catch (ex: IllegalEntryException) { in parseTokens()
66 throw ParseException(ex.message, this.indexStart) in parseTokens()
/system/core/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/tools/hidl/docs/src/
Dmain.kt49 } catch (ex: ParseException) { in main()
55 throw ex in main()
/system/core/debuggerd/seccomp_policy/
Dgenerate.sh3 set -ex
/system/libvintf/test/
Dvintf_object_recovery_test.sh3 set -ex
/system/extras/verity/
DUtils.java143 } catch (IOException ex) { in decryptPrivateKey()
159 } catch (InvalidKeySpecException ex) { in decryptPrivateKey()
161 throw ex; in decryptPrivateKey()
/system/tools/aidl/
Dgenerate_java_binder.cpp499 MethodCall* ex = in generate_stub_code() local
501 statements->Add(ex); in generate_stub_code()
517 MethodCall* ex = in generate_stub_code() local
519 statements->Add(ex); in generate_stub_code()
694 MethodCall* ex = new MethodCall(_reply, "readException", 0); in generate_proxy_method() local
695 tryStatement->statements->Add(ex); in generate_proxy_method()
/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.java937 } catch (RemoteException ex) { in client()
938 throw new RuntimeException("Failed at call #" + Integer.toString(i), ex); in client()
/system/core/adb/
Dtest_device.py1378 except Exception as ex:
1379 print(ex)

12