/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
D | BidirectionalAsyncChannelServer.java | 26 import com.android.internal.util.AsyncChannel; 41 private final Map<Messenger, AsyncChannel> mClients = new HashMap<>(); 50 AsyncChannel channel = mClients.get(msg.replyTo); in BidirectionalAsyncChannelServer() 52 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: in BidirectionalAsyncChannelServer() 56 AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, in BidirectionalAsyncChannelServer() 57 AsyncChannel.STATUS_FULL_CONNECTION_REFUSED_ALREADY_CONNECTED); in BidirectionalAsyncChannelServer() 59 channel = new AsyncChannel(); in BidirectionalAsyncChannelServer() 62 channel.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, in BidirectionalAsyncChannelServer() 63 AsyncChannel.STATUS_SUCCESSFUL); in BidirectionalAsyncChannelServer() 66 case AsyncChannel.CMD_CHANNEL_DISCONNECT: in BidirectionalAsyncChannelServer() [all …]
|
D | BidirectionalAsyncChannel.java | 27 import com.android.internal.util.AsyncChannel; 37 private AsyncChannel mChannel; 49 mChannel = new AsyncChannel(); in connect() 54 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in connect() 55 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in connect() 57 mChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in connect() 65 case AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED: in connect() 69 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in connect() 86 mChannel.sendMessage(AsyncChannel.CMD_CHANNEL_DISCONNECT); in disconnect()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NsdService.java | 41 import com.android.internal.util.AsyncChannel; 79 private final AsyncChannel mReplyChannel = new AsyncChannel(); 126 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in processMessage() 127 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in processMessage() 128 AsyncChannel c = (AsyncChannel) msg.obj; in processMessage() 130 c.sendMessage(AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED); in processMessage() 137 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in processMessage() 139 case AsyncChannel.STATUS_SEND_UNSUCCESSFUL: in processMessage() 142 case AsyncChannel.STATUS_REMOTE_DISCONNECTION: in processMessage() 159 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: in processMessage() [all …]
|
D | ConnectivityService.java | 191 import com.android.internal.util.AsyncChannel; 354 new Class[] { AsyncChannel.class, ConnectivityService.class, NetworkAgent.class, 2713 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: { in maybeHandleAsyncChannelMessage() 2717 case AsyncChannel.CMD_CHANNEL_DISCONNECT: { in maybeHandleAsyncChannelMessage() 2722 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { in maybeHandleAsyncChannelMessage() 3262 final AsyncChannel ac = (AsyncChannel) msg.obj; in handleAsyncChannelHalfConnect() 3264 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleAsyncChannelHalfConnect() 3275 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleAsyncChannelHalfConnect() 3279 sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in handleAsyncChannelHalfConnect() 5268 private final AsyncChannel mAsyncChannel; [all …]
|
/frameworks/base/core/java/android/net/nsd/ |
D | NsdManager.java | 37 import com.android.internal.util.AsyncChannel; 256 private final AsyncChannel mAsyncChannel = new AsyncChannel(); 351 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in handleMessage() 352 mAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in handleMessage() 354 case AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED: in handleMessage() 357 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in handleMessage()
|
/frameworks/base/core/java/android/net/ |
D | NetworkAgent.java | 36 import com.android.internal.util.AsyncChannel; 103 private volatile AsyncChannel mAsyncChannel; 428 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: { in handleMessage() 433 AsyncChannel ac = new AsyncChannel(); in handleMessage() 435 ac.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, in handleMessage() 436 AsyncChannel.STATUS_SUCCESSFUL); in handleMessage() 447 case AsyncChannel.CMD_CHANNEL_DISCONNECT: { in handleMessage() 452 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { in handleMessage()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiAsyncChannel.java | 23 import com.android.internal.util.AsyncChannel; 31 public class WifiAsyncChannel extends AsyncChannel {
|
/frameworks/opt/telephony/ |
D | jarjar-rules-shared.txt | 10 rule com.android.internal.util.AsyncChannel* com.android.internal.telephony.AsyncChannel@1
|
/frameworks/base/tests/net/java/android/net/nsd/ |
D | NsdManagerTest.java | 40 import com.android.internal.util.AsyncChannel; 351 public AsyncChannel chan; 371 if (msg.what == AsyncChannel.CMD_CHANNEL_FULL_CONNECTION) { in handleMessage() 372 chan = new AsyncChannel(); in handleMessage() 374 chan.sendMessage(AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED); in handleMessage()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | OWNERS | 1 per-file AsyncChannel* = lorenzo@google.com, satk@google.com, etancohen@google.com
|
D | AsyncChannel.java | 88 public class AsyncChannel { class 214 public AsyncChannel() { in AsyncChannel() method in AsyncChannel
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScanningServiceImpl.java | 53 import com.android.internal.util.AsyncChannel; 252 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: { in handleMessage() 261 … client.mChannel.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, in handleMessage() 262 AsyncChannel.STATUS_FULL_CONNECTION_REFUSED_ALREADY_CONNECTED); in handleMessage() 266 AsyncChannel ac = mFrameworkFacade.makeWifiAsyncChannel(TAG); in handleMessage() 272 ac.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, in handleMessage() 273 AsyncChannel.STATUS_SUCCESSFUL); in handleMessage() 277 case AsyncChannel.CMD_CHANNEL_DISCONNECT: { in handleMessage() 284 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { in handleMessage() 286 if (client != null && msg.arg1 != AsyncChannel.STATUS_SEND_UNSUCCESSFUL in handleMessage() [all …]
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiScanner.java | 43 import com.android.internal.util.AsyncChannel; 1423 private AsyncChannel mAsyncChannel; 1454 mAsyncChannel = new AsyncChannel(); in WifiScanner() 1460 mAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in WifiScanner() 1606 case AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED: in handleMessage() 1608 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in handleMessage()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | ConnectionUtil.java | 45 import com.android.internal.util.AsyncChannel; 235 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in handleMessage() 236 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleMessage()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pManager.java | 50 import com.android.internal.util.AsyncChannel; 858 mAsyncChannel = new AsyncChannel(); in Channel() 917 private AsyncChannel mAsyncChannel; 929 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in handleMessage() 1180 == AsyncChannel.STATUS_SUCCESSFUL) { in initalizeChannel()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | ClientModeImpl.java | 110 import com.android.internal.util.AsyncChannel; 440 private AsyncChannel mReplyChannel = new AsyncChannel(); 443 private AsyncChannel mWifiP2pChannel; 635 AsyncChannel.class, ClientModeImpl.class }; 1653 public boolean syncQueryPasspointIcon(AsyncChannel channel, long bssid, String fileName) { in syncQueryPasspointIcon() 1668 public void deauthenticateNetwork(AsyncChannel channel, long holdoff, boolean ess) { in deauthenticateNetwork() 1728 IProvisioningCallback callback, AsyncChannel channel) { in syncStartSubscriptionProvisioning() 1744 public long syncGetSupportedFeatures(AsyncChannel channel) { in syncGetSupportedFeatures() 1755 public WifiLinkLayerStats syncGetLinkLayerStats(AsyncChannel channel) { in syncGetLinkLayerStats() 1806 public Network syncGetCurrentNetwork(AsyncChannel channel) { in syncGetCurrentNetwork() [all …]
|
D | WifiServiceImpl.java | 111 import com.android.internal.util.AsyncChannel; 200 AsyncChannel mClientModeImplChannel; 232 private AsyncChannel mCmiChannel; 234 ClientModeImplHandler(String tag, Looper looper, AsyncChannel asyncChannel) { in ClientModeImplHandler() 244 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: { in handleMessage() 245 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleMessage() 253 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { in handleMessage() 294 public WifiServiceImpl(Context context, WifiInjector wifiInjector, AsyncChannel asyncChannel) { in WifiServiceImpl() 3728 final AsyncChannel channel = mClientModeImplChannel;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | README.txt | 16 it is then the AsyncChannel#sendMessageSynchronously is
|
/frameworks/base/wifi/ |
D | jarjar-rules.txt | 78 # AsyncChannel in com.android.internal.util) from these packages which are not 121 rule com.android.internal.util.AsyncChannel* com.android.wifi.x.@0
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 88 import com.android.internal.util.AsyncChannel; 141 private AsyncChannel mReplyChannel = new WifiAsyncChannel(TAG); 142 private AsyncChannel mWifiChannel; 960 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in processMessage() 961 if (message.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in processMessage() 965 mWifiChannel = (AsyncChannel) message.obj; in processMessage() 972 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in processMessage() 973 if (message.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { in processMessage() 981 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: in processMessage() 982 AsyncChannel ac = new WifiAsyncChannel(TAG); in processMessage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/dataconnection/ |
D | VendorDcTracker.java | 40 import com.android.internal.util.AsyncChannel;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ClientModeImplTest.java | 124 import com.android.internal.util.AsyncChannel; 358 AsyncChannel mCmiAsyncChannel; 359 AsyncChannel mNetworkAgentAsyncChannel; 413 @Mock AsyncChannel mNullAsyncChannel; 572 private void registerAsyncChannel(Consumer<AsyncChannel> consumer, Messenger messenger, in registerAsyncChannel() 574 final AsyncChannel channel = new AsyncChannel(); in registerAsyncChannel() 579 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in registerAsyncChannel() 580 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in registerAsyncChannel() 586 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in registerAsyncChannel() 589 case AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED: in registerAsyncChannel() [all …]
|
D | WifiServiceImplTest.java | 151 import com.android.internal.util.AsyncChannel; 238 private AsyncChannel mAsyncChannel; 325 mAsyncChannel = spy(new AsyncChannel()); in setUp() 2196 AsyncChannel.CMD_CHANNEL_HALF_CONNECTED, AsyncChannel.STATUS_SUCCESSFUL, 0)); in testStartLocalOnlyHotspotAt6Ghz() 2225 AsyncChannel.CMD_CHANNEL_HALF_CONNECTED, AsyncChannel.STATUS_SUCCESSFUL, 0)); in testStartLocalOnlyHotspotAt5Ghz()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/ |
D | WifiAwareDataPathStateManagerTest.java | 81 import com.android.internal.util.AsyncChannel; 537 endNetworkUsageMsg.what = AsyncChannel.CMD_CHANNEL_DISCONNECTED; in testMultipleNdpsOnSingleNdi() 683 endNetworkUsageMsg.what = AsyncChannel.CMD_CHANNEL_DISCONNECTED; in testMultipleIdenticalRequests() 1480 endNetworkUsageMsg.what = AsyncChannel.CMD_CHANNEL_DISCONNECTED; in testDataPathInitiatorUtilityMore() 1596 endNetworkUsageMsg.what = AsyncChannel.CMD_CHANNEL_DISCONNECTED; in testDataPathResponderUtility()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | WifiScanningServiceTest.java | 77 import com.android.internal.util.AsyncChannel; 2454 controlChannel.sendMessage(Message.obtain(null, AsyncChannel.CMD_CHANNEL_DISCONNECTED, in processSingleScanRequestAfterDisconnect() 2455 AsyncChannel.STATUS_REMOTE_DISCONNECTION, 0, null)); in processSingleScanRequestAfterDisconnect() 2506 controlChannel.sendMessage(Message.obtain(null, AsyncChannel.CMD_CHANNEL_DISCONNECTED, in sendScanRequestAfterUnsuccessfulSend() 2507 AsyncChannel.STATUS_SEND_UNSUCCESSFUL, 0, null)); in sendScanRequestAfterUnsuccessfulSend()
|