Home
last modified time | relevance | path

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

/frameworks/base/wifi/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()
214 WifiAwareManager mgr = mMgr.get(); in sendMessage()
295 WifiAwareManager mgr = mMgr.get(); in createNetworkSpecifierOpen()
302 ? WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR in createNetworkSpecifierOpen()
303 : WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER; in createNetworkSpecifierOpen()
354 WifiAwareManager mgr = mMgr.get(); in createNetworkSpecifierPassphrase()
361 ? WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR in createNetworkSpecifierPassphrase()
362 : 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()
148 WifiAwareManager mgr = mMgr.get(); in publish()
194 WifiAwareManager mgr = mMgr.get(); in subscribe()
235 @WifiAwareManager.DataPathRole int role, @NonNull byte[] peer) { in createNetworkSpecifierOpen()
236 WifiAwareManager mgr = mMgr.get(); in createNetworkSpecifierOpen()
276 @WifiAwareManager.DataPathRole int role, @NonNull byte[] peer, in createNetworkSpecifierPassphrase()
278 WifiAwareManager mgr = mMgr.get(); in createNetworkSpecifierPassphrase()
327 @WifiAwareManager.DataPathRole int role, @NonNull byte[] peer, @NonNull byte[] pmk) { in createNetworkSpecifierPmk()
[all …]
DPublishDiscoverySession.java35 public PublishDiscoverySession(WifiAwareManager manager, int clientId, int sessionId) { in PublishDiscoverySession()
59 WifiAwareManager mgr = mMgr.get(); in updatePublish()
DSubscribeDiscoverySession.java38 public SubscribeDiscoverySession(WifiAwareManager manager, int clientId, in SubscribeDiscoverySession()
64 WifiAwareManager mgr = mMgr.get(); in updateSubscribe()
DWifiAwareManager.java113 public class WifiAwareManager { class
161 public WifiAwareManager(Context context, IWifiAwareManager service) { in WifiAwareManager() method in WifiAwareManager
488 private final WeakReference<WifiAwareManager> mAwareManager;
498 WifiAwareEventCallbackProxy(WifiAwareManager mgr, Looper looper, Binder binder, in WifiAwareEventCallbackProxy()
514 WifiAwareManager mgr = mAwareManager.get(); in WifiAwareEventCallbackProxy()
584 private final WeakReference<WifiAwareManager> mAwareManager;
592 WifiAwareDiscoverySessionCallbackProxy(WifiAwareManager mgr, Looper looper, in WifiAwareDiscoverySessionCallbackProxy()
783 WifiAwareManager mgr = mAwareManager.get(); in onProxySessionStarted()
DWifiAwareNetworkSpecifier.java19 import static android.net.wifi.aware.WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR;
443 : WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER; in build()
446 if (role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER) { in build()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java66 import android.net.wifi.aware.WifiAwareManager;
635 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, peerDiscoveryMac, null, in testMultipleIdenticalRequests()
696 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, peerDiscoveryMac, null, in testMultipleIdenticalRequests()
776 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, peerDiscoveryMac, pmk, in testMultipleNdi()
1340 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, in testDataPathInitiatorUtilityMore()
1496 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testDataPathResponderUtility()
1594 final WifiAwareManager mgr = new WifiAwareManager(mMockContext, mockAwareService); in getSessionNetworkRequestMore()
1645 doPublish ? WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER in getSessionNetworkRequestMore()
1646 : WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, sessionId, in getSessionNetworkRequestMore()
1650 doPublish ? WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER in getSessionNetworkRequestMore()
[all …]
DWifiAwareStateManagerTest.java62 import android.net.wifi.aware.WifiAwareManager;
3419 equalTo(WifiAwareManager.ACTION_WIFI_AWARE_STATE_CHANGED)); in validateCorrectAwareStatusChangeBroadcast()
/frameworks/base/wifi/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java67 private WifiAwareManager mDut;
121 mDut = new WifiAwareManager(mockContext, mockAwareService); in setUp()
968 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient()
974 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient()
989 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient()
996 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient()
1015 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient()
1022 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient()
1044 final int role = WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR; in testNetworkSpecifierDirect()
1463 final int role = doInitiator ? WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR in executeNetworkSpecifierDirect()
[all …]
DWifiAwareAgentNetworkSpecifierTest.java173 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, clientId, 0, 0, new byte[6], in getMockNetworkSpecifier()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java41 import android.net.wifi.aware.WifiAwareManager;
588 == WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR) { in onDataPathConfirm()
929 == WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR) { in needNetworkFor()
1253 if (ns.role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR in processNetworkSpecifier()
1254 && ns.role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER) { in processNetworkSpecifier()
1260 if (ns.role == WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR in processNetworkSpecifier()
1299 if (ns.role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER) { in processNetworkSpecifier()
1323 && ns.role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER) || ( in processNetworkSpecifier()
1325 != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR)) { in processNetworkSpecifier()
DWifiAwareStateManager.java34 import android.net.wifi.aware.WifiAwareManager;
2137 final Intent intent = new Intent(WifiAwareManager.ACTION_WIFI_AWARE_STATE_CHANGED); in sendAwareStateChangedBroadcast()
/frameworks/base/wifi/java/android/net/wifi/rtt/
DRangingRequest.java28 import android.net.wifi.aware.WifiAwareManager;
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java130 import android.net.wifi.aware.WifiAwareManager;
792 registerService(Context.WIFI_AWARE_SERVICE, WifiAwareManager.class, in registerService()
793 new CachedServiceFetcher<WifiAwareManager>() { in registerService()
795 public WifiAwareManager createService(ContextImpl ctx) throws ServiceNotFoundException { in registerService()
801 return new WifiAwareManager(ctx.getOuterContext(), service); in registerService()
/frameworks/base/api/
Dlint-baseline.txt829 RequiresPermission: android.net.wifi.aware.WifiAwareManager#attach(android.net.wifi.aware.AttachCal…
Dcurrent.txt30499 public class WifiAwareManager {
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt45568 Landroid/net/wifi/aware/DiscoverySession;-><init>(Landroid/net/wifi/aware/WifiAwareManager;II)V
45697 Landroid/net/wifi/aware/PublishDiscoverySession;-><init>(Landroid/net/wifi/aware/WifiAwareManager;I…
45721 Landroid/net/wifi/aware/SubscribeDiscoverySession;-><init>(Landroid/net/wifi/aware/WifiAwareManager
45777 Landroid/net/wifi/aware/WifiAwareManager$WifiAwareDiscoverySessionCallbackProxy;-><init>(Landroid/n…
45778 Landroid/net/wifi/aware/WifiAwareManager$WifiAwareDiscoverySessionCallbackProxy;->CALLBACK_MATCH:I
45779 Landroid/net/wifi/aware/WifiAwareManager$WifiAwareDiscoverySessionCallbackProxy;->CALLBACK_MATCH_WI…
45780 Landroid/net/wifi/aware/WifiAwareManager$WifiAwareDiscoverySessionCallbackProxy;->CALLBACK_MESSAGE_…
45781 Landroid/net/wifi/aware/WifiAwareManager$WifiAwareDiscoverySessionCallbackProxy;->CALLBACK_MESSAGE_…
45782 Landroid/net/wifi/aware/WifiAwareManager$WifiAwareDiscoverySessionCallbackProxy;->CALLBACK_MESSAGE_…
45783 Landroid/net/wifi/aware/WifiAwareManager$WifiAwareDiscoverySessionCallbackProxy;->CALLBACK_SESSION_…
[all …]
Dpreloaded-classes2640 android.net.wifi.aware.WifiAwareManager
Dboot-image-profile.txt35047 Landroid/net/wifi/aware/WifiAwareManager;
/frameworks/base/non-updatable-api/
Dcurrent.txt30355 public class WifiAwareManager {