/frameworks/opt/net/wifi/service/java/com/android/server/wifi/nan/ |
D | WifiNanNative.java | 98 private static native int getCapabilitiesNative(short transactionId, Object cls, int iface); in getCapabilitiesNative() argument 136 private static native int enableAndConfigureNative(short transactionId, Object cls, int iface, in enableAndConfigureNative() argument 139 public void enableAndConfigure(short transactionId, ConfigRequest configRequest) { in enableAndConfigure() argument 146 ret = enableAndConfigureNative(transactionId, WifiNative.class, in enableAndConfigure() 160 private static native int disableNative(short transactionId, Object cls, int iface); in disableNative() argument 162 public void disable(short transactionId) { in disable() argument 169 ret = disableNative(transactionId, WifiNative.class, WifiNative.sWlan0Index); in disable() 181 private static native int publishNative(short transactionId, int publishId, Object cls, in publishNative() argument 185 public void publish(short transactionId, int publishId, PublishData publishData, in publish() argument 190 Log.d(TAG, "publish: transactionId=" + transactionId + ",data='" + publishData in publish() [all …]
|
D | WifiNanStateManager.java | 208 public void onCapabilitiesUpdate(short transactionId, WifiNanNative.Capabilities capabilities) { in onCapabilitiesUpdate() argument 210 msg.arg1 = transactionId; in onCapabilitiesUpdate() 215 public void onConfigCompleted(short transactionId) { in onConfigCompleted() argument 217 msg.arg1 = transactionId; in onConfigCompleted() 221 public void onConfigFailed(short transactionId, int reason) { in onConfigFailed() argument 223 msg.arg1 = transactionId; in onConfigFailed() 228 public void onPublishSuccess(short transactionId, int publishId) { in onPublishSuccess() argument 230 msg.arg1 = transactionId; in onPublishSuccess() 235 public void onPublishFail(short transactionId, int status) { in onPublishFail() argument 237 msg.arg1 = transactionId; in onPublishFail() [all …]
|
D | WifiNanSessionState.java | 76 public void publish(short transactionId, PublishData data, PublishSettings settings) { in publish() argument 82 WifiNanNative.getInstance().publish(transactionId, mPubSubIdValid ? mPubSubId : 0, data, in publish() 86 public void subscribe(short transactionId, SubscribeData data, SubscribeSettings settings) { in subscribe() argument 92 WifiNanNative.getInstance().subscribe(transactionId, mPubSubIdValid ? mPubSubId : 0, data, in subscribe() 96 public void sendMessage(short transactionId, int peerId, byte[] message, int messageLength, in sendMessage() argument 114 WifiNanNative.getInstance().sendMessage(transactionId, mPubSubId, peerId, peerMac, message, in sendMessage() 118 public void stop(short transactionId) { in stop() argument 126 WifiNanNative.getInstance().stopPublish(transactionId, mPubSubId); in stop() 128 WifiNanNative.getInstance().stopSubscribe(transactionId, mPubSubId); in stop()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/nan/ |
D | WifiNanStateManagerTest.java | 100 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testNanEventsDelivered() local 111 inOrder.verify(mMockNative).enableAndConfigure(transactionId.capture(), eq(configRequest1)); in testNanEventsDelivered() 112 short transactionId1 = transactionId.getValue(); in testNanEventsDelivered() 117 inOrder.verify(mMockNative).enableAndConfigure(transactionId.capture(), eq(configRequest2)); in testNanEventsDelivered() 118 short transactionId2 = transactionId.getValue(); in testNanEventsDelivered() 157 ArgumentCaptor<Short> transactionId = ArgumentCaptor.forClass(Short.class); in testNanEventsNotDelivered() local 164 inOrder.verify(mMockNative).enableAndConfigure(transactionId.capture(), eq(configRequest1)); in testNanEventsNotDelivered() 165 short transactionId1 = transactionId.getValue(); in testNanEventsNotDelivered() 170 inOrder.verify(mMockNative).enableAndConfigure(transactionId.capture(), eq(configRequest2)); in testNanEventsNotDelivered() 171 short transactionId2 = transactionId.getValue(); in testNanEventsNotDelivered() [all …]
|
D | WifiNanHalTest.java | 79 final short transactionId = 2346; in testEnableWith5g() local 85 testEnable(transactionId, clusterLow, clusterHigh, masterPref, enable5g); in testEnableWith5g() 90 final short transactionId = 1296; in testEnableWithout5g() local 96 testEnable(transactionId, clusterLow, clusterHigh, masterPref, enable5g); in testEnableWithout5g() 101 final short transactionId = 5478; in testDisable() local 103 mDut.disable(transactionId); in testDisable() 105 verify(mNanHalMock).disableHalMockNative(transactionId); in testDisable() 110 final short transactionId = 55; in testPublishUnsolicited() local 125 testPublish(transactionId, publishId, PublishSettings.PUBLISH_TYPE_UNSOLICITED, serviceName, in testPublishUnsolicited() 131 final short transactionId = 45; in testPublishSolicited() local [all …]
|
D | WifiNanHalMock.java | 34 public void getCapabilitiesHalMockNative(short transactionId) { in getCapabilitiesHalMockNative() argument 38 public void enableHalMockNative(short transactionId, String jsonArgs) { in enableHalMockNative() argument 42 public void disableHalMockNative(short transactionId) { in disableHalMockNative() argument 46 public void publishHalMockNative(short transactionId, String jsonArgs) { in publishHalMockNative() argument 50 public void publishCancelHalMockNative(short transactionId, String jsonArgs) { in publishCancelHalMockNative() argument 54 public void subscribeHalMockNative(short transactionId, String jsonArgs) { in subscribeHalMockNative() argument 58 public void subscribeCancelHalMockNative(short transactionId, String jsonArgs) { in subscribeCancelHalMockNative() argument 62 public void transmitFollowupHalMockNative(short transactionId, String jsonArgs) { in transmitFollowupHalMockNative() argument 71 public static native void callNotifyResponse(short transactionId, String jsonArgs); in callNotifyResponse() argument
|
/frameworks/base/services/net/java/android/net/dhcp/ |
D | DhcpPacket.java | 731 int transactionId; in decodeFullPacket() local 859 transactionId = packet.getInt(); in decodeFullPacket() 1033 transactionId, secs, clientMac, broadcast); in decodeFullPacket() 1037 transactionId, secs, broadcast, ipSrc, clientIp, yourIp, clientMac); in decodeFullPacket() 1041 transactionId, secs, clientIp, clientMac, broadcast); in decodeFullPacket() 1045 transactionId, secs, clientIp, yourIp, nextIp, relayIp, in decodeFullPacket() 1050 transactionId, secs, broadcast, ipSrc, clientIp, yourIp, clientMac); in decodeFullPacket() 1054 transactionId, secs, clientIp, yourIp, nextIp, relayIp, in decodeFullPacket() 1059 transactionId, secs, clientIp, yourIp, nextIp, relayIp, in decodeFullPacket() 1159 public static ByteBuffer buildDiscoverPacket(int encap, int transactionId, in buildDiscoverPacket() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | WapPushOverSms.java | 129 int transactionId = pdu[index++] & 0xFF; in decodeWapPdu() local 140 transactionId = pdu[index++] & 0xff; in decodeWapPdu() 144 " transactionID = " + transactionId); in decodeWapPdu() 260 result.transactionId = transactionId; in decodeWapPdu() 312 intent.putExtra("transactionId", result.transactionId); in dispatchWapPdu() 343 intent.putExtra("transactionId", result.transactionId); in dispatchWapPdu() 441 byte [] transactionId = nInd.getTransactionId(); in writeInboxMessage() 443 + transactionId.length]; in writeInboxMessage() 446 System.arraycopy(transactionId, 0, contentLocationWithId, in writeInboxMessage() 447 contentLocation.length, transactionId.length); in writeInboxMessage() [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/base/services/tests/servicestests/src/android/net/dhcp/ |
D | DhcpPacketTest.java | 691 int transactionId = 0xdeadbeef; in testDiscoverPacket() local 697 DhcpPacket.ENCAP_L2, transactionId, secs, hwaddr, in testDiscoverPacket()
|
/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()
|