Home
last modified time | relevance | path

Searched refs:WifiAwareDiscoverySessionState (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareClientState.java54 private final SparseArray<WifiAwareDiscoverySessionState> mSessions = new SparseArray<>();
124 public SparseArray<WifiAwareDiscoverySessionState> getSessions() { in getSessions()
136 public WifiAwareDiscoverySessionState getAwareSessionStateForPubSubId(int pubSubId) { in getAwareSessionStateForPubSubId()
138 WifiAwareDiscoverySessionState session = mSessions.valueAt(i); in getAwareSessionStateForPubSubId()
152 public void addSession(WifiAwareDiscoverySessionState session) { in addSession()
183 public WifiAwareDiscoverySessionState terminateSession(int sessionId) { in terminateSession()
184 WifiAwareDiscoverySessionState session = mSessions.get(sessionId); in terminateSession()
203 public WifiAwareDiscoverySessionState getSession(int sessionId) { in getSession()
DWifiAwareStateManager.java509 SparseArray<WifiAwareDiscoverySessionState> sessions = client.getSessions(); in requestMacAddresses()
511 WifiAwareDiscoverySessionState session = sessions.valueAt(j); in requestMacAddresses()
514 WifiAwareDiscoverySessionState.PeerInfo peerInfo = session.getPeerInfo( in requestMacAddresses()
2242 SparseArray<WifiAwareDiscoverySessionState> sessions = client.getSessions(); in disconnectLocal()
2297 WifiAwareDiscoverySessionState session = client.terminateSession(sessionId); in terminateSessionLocal()
2344 WifiAwareDiscoverySessionState session = client.getSession(sessionId); in updatePublishLocal()
2401 WifiAwareDiscoverySessionState session = client.getSession(sessionId); in updateSubscribeLocal()
2431 WifiAwareDiscoverySessionState session = client.getSession(sessionId); in sendFollowonMessageLocal()
2693 WifiAwareDiscoverySessionState session = new WifiAwareDiscoverySessionState( in onSessionConfigSuccessLocal()
2721 WifiAwareDiscoverySessionState session = client.getSession(sessionId); in onSessionConfigSuccessLocal()
[all …]
DWifiAwareDiscoverySessionState.java39 public class WifiAwareDiscoverySessionState { class
73 public WifiAwareDiscoverySessionState(WifiAwareNativeApi wifiAwareNativeApi, int sessionId, in WifiAwareDiscoverySessionState() method in WifiAwareDiscoverySessionState
DWifiAwareMetrics.java286 SparseArray<WifiAwareDiscoverySessionState> sessions = client.getSessions(); in recordDiscoverySessionInternal()
288 WifiAwareDiscoverySessionState session = sessions.valueAt(j); in recordDiscoverySessionInternal()
DWifiAwareDataPathStateManager.java1314 WifiAwareDiscoverySessionState session = client.getSession(ns.sessionId); in processNetworkSpecifier()
1333 WifiAwareDiscoverySessionState.PeerInfo peerInfo = session.getPeerInfo( in processNetworkSpecifier()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java320 client1.addSession(new WifiAwareDiscoverySessionState(null, 100, (byte) 0, null, true, in testDiscoverySessionMetrics()
326 client1.addSession(new WifiAwareDiscoverySessionState(null, 101, (byte) 0, null, true, in testDiscoverySessionMetrics()
332 client3.addSession(new WifiAwareDiscoverySessionState(null, 111, (byte) 0, null, true, in testDiscoverySessionMetrics()
338 client2.addSession(new WifiAwareDiscoverySessionState(null, 102, (byte) 0, null, false, in testDiscoverySessionMetrics()
344 client2.addSession(new WifiAwareDiscoverySessionState(null, 103, (byte) 0, null, true, in testDiscoverySessionMetrics()
350 client3.addSession(new WifiAwareDiscoverySessionState(null, 112, (byte) 0, null, false, in testDiscoverySessionMetrics()
356 client3.addSession(new WifiAwareDiscoverySessionState(null, 113, (byte) 0, null, false, in testDiscoverySessionMetrics()
362 client3.addSession(new WifiAwareDiscoverySessionState(null, 114, (byte) 0, null, false, in testDiscoverySessionMetrics()
381 client2.addSession(new WifiAwareDiscoverySessionState(null, 104, (byte) 0, null, false, in testDiscoverySessionMetrics()
DWifiAwareStateManagerTest.java3384 WifiAwareDiscoverySessionState session = getInternalSessionState(client, sessionId); in validateInternalSessionInfoCleanedUp()
3403 SparseArray<WifiAwareDiscoverySessionState> sessions = in validateInternalNoSessions()
3404 (SparseArray<WifiAwareDiscoverySessionState>) field.get(client); in validateInternalNoSessions()
3460 private static WifiAwareDiscoverySessionState getInternalSessionState( in getInternalSessionState()
3465 SparseArray<WifiAwareDiscoverySessionState> sessions = in getInternalSessionState()
3466 (SparseArray<WifiAwareDiscoverySessionState>) field.get(client); in getInternalSessionState()