Home
last modified time | relevance | path

Searched refs:transactionId (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareStateManagerTest.java149 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testAwareDataPathInterfaceUpDown() local
156 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testAwareDataPathInterfaceUpDown()
157 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), getCapabilities()); in testAwareDataPathInterfaceUpDown()
188 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDisableUsageDisablesApis() local
194 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testDisableUsageDisablesApis()
195 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), getCapabilities()); in testDisableUsageDisablesApis()
228 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testDisableUsageFlow() local
235 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testDisableUsageFlow()
236 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), getCapabilities()); in testDisableUsageFlow()
244 inOrder.verify(mMockNative).enableAndConfigure(transactionId.capture(), eq(configRequest), in testDisableUsageFlow()
[all …]
DWifiAwareDataPathStateManagerTest.java161 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testCreateDeleteAllInterfaces() local
168 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testCreateDeleteAllInterfaces()
169 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), capabilities); in testCreateDeleteAllInterfaces()
176 inOrder.verify(mMockNative).createAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces()
180 mDut.onCreateDataPathInterfaceResponse(transactionId.getValue(), true, 0); in testCreateDeleteAllInterfaces()
191 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces()
197 mDut.onDeleteDataPathInterfaceResponse(transactionId.getValue(), false, 0); in testCreateDeleteAllInterfaces()
199 mDut.onDeleteDataPathInterfaceResponse(transactionId.getValue(), true, 0); in testCreateDeleteAllInterfaces()
212 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces()
216 mDut.onDeleteDataPathInterfaceResponse(transactionId.getValue(), true, 0); in testCreateDeleteAllInterfaces()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java69 public boolean getCapabilities(short transactionId) { in getCapabilities() argument
70 if (VDBG) Log.v(TAG, "getCapabilities: transactionId=" + transactionId); in getCapabilities()
79 WifiStatus status = iface.getCapabilitiesRequest(transactionId); in getCapabilities()
102 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure() argument
105 Log.v(TAG, "enableAndConfigure: transactionId=" + transactionId + ", configRequest=" in enableAndConfigure()
190 status = iface.enableRequest(transactionId, req); in enableAndConfigure()
238 status = iface.configRequest(transactionId, req); in enableAndConfigure()
258 public boolean disable(short transactionId) { in disable() argument
268 WifiStatus status = iface.disableRequest(transactionId); in disable()
290 public boolean publish(short transactionId, int publishId, PublishConfig publishConfig) { in publish() argument
[all …]
DWifiAwareStateManager.java532 public void onConfigSuccessResponse(short transactionId) { in onConfigSuccessResponse() argument
535 msg.arg2 = transactionId; in onConfigSuccessResponse()
543 public void onConfigFailedResponse(short transactionId, int reason) { in onConfigFailedResponse() argument
546 msg.arg2 = transactionId; in onConfigFailedResponse()
555 public void onSessionConfigSuccessResponse(short transactionId, boolean isPublish, in onSessionConfigSuccessResponse() argument
559 msg.arg2 = transactionId; in onSessionConfigSuccessResponse()
569 public void onSessionConfigFailResponse(short transactionId, boolean isPublish, int reason) { in onSessionConfigFailResponse() argument
572 msg.arg2 = transactionId; in onSessionConfigFailResponse()
581 public void onMessageSendQueuedSuccessResponse(short transactionId) { in onMessageSendQueuedSuccessResponse() argument
584 msg.arg2 = transactionId; in onMessageSendQueuedSuccessResponse()
[all …]
DWifiAwareDiscoverySessionState.java121 public boolean updatePublish(short transactionId, PublishConfig config) { in updatePublish() argument
132 boolean success = mWifiAwareNativeApi.publish(transactionId, mPubSubId, config); in updatePublish()
151 public boolean updateSubscribe(short transactionId, SubscribeConfig config) { in updateSubscribe() argument
162 boolean success = mWifiAwareNativeApi.subscribe(transactionId, mPubSubId, config); in updateSubscribe()
185 public boolean sendMessage(short transactionId, int peerId, byte[] message, int messageId) { in sendMessage() argument
199 boolean success = mWifiAwareNativeApi.sendMessage(transactionId, mPubSubId, peerId, peerMac, in sendMessage()
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpPacket.java736 int transactionId; in decodeFullPacket() local
864 transactionId = packet.getInt(); in decodeFullPacket()
1042 transactionId, secs, clientMac, broadcast); in decodeFullPacket()
1046 transactionId, secs, broadcast, ipSrc, clientIp, yourIp, clientMac); in decodeFullPacket()
1050 transactionId, secs, clientIp, clientMac, broadcast); in decodeFullPacket()
1054 transactionId, secs, clientIp, yourIp, nextIp, relayIp, in decodeFullPacket()
1059 transactionId, secs, broadcast, ipSrc, clientIp, yourIp, clientMac); in decodeFullPacket()
1063 transactionId, secs, clientIp, yourIp, nextIp, relayIp, in decodeFullPacket()
1068 transactionId, secs, clientIp, yourIp, nextIp, relayIp, in decodeFullPacket()
1174 public static ByteBuffer buildDiscoverPacket(int encap, int transactionId, in buildDiscoverPacket() argument
[all …]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DSendReq.java46 String transactionId = "T" + Long.toHexString(System.currentTimeMillis()); in generateTransactionId() local
47 return transactionId.getBytes(); in generateTransactionId()
63 byte[] transactionId) throws InvalidHeaderValueException { in SendReq() argument
69 setTransactionId(transactionId); in SendReq()
DAcknowledgeInd.java34 public AcknowledgeInd(int mmsVersion, byte[] transactionId) in AcknowledgeInd() argument
40 setTransactionId(transactionId); in AcknowledgeInd()
DNotifyRespInd.java37 byte[] transactionId, in NotifyRespInd() argument
42 setTransactionId(transactionId); in NotifyRespInd()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java172 int transactionId = pdu[index++] & 0xFF; in decodeWapPdu() local
183 transactionId = pdu[index++] & 0xff; in decodeWapPdu()
187 " transactionID = " + transactionId); in decodeWapPdu()
303 result.transactionId = transactionId; in decodeWapPdu()
357 intent.putExtra("transactionId", result.transactionId); in dispatchWapPdu()
388 intent.putExtra("transactionId", result.transactionId); in dispatchWapPdu()
486 byte [] transactionId = nInd.getTransactionId(); in writeInboxMessage()
488 + transactionId.length]; in writeInboxMessage()
491 System.arraycopy(transactionId, 0, contentLocationWithId, in writeInboxMessage()
492 contentLocation.length, transactionId.length); in writeInboxMessage()
[all …]
/frameworks/base/tests/net/java/android/net/dhcp/
DDhcpPacketTest.java860 int transactionId = 0xdeadbeef; in testDiscoverPacket() local
866 DhcpPacket.ENCAP_L2, transactionId, secs, hwaddr, in testDiscoverPacket()
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/
DWapPushTest.java2075 int transactionId = pdu[index++] & 0xFF; in dispatchWapPdu() local
2161 intent.putExtra("transactionId", transactionId); in dispatchWapPdu()