Home
last modified time | relevance | path

Searched refs:mAsyncChannel (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java858 mAsyncChannel = new AsyncChannel(); in Channel()
895 mAsyncChannel.disconnect(); in close()
917 private AsyncChannel mAsyncChannel; field in WifiP2pManager.Channel
1179 if (c.mAsyncChannel.connectSync(srcContext, c.mHandler, messenger) in initalizeChannel()
1185 c.mAsyncChannel.sendMessage(UPDATE_CHANNEL_INFO, 0, in initalizeChannel()
1216 c.mAsyncChannel.sendMessage(DISCOVER_PEERS, 0, c.putListener(listener)); in discoverPeers()
1232 c.mAsyncChannel.sendMessage(STOP_DISCOVERY, 0, c.putListener(listener)); in stopPeerDiscovery()
1261 c.mAsyncChannel.sendMessage(CONNECT, 0, c.putListener(listener), config); in connect()
1277 c.mAsyncChannel.sendMessage(CANCEL_CONNECT, 0, c.putListener(listener)); in cancelConnect()
1302 c.mAsyncChannel.sendMessage(CREATE_GROUP, WifiP2pGroup.NETWORK_ID_PERSISTENT, in createGroup()
[all …]
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java256 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/
DWifiScanner.java897 mAsyncChannel.sendMessage(enable ? CMD_ENABLE : CMD_DISABLE); in setScanningEnabled()
921 mAsyncChannel.sendMessage(CMD_REGISTER_SCAN_LISTENER, 0, key); in registerScanListener()
944 mAsyncChannel.sendMessage(CMD_DEREGISTER_SCAN_LISTENER, 0, key); in unregisterScanListener()
983 mAsyncChannel.sendMessage(CMD_START_BACKGROUND_SCAN, 0, key, scanParams); in startBackgroundScan()
1004 mAsyncChannel.sendMessage(CMD_STOP_BACKGROUND_SCAN, 0, key, scanParams); in stopBackgroundScan()
1022 mAsyncChannel.sendMessageSynchronously(CMD_GET_SCAN_RESULTS, 0, 0, scanParams); in getScanResults()
1076 mAsyncChannel.sendMessage(CMD_START_SINGLE_SCAN, 0, key, scanParams); in startScan()
1093 mAsyncChannel.sendMessage(CMD_STOP_SINGLE_SCAN, 0, key, scanParams); in stopScan()
1106 Message reply = mAsyncChannel.sendMessageSynchronously(CMD_GET_SINGLE_SCAN_RESULTS, 0, 0, in getSingleScanResults()
1124 mAsyncChannel.sendMessage(CMD_START_PNO_SCAN, 0, key, pnoParams); in startPnoScan()
[all …]
/frameworks/base/core/java/android/net/
DNetworkAgent.java103 private volatile AsyncChannel mAsyncChannel; field in NetworkAgent
429 if (mAsyncChannel != null) { in handleMessage()
438 mAsyncChannel = ac; in handleMessage()
449 if (mAsyncChannel != null) mAsyncChannel.disconnect(); in handleMessage()
457 mAsyncChannel = null; in handleMessage()
634 if (mAsyncChannel != null) { in queueOrSendMessage()
635 mAsyncChannel.sendMessage(msg); in queueOrSendMessage()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java238 private AsyncChannel mAsyncChannel; field in WifiServiceImplTest
325 mAsyncChannel = spy(new AsyncChannel()); in setUp()
461 new WifiServiceImpl(mContext, mWifiInjector, mAsyncChannel); in makeWifiServiceImpl()
1726 mWifiServiceImpl.mClientModeImplChannel = mAsyncChannel; in testConfiguredNetworkListAreVisibleFromPermittedApp()
2193 verify(mAsyncChannel).connect(any(), mHandlerCaptor.capture(), any(Handler.class)); in testStartLocalOnlyHotspotAt6Ghz()
2222 verify(mAsyncChannel).connect(any(), mHandlerCaptor.capture(), any(Handler.class)); in testStartLocalOnlyHotspotAt5Ghz()
4201 mWifiServiceImpl.mClientModeImplChannel = mAsyncChannel; in testFactoryReset()
/frameworks/base/services/core/java/com/android/server/
DConnectivityService.java5268 private final AsyncChannel mAsyncChannel; field in ConnectivityService.NetworkProviderInfo
5277 mAsyncChannel = asyncChannel; in NetworkProviderInfo()
5280 if ((mAsyncChannel == null) == (mDeathRecipient == null)) { in NetworkProviderInfo()
5286 return mAsyncChannel != null; in isLegacyNetworkFactory()
5300 mAsyncChannel.sendMessage(android.net.NetworkFactory.CMD_REQUEST_NETWORK, score, in requestNetwork()
5310 mAsyncChannel.sendMessage(android.net.NetworkFactory.CMD_CANCEL_REQUEST, request); in cancelRequest()
5318 mAsyncChannel.connect(context, handler, messenger); in connect()
5330 mAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in completeConnection()