Searched refs:p2pGroup (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/ |
D | IWifiP2pListener.aidl | 40 void onGroupCreated(in WifiP2pInfo p2pInfo, in WifiP2pGroup p2pGroup); in onGroupCreated() argument 41 void onPeerClientJoined(in WifiP2pInfo p2pInfo, in WifiP2pGroup p2pGroup); in onPeerClientJoined() argument 42 void onPeerClientDisconnected(in WifiP2pInfo p2pInfo, in WifiP2pGroup p2pGroup); in onPeerClientDisconnected() argument 43 void onFrequencyChanged(in WifiP2pInfo p2pInfo, in WifiP2pGroup p2pGroup); in onFrequencyChanged() argument
|
D | WifiP2pManager.java | 1368 @NonNull WifiP2pGroup p2pGroup) { in onGroupCreated() argument 1379 @NonNull WifiP2pGroup p2pGroup) { in onPeerClientJoined() argument 1390 @NonNull WifiP2pGroup p2pGroup) { in onPeerClientDisconnected() argument 1401 @NonNull WifiP2pGroup p2pGroup) { in onFrequencyChanged() argument 1536 public void onGroupCreated(WifiP2pInfo p2pInfo, WifiP2pGroup p2pGroup) { in onGroupCreated() argument 1538 mExecutor.execute(() -> mListener.onGroupCreated(p2pInfo, p2pGroup)); in onGroupCreated() 1542 public void onPeerClientJoined(WifiP2pInfo p2pInfo, WifiP2pGroup p2pGroup) { in onPeerClientJoined() argument 1544 mExecutor.execute(() -> mListener.onPeerClientJoined(p2pInfo, p2pGroup)); in onPeerClientJoined() 1548 public void onPeerClientDisconnected(WifiP2pInfo p2pInfo, WifiP2pGroup p2pGroup) { in onPeerClientDisconnected() argument 1550 mExecutor.execute(() -> mListener.onPeerClientDisconnected(p2pInfo, p2pGroup)); in onPeerClientDisconnected() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 7958 WifiP2pGroup p2pGroup = intent.getParcelableExtra( in testSendP2pConnectionChangedBroadcast() local 7964 && !p2pInfo.groupFormed && Objects.isNull(p2pGroup); in testSendP2pConnectionChangedBroadcast() 7976 WifiP2pGroup p2pGroup = intent.getParcelableExtra(WifiP2pManager.EXTRA_WIFI_P2P_GROUP); in testSendP2pConnectionChangedBroadcast() local 7980 assertNull(p2pGroup); in testSendP2pConnectionChangedBroadcast() 8048 WifiP2pGroup p2pGroup = intent.getParcelableExtra(WifiP2pManager.EXTRA_WIFI_P2P_GROUP); in testSendP2pConnectionChangedBroadcast() local 8049 assert p2pGroup != null; in testSendP2pConnectionChangedBroadcast() 8050 assertTrue(p2pGroup.isGroupOwner()); in testSendP2pConnectionChangedBroadcast() 8059 p2pGroup = intent.getParcelableExtra(WifiP2pManager.EXTRA_WIFI_P2P_GROUP); in testSendP2pConnectionChangedBroadcast() 8060 assert p2pGroup != null; in testSendP2pConnectionChangedBroadcast() 8061 assertTrue(p2pGroup.isGroupOwner()); in testSendP2pConnectionChangedBroadcast() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 1246 private void onGroupCreated(WifiP2pInfo p2pInfo, WifiP2pGroup p2pGroup) { in onGroupCreated() argument 1250 mWifiP2pListeners.getBroadcastItem(i).onGroupCreated(p2pInfo, p2pGroup); in onGroupCreated() 1258 private void onPeerClientJoined(WifiP2pInfo p2pInfo, WifiP2pGroup p2pGroup) { in onPeerClientJoined() argument 1262 mWifiP2pListeners.getBroadcastItem(i).onPeerClientJoined(p2pInfo, p2pGroup); in onPeerClientJoined() 1270 private void onPeerClientDisconnected(WifiP2pInfo p2pInfo, WifiP2pGroup p2pGroup) { in onPeerClientDisconnected() argument 1275 p2pGroup); in onPeerClientDisconnected() 1283 private void onFrequencyChanged(WifiP2pInfo p2pInfo, WifiP2pGroup p2pGroup) { in onFrequencyChanged() argument 1287 mWifiP2pListeners.getBroadcastItem(i).onFrequencyChanged(p2pInfo, p2pGroup); in onFrequencyChanged()
|