/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
D | DiscoverySession.java | 61 protected WeakReference<WifiAwareManager> mMgr; 84 public DiscoverySession(WifiAwareManager manager, int clientId, int sessionId) { in DiscoverySession() 110 WifiAwareManager mgr = mMgr.get(); in close() 223 WifiAwareManager mgr = mMgr.get(); in sendMessage() 294 WifiAwareManager mgr = mMgr.get(); in initiatePairingRequest() 334 WifiAwareManager mgr = mMgr.get(); in acceptPairingRequest() 364 WifiAwareManager mgr = mMgr.get(); in rejectPairingRequest() 395 WifiAwareManager mgr = mMgr.get(); in initiateBootstrappingRequest() 422 WifiAwareManager mgr = mMgr.get(); in suspend() 455 WifiAwareManager mgr = mMgr.get(); in resume() [all …]
|
D | WifiAwareSession.java | 54 private final WeakReference<WifiAwareManager> mMgr; 62 public WifiAwareSession(WifiAwareManager manager, Binder binder, int clientId) { in WifiAwareSession() 85 WifiAwareManager mgr = mMgr.get(); in close() 174 WifiAwareManager mgr = mMgr.get(); in publish() 234 WifiAwareManager mgr = mMgr.get(); in subscribe() 258 WifiAwareManager mgr = mMgr.get(); in setMasterPreference() 282 WifiAwareManager mgr = mMgr.get(); in getMasterPreference() 328 @WifiAwareManager.DataPathRole int role, @NonNull byte[] peer) { in createNetworkSpecifierOpen() 329 WifiAwareManager mgr = mMgr.get(); in createNetworkSpecifierOpen() 375 @WifiAwareManager.DataPathRole int role, @NonNull byte[] peer, in createNetworkSpecifierPassphrase() [all …]
|
D | DiscoverySessionCallback.java | 119 @WifiAwareManager.SessionSuspensionFailedReasonCode int reason) { in onSessionSuspendFailed() 145 @WifiAwareManager.SessionResumptionFailedReasonCode int reason) { in onSessionResumeFailed() 305 @WifiAwareManager.DiscoveryLostReasonCode int reason) { in onServiceLost()
|
D | WifiAwareManager.java | 139 public class WifiAwareManager { class 309 public WifiAwareManager(@NonNull Context context, @NonNull IWifiAwareManager service) { in WifiAwareManager() method in WifiAwareManager 916 private final WeakReference<WifiAwareManager> mAwareManager; 930 WifiAwareEventCallbackProxy(WifiAwareManager mgr, Executor executor, Binder binder, in WifiAwareEventCallbackProxy() 945 WifiAwareManager mgr = mAwareManager.get(); in onConnectSuccess() 959 WifiAwareManager mgr = mAwareManager.get(); in onConnectFail() 974 WifiAwareManager mgr = mAwareManager.get(); in onIdentityChanged() 992 WifiAwareManager mgr = mAwareManager.get(); in onAttachTerminate() 1008 WifiAwareManager mgr = mAwareManager.get(); in onClusterIdChanged() 1029 private final WeakReference<WifiAwareManager> mAwareManager; [all …]
|
D | SubscribeDiscoverySession.java | 38 public SubscribeDiscoverySession(WifiAwareManager manager, int clientId, in SubscribeDiscoverySession() 64 WifiAwareManager mgr = mMgr.get(); in updateSubscribe()
|
D | PublishDiscoverySession.java | 35 public PublishDiscoverySession(WifiAwareManager manager, int clientId, int sessionId) { in PublishDiscoverySession() 59 WifiAwareManager mgr = mMgr.get(); in updatePublish()
|
D | WifiAwareNetworkSpecifier.java | 20 import static android.net.wifi.aware.WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR; 604 : WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER; in build() 607 if (role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER) { in build()
|
D | SubscribeConfig.java | 363 @WifiAwareManager.InstantModeBand 642 boolean enabled, @WifiAwareManager.InstantModeBand int band) { in setInstantCommunicationModeEnabled()
|
D | PublishConfig.java | 328 @WifiAwareManager.InstantModeBand 572 boolean enabled, @WifiAwareManager.InstantModeBand int band) { in setInstantCommunicationModeEnabled()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/rtt/ |
D | RttService.java | 21 import android.net.wifi.aware.WifiAwareManager; 61 WifiAwareManager awareManager = getContext().getSystemService(WifiAwareManager.class); in onBootPhase()
|
D | RttServiceImpl.java | 41 import android.net.wifi.aware.WifiAwareManager; 105 private WifiAwareManager mAwareManager; 309 public void start(Looper looper, Clock clock, WifiAwareManager awareManager, in start()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiFrameworkInitializer.java | 23 import android.net.wifi.aware.WifiAwareManager; 102 WifiAwareManager.class, in registerServiceWrappers() 109 return new WifiAwareManager(context, service); in registerServiceWrappers()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManagerTest.java | 75 import android.net.wifi.aware.WifiAwareManager; 679 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, peerDiscoveryMac, null, in testMultipleIdenticalRequests() 747 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, peerDiscoveryMac, null, in testMultipleIdenticalRequests() 833 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, peerDiscoveryMac, pmk, in testMultipleNdiToSamePeer() 925 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, peerDiscoveryMac, pmk, in testMultipleNdiToSamePeerWithSecurityUpgrade() 1019 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, peerDiscoveryMac, pmk, in testMultipleNdiToDifferentPeer() 1118 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, peerDiscoveryMac, pmk, in testMultipleNdpToDifferentPeerOnSingleNdi() 1175 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, peerDiscoveryMac, pmk, in testMultipleNdpToDifferentPeerOnSingleNdi() 1739 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, in testDataPathInitiatorUtilityMore() 1925 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testDataPathResponderUtility() [all …]
|
D | WifiAwareMetricsTest.java | 31 import android.net.wifi.aware.WifiAwareManager; 636 final int role_init = WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR; in testDataPathMetrics() 637 final int role_resp = WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER; in testDataPathMetrics()
|
/packages/modules/Wifi/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 68 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/service/java/com/android/server/wifi/aware/ |
D | WifiAwareDiscoverySessionState.java | 19 import static android.net.wifi.aware.WifiAwareManager.WIFI_AWARE_SUSPEND_INTERNAL_ERROR; 34 import android.net.wifi.aware.WifiAwareManager; 362 public void onSuspendFail(@WifiAwareManager.SessionSuspensionFailedReasonCode int reason) { in onSuspendFail() 401 public void onResumeFail(@WifiAwareManager.SessionResumptionFailedReasonCode int reason) { in onResumeFail()
|
D | WifiAwareDataPathStateManager.java | 40 import android.net.wifi.aware.WifiAwareManager; 650 == WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR) { in onDataPathConfirm() 1033 == WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR) { in needNetworkFor() 1451 if (ns.role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR in processNetworkSpecifier() 1452 && ns.role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER) { in processNetworkSpecifier() 1458 if (ns.role == WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR in processNetworkSpecifier() 1497 if (ns.role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER) { in processNetworkSpecifier() 1522 && ns.role != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER) || ( in processNetworkSpecifier() 1524 != WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR)) { in processNetworkSpecifier()
|
D | WifiAwareMetrics.java | 24 import android.net.wifi.aware.WifiAwareManager; 994 case WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR: in convertNdpRoleToWifiStatsLogEnum() 996 case WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER: in convertNdpRoleToWifiStatsLogEnum()
|
D | WifiAwareStateManager.java | 22 import static android.net.wifi.aware.WifiAwareManager.WIFI_AWARE_RESUME_INTERNAL_ERROR; 23 import static android.net.wifi.aware.WifiAwareManager.WIFI_AWARE_RESUME_INVALID_SESSION; 24 import static android.net.wifi.aware.WifiAwareManager.WIFI_AWARE_RESUME_REDUNDANT_REQUEST; 25 import static android.net.wifi.aware.WifiAwareManager.WIFI_AWARE_SUSPEND_CANNOT_SUSPEND; 26 import static android.net.wifi.aware.WifiAwareManager.WIFI_AWARE_SUSPEND_INTERNAL_ERROR; 27 import static android.net.wifi.aware.WifiAwareManager.WIFI_AWARE_SUSPEND_INVALID_SESSION; 28 import static android.net.wifi.aware.WifiAwareManager.WIFI_AWARE_SUSPEND_REDUNDANT_REQUEST; 90 import android.net.wifi.aware.WifiAwareManager; 3754 final Intent intent = new Intent(WifiAwareManager.ACTION_WIFI_AWARE_STATE_CHANGED); in sendAwareStateChangedBroadcast() 3766 final Intent intent = new Intent(WifiAwareManager.ACTION_WIFI_AWARE_RESOURCE_CHANGED); in sendAwareResourcesChangedBroadcast() [all …]
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/ |
D | WifiAwareManagerTest.java | 21 import static android.net.wifi.aware.WifiAwareManager.WIFI_AWARE_DISCOVERY_LOST_REASON_PEER_NOT_VIS… 80 private WifiAwareManager mDut; 134 mDut = new WifiAwareManager(mockContext, mockAwareService); in setUp() 1116 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient() 1122 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient() 1137 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient() 1145 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient() 1165 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient() 1173 collector.checkThat("role", WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_RESPONDER, in testNetworkSpecifierWithClient() 1198 final int role = WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR; in testNetworkSpecifierDirect() [all …]
|
D | WifiAwareAgentNetworkSpecifierTest.java | 173 WifiAwareManager.WIFI_AWARE_DATA_PATH_ROLE_INITIATOR, clientId, 0, 0, new byte[6], in getMockNetworkSpecifier()
|
/packages/modules/Wifi/tests/hostsidetests/multidevices/com.google.snippet.wifi/aware/ |
D | WifiAwareSnippet.java | 30 import android.net.wifi.aware.WifiAwareManager; 84 private final WifiAwareManager mWifiAwareManager; 105 mWifiAwareManager = mContext.getSystemService(WifiAwareManager.class); in WifiAwareSnippet()
|
/packages/modules/Wifi/framework/java/android/net/wifi/rtt/ |
D | RangingRequest.java | 31 import android.net.wifi.aware.WifiAwareManager;
|
/packages/modules/Wifi/framework/api/ |
D | module-lib-lint-baseline.txt | 106 RequiresPermission: android.net.wifi.aware.WifiAwareManager#attach(android.net.wifi.aware.AttachCal… 108 RequiresPermission: android.net.wifi.aware.WifiAwareManager#enableInstantCommunicationMode(boolean):
|
D | system-lint-baseline.txt | 126 RequiresPermission: android.net.wifi.aware.WifiAwareManager#attach(android.net.wifi.aware.AttachCal… 128 RequiresPermission: android.net.wifi.aware.WifiAwareManager#enableInstantCommunicationMode(boolean):
|