Home
last modified time | relevance | path

Searched refs:extra (Results 1 – 25 of 38) sorted by relevance

12

/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DExtraFieldTest.java221 StoredEntry extra = zf.get("extra"); in addExtraFieldToExistingEntry() local
222 assertNotNull(extra); in addExtraFieldToExistingEntry()
223 assertArrayEquals(new byte[] { 3, 4, 5 }, extra.read()); in addExtraFieldToExistingEntry()
229 ExtraField ef = mExtraFieldGetter.apply(extra); in addExtraFieldToExistingEntry()
269 StoredEntry extra = zf.get("extra"); in removeExtraFieldFromExistingEntry() local
270 assertNotNull(extra); in removeExtraFieldFromExistingEntry()
271 assertArrayEquals(new byte[] { 3, 4, 5 }, extra.read()); in removeExtraFieldFromExistingEntry()
277 ExtraField ef = mExtraFieldGetter.apply(extra); in removeExtraFieldFromExistingEntry()
317 StoredEntry extra = zf.get("extra"); in updateExtraFieldOfExistingEntry() local
318 assertNotNull(extra); in updateExtraFieldOfExistingEntry()
[all …]
/tools/test/connectivity/tools/lab/reporters/
Dlogger_reporter.py25 extra = {
44 logger = logging.LoggerAdapter(logger, extra)
47 extra['metric_name'] = metric
49 extra['response_key'] = response
50 extra['response_val'] = metric_responses[metric][response]
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DLocalFileRecord.java66 ByteBuffer extra, in LocalFileRecord() argument
75 mExtra = extra; in LocalFileRecord()
242 ByteBuffer extra = EMPTY_BYTE_BUFFER; in getRecord() local
244 extra = apk.getByteBuffer( in getRecord()
287 extra, in getRecord()
311 ByteBuffer extra, in outputRecordWithModifiedExtra() argument
315 int extraSizeBytes = extra.remaining(); in outputRecordWithModifiedExtra()
320 header.put(extra.slice()); in outputRecordWithModifiedExtra()
/tools/test/connectivity/acts/framework/tests/
Dacts_error_test.py33 self.assertNotIn('details', e.extra)
38 self.assertEqual(e.extra['details'], args)
42 self.assertTrue('key' in e.extra.keys())
43 self.assertTrue('value' in e.extra['key'])
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/data_storage/_sponge/
DSimpleXMLWriter.py222 def start(self, tag, attrib={}, **extra): argument
228 if attrib or extra:
230 attrib.update(extra)
295 def element(self, tag, text=None, attrib={}, **extra): argument
296 apply(self.start, (tag, attrib), extra)
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DFileUseMap.java489 long extra = (align - ((firstFree + alignOffset) % align)) % align; in locateFree() local
495 if (extra > 0) { in locateFree()
496 if (extra < mMinFreeSize) { in locateFree()
497 extra += align * (((mMinFreeSize - extra) + (align - 1)) / align); in locateFree()
501 return firstFree + extra; in locateFree()
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java620 ByteBuffer extra = entry.getExtra(); in getInputJarEntryDataAlignmentMultiple() local
621 if (extra.hasRemaining()) { in getInputJarEntryDataAlignmentMultiple()
622 extra.order(ByteOrder.LITTLE_ENDIAN); in getInputJarEntryDataAlignmentMultiple()
627 while (extra.remaining() >= 4) { in getInputJarEntryDataAlignmentMultiple()
628 short headerId = extra.getShort(); in getInputJarEntryDataAlignmentMultiple()
629 int dataSize = ZipUtils.getUnsignedInt16(extra); in getInputJarEntryDataAlignmentMultiple()
630 if (dataSize > extra.remaining()) { in getInputJarEntryDataAlignmentMultiple()
636 extra.position(extra.position() + dataSize); in getInputJarEntryDataAlignmentMultiple()
648 return ZipUtils.getUnsignedInt16(extra); in getInputJarEntryDataAlignmentMultiple()
/tools/test/connectivity/acts/framework/acts/
Derror.py13 self.extra = kwargs
15 self.extra['details'] = args
33 d['Extras'] = self.extra
/tools/test/connectivity/acts/tests/google/tel/live/
DTelLiveProjectFiTest.py219 extra = {'in_setup_wizard': False, 'force_show_account_chooser': False}
220 self.start_activity(ad, _TYCHO_PKG, TychoClassId.INIT_ACTIVITY, extra)
275 extra = {'device_setup': True, 'has_account': True}
276 self.start_activity(ad, _TYCHO_PKG, TychoClassId.CARRIER_SETUP, extra)
289 extra = {'in_setup_wizard': False, 'is_interactive': True}
291 TychoClassId.ACTIVATE_SUPER_NETWORK_SERVICE, extra,
/tools/test/connectivity/acts/tests/google/tel/lab/
DTelLabProjectFiTest.py316 extra = {'in_setup_wizard': False, 'force_show_account_chooser': False}
317 self.start_activity(ad, _TYCHO_PKG, TychoClassId.INIT_ACTIVITY, extra)
372 extra = {'device_setup': True, 'has_account': True}
373 self.start_activity(ad, _TYCHO_PKG, TychoClassId.CARRIER_SETUP, extra)
386 extra = {'in_setup_wizard': False, 'is_interactive': True}
388 TychoClassId.ACTIVATE_SUPER_NETWORK_SERVICE, extra,
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiBasedCodebase.kt624 val extra = PsiMethodItem.create(this, cls, updatedMethod) in <lambda>() constant
625 methods[method] = extra in <lambda>()
626 methods[updatedMethod] = extra in <lambda>()
628 extra.finishInitialization() in <lambda>()
631 return extra in <lambda>()
/tools/dexter/slicer/
Dcode_ir.cc294 static void MergeInstructions(I_LIST& instructions, const E_LIST& extra) { in MergeInstructions() argument
297 SLICER_CHECK(std::is_sorted(extra.begin(), extra.end(), in MergeInstructions()
303 auto extraIt = extra.begin(); in MergeInstructions()
305 while (extraIt != extra.end()) { in MergeInstructions()
/tools/dexter/testdata/expected/
Dhello_nodebug.regs_usage16 Histogram: Method extra registers (total - parameters) [max_count=4]
Dmin.regs_usage10 Histogram: Method extra registers (total - parameters) [max_count=1]
Dentry_hooks.regs_usage21 Histogram: Method extra registers (total - parameters) [max_count=4]
Dlarge.regs_usage101 Histogram: Method extra registers (total - parameters) [max_count=11132]
Dhello.regs_usage17 Histogram: Method extra registers (total - parameters) [max_count=4]
Dtry_catch.regs_usage12 Histogram: Method extra registers (total - parameters) [max_count=3]
Dmi.regs_usage14 Histogram: Method extra registers (total - parameters) [max_count=2]
Dexit_hooks.regs_usage18 Histogram: Method extra registers (total - parameters) [max_count=3]
Dmedium.regs_usage76 Histogram: Method extra registers (total - parameters) [max_count=1098]
/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt606 val extra: Array<String> = if (allowCompatibleDifferences) { in <lambda>() constant
611 arrayOf(ARG_CHECK_COMPATIBILITY_API_CURRENT, checkCompatibilityApiFile.path, *extra) in <lambda>()
623 val extra: Array<String> = if (allowCompatibleDifferences) { in <lambda>() constant
628 …ayOf(ARG_CHECK_COMPATIBILITY_REMOVED_CURRENT, checkCompatibilityRemovedApiCurrentFile.path, *extra) in <lambda>()
/tools/metalava/stub-annotations/
DREADME.md33 @RequiresPermission annotation here has an extra
/tools/tradefederation/core/tests/res/testtype/
Dpython_output1.txt49 First extra element 0:
/tools/tradefederation/core/atest/docs/
Ddevelop_test_finders.md14 a data field to hold misc bits like filters and extra args for the test. The

12