Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java666 mAsyncChannel = new AsyncChannel(); in Channel()
681 private AsyncChannel mAsyncChannel; field in WifiP2pManager.Channel
903 if (c.mAsyncChannel.connectSync(srcContext, c.mHandler, messenger) in initalizeChannel()
932 c.mAsyncChannel.sendMessage(DISCOVER_PEERS, 0, c.putListener(listener)); in discoverPeers()
948 c.mAsyncChannel.sendMessage(STOP_DISCOVERY, 0, c.putListener(listener)); in stopPeerDiscovery()
976 c.mAsyncChannel.sendMessage(CONNECT, 0, c.putListener(listener), config); in connect()
992 c.mAsyncChannel.sendMessage(CANCEL_CONNECT, 0, c.putListener(listener)); in cancelConnect()
1016 c.mAsyncChannel.sendMessage(CREATE_GROUP, WifiP2pGroup.PERSISTENT_NET_ID, in createGroup()
1033 c.mAsyncChannel.sendMessage(REMOVE_GROUP, 0, c.putListener(listener)); in removeGroup()
1039 c.mAsyncChannel.sendMessage(enable ? START_LISTEN : STOP_LISTEN, in listen()
[all …]
/frameworks/base/core/java/android/net/
DNetworkAgent.java47 private volatile AsyncChannel mAsyncChannel; field in NetworkAgent
183 if (mAsyncChannel != null) { in handleMessage()
192 mAsyncChannel = ac; in handleMessage()
203 if (mAsyncChannel != null) mAsyncChannel.disconnect(); in handleMessage()
211 mAsyncChannel = null; in handleMessage()
261 if (mAsyncChannel != null) { in queueOrSendMessage()
262 mAsyncChannel.sendMessage(what, obj); in queueOrSendMessage()
/frameworks/base/core/java/android/net/nsd/
DNsdManager.java220 private final AsyncChannel mAsyncChannel = new AsyncChannel(); field in NsdManager
305 mAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in handleMessage()
443 mAsyncChannel.connect(mContext, mHandler, messenger); in init()
487 mAsyncChannel.sendMessage(REGISTER_SERVICE, 0, key, serviceInfo); in registerService()
511 mAsyncChannel.sendMessage(UNREGISTER_SERVICE, 0, id); in unregisterService()
562 mAsyncChannel.sendMessage(DISCOVER_SERVICES, 0, key, s); in discoverServices()
589 mAsyncChannel.sendMessage(STOP_DISCOVERY, 0, id); in stopServiceDiscovery()
615 mAsyncChannel.sendMessage(RESOLVE_SERVICE, 0, key, serviceInfo); in resolveService()
/frameworks/base/wifi/java/android/net/wifi/passpoint/
DWifiPasspointManager.java195 private AsyncChannel mAsyncChannel; field in WifiPasspointManager.Channel
200 mAsyncChannel = new AsyncChannel(); in Channel()
426 if (c.mAsyncChannel.connectSync(srcContext, c.mHandler, messenger) in initialize()
476 c.mAsyncChannel.sendMessage(REQUEST_ANQP_INFO, mask, key, sr); in requestAnqpInfo()
554 c.mAsyncChannel.sendMessage(START_OSU, 0, key, osu); in startOsu()