/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pManager.java | 666 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/ |
D | NetworkAgent.java | 49 private volatile AsyncChannel mAsyncChannel; field in NetworkAgent 233 if (mAsyncChannel != null) { in handleMessage() 242 mAsyncChannel = ac; in handleMessage() 253 if (mAsyncChannel != null) mAsyncChannel.disconnect(); in handleMessage() 261 mAsyncChannel = null; in handleMessage() 350 if (mAsyncChannel != null) { in queueOrSendMessage() 351 mAsyncChannel.sendMessage(msg); in queueOrSendMessage()
|
/frameworks/base/core/java/android/net/nsd/ |
D | NsdManager.java | 220 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/ |
D | WifiScanner.java | 687 mAsyncChannel.sendMessage(CMD_START_BACKGROUND_SCAN, 0, key, scanParams); in startBackgroundScan() 700 mAsyncChannel.sendMessage(CMD_STOP_BACKGROUND_SCAN, 0, key); in stopBackgroundScan() 708 Message reply = mAsyncChannel.sendMessageSynchronously(CMD_GET_SCAN_RESULTS, 0); in getScanResults() 741 mAsyncChannel.sendMessage(CMD_START_SINGLE_SCAN, 0, key, scanParams); in startScan() 754 mAsyncChannel.sendMessage(CMD_STOP_SINGLE_SCAN, 0, key); in stopScan() 764 mAsyncChannel.sendMessage(CMD_START_PNO_SCAN, 0, key, pnoParams); in startPnoScan() 820 mAsyncChannel.sendMessage(CMD_STOP_PNO_SCAN, 0, key); in stopPnoScan() 956 mAsyncChannel.sendMessage(CMD_START_TRACKING_CHANGE, 0, key); in startTrackingWifiChange() 968 mAsyncChannel.sendMessage(CMD_STOP_TRACKING_CHANGE, 0, key); in stopTrackingWifiChange() 975 mAsyncChannel.sendMessage(CMD_CONFIGURE_WIFI_CHANGE, 0, 0, settings); in configureWifiChange() [all …]
|
D | RttManager.java | 932 mAsyncChannel.sendMessage(CMD_OP_START_RANGING, in startRanging() 938 mAsyncChannel.sendMessage(CMD_OP_STOP_RANGING, 0, removeListener(listener)); in stopRanging() 975 mAsyncChannel.sendMessage(CMD_OP_ENABLE_RESPONDER, 0, key); in enableResponder() 998 mAsyncChannel.sendMessage(CMD_OP_DISABLE_RESPONDER, 0, key); in disableResponder() 1120 private AsyncChannel mAsyncChannel; field in RttManager 1148 mAsyncChannel = new AsyncChannel(); in RttManager() 1151 mAsyncChannel.connectSync(mContext, handler, messenger); in RttManager() 1154 mAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in RttManager() 1158 if (mAsyncChannel == null) throw new IllegalStateException( in validateChannel() 1243 mAsyncChannel = null; in handleMessage()
|
D | WifiManager.java | 670 private AsyncChannel mAsyncChannel; field in WifiManager 1861 mAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); 1866 mAsyncChannel = null; 1877 mAsyncChannel = null; 1971 if (mAsyncChannel == null) { 1978 mAsyncChannel = new AsyncChannel(); 1982 mAsyncChannel.connect(mContext, handler, messenger); 1989 return mAsyncChannel; 2588 if (mAsyncChannel != null) { 2589 mAsyncChannel.disconnect();
|