/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pManager.java | 838 mAsyncChannel = new AsyncChannel(); in Channel() 875 mAsyncChannel.disconnect(); in close() 896 private AsyncChannel mAsyncChannel; field in WifiP2pManager.Channel 1158 if (c.mAsyncChannel.connectSync(srcContext, c.mHandler, messenger) in initalizeChannel() 1163 c.mAsyncChannel.sendMessage(UPDATE_CHANNEL_INFO, 0, in initalizeChannel() 1194 c.mAsyncChannel.sendMessage(DISCOVER_PEERS, 0, c.putListener(listener)); in discoverPeers() 1210 c.mAsyncChannel.sendMessage(STOP_DISCOVERY, 0, c.putListener(listener)); in stopPeerDiscovery() 1239 c.mAsyncChannel.sendMessage(CONNECT, 0, c.putListener(listener), config); in connect() 1255 c.mAsyncChannel.sendMessage(CANCEL_CONNECT, 0, c.putListener(listener)); in cancelConnect() 1280 c.mAsyncChannel.sendMessage(CREATE_GROUP, WifiP2pGroup.PERSISTENT_NET_ID, in createGroup() [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkFactory.java | 127 private AsyncChannel mAsyncChannel; field in NetworkFactory 170 if (mAsyncChannel != null) { in handleMessage() 179 mAsyncChannel = ac; in handleMessage() 188 if (mAsyncChannel != null) { in handleMessage() 189 mAsyncChannel.disconnect(); in handleMessage() 190 mAsyncChannel = null; in handleMessage() 196 mAsyncChannel = null; in handleMessage() 412 if (mAsyncChannel != null) { in releaseRequestAsUnfulfillableByAnyFactory() 413 mAsyncChannel.sendMessage(msg); in releaseRequestAsUnfulfillableByAnyFactory()
|
D | NetworkAgent.java | 50 private volatile AsyncChannel mAsyncChannel; field in NetworkAgent 257 if (mAsyncChannel != null) { in handleMessage() 266 mAsyncChannel = ac; in handleMessage() 277 if (mAsyncChannel != null) mAsyncChannel.disconnect(); in handleMessage() 285 mAsyncChannel = null; in handleMessage() 382 if (mAsyncChannel != null) { in queueOrSendMessage() 383 mAsyncChannel.sendMessage(msg); in queueOrSendMessage()
|
/frameworks/base/core/java/android/net/nsd/ |
D | NsdManager.java | 256 private final AsyncChannel mAsyncChannel = new AsyncChannel(); field in NsdManager 279 mAsyncChannel.disconnect(); in disconnect() 352 mAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in handleMessage() 488 mAsyncChannel.connect(mContext, mHandler, messenger); in init() 524 mAsyncChannel.sendMessage(REGISTER_SERVICE, 0, key, serviceInfo); in registerService() 542 mAsyncChannel.sendMessage(UNREGISTER_SERVICE, 0, id); in unregisterService() 581 mAsyncChannel.sendMessage(DISCOVER_SERVICES, 0, key, s); in discoverServices() 602 mAsyncChannel.sendMessage(STOP_DISCOVERY, 0, id); in stopServiceDiscovery() 617 mAsyncChannel.sendMessage(RESOLVE_SERVICE, 0, key, serviceInfo); in resolveService()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiScanner.java | 759 mAsyncChannel.sendMessage(enable ? CMD_ENABLE : CMD_DISABLE); in setScanningEnabled() 780 mAsyncChannel.sendMessage(CMD_REGISTER_SCAN_LISTENER, 0, key); in registerScanListener() 794 mAsyncChannel.sendMessage(CMD_DEREGISTER_SCAN_LISTENER, 0, key); in deregisterScanListener() 828 mAsyncChannel.sendMessage(CMD_START_BACKGROUND_SCAN, 0, key, scanParams); in startBackgroundScan() 844 mAsyncChannel.sendMessage(CMD_STOP_BACKGROUND_SCAN, 0, key, scanParams); in stopBackgroundScan() 857 mAsyncChannel.sendMessageSynchronously(CMD_GET_SCAN_RESULTS, 0, 0, scanParams); in getScanResults() 893 mAsyncChannel.sendMessage(CMD_START_SINGLE_SCAN, 0, key, scanParams); in startScan() 909 mAsyncChannel.sendMessage(CMD_STOP_SINGLE_SCAN, 0, key, scanParams); in stopScan() 920 Message reply = mAsyncChannel.sendMessageSynchronously(CMD_GET_SINGLE_SCAN_RESULTS, 0, 0, in getSingleScanResults() 938 mAsyncChannel.sendMessage(CMD_START_PNO_SCAN, 0, key, pnoParams); in startPnoScan() [all …]
|
D | WifiManager.java | 1117 private AsyncChannel mAsyncChannel; field in WifiManager 3514 mAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in dispatchMessageToListeners() 3519 mAsyncChannel = null; in dispatchMessageToListeners() 3530 mAsyncChannel = null; in dispatchMessageToListeners() 3594 if (mAsyncChannel == null) { in getChannel() 3601 mAsyncChannel = new AsyncChannel(); in getChannel() 3605 mAsyncChannel.connect(mContext, handler, messenger); in getChannel() 3612 return mAsyncChannel; in getChannel() 4240 if (mAsyncChannel != null) { in finalize() 4241 mAsyncChannel.disconnect(); in finalize()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 191 private AsyncChannel mAsyncChannel; field in WifiServiceImplTest 331 mAsyncChannel = spy(new AsyncChannel()); in setUp() 405 mWifiServiceImpl = new WifiServiceImpl(mContext, mWifiInjector, mAsyncChannel); in setUp() 947 mWifiServiceImpl = new WifiServiceImpl(mContext, mWifiInjector, mAsyncChannel); in testGetWifiApConfigurationSuccess() 970 mWifiServiceImpl = new WifiServiceImpl(mContext, mWifiInjector, mAsyncChannel); in testGetWifiApEnabled() 1284 mWifiServiceImpl.mClientModeImplChannel = mAsyncChannel; in testConfiguredNetworkListAreVisibleFromPermittedApp() 1342 mWifiServiceImpl.mClientModeImplChannel = mAsyncChannel; in testPrivilegedConfiguredNetworkListAreVisibleFromPermittedApp() 1597 verify(mAsyncChannel).connect(any(), mHandlerCaptor.capture(), any(Handler.class)); in testStartLocalOnlyHotspotAt5Ghz() 3507 mWifiServiceImpl.mClientModeImplChannel = mAsyncChannel; in testFactoryReset() 3515 verify(mClientModeImpl).syncRemoveNetwork(mAsyncChannel, network.networkId); in testFactoryReset() [all …]
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 47485 Landroid/net/NetworkAgent;->mAsyncChannel:Lcom/android/internal/util/AsyncChannel; 48195 Landroid/net/nsd/NsdManager;->mAsyncChannel:Lcom/android/internal/util/AsyncChannel; 50829 Landroid/net/wifi/WifiManager;->mAsyncChannel:Lcom/android/internal/util/AsyncChannel; 51019 Landroid/net/wifi/WifiScanner;->mAsyncChannel:Lcom/android/internal/util/AsyncChannel;
|