Home
last modified time | relevance | path

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

12345678

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DWifiScanningServiceTest.java238 private static Message verifyHandleMessageAndGetMessage(InOrder order, Handler handler) { in verifyHandleMessageAndGetMessage() argument
240 order.verify(handler).handleMessage(messageCaptor.capture()); in verifyHandleMessageAndGetMessage()
269 private static Message verifyHandleMessageAndGetMessage(InOrder order, Handler handler, in verifyHandleMessageAndGetMessage() argument
273 order.verify(handler).handleMessage(argThat(messageMatcher)); in verifyHandleMessageAndGetMessage()
277 private static void verifyScanResultsReceived(InOrder order, Handler handler, int listenerId, in verifyScanResultsReceived() argument
279 Message scanResultMessage = verifyHandleMessageAndGetMessage(order, handler, in verifyScanResultsReceived()
292 private static void verifySingleScanCompletedReceived(InOrder order, Handler handler, in verifySingleScanCompletedReceived() argument
294 Message completedMessage = verifyHandleMessageAndGetMessage(order, handler, in verifySingleScanCompletedReceived()
334 private static void verifySuccessfulResponse(InOrder order, Handler handler, int arg2) { in verifySuccessfulResponse() argument
335 Message response = verifyHandleMessageAndGetMessage(order, handler); in verifySuccessfulResponse()
[all …]
DBaseWifiScannerImplTest.java265 InOrder order = inOrder(eventHandler, mWifiNative); in singleScanFailOnExecute() local
275 order.verify(eventHandler).onScanStatus(WifiNative.WIFI_SCAN_FAILED); in singleScanFailOnExecute()
294 InOrder order = inOrder(eventHandler, mWifiNative); in singleScanFailOnTimeout() local
308 order.verify(eventHandler).onScanStatus(WifiNative.WIFI_SCAN_FAILED); in singleScanFailOnTimeout()
327 InOrder order = inOrder(eventHandler, mWifiNative); in singleScanFailOnFailedEvent() local
341 order.verify(eventHandler).onScanStatus(WifiNative.WIFI_SCAN_FAILED); in singleScanFailOnFailedEvent()
383 InOrder order = inOrder(eventHandler, mWifiNative); in multipleSingleScanSuccess() local
392 expectSuccessfulSingleScan(order, WifiScanner.SCAN_TYPE_LOW_LATENCY, eventHandler, in multipleSingleScanSuccess()
401 expectSuccessfulSingleScan(order, WifiScanner.SCAN_TYPE_LOW_POWER, eventHandler, in multipleSingleScanSuccess()
461 InOrder order = inOrder(eventHandler, mWifiNative); in singleScanWhereSupplicantReturnsSomeOldResults() local
[all …]
DWificondPnoScannerTest.java102 InOrder order = inOrder(pnoEventHandler, mWifiNative); in startHwDisconnectedPnoScan() local
105 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in startHwDisconnectedPnoScan()
120 InOrder order = inOrder(pnoEventHandler, mWifiNative); in startHwDisconnectedPnoScanFailure() local
126 order.verify(mWifiNative).startPnoScan(any(), any(WifiNative.PnoSettings.class)); in startHwDisconnectedPnoScanFailure()
127 order.verify(pnoEventHandler).onPnoScanFailed(); in startHwDisconnectedPnoScanFailure()
156 InOrder order = inOrder(pnoEventHandler, mWifiNative); in ignoreHwDisconnectedPnoScanStopFailure() local
158 expectSuccessfulHwDisconnectedPnoScan(order, pnoSettings, pnoEventHandler, scanResults); in ignoreHwDisconnectedPnoScanStopFailure()
224 private void expectHwDisconnectedPnoScanStart(InOrder order, in expectHwDisconnectedPnoScanStart() argument
227 order.verify(mWifiNative).startPnoScan(any(), any(WifiNative.PnoSettings.class)); in expectHwDisconnectedPnoScanStart()
235 private void expectSuccessfulHwDisconnectedPnoScan(InOrder order, in expectSuccessfulHwDisconnectedPnoScan() argument
[all …]
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNlAttr.java54 final ByteOrder originalOrder = byteBuffer.order(); in peek()
55 byteBuffer.order(ByteOrder.nativeOrder()); in peek()
60 byteBuffer.order(originalOrder); in peek()
133 public StructNlAttr(short type, short value, ByteOrder order) { in StructNlAttr() argument
137 final ByteOrder originalOrder = buf.order(); in StructNlAttr()
139 buf.order(order); in StructNlAttr()
142 buf.order(originalOrder); in StructNlAttr()
150 public StructNlAttr(short type, int value, ByteOrder order) { in StructNlAttr() argument
154 final ByteOrder originalOrder = buf.order(); in StructNlAttr()
156 buf.order(order); in StructNlAttr()
[all …]
DStructNfGenMsg.java59 final ByteOrder originalOrder = byteBuffer.order(); in parse()
60 byteBuffer.order(ByteOrder.BIG_ENDIAN); in parse()
62 byteBuffer.order(originalOrder); in parse()
83 final ByteOrder originalOrder = byteBuffer.order(); in pack()
84 byteBuffer.order(ByteOrder.BIG_ENDIAN); in pack()
86 byteBuffer.order(originalOrder); in pack()
DNduseroptMessage.java69 buf.order(ByteOrder.nativeOrder()); // Restored in the finally clause inside parse(). in NduseroptMessage()
83 buf.order(ByteOrder.BIG_ENDIAN); in NduseroptMessage()
122 ByteOrder oldOrder = buf.order(); in parse()
131 buf.order(oldOrder); in parse()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DClientModeManagerBroadcastQueueTest.java99 InOrder order = inOrder(mQueuedBroadcast1, mQueuedBroadcast2, mQueuedBroadcast3, mContext); in secondaryManagerSendBroadcast_queuedAndSentOnPrimaryChangeInOrderAndCleared() local
103 order.verify(mQueuedBroadcast1, never()).send(); in secondaryManagerSendBroadcast_queuedAndSentOnPrimaryChangeInOrderAndCleared()
107 order.verify(mQueuedBroadcast1, never()).send(); in secondaryManagerSendBroadcast_queuedAndSentOnPrimaryChangeInOrderAndCleared()
108 order.verify(mQueuedBroadcast2, never()).send(); in secondaryManagerSendBroadcast_queuedAndSentOnPrimaryChangeInOrderAndCleared()
118 order.verify(mQueuedBroadcast1).send(); in secondaryManagerSendBroadcast_queuedAndSentOnPrimaryChangeInOrderAndCleared()
119 order.verify(mQueuedBroadcast2).send(); in secondaryManagerSendBroadcast_queuedAndSentOnPrimaryChangeInOrderAndCleared()
123 order.verify(mQueuedBroadcast1, never()).send(); in secondaryManagerSendBroadcast_queuedAndSentOnPrimaryChangeInOrderAndCleared()
124 order.verify(mQueuedBroadcast2, never()).send(); in secondaryManagerSendBroadcast_queuedAndSentOnPrimaryChangeInOrderAndCleared()
125 order.verify(mQueuedBroadcast3).send(); in secondaryManagerSendBroadcast_queuedAndSentOnPrimaryChangeInOrderAndCleared()
138 order.verify(mQueuedBroadcast1, never()).send(); in secondaryManagerSendBroadcast_queuedAndSentOnPrimaryChangeInOrderAndCleared()
[all …]
DByteBufferReaderTest.java45 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerWithBufferUnderflow()
46 ByteBufferReader.readInteger(buffer, buffer.order(), 2); in readIntegerWithBufferUnderflow()
59 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerExceedingMaximumLength()
60 ByteBufferReader.readInteger(buffer, buffer.order(), length); in readIntegerExceedingMaximumLength()
73 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerLessThanMinimumLength()
74 ByteBufferReader.readInteger(buffer, buffer.order(), length); in readIntegerLessThanMinimumLength()
86 ByteBuffer buffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerWithMinimumSize()
87 assertEquals(1, ByteBufferReader.readInteger(buffer, buffer.order(), in readIntegerWithMinimumSize()
102 ByteBuffer leBuffer = ByteBuffer.wrap(data).order(ByteOrder.LITTLE_ENDIAN); in readIntegerWithMaximumSize()
104 assertEquals(leValue, ByteBufferReader.readInteger(leBuffer, leBuffer.order(), in readIntegerWithMaximumSize()
[all …]
DSoftApManagerTest.java685 InOrder order = inOrder(mCallback, mListener, mContext); in stopWhenStarted() local
691 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLING, 0); in stopWhenStarted()
692 order.verify(mContext).sendStickyBroadcastAsUser(intentCaptor.capture(), in stopWhenStarted()
698 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in stopWhenStarted()
701 order.verify(mContext).sendStickyBroadcastAsUser(intentCaptor.capture(), in stopWhenStarted()
706 order.verify(mListener).onStopped(mSoftApManager); in stopWhenStarted()
722 InOrder order = inOrder(mCallback, mListener, mContext); in cleanStopOnInterfaceDestroyed() local
728 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLING, 0); in cleanStopOnInterfaceDestroyed()
729 order.verify(mContext).sendStickyBroadcastAsUser(intentCaptor.capture(), in cleanStopOnInterfaceDestroyed()
735 order.verify(mCallback).onStateChanged(WifiManager.WIFI_AP_STATE_DISABLED, 0); in cleanStopOnInterfaceDestroyed()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndex.java243 public Object get(int position, SortOrder order) { in get() argument
248 if (order == SortOrder.ASCENDING) { in get()
273 public IngestObjectInfo getWithoutLabels(int position, SortOrder order) { in getWithoutLabels() argument
278 if (order == SortOrder.ASCENDING) { in getWithoutLabels()
292 public int getPositionFromPositionWithoutLabels(int position, SortOrder order) { in getPositionFromPositionWithoutLabels() argument
301 if (order == SortOrder.DESCENDING) { in getPositionFromPositionWithoutLabels()
321 if (order == SortOrder.DESCENDING) { in getPositionFromPositionWithoutLabels()
334 public int getPositionWithoutLabelsFromPosition(int position, SortOrder order) { in getPositionWithoutLabelsFromPosition() argument
339 if (order == SortOrder.ASCENDING) { in getPositionWithoutLabelsFromPosition()
369 public int getFirstPositionForBucketNumber(int bucketNumber, SortOrder order) { in getFirstPositionForBucketNumber() argument
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTether4Value.java33 @Field(order = 0, type = Type.U32)
37 @Field(order = 1, type = Type.EUI48)
39 @Field(order = 2, type = Type.EUI48)
41 @Field(order = 3, type = Type.UBE16)
44 @Field(order = 4, type = Type.U16)
47 @Field(order = 5, type = Type.ByteArray, arraysize = 16)
50 @Field(order = 6, type = Type.ByteArray, arraysize = 16)
53 @Field(order = 7, type = Type.UBE16)
56 @Field(order = 8, type = Type.UBE16)
60 @Field(order = 9, type = Type.U63)
DTether4Key.java33 @Field(order = 0, type = Type.U32)
36 @Field(order = 1, type = Type.EUI48)
39 @Field(order = 2, type = Type.U8, padding = 1)
42 @Field(order = 3, type = Type.ByteArray, arraysize = 4)
45 @Field(order = 4, type = Type.ByteArray, arraysize = 4)
48 @Field(order = 5, type = Type.UBE16)
51 @Field(order = 6, type = Type.UBE16)
DTetherStatsValue.java28 @Field(order = 0, type = Type.U63)
30 @Field(order = 1, type = Type.U63)
32 @Field(order = 2, type = Type.U63)
34 @Field(order = 3, type = Type.U63)
36 @Field(order = 4, type = Type.U63)
38 @Field(order = 5, type = Type.U63)
DTether6Value.java29 @Field(order = 0, type = Type.S32)
33 @Field(order = 1, type = Type.EUI48)
35 @Field(order = 2, type = Type.EUI48)
37 @Field(order = 3, type = Type.UBE16)
40 @Field(order = 4, type = Type.U16)
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTestConnectivityManager.java168 void makeDefaultNetwork(TestNetworkAgent agent, boolean order, @Nullable Runnable inBetween) { in makeDefaultNetwork() argument
174 if (order == CALLBACKS_FIRST) { in makeDefaultNetwork()
185 void makeDefaultNetwork(TestNetworkAgent agent, boolean order) { in makeDefaultNetwork() argument
186 makeDefaultNetwork(agent, order, null /* inBetween */); in makeDefaultNetwork()
357 public void fakeConnect(boolean order, @Nullable Runnable inBetween) { in fakeConnect() argument
358 if (order == BROADCAST_FIRST) { in fakeConnect()
371 if (order == CALLBACKS_FIRST) { in fakeConnect()
382 public void fakeDisconnect(boolean order, @Nullable Runnable inBetween) { in fakeDisconnect() argument
383 if (order == BROADCAST_FIRST) { in fakeDisconnect()
392 if (order == CALLBACKS_FIRST) { in fakeDisconnect()
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DTlvBufferUtils.java669 private static void pokeShort(byte[] dst, int offset, short value, ByteOrder order) { in pokeShort() argument
670 if (order == ByteOrder.BIG_ENDIAN) { in pokeShort()
679 private static void pokeInt(byte[] dst, int offset, int value, ByteOrder order) { in pokeInt() argument
680 if (order == ByteOrder.BIG_ENDIAN) { in pokeInt()
693 private static short peekShort(byte[] src, int offset, ByteOrder order) { in peekShort() argument
694 if (order == ByteOrder.BIG_ENDIAN) { in peekShort()
701 private static int peekInt(byte[] src, int offset, ByteOrder order) { in peekInt() argument
702 if (order == ByteOrder.BIG_ENDIAN) { in peekInt()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DMemory.java22 public static int peekInt(byte[] src, int offset, ByteOrder order) { in peekInt() argument
23 if (order == ByteOrder.BIG_ENDIAN) { in peekInt()
36 public static void pokeInt(byte[] dst, int offset, int value, ByteOrder order) { in pokeInt() argument
37 if (order == ByteOrder.BIG_ENDIAN) { in pokeInt()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DWeekdays.kt249 fun toString(context: Context, order: Order): String { in toString()
250 return toString(context, order, false /* forceLongNames */) in toString()
259 fun toAccessibilityString(context: Context, order: Order): String { in toAccessibilityString()
260 return toString(context, order, true /* forceLongNames */) in toAccessibilityString()
281 private fun toString(context: Context, order: Order, forceLongNames: Boolean): String { in toString()
297 for (calendarDay in order.calendarDays) { in toString()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dieee754.h50 static unsigned EffectiveSignificandSize(int order) { in EffectiveSignificandSize() argument
51 if (order >= -1021) in EffectiveSignificandSize()
53 else if (order <= -1074) in EffectiveSignificandSize()
56 return (unsigned)order + 1074; in EffectiveSignificandSize()
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DConntrackMessageTest.java150 byteBuffer.order(ByteOrder.nativeOrder()); in testConntrackParseIPv4TcpTimeoutUpdate()
199 byteBuffer.order(ByteOrder.nativeOrder()); in testConntrackParseIPv4UdpTimeoutUpdate()
293 byteBuffer.order(ByteOrder.nativeOrder()); in testParseCtNew()
344 byteBuffer.order(ByteOrder.nativeOrder()); in testParseTruncation()
363 byteBuffer.order(ByteOrder.nativeOrder()); in testParseTruncationWithInvalidByte()
394 byteBuffer.order(ByteOrder.nativeOrder()); in testParseMalformation()
411 byteBuffer.order(ByteOrder.nativeOrder()); in testToString()
/packages/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DApkArchive.java88 long size = ByteBuffer.wrap(signature).order(ByteOrder.LITTLE_ENDIAN).getLong(); in extractMetadata()
103 sizeToRead).order(ByteOrder.LITTLE_ENDIAN); in findEndOfCDRecord()
121 if (buf.order() != ByteOrder.LITTLE_ENDIAN) { in findCDRecord()
152 CD_ENTRY_HEADER_SIZE_BYTES).order(ByteOrder.LITTLE_ENDIAN)); in getCDLocation()
170 EOSIGNATURE_SIZE).order(ByteOrder.LITTLE_ENDIAN); in getSignatureLocation()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConnectionPreferenceController.java71 private int order; field in WifiConnectionPreferenceController
97 UpdateListener updateListener, String preferenceGroupKey, int order, in WifiConnectionPreferenceController() argument
103 this.order = order; in WifiConnectionPreferenceController()
165 mPreference.setOrder(order); in updatePreference()
/packages/apps/Gallery/src/com/android/camera/
DImageGetter.java159 int [] order = mCB.loadOrder();
160 for (int i = 0; i < order.length; i++) {
162 int offset = order[i];
188 for (int i = 0; i < order.length; i++) {
190 int offset = order[i];
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DCountedDataInputStream.java96 void setByteOrder(ByteOrder order) { in setByteOrder() argument
97 byteBuffer.order(order); in setByteOrder()
101 return byteBuffer.order(); in getByteOrder()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DRatingsFragment.java222 ContentRatingSystem.Order order, in updateDependentRatingItems() argument
229 int ratingOrderIndex = item.getRatingOrderIndex(order); in updateDependentRatingItems()
279 for (ContentRatingSystem.Order order : mContentRatingSystem.getOrders()) { in RatingItem()
280 int orderIndex = order.getRatingIndex(mRating); in RatingItem()
282 mOrders.add(order); in RatingItem()
343 private int getRatingOrderIndex(ContentRatingSystem.Order order) { in getRatingOrderIndex() argument
344 int orderIndex = mOrders.indexOf(order); in getRatingOrderIndex()

12345678