Home
last modified time | relevance | path

Searched refs:WifiAwareClientState (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareMetricsTest.java238 final SparseArray<WifiAwareClientState> clients = new SparseArray<>(); in testAttachSessionMetrics()
245 new WifiAwareClientState(mMockContext, 10, uid1, 0, null, null, null, null, false, in testAttachSessionMetrics()
251 new WifiAwareClientState(mMockContext, 11, uid1, 0, null, null, null, null, false, in testAttachSessionMetrics()
257 new WifiAwareClientState(mMockContext, 12, uid2, 0, null, null, null, null, false, in testAttachSessionMetrics()
263 new WifiAwareClientState(mMockContext, 13, uid2, 0, null, null, null, null, true, in testAttachSessionMetrics()
279 new WifiAwareClientState(mMockContext, 14, uid2, 0, null, null, null, null, false, in testAttachSessionMetrics()
318 final SparseArray<WifiAwareClientState> clients = new SparseArray<>(); in testDiscoverySessionMetrics()
322 WifiAwareClientState client1 = new WifiAwareClientState(mMockContext, 10, uid1, 0, null, in testDiscoverySessionMetrics()
324 WifiAwareClientState client2 = new WifiAwareClientState(mMockContext, 11, uid2, 0, null, in testDiscoverySessionMetrics()
326 WifiAwareClientState client3 = new WifiAwareClientState(mMockContext, 12, uid3, 0, null, in testDiscoverySessionMetrics()
DWifiAwareStateManagerTest.java628 mDut.onClusterChangeNotification(WifiAwareClientState.CLUSTER_CHANGE_EVENT_STARTED, in testAwareEventsDelivery()
3879 WifiAwareClientState client = getInternalClientState(mDut, clientId); in validateInternalClientInfoCleanedUp()
3894 WifiAwareClientState client = getInternalClientState(mDut, clientId); in validateInternalSessionInfoCleanedUp()
3909 WifiAwareClientState client = getInternalClientState(mDut, clientId); in validateInternalNoSessions()
3912 Field field = WifiAwareClientState.class.getDeclaredField("mSessions"); in validateInternalNoSessions()
3962 private static WifiAwareClientState getInternalClientState(WifiAwareStateManager dut, in getInternalClientState()
3967 SparseArray<WifiAwareClientState> clients = (SparseArray<WifiAwareClientState>) field.get( in getInternalClientState()
3974 WifiAwareClientState client, int sessionId) throws Exception { in getInternalSessionState()
3975 Field field = WifiAwareClientState.class.getDeclaredField("mSessions"); in getInternalSessionState()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareStateManager.java233 private final SparseArray<WifiAwareClientState> mClients = new SparseArray<>();
521 /* package */ WifiAwareClientState getClient(int clientId) { in getClient()
565 WifiAwareClientState clientState = mClients.valueAt(i); in getNumOfDiscoverySessions()
602 WifiAwareClientState client = mClients.valueAt(i); in requestMacAddresses()
2410 WifiAwareClientState client = new WifiAwareClientState(mContext, clientId, uid, pid, in connectLocal()
2451 WifiAwareClientState client = mClients.get(clientId); in disconnectLocal()
2517 WifiAwareClientState client = mClients.get(clientId); in terminateSessionLocal()
2541 WifiAwareClientState client = mClients.get(clientId); in publishLocal()
2573 WifiAwareClientState client = mClients.get(clientId); in updatePublishLocal()
2601 WifiAwareClientState client = mClients.get(clientId); in subscribeLocal()
[all …]
DWifiAwareMetrics.java214 SparseArray<WifiAwareClientState> clients) { in recordAttachSession()
258 public void recordDiscoverySession(int uid, SparseArray<WifiAwareClientState> clients) { in recordDiscoverySession()
266 int minRange, int maxRange, SparseArray<WifiAwareClientState> clients) { in recordDiscoverySessionWithRanging()
273 private void recordDiscoverySessionInternal(int uid, SparseArray<WifiAwareClientState> clients, in recordDiscoverySessionInternal()
287 WifiAwareClientState client = clients.valueAt(i); in recordDiscoverySessionInternal()
DWifiAwareClientState.java45 public class WifiAwareClientState { class
72 public WifiAwareClientState(Context context, int clientId, int uid, int pid, in WifiAwareClientState() method in WifiAwareClientState
DWifiAwareNativeCallback.java422 WifiAwareClientState.CLUSTER_CHANGE_EVENT_STARTED, event.addr); in eventClusterEvent()
425 WifiAwareClientState.CLUSTER_CHANGE_EVENT_JOINED, event.addr); in eventClusterEvent()
DWifiAwareDataPathStateManager.java1417 WifiAwareClientState client = mgr.getClient(ns.clientId); in processNetworkSpecifier()
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp525 "com.android.server.wifi.aware.WifiAwareClientState",
526 "com.android.server.wifi.aware.WifiAwareClientState$*",
527 "com.android.server.wifi.aware.WifiAwareClientState.**",