Home
last modified time | relevance | path

Searched refs:WifiAwareManager (Results 1 – 21 of 21) sorted by relevance

/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DDiscoverySession.java53 protected WeakReference<WifiAwareManager> mMgr;
76 public DiscoverySession(WifiAwareManager manager, int clientId, int sessionId) { in DiscoverySession()
102 WifiAwareManager mgr = mMgr.get(); in close()
215 WifiAwareManager mgr = mMgr.get(); in sendMessage()
296 WifiAwareManager mgr = mMgr.get(); in createNetworkSpecifierOpen()
303 ? WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR in createNetworkSpecifierOpen()
304 : WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER; in createNetworkSpecifierOpen()
355 WifiAwareManager mgr = mMgr.get(); in createNetworkSpecifierPassphrase()
362 ? WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR in createNetworkSpecifierPassphrase()
363 : WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER; in createNetworkSpecifierPassphrase()
[all …]
DWifiAwareSession.java43 private final WeakReference<WifiAwareManager> mMgr;
51 public WifiAwareSession(WifiAwareManager manager, Binder binder, int clientId) { in WifiAwareSession()
74 WifiAwareManager mgr = mMgr.get(); in close()
151 WifiAwareManager mgr = mMgr.get(); in publish()
199 WifiAwareManager mgr = mMgr.get(); in subscribe()
246 @WifiAwareManager.DataPathRole int role, @NonNull byte[] peer) { in createNetworkSpecifierOpen()
247 WifiAwareManager mgr = mMgr.get(); in createNetworkSpecifierOpen()
293 @WifiAwareManager.DataPathRole int role, @NonNull byte[] peer, in createNetworkSpecifierPassphrase()
295 WifiAwareManager mgr = mMgr.get(); in createNetworkSpecifierPassphrase()
350 @WifiAwareManager.DataPathRole int role, @NonNull byte[] peer, @NonNull byte[] pmk) { in createNetworkSpecifierPmk()
[all …]
DWifiAwareManager.java117 public class WifiAwareManager { class
187 public WifiAwareManager(@NonNull Context context, @NonNull IWifiAwareManager service) { in WifiAwareManager() method in WifiAwareManager
603 private final WeakReference<WifiAwareManager> mAwareManager;
613 WifiAwareEventCallbackProxy(WifiAwareManager mgr, Looper looper, Binder binder, in WifiAwareEventCallbackProxy()
629 WifiAwareManager mgr = mAwareManager.get(); in WifiAwareEventCallbackProxy()
700 private final WeakReference<WifiAwareManager> mAwareManager;
708 WifiAwareDiscoverySessionCallbackProxy(WifiAwareManager mgr, Looper looper, in WifiAwareDiscoverySessionCallbackProxy()
913 WifiAwareManager mgr = mAwareManager.get(); in onProxySessionStarted()
DSubscribeDiscoverySession.java38 public SubscribeDiscoverySession(WifiAwareManager manager, int clientId, in SubscribeDiscoverySession()
64 WifiAwareManager mgr = mMgr.get(); in updateSubscribe()
DPublishDiscoverySession.java35 public PublishDiscoverySession(WifiAwareManager manager, int clientId, int sessionId) { in PublishDiscoverySession()
59 WifiAwareManager mgr = mMgr.get(); in updatePublish()
DWifiAwareNetworkSpecifier.java19 import static android.net.wifi.aware.WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR;
460 : WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER; in build()
463 if (role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER) { in build()
DDiscoverySessionCallback.java205 @WifiAwareManager.DiscoveryLostReasonCode int reason) { in onServiceLost()
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/
DRttService.java20 import android.net.wifi.aware.WifiAwareManager;
64 WifiAwareManager awareManager = getContext().getSystemService(WifiAwareManager.class); in onBootPhase()
DRttServiceImpl.java33 import android.net.wifi.aware.WifiAwareManager;
88 private WifiAwareManager mAwareManager;
246 public void start(Looper looper, Clock clock, WifiAwareManager awareManager, in start()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiFrameworkInitializer.java22 import android.net.wifi.aware.WifiAwareManager;
90 WifiAwareManager.class, in registerServiceWrappers()
93 return new WifiAwareManager(context, service); in registerServiceWrappers()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java68 import android.net.wifi.aware.WifiAwareManager;
609 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, peerDiscoveryMac, null, in testMultipleIdenticalRequests()
672 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, peerDiscoveryMac, null, in testMultipleIdenticalRequests()
752 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, peerDiscoveryMac, pmk, in testMultipleNdiToSamePeer()
839 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, peerDiscoveryMac, pmk, in testMultipleNdiToDifferentPeer()
930 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, peerDiscoveryMac, pmk, in testMultipleNdpToDifferentPeerOnSingleNdi()
981 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, peerDiscoveryMac, pmk, in testMultipleNdpToDifferentPeerOnSingleNdi()
1543 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, in testDataPathInitiatorUtilityMore()
1708 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testDataPathResponderUtility()
1797 final WifiAwareManager mgr = new WifiAwareManager(mMockContext, mockAwareService); in getSessionNetworkRequestMore()
[all …]
DWifiAwareStateManagerTest.java64 import android.net.wifi.aware.WifiAwareManager;
3932 equalTo(WifiAwareManager.ACTION_WIFI_AWARE_STATE_CHANGED)); in validateCorrectAwareStatusChangeBroadcast()
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt68 Landroid/net/wifi/aware/DiscoverySession;-><init>(Landroid/net/wifi/aware/WifiAwareManager;II)V
197 Landroid/net/wifi/aware/PublishDiscoverySession;-><init>(Landroid/net/wifi/aware/WifiAwareManager;I…
221 Landroid/net/wifi/aware/SubscribeDiscoverySession;-><init>(Landroid/net/wifi/aware/WifiAwareManager
277 Landroid/net/wifi/aware/WifiAwareManager$WifiAwareDiscoverySessionCallbackProxy;-><init>(Landroid/n…
278 Landroid/net/wifi/aware/WifiAwareManager$WifiAwareDiscoverySessionCallbackProxy;->CALLBACK_MATCH:I
279 Landroid/net/wifi/aware/WifiAwareManager$WifiAwareDiscoverySessionCallbackProxy;->CALLBACK_MATCH_WI…
280 Landroid/net/wifi/aware/WifiAwareManager$WifiAwareDiscoverySessionCallbackProxy;->CALLBACK_MESSAGE_…
281 Landroid/net/wifi/aware/WifiAwareManager$WifiAwareDiscoverySessionCallbackProxy;->CALLBACK_MESSAGE_…
282 Landroid/net/wifi/aware/WifiAwareManager$WifiAwareDiscoverySessionCallbackProxy;->CALLBACK_MESSAGE_…
283 Landroid/net/wifi/aware/WifiAwareManager$WifiAwareDiscoverySessionCallbackProxy;->CALLBACK_SESSION_…
[all …]
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java19 import static android.net.wifi.aware.WifiAwareManager.WIFI_AWARE_DISCOVERY_LOST_REASON_PEER_NOT_VIS…
70 private WifiAwareManager mDut;
124 mDut = new WifiAwareManager(mockContext, mockAwareService); in setUp()
1033 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient()
1039 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient()
1054 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient()
1061 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient()
1080 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient()
1087 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient()
1109 final int role = WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR; in testNetworkSpecifierDirect()
[all …]
DWifiAwareAgentNetworkSpecifierTest.java173 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, clientId, 0, 0, new byte[6], in getMockNetworkSpecifier()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java41 import android.net.wifi.aware.WifiAwareManager;
640 == WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR) { in onDataPathConfirm()
1007 == WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR) { in needNetworkFor()
1400 if (ns.role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR in processNetworkSpecifier()
1401 && ns.role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER) { in processNetworkSpecifier()
1407 if (ns.role == WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR in processNetworkSpecifier()
1446 if (ns.role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER) { in processNetworkSpecifier()
1470 && ns.role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER) || ( in processNetworkSpecifier()
1472 != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR)) { in processNetworkSpecifier()
DWifiAwareStateManager.java38 import android.net.wifi.aware.WifiAwareManager;
2348 final Intent intent = new Intent(WifiAwareManager.ACTION_WIFI_AWARE_STATE_CHANGED); in sendAwareStateChangedBroadcast()
/packages/modules/Wifi/framework/java/android/net/wifi/rtt/
DRangingRequest.java28 import android.net.wifi.aware.WifiAwareManager;
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java55 import android.net.wifi.aware.WifiAwareManager;
149 public WifiAwareManager mockAwareManager;
/packages/modules/Wifi/framework/api/
Dsystem-current.txt1024 public class WifiAwareManager {
Dcurrent.txt775 public class WifiAwareManager {