/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | TestUtils.java | 35 private void addTransactionId(int transactionId) { in addTransactionId() argument 36 if (transactionId == 0) { in addTransactionId() 39 mTransactionIds.append(transactionId, mTransactionIds.get(transactionId) + 1); in addTransactionId() 50 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure() argument 53 addTransactionId(transactionId); in enableAndConfigure() 57 public boolean disable(short transactionId) { in disable() argument 58 addTransactionId(transactionId); in disable() 62 public boolean publish(short transactionId, byte publishId, PublishConfig publishConfig) { in publish() argument 63 addTransactionId(transactionId); in publish() 67 public boolean subscribe(short transactionId, byte subscribeId, in subscribe() argument [all …]
|
D | WifiAwareStateManagerTest.java | 259 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testRequestMacAddresses() local 268 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testRequestMacAddresses() 269 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), getCapabilities()); in testRequestMacAddresses() 275 inOrder.verify(mMockNative).enableAndConfigure(transactionId.capture(), in testRequestMacAddresses() 277 mDut.onConfigSuccessResponse(transactionId.getValue()); in testRequestMacAddresses() 288 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testRequestMacAddresses() 290 mDut.onSessionConfigSuccessResponse(transactionId.getValue(), false, subscribeId1); in testRequestMacAddresses() 296 inOrder.verify(mMockNative).subscribe(transactionId.capture(), eq((byte) 0), in testRequestMacAddresses() 298 mDut.onSessionConfigSuccessResponse(transactionId.getValue(), false, subscribeId2); in testRequestMacAddresses() 357 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testAwareDataPathInterfaceUpDown() local [all …]
|
D | WifiAwareDataPathStateManagerTest.java | 199 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testCreateDeleteAllInterfaces() local 206 inOrder.verify(mMockNative).getCapabilities(transactionId.capture()); in testCreateDeleteAllInterfaces() 207 mDut.onCapabilitiesUpdateResponse(transactionId.getValue(), capabilities); in testCreateDeleteAllInterfaces() 214 inOrder.verify(mMockNative).createAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 218 mDut.onCreateDataPathInterfaceResponse(transactionId.getValue(), true, 0); in testCreateDeleteAllInterfaces() 229 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 235 mDut.onDeleteDataPathInterfaceResponse(transactionId.getValue(), false, 0); in testCreateDeleteAllInterfaces() 237 mDut.onDeleteDataPathInterfaceResponse(transactionId.getValue(), true, 0); in testCreateDeleteAllInterfaces() 250 inOrder.verify(mMockNative).deleteAwareNetworkInterface(transactionId.capture(), in testCreateDeleteAllInterfaces() 254 mDut.onDeleteDataPathInterfaceResponse(transactionId.getValue(), true, 0); in testCreateDeleteAllInterfaces() [all …]
|
D | WifiAwareNativeApiTest.java | 435 short transactionId, ConfigRequest configRequest, boolean notifyIdentityChange, in validateEnableAndConfigure() argument 440 mDut.enableAndConfigure(transactionId, configRequest, notifyIdentityChange, in validateEnableAndConfigure() 454 verify(mIWifiNanIface12Mock).enableRequest_1_2(eq(transactionId), in validateEnableAndConfigure() 458 verify(mIWifiNanIfaceMock).enableRequest(eq(transactionId), in validateEnableAndConfigure() 464 verify(mIWifiNanIface12Mock).configRequest_1_2(eq(transactionId), in validateEnableAndConfigure() 468 verify(mIWifiNanIfaceMock).configRequest(eq(transactionId), in validateEnableAndConfigure()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareNativeApi.java | 77 private void recordTransactionId(int transactionId) { in recordTransactionId() argument 80 if (transactionId == 0) { in recordTransactionId() 84 int count = mTransactionIds.get(transactionId); in recordTransactionId() 86 Log.wtf(TAG, "Repeated transaction ID == " + transactionId); in recordTransactionId() 88 mTransactionIds.append(transactionId, count + 1); in recordTransactionId() 294 public boolean getCapabilities(short transactionId) { in getCapabilities() argument 295 if (mDbg) Log.v(TAG, "getCapabilities: transactionId=" + transactionId); in getCapabilities() 296 recordTransactionId(transactionId); in getCapabilities() 305 WifiStatus status = iface.getCapabilitiesRequest(transactionId); in getCapabilities() 330 public boolean enableAndConfigure(short transactionId, ConfigRequest configRequest, in enableAndConfigure() argument [all …]
|
D | WifiAwareStateManager.java | 842 public void onConfigSuccessResponse(short transactionId) { in onConfigSuccessResponse() argument 845 msg.arg2 = transactionId; in onConfigSuccessResponse() 853 public void onConfigFailedResponse(short transactionId, int reason) { in onConfigFailedResponse() argument 856 msg.arg2 = transactionId; in onConfigFailedResponse() 865 public void onDisableResponse(short transactionId, int reason) { in onDisableResponse() argument 868 msg.arg2 = transactionId; in onDisableResponse() 877 public void onSessionConfigSuccessResponse(short transactionId, boolean isPublish, in onSessionConfigSuccessResponse() argument 881 msg.arg2 = transactionId; in onSessionConfigSuccessResponse() 891 public void onSessionConfigFailResponse(short transactionId, boolean isPublish, int reason) { in onSessionConfigFailResponse() argument 894 msg.arg2 = transactionId; in onSessionConfigFailResponse() [all …]
|
D | WifiAwareDiscoverySessionState.java | 149 public boolean updatePublish(short transactionId, PublishConfig config) { in updatePublish() argument 160 boolean success = mWifiAwareNativeApi.publish(transactionId, mPubSubId, config); in updatePublish() 179 public boolean updateSubscribe(short transactionId, SubscribeConfig config) { in updateSubscribe() argument 190 boolean success = mWifiAwareNativeApi.subscribe(transactionId, mPubSubId, config); in updateSubscribe() 213 public boolean sendMessage(short transactionId, int peerId, byte[] message, int messageId) { in sendMessage() argument 226 boolean success = mWifiAwareNativeApi.sendMessage(transactionId, mPubSubId, in sendMessage()
|
/frameworks/base/services/net/java/android/net/dhcp/ |
D | DhcpPacket.java | 736 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/ |
D | SendReq.java | 46 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()
|
D | AcknowledgeInd.java | 34 public AcknowledgeInd(int mmsVersion, byte[] transactionId) in AcknowledgeInd() argument 40 setTransactionId(transactionId); in AcknowledgeInd()
|
D | NotifyRespInd.java | 37 byte[] transactionId, in NotifyRespInd() argument 42 setTransactionId(transactionId); in NotifyRespInd()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | WapPushOverSms.java | 172 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/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/ |
D | QueryTransactionTest.java | 232 assertThat(entity1.transactionId, is(expectedTransactionCount)); in assertTransactionCount() 241 assertThat(entity1.transactionId, is(expectedTransactionCount)); in assertTransactionCountWithChildren() 245 assertThat(child.transactionId, is(expectedTransactionCount)); in assertTransactionCountWithChildren() 319 public final int transactionId = sStartedTransactionCount.get(); field in QueryTransactionTest.Child 334 public final int transactionId = sStartedTransactionCount.get(); field in QueryTransactionTest.Entity1
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | ContextHubTransactionManager.java | 323 synchronized void onTransactionResponse(int transactionId, int result) { 329 if (transaction.getTransactionId() != transactionId) { 331 + transaction.getTransactionId() + ", received ID = " + transactionId + ")");
|
D | ContextHubService.java | 118 public void handleTxnResult(int transactionId, int result) { in handleTxnResult() argument 119 handleTransactionResultCallback(mContextHubId, transactionId, result); in handleTxnResult() 544 private void handleTransactionResultCallback(int contextHubId, int transactionId, int result) { 545 mTransactionManager.onTransactionResponse(transactionId, result);
|
/frameworks/base/telephony/java/com/android/internal/telephony/euicc/ |
D | IEuiccCardController.aidl | 79 oneway void cancelSession(String callingPackage, String cardId, in byte[] transactionId, in cancelSession() argument
|
/frameworks/base/telephony/java/android/telephony/euicc/ |
D | EuiccCardManager.java | 605 public void cancelSession(String cardId, byte[] transactionId, @CancelReason int reason, in cancelSession() argument 611 transactionId, in cancelSession() local
|
/frameworks/base/tests/net/java/android/net/dhcp/ |
D | DhcpPacketTest.java | 874 int transactionId = 0xdeadbeef; in testDiscoverPacket() local 880 DhcpPacket.ENCAP_L2, transactionId, secs, hwaddr, in testDiscoverPacket()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccCardController.java | 888 public void cancelSession(String callingPackage, String cardId, byte[] transactionId, in cancelSession() argument 923 card.cancelSession(transactionId, reason, cardCb, mEuiccMainThreadHandler); in cancelSession()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/ |
D | EuiccCard.java | 780 public void cancelSession(byte[] transactionId, @EuiccCardManager.CancelReason int reason, in cancelSession() argument 785 .addChildAsBytes(Tags.TAG_CTX_0, transactionId) in cancelSession()
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
D | WapPushTest.java | 2075 int transactionId = pdu[index++] & 0xFF; in dispatchWapPdu() local 2161 intent.putExtra("transactionId", transactionId); in dispatchWapPdu()
|