Home
last modified time | relevance | path

Searched refs:pkt (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/common_time/
Dcommon_time_server.cpp626 UniversalTimeServicePacket pkt; in handlePacket() local
627 if (pkt.deserializePacket(buf, recvBytes, mSyncGroupID) < 0) { in handlePacket()
640 switch (pkt.packetType) { in handlePacket()
642 result = handleWhoIsMasterRequest(&pkt.p.who_is_master_request, in handlePacket()
647 result = handleWhoIsMasterResponse(&pkt.p.who_is_master_response, in handlePacket()
652 result = handleSyncRequest(&pkt.p.sync_request, srcAddr); in handlePacket()
656 result = handleSyncResponse(&pkt.p.sync_response, srcAddr); in handlePacket()
660 result = handleMasterAnnouncement(&pkt.p.master_announcement, in handlePacket()
670 pkt.packetType, srcEPStr); in handlePacket()
772 WhoIsMasterResponsePacket pkt; in handleWhoIsMasterRequest() local
[all …]
/frameworks/base/services/net/java/android/net/dhcp/
DDhcpPacket.java1176 DhcpPacket pkt = new DhcpDiscoverPacket( in buildDiscoverPacket() local
1178 pkt.mRequestedParams = expectedParams; in buildDiscoverPacket()
1179 return pkt.buildPacket(encap, DHCP_SERVER, DHCP_CLIENT); in buildDiscoverPacket()
1191 DhcpPacket pkt = new DhcpOfferPacket( in buildOfferPacket() local
1193 pkt.mGateways = gateways; in buildOfferPacket()
1194 pkt.mDnsServers = dnsServers; in buildOfferPacket()
1195 pkt.mLeaseTime = timeout; in buildOfferPacket()
1196 pkt.mDomainName = domainName; in buildOfferPacket()
1197 pkt.mServerIdentifier = dhcpServerIdentifier; in buildOfferPacket()
1198 pkt.mSubnetMask = netMask; in buildOfferPacket()
[all …]
/frameworks/base/tests/net/java/android/net/dhcp/
DDhcpPacketTest.java130 ByteBuffer pkt = buildPacket(ENCAP_BOOTP, (short) 0, (short) 0); in build() local
131 pkt.flip(); in build()
132 return pkt; in build()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDataConnection.java1867 KeepalivePacketData pkt = (KeepalivePacketData) msg.obj; in processMessage() local
1873 DataConnection.this.mCid, pkt, intervalMillis, in processMessage()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachine.java5418 KeepalivePacketData pkt = (KeepalivePacketData) message.obj; in processMessage() local
5419 int result = startWifiIPPacketOffload(slot, pkt, intervalSeconds); in processMessage()