/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pManager.java | 677 mAsyncChannel = new AsyncChannel(); in Channel() 714 mAsyncChannel.disconnect(); in close() 734 private AsyncChannel mAsyncChannel; field in WifiP2pManager.Channel 960 if (c.mAsyncChannel.connectSync(srcContext, c.mHandler, messenger) in initalizeChannel() 990 c.mAsyncChannel.sendMessage(DISCOVER_PEERS, 0, c.putListener(listener)); in discoverPeers() 1006 c.mAsyncChannel.sendMessage(STOP_DISCOVERY, 0, c.putListener(listener)); in stopPeerDiscovery() 1034 c.mAsyncChannel.sendMessage(CONNECT, 0, c.putListener(listener), config); in connect() 1050 c.mAsyncChannel.sendMessage(CANCEL_CONNECT, 0, c.putListener(listener)); in cancelConnect() 1074 c.mAsyncChannel.sendMessage(CREATE_GROUP, WifiP2pGroup.PERSISTENT_NET_ID, in createGroup() 1091 c.mAsyncChannel.sendMessage(REMOVE_GROUP, 0, c.putListener(listener)); in removeGroup() [all …]
|
/frameworks/base/core/java/android/net/ |
D | NetworkAgent.java | 49 private volatile AsyncChannel mAsyncChannel; field in NetworkAgent 219 if (mAsyncChannel != null) { in handleMessage() 228 mAsyncChannel = ac; in handleMessage() 239 if (mAsyncChannel != null) mAsyncChannel.disconnect(); in handleMessage() 247 mAsyncChannel = null; in handleMessage() 336 if (mAsyncChannel != null) { in queueOrSendMessage() 337 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 | 740 mAsyncChannel.sendMessage(CMD_REGISTER_SCAN_LISTENER, 0, key); in registerScanListener() 754 mAsyncChannel.sendMessage(CMD_DEREGISTER_SCAN_LISTENER, 0, key); in deregisterScanListener() 787 mAsyncChannel.sendMessage(CMD_START_BACKGROUND_SCAN, 0, key, scanParams); in startBackgroundScan() 801 mAsyncChannel.sendMessage(CMD_STOP_BACKGROUND_SCAN, 0, key); in stopBackgroundScan() 810 Message reply = mAsyncChannel.sendMessageSynchronously(CMD_GET_SCAN_RESULTS, 0); in getScanResults() 845 mAsyncChannel.sendMessage(CMD_START_SINGLE_SCAN, 0, key, scanParams); in startScan() 859 mAsyncChannel.sendMessage(CMD_STOP_SINGLE_SCAN, 0, key); in stopScan() 868 Message reply = mAsyncChannel.sendMessageSynchronously(CMD_GET_SINGLE_SCAN_RESULTS, 0); in getSingleScanResults() 885 mAsyncChannel.sendMessage(CMD_START_PNO_SCAN, 0, key, pnoParams); in startPnoScan() 941 mAsyncChannel.sendMessage(CMD_STOP_PNO_SCAN, 0, key); in stopPnoScan() [all …]
|
D | WifiManager.java | 960 private AsyncChannel mAsyncChannel; field in WifiManager 2843 mAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in dispatchMessageToListeners() 2848 mAsyncChannel = null; in dispatchMessageToListeners() 2859 mAsyncChannel = null; in dispatchMessageToListeners() 2923 if (mAsyncChannel == null) { in getChannel() 2930 mAsyncChannel = new AsyncChannel(); in getChannel() 2934 mAsyncChannel.connect(mContext, handler, messenger); in getChannel() 2941 return mAsyncChannel; in getChannel() 3534 if (mAsyncChannel != null) { in finalize() 3535 mAsyncChannel.disconnect(); in finalize()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiServiceImplTest.java | 172 @Mock AsyncChannel mAsyncChannel; field in WifiServiceImplTest 322 mWifiServiceImpl = new WifiServiceImpl(mContext, mWifiInjector, mAsyncChannel); in setUp() 548 mWifiServiceImpl = new WifiServiceImpl(mContext, mWifiInjector, mAsyncChannel); in testSetWifiEnabledSuccessWhenPermissionReviewRequiredAndPermissionGranted() 568 mWifiServiceImpl = new WifiServiceImpl(mContext, mWifiInjector, mAsyncChannel); in testSetWifiEnabledConsentUiWhenPermissionReviewRequiredAndPermissionDenied() 599 mWifiServiceImpl = new WifiServiceImpl(mContext, mWifiInjector, mAsyncChannel); in testSetWifiEnabledSuccessWhenPermissionReviewNotRequired() 618 mWifiServiceImpl = new WifiServiceImpl(mContext, mWifiInjector, mAsyncChannel); in testSetWifiEnabledThrowsSecurityExceptionForConsentUiIfUidNotMatch() 686 mWifiServiceImpl = new WifiServiceImpl(mContext, mWifiInjector, mAsyncChannel); in testSetWifiDisabledSuccessWhenPermissionReviewRequiredAndPermissionGranted() 707 mWifiServiceImpl = new WifiServiceImpl(mContext, mWifiInjector, mAsyncChannel); in testSetWifiDisabledConsentUiWhenPermissionReviewRequiredAndPermissionDenied() 738 mWifiServiceImpl = new WifiServiceImpl(mContext, mWifiInjector, mAsyncChannel); in testSetWifiDisabledSuccessWhenPermissionReviewNotRequired() 761 mWifiServiceImpl = new WifiServiceImpl(mContext, mWifiInjector, mAsyncChannel); in testSetWifiDisabledThrowsSecurityExceptionForConsentUiIfUidNotMatch() [all …]
|
/frameworks/base/config/ |
D | hiddenapi-light-greylist.txt | 3645 Landroid/net/wifi/p2p/WifiP2pManager$Channel;->mAsyncChannel:Lcom/android/internal/util/AsyncChanne…
|