Home
last modified time | relevance | path

Searched refs:order (Results 1 – 25 of 82) sorted by relevance

1234

/tools/test/connectivity/acts/framework/acts/event/
Devent_bus.py40 def register(self, event_type, func, filter_fn=None, order=0): argument
63 order=order)
94 subscription_list.sort(key=lambda x: x.order)
121 listening_subscriptions.sort(key=lambda x: x.order)
184 def register(event_type, func, filter_fn=None, order=0): argument
205 order=order)
279 def __init__(self, event_type, func, filter_fn=None, order=0): argument
283 self.order = order
289 order=self.order)
Ddecorators.py21 def subscribe_static(event_type, event_filter=None, order=0): argument
30 order=order)
35 def subscribe(event_type, event_filter=None, order=0): argument
41 order=order)
Devent_subscription.py28 def __init__(self, event_type, func, event_filter=None, order=0): argument
32 self.order = order
Dsubscription_handle.py22 def __init__(self, event_type, func, event_filter=None, order=0): argument
26 self._order = order
36 order=self._order)
Dsubscription_bundle.py29 order=0): argument
40 order=order)
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v4/
DV4Signature.java50 ByteBuffer buffer = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray()
61 ByteBuffer buffer = ByteBuffer.allocate(size).order(ByteOrder.LITTLE_ENDIAN); in toByteArray()
89 return fromByteBuffer(ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN)); in fromByteArray()
107 ByteBuffer buffer = ByteBuffer.allocate(size).order(ByteOrder.LITTLE_ENDIAN); in toByteArray()
135 ByteBuffer buffer = ByteBuffer.allocate(size).order(ByteOrder.LITTLE_ENDIAN); in toByteArray()
157 ByteBuffer buffer = ByteBuffer.wrap(bytes).order(ByteOrder.LITTLE_ENDIAN); in fromByteArray()
229 ByteBuffer buffer = ByteBuffer.allocate(size).order(ByteOrder.LITTLE_ENDIAN); in getSignedData()
262 return ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN).getInt(); in readIntLE()
266 …final byte[] buffer = ByteBuffer.wrap(new byte[4]).order(ByteOrder.LITTLE_ENDIAN).putInt(v).array(… in writeIntLE()
/tools/test/connectivity/acts/framework/tests/event/
Devent_bus_test.py43 order = 43
44 event_bus.register(mock_event, mock_func, order=order)
53 self.assertEqual(subscription.order, order)
116 subscription.order = 0
138 subscription.order = i
Dsubscription_bundle_test.py37 order = object()
41 package.add(event, func, event_filter=event_filter, order=order)
48 self.assertEqual(subscription.order, order)
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtilsLite.java71 apkSigningBlockBuf.order(ByteOrder.LITTLE_ENDIAN); in findSignature()
128 if (buffer.order() != ByteOrder.LITTLE_ENDIAN) { in checkByteOrderLittleEndian()
295 result.order(source.order()); in sliceFromTo()
326 result.order(source.order()); in getByteBuffer()
383 result.order(ByteOrder.LITTLE_ENDIAN); in encodeAsSequenceOfLengthPrefixedPairsOfIntAndLengthPrefixedBytes()
DAndroidBinXmlParser.java86 xml.order(ByteOrder.LITTLE_ENDIAN); in AndroidBinXmlParser()
513 result.order(mContents.order()); in getContents()
519 result.order(mHeader.order()); in getHeader()
767 mChunkContents.order(chunk.getContents().order()); in ResourceMap()
830 result.order(source.order()); in sliceFromTo()
/tools/loganalysis/src/com/android/loganalysis/item/
DPageAllocationFailureItem.java54 public void setOrder(int order) { in setOrder() argument
55 setAttribute(ORDER, order); in setOrder()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/signature/
DSignatureFormatOptionsTest.kt129 fun `--use-same-format-as will honor --format-defaults overloaded-method-order=source`() { in --use-same-format-as will honor --format-defaults overloaded-method-order=source()
176 fun `--format with no properties and --format-defaults overloaded-method-order=source`() { in --format with no properties and --format-defaults overloaded-method-order=source()
193 fun `--format with overloaded-method-order=signature`() { in --format with overloaded-method-order=signature()
205 …fun `--format with overloaded-method-order=signature and --format-defaults overloaded-method-order in --format with overloaded-method-order=signature and --format-defaults overloaded-method-order=source()
292 fun `--format specifier unknown value (overloaded-method-order)`() { in --format specifier unknown value (overloaded-method-order)()
/tools/tradefederation/core/aoa_helper/javatests/com/android/helper/aoa/
DAoaDeviceTest.java261 InOrder order = inOrder(mDelegate); in testPressKeys() local
263 verifyHidRequest(order, times(1), AoaHID.KEYBOARD, (byte) 0, (byte) 1); in testPressKeys()
264 verifyHidRequest(order, times(1), AoaHID.KEYBOARD, (byte) 0, (byte) 0); in testPressKeys()
266 verifyHidRequest(order, times(1), AoaHID.KEYBOARD, (byte) 2, (byte) 2); in testPressKeys()
267 verifyHidRequest(order, times(1), AoaHID.KEYBOARD, (byte) 0, (byte) 0); in testPressKeys()
347 private void verifyHidRequest(InOrder order, VerificationMode mode, AoaHID hid, byte... data) { in verifyHidRequest() argument
349 order == null ? verify(mDelegate, mode) : order.verify(mDelegate, mode); in verifyHidRequest()
/tools/tradefederation/core/javatests/com/android/tradefed/util/zip/
DCentralDirectoryInfoTest.java52 ByteBuffer buffer = ByteBuffer.allocate(1000).order(ByteOrder.LITTLE_ENDIAN); in createCentralDirectoryData()
128 ByteBuffer extra = ByteBuffer.allocate(32).order(ByteOrder.LITTLE_ENDIAN); in centralDirectoryInfo_useZip64()
141 ByteBuffer extra = ByteBuffer.allocate(36).order(ByteOrder.LITTLE_ENDIAN); in centralDirectoryInfo_useZip64_multipleEntriesInExtraField()
158 ByteBuffer extra = ByteBuffer.allocate(4).order(ByteOrder.LITTLE_ENDIAN); in centralDirectoryInfo_noZip64Field_throwException()
/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtilsLite.java54 eocdBuf.order(ByteOrder.LITTLE_ENDIAN); in findZipSections()
124 footer.order(ByteOrder.LITTLE_ENDIAN); in findApkSigningBlock()
144 apkSigBlock.order(ByteOrder.LITTLE_ENDIAN); in findApkSigningBlock()
/tools/apksig/src/main/java/com/android/apksig/internal/zip/
DEocdRecord.java37 result.order(ByteOrder.LITTLE_ENDIAN); in createWithModifiedCentralDirectoryInfo()
51 result.order(ByteOrder.LITTLE_ENDIAN); in createWithPaddedComment()
DZipUtils.java202 buf.order(ByteOrder.LITTLE_ENDIAN); in findZipEndOfCentralDirectoryRecord()
211 eocd.order(ByteOrder.LITTLE_ENDIAN); in findZipEndOfCentralDirectoryRecord()
257 if (buffer.order() != ByteOrder.LITTLE_ENDIAN) { in assertByteOrderLittleEndian()
281 cd.order(ByteOrder.LITTLE_ENDIAN); in parseZipCentralDirectory()
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DMultipleFileTest.kt70 fun checkSuperClass(files: List<TestFile>, order: String, expectedSuperClass: String) { in Test parse multiple files correctly updates super class()
76 message = "incorrect super class from $order" in Test parse multiple files correctly updates super class()
DFileFormatTest.kt403 fun `Check header (v2 + overloaded-method-order=source but no migrating)`() { in Check header (v2 + overloaded-method-order=source but no migrating)()
427 fun `Check header and specifier (v5 + overloaded-method-order=source)`() { in Check header and specifier (v5 + overloaded-method-order=source)()
444 fun `Check header and specifier (v5 + overloaded-method-order=source,migrating=test)`() { in Check header and specifier (v5 + overloaded-method-order=source,migrating=test)()
555 … fun `Check header and specifier (v5 + kotlin-name-type-order=yes,kotlin-name-type-order=yes)`() { in Check header and specifier (v5 + kotlin-name-type-order=yes,kotlin-name-type-order=yes)()
571 …fun `Check that include-type-use-annotations=yes cannot be set without kotlin-name-type-order=yes`… in Check that include-type-use-annotations=yes cannot be set without kotlin-name-type-order=yes()
679 fun `Check parseDefaults overloaded-method-order=source`() { in Check parseDefaults overloaded-method-order=source()
/tools/netsim/pdl/
Dnetlink.pdl11 // Host byte order
41 * O := Payload stored in network byte order
/tools/netsim/rust/daemon/src/wifi/packets/
Dieee80211.rs185 order: frame_to_ap.order, in into_from_ap()
334 order: 0, in create_test_from_ap_ieee80211()
360 order: 0, in create_test_ibss_ieee80211()
386 order: 0, in create_test_to_ap_ieee80211()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeSigner.java182 result.order(ByteOrder.LITTLE_ENDIAN); in generateV3SignerAttribute()
197 result.order(ByteOrder.LITTLE_ENDIAN); in generateV3RotationMinSdkVersionStrippingProtectionAttribute()
211 result.order(ByteOrder.LITTLE_ENDIAN); in generateV31RotationTargetsDevReleaseAttribute()
334 result.order(ByteOrder.LITTLE_ENDIAN); in encodeSigner()
370 result.order(ByteOrder.LITTLE_ENDIAN); in encodeSignedData()
DV3SigningCertificateLineage.java193 encodedWithVersion.order(ByteOrder.LITTLE_ENDIAN); in encodeSigningCertificateLineage()
219 result.order(ByteOrder.LITTLE_ENDIAN); in encodeSigningCertificateNode()
232 result.order(ByteOrder.LITTLE_ENDIAN); in encodeSignedData()
/tools/tradefederation/contrib/tests/src/com/android/uicd/tests/
DUiConductorTestTest.java222 InOrder order = inOrder(mListener); in testRun_testDirectory() local
224 order.verify(mListener).testStarted(eq(nested), anyLong()); in testRun_testDirectory()
226 order.verify(mListener).testStarted(eq(test1), anyLong()); in testRun_testDirectory()
228 order.verify(mListener).testStarted(eq(test2), anyLong()); in testRun_testDirectory()
230 order.verify(mListener).testStarted(eq(test3), anyLong()); in testRun_testDirectory()
/tools/metalava/integration/
Dintegration.scenarios4 # Scenarios are run in alphabetical order

1234