/packages/modules/adb/pairing_connection/include/adb/pairing/ |
D | pairing_connection.h | 41 struct PeerInfo { struct 45 typedef struct PeerInfo PeerInfo; argument 46 static_assert(sizeof(PeerInfo) == kMaxPeerInfoSize, "PeerInfo has weird size"); 55 typedef void (*pairing_result_cb)(const PeerInfo*, int, void*); 97 const PeerInfo* peer_info, 116 const PeerInfo* peer_info,
|
D | pairing_server.h | 47 typedef void (*pairing_server_result_cb)(const PeerInfo*, void*) __INTRODUCED_IN(30); 83 const PeerInfo* peer_info, const uint8_t* x509_cert_pem, 101 const PeerInfo* peer_info, uint16_t port)
|
/packages/modules/adb/pairing_connection/tests/ |
D | pairing_client.cpp | 50 explicit PairingClientImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, 63 static ConnectionPtr CreatePairingConnection(const Data& pswd, const PeerInfo& peer_info, 66 static void PairingResultCallback(const PeerInfo* peer_info, int fd, void* opaque); 78 PeerInfo peer_info_; 91 const PeerInfo& peer_info, in CreatePairingConnection() 99 PairingClientImpl::PairingClientImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, in PairingClientImpl() 156 void PairingClientImpl::PairingResultCallback(const PeerInfo* peer_info, int /* fd */, in PairingResultCallback() 191 std::unique_ptr<PairingClient> PairingClient::Create(const Data& pswd, const PeerInfo& peer_info, in Create()
|
D | pairing_client.h | 29 typedef void (*pairing_client_result_cb)(const PeerInfo*, void*); 60 static std::unique_ptr<PairingClient> Create(const Data& pswd, const PeerInfo& peer_info,
|
D | pairing_connection_test.cpp | 149 PeerInfo peer_info_; 151 static void ResultCallback(const PeerInfo* peer_info, void* opaque) { in ResultCallback() 156 memcpy(&(p->peer_info_), peer_info, sizeof(PeerInfo)); in ResultCallback() 194 static ServerPtr CreateServer(const std::vector<uint8_t>& pswd, const PeerInfo* peer_info, in CreateServer() 204 const PeerInfo server_info_ = { 209 const PeerInfo client_info_ = {
|
/packages/modules/adb/pairing_connection/ |
D | pairing_connection.cpp | 78 explicit PairingConnectionCtx(Role role, const Data& pswd, const PeerInfo& peer_info, 123 void NotifyResult(const PeerInfo* p); 137 PeerInfo peer_info_; 142 PeerInfo their_info_; 153 PairingConnectionCtx::PairingConnectionCtx(Role role, const Data& pswd, const PeerInfo& peer_info, in PairingConnectionCtx() 272 void PairingConnectionCtx::NotifyResult(const PeerInfo* p) { in NotifyResult() 395 if (outbuf.size() != sizeof(PeerInfo)) { in DoExchangePeerInfo() 396 LOG(ERROR) << "Got size=" << outbuf.size() << "PeerInfo.size=" << sizeof(PeerInfo); in DoExchangePeerInfo() 401 ::memcpy(&their_info_, p, sizeof(PeerInfo)); in DoExchangePeerInfo() 402 p += sizeof(PeerInfo); in DoExchangePeerInfo() [all …]
|
D | pairing_server.cpp | 59 explicit PairingServerCtx(const Data& pswd, const PeerInfo& peer_info, const Data& cert, 91 static ConnectionPtr CreatePairingConnection(const Data& pswd, const PeerInfo& peer_info, 111 static void PairingConnectionCallback(const PeerInfo* peer_info, int fd, void* opaque); 126 PeerInfo peer_info_; 145 const PeerInfo& peer_info, in CreatePairingConnection() 153 PairingServerCtx::PairingServerCtx(const Data& pswd, const PeerInfo& peer_info, const Data& cert, in PairingServerCtx() 295 void PairingServerCtx::PairingConnectionCallback(const PeerInfo* peer_info, int fd, void* opaque) { in PairingConnectionCallback() 374 PeerInfo info = {}; in ConnectionEventsWorker() 428 const PeerInfo* peer_info, const uint8_t* x509_cert_pem, in pairing_server_new() 445 const PeerInfo* peer_info, uint16_t port) { in pairing_server_new_no_cert()
|
/packages/modules/adb/client/pairing/ |
D | pairing_client.cpp | 50 explicit PairingClientImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, 62 static void OnPairingResult(const PeerInfo* peer_info, int fd, void* opaque); 76 PeerInfo peer_info_; 87 PairingClientImpl::PairingClientImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, in PairingClientImpl() 155 void PairingClientImpl::OnPairingResult(const PeerInfo* peer_info, int /* fd */, void* opaque) { in OnPairingResult() 163 std::unique_ptr<PairingClient> PairingClient::Create(const Data& pswd, const PeerInfo& peer_info, in Create()
|
D | pairing_client.h | 32 typedef void (*pairing_client_result_cb)(const PeerInfo*, void*); 60 static std::unique_ptr<PairingClient> Create(const Data& pswd, const PeerInfo& peer_info,
|
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDiscoverySessionState.java | 74 static class PeerInfo { class in WifiAwareDiscoverySessionState 75 PeerInfo(int instanceId, byte[] mac) { in PeerInfo() method in WifiAwareDiscoverySessionState.PeerInfo 91 private final SparseArray<PeerInfo> mPeerInfoByRequestorInstanceId = new SparseArray<>(); 192 public PeerInfo getPeerInfo(int peerId) { in getPeerInfo() 305 PeerInfo peerInfo = mPeerInfoByRequestorInstanceId.get(peerId); in sendMessage() 425 PeerInfo peerInfo = mPeerInfoByRequestorInstanceId.get(peerId); in initiatePairing() 477 PeerInfo peerInfo = mPeerInfoByRequestorInstanceId.get(peerId); in respondToPairingRequest() 523 PeerInfo peerInfo = mPeerInfoByRequestorInstanceId.get(peerId); in initiateBootstrapping() 562 PeerInfo peerInfo = mPeerInfoByRequestorInstanceId.get(peerId); in respondToBootstrapping() 623 PeerInfo peerInfo = mPeerInfoByRequestorInstanceId.valueAt(i); in onMatchExpired() [all …]
|
D | WifiAwareDataPathStateManager.java | 1532 WifiAwareDiscoverySessionState.PeerInfo peerInfo = session.getPeerInfo( in processNetworkSpecifier()
|
D | WifiAwareStateManager.java | 941 WifiAwareDiscoverySessionState.PeerInfo peerInfo = session.getPeerInfo( in requestMacAddresses()
|
/packages/modules/adb/client/pairing/tests/ |
D | pairing_connection_test.cpp | 126 const PeerInfo server_info_ = { 131 const PeerInfo client_info_ = { 194 auto server_callback = [&](const PeerInfo* peer_info, const std::vector<uint8_t>* cert, in TEST_F() 219 auto client_callback = [&](const PeerInfo* peer_info, const std::vector<uint8_t>* cert, in TEST_F() 262 auto server_callback = [&](const PeerInfo* peer_info, const std::vector<uint8_t>* cert, in TEST_F() 280 auto client_callback = [&](const PeerInfo* peer_info, const std::vector<uint8_t>* cert, in TEST_F() 311 auto server_callback = [&](const PeerInfo* peer_info, const std::vector<uint8_t>* cert, in TEST_F() 334 auto callback = [&](const PeerInfo* peer_info, const std::vector<uint8_t>* cert, in TEST_F() 373 auto server_callback = [&](const PeerInfo* peer_info, const std::vector<uint8_t>* cert, in TEST_F() 411 auto callback = [&](const PeerInfo* peer_info, const std::vector<uint8_t>* cert, in TEST_F() [all …]
|
D | pairing_server.cpp | 56 explicit PairingServerImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, 116 PeerInfo peer_info_; 133 PairingServerImpl::PairingServerImpl(const Data& pswd, const PeerInfo& peer_info, const Data& cert, in PairingServerImpl() 316 [fd](const PeerInfo* peer_info, const Data* cert, void* opaque) { in connectionEventsWorker() 351 PeerInfo info = {}; in connectionEventsWorker() 396 std::unique_ptr<PairingServer> PairingServer::create(const Data& pswd, const PeerInfo& peer_info, in create()
|
D | pairing_server.h | 61 static std::unique_ptr<PairingServer> create(const Data& pswd, const PeerInfo& peer_info,
|
/packages/modules/adb/client/ |
D | adb_wifi.cpp | 44 PeerInfo peer_info_; 46 static void OnResult(const PeerInfo* peer_info, void* opaque) { in OnResult() 53 memcpy(&(p->peer_info_), peer_info, sizeof(PeerInfo)); in OnResult() 210 PeerInfo system_info = {}; in adb_wifi_pair_device()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiLinkLayerStats.java | 156 public PeerInfo[] peerInfo; 384 public static class PeerInfo { class in WifiLinkLayerStats 402 public PeerInfo[] peerInfo; 580 for (PeerInfo peer : link.peerInfo) { in toString() 660 PeerInfo peer = this.peerInfo[i]; in toString() 761 peerInfo = new PeerInfo[numOfPeers]; in aggregatePeerStats() 765 for (PeerInfo peer : link.peerInfo) { in aggregatePeerStats() 766 peerInfo[i] = new PeerInfo(); in aggregatePeerStats()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/ |
D | WifiStaIfaceHidlImpl.java | 1078 stats.links[DEFAULT_LINK].peerInfo = new WifiLinkLayerStats.PeerInfo[iface.peers.size()]; in setIfaceStats_1_5() 1080 WifiLinkLayerStats.PeerInfo peer = new WifiLinkLayerStats.PeerInfo(); in setIfaceStats_1_5() 1146 stats.links[DEFAULT_LINK].peerInfo = new WifiLinkLayerStats.PeerInfo[iface.peers.size()]; in setIfaceStats_1_6() 1148 WifiLinkLayerStats.PeerInfo peer = new WifiLinkLayerStats.PeerInfo(); in setIfaceStats_1_6()
|
D | WifiStaIfaceAidlImpl.java | 1428 stats.links[linkIndex].peerInfo = new WifiLinkLayerStats.PeerInfo[aidlStats.peers.length]; in setIfaceStatsPerLinkFromAidl() 1430 WifiLinkLayerStats.PeerInfo peer = new WifiLinkLayerStats.PeerInfo(); in setIfaceStatsPerLinkFromAidl()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 106 import com.android.server.wifi.WifiLinkLayerStats.PeerInfo; 4009 private PeerInfo[] createNewPeerInfo(PeerInfo[] current) { in createNewPeerInfo() 4013 PeerInfo[] out = new PeerInfo[current.length]; in createNewPeerInfo() 4034 out[i] = new PeerInfo(); in createNewPeerInfo() 4256 PeerInfo curPeer = stats.peerInfo[i]; in assertUsabilityStatsAssignment() 4398 PeerInfo[] peerInfo = new PeerInfo[1]; in createNewWifiLinkLayerStats() 4399 peerInfo[0] = new PeerInfo(); in createNewWifiLinkLayerStats()
|