/frameworks/base/core/java/android/net/ |
D | NetworkAgent.java | 26 import com.android.internal.util.AsyncChannel; 47 private volatile AsyncChannel mAsyncChannel; 182 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: { in handleMessage() 187 AsyncChannel ac = new AsyncChannel(); in handleMessage() 189 ac.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, in handleMessage() 190 AsyncChannel.STATUS_SUCCESSFUL); in handleMessage() 201 case AsyncChannel.CMD_CHANNEL_DISCONNECT: { in handleMessage() 206 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { in handleMessage()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcSwitchStateMachine.java | 19 import com.android.internal.util.AsyncChannel; 49 private AsyncChannel mAc; 438 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: { in processMessage() 441 mAc.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, in processMessage() 442 AsyncChannel.STATUS_FULL_CONNECTION_REFUSED_ALREADY_CONNECTED); in processMessage() 444 mAc = new AsyncChannel(); in processMessage() 447 mAc.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, in processMessage() 448 AsyncChannel.STATUS_SUCCESSFUL, mId, "hi"); in processMessage() 452 case AsyncChannel.CMD_CHANNEL_DISCONNECT: { in processMessage() 457 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { in processMessage()
|
D | DcSwitchAsyncChannel.java | 24 import com.android.internal.util.AsyncChannel; 28 public class DcSwitchAsyncChannel extends AsyncChannel { 101 return AsyncChannel.cmdToString(cmd + BASE); in cmdToString()
|
D | DcAsyncChannel.java | 21 import com.android.internal.util.AsyncChannel; 32 public class DcAsyncChannel extends AsyncChannel { 89 return AsyncChannel.cmdToString(cmd + BASE); in cmdToString()
|
D | DataConnection.java | 28 import com.android.internal.util.AsyncChannel; 109 private AsyncChannel mAc; 1118 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: { in processMessage() 1121 mAc.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, in processMessage() 1122 AsyncChannel.STATUS_FULL_CONNECTION_REFUSED_ALREADY_CONNECTED); in processMessage() 1124 mAc = new AsyncChannel(); in processMessage() 1127 mAc.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, in processMessage() 1128 AsyncChannel.STATUS_SUCCESSFUL, mId, "hi"); in processMessage() 1132 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { in processMessage()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | RttService.java | 21 import com.android.internal.util.AsyncChannel; 57 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in handleMessage() 58 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleMessage() 59 AsyncChannel c = (AsyncChannel) msg.obj; in handleMessage() 68 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in handleMessage() 69 if (msg.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { in handleMessage() 78 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: in handleMessage() 79 AsyncChannel ac = new AsyncChannel(); in handleMessage() 161 private final AsyncChannel mChannel; 166 ClientInfo(AsyncChannel c, Messenger m) { in ClientInfo()
|
D | WifiApConfigStore.java | 28 import com.android.internal.util.AsyncChannel; 62 private AsyncChannel mReplyChannel = new AsyncChannel();
|
D | WifiServiceImpl.java | 73 import com.android.internal.util.AsyncChannel; 158 private AsyncChannel mWifiStateMachineChannel; 172 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: { in handleMessage() 173 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleMessage() 183 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { in handleMessage() 184 if (msg.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { in handleMessage() 192 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: { in handleMessage() 193 AsyncChannel ac = new AsyncChannel(); in handleMessage() 276 private AsyncChannel mWsmChannel; 280 mWsmChannel = new AsyncChannel(); in WifiStateMachineHandler() [all …]
|
D | WifiScanningServiceImpl.java | 48 import com.android.internal.util.AsyncChannel; 131 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in handleMessage() 132 if (msg.arg1 != AsyncChannel.STATUS_SUCCESSFUL) { in handleMessage() 136 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: in handleMessage() 137 AsyncChannel ac = new AsyncChannel(); in handleMessage() 143 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in handleMessage() 144 if (msg.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { in handleMessage() 551 private final AsyncChannel mChannel; 557 ClientInfo(int uid, AsyncChannel c, Messenger m) { in ClientInfo()
|
D | WifiStateMachine.java | 109 import com.android.internal.util.AsyncChannel; 528 private AsyncChannel mReplyChannel = new AsyncChannel(); 533 private AsyncChannel mWifiP2pChannel; 534 private AsyncChannel mWifiApConfigChannel; 1552 public boolean syncPingSupplicant(AsyncChannel channel) { in syncPingSupplicant() 1559 public List<WifiChannel> syncGetChannelList(AsyncChannel channel) { in syncGetChannelList() 2123 public int syncAddOrUpdateNetwork(AsyncChannel channel, WifiConfiguration config) { in syncAddOrUpdateNetwork() 2137 public List<WifiConfiguration> syncGetConfiguredNetworks(int uuid, AsyncChannel channel) { in syncGetConfiguredNetworks() 2144 public List<WifiConfiguration> syncGetPrivilegedConfiguredNetwork(AsyncChannel channel) { in syncGetPrivilegedConfiguredNetwork() 2152 … public WifiConfiguration syncGetMatchingWifiConfig(ScanResult scanResult, AsyncChannel channel) { in syncGetMatchingWifiConfig() [all …]
|
D | WifiWatchdogStateMachine.java | 38 import com.android.internal.util.AsyncChannel; 266 private AsyncChannel mWsmChannel = new AsyncChannel();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | WifiSignalController.java | 31 import com.android.internal.util.AsyncChannel; 41 private final AsyncChannel mWifiChannel; 51 mWifiChannel = new AsyncChannel(); in WifiSignalController() 160 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in handleMessage() 161 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleMessage() 163 AsyncChannel.CMD_CHANNEL_FULL_CONNECTION)); in handleMessage()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NsdService.java | 45 import com.android.internal.util.AsyncChannel; 75 private AsyncChannel mReplyChannel = new AsyncChannel(); 151 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in processMessage() 152 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in processMessage() 153 AsyncChannel c = (AsyncChannel) msg.obj; in processMessage() 155 c.sendMessage(AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED); in processMessage() 162 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in processMessage() 164 case AsyncChannel.STATUS_SEND_UNSUCCESSFUL: in processMessage() 167 case AsyncChannel.STATUS_REMOTE_DISCONNECTION: in processMessage() 184 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: in processMessage() [all …]
|
D | ConnectivityService.java | 115 import com.android.internal.util.AsyncChannel; 1903 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: { in handleMessage() 1907 case AsyncChannel.CMD_CHANNEL_DISCONNECT: { in handleMessage() 1912 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { in handleMessage() 2089 AsyncChannel ac = (AsyncChannel) msg.obj; in handleAsyncChannelHalfConnect() 2091 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleAsyncChannelHalfConnect() 2105 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleAsyncChannelHalfConnect() 2109 sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in handleAsyncChannelHalfConnect() 3484 public final AsyncChannel asyncChannel; 3486 public NetworkFactoryInfo(String name, Messenger messenger, AsyncChannel asyncChannel) { in NetworkFactoryInfo() [all …]
|
/frameworks/base/core/java/android/net/nsd/ |
D | NsdManager.java | 34 import com.android.internal.util.AsyncChannel; 220 private final AsyncChannel mAsyncChannel = new AsyncChannel(); 304 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in handleMessage() 305 mAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in handleMessage() 307 case AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED: in handleMessage() 310 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in handleMessage()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetworkAgentInfo.java | 32 import com.android.internal.util.AsyncChannel; 161 public final AsyncChannel asyncChannel; 166 public NetworkAgentInfo(Messenger messenger, AsyncChannel ac, Network net, NetworkInfo info, in NetworkAgentInfo()
|
/frameworks/base/wifi/java/android/net/wifi/passpoint/ |
D | WifiPasspointManager.java | 30 import com.android.internal.util.AsyncChannel; 195 private AsyncChannel mAsyncChannel; 200 mAsyncChannel = new AsyncChannel(); in Channel() 294 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in handleMessage() 427 == AsyncChannel.STATUS_SUCCESSFUL) { in initialize()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | RttManager.java | 17 import com.android.internal.util.AsyncChannel; 921 private static AsyncChannel sAsyncChannel; 963 sAsyncChannel = new AsyncChannel(); in init() 1041 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in handleMessage() 1042 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleMessage() 1043 sAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in handleMessage() 1052 case AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED: in handleMessage() 1054 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in handleMessage()
|
D | WifiScanner.java | 33 import com.android.internal.util.AsyncChannel; 785 private static AsyncChannel sAsyncChannel; 825 sAsyncChannel = new AsyncChannel(); in init() 938 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in handleMessage() 939 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleMessage() 940 sAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); in handleMessage() 949 case AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED: in handleMessage() 951 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in handleMessage()
|
D | WifiManager.java | 48 import com.android.internal.util.AsyncChannel; 619 private static AsyncChannel sAsyncChannel; 1893 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 1894 if (message.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 1895 sAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); 1904 case AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED: 1907 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: 2014 sAsyncChannel = new AsyncChannel();
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pManager.java | 39 import com.android.internal.util.AsyncChannel; 666 mAsyncChannel = new AsyncChannel(); in Channel() 681 private AsyncChannel mAsyncChannel; 693 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in handleMessage() 904 == AsyncChannel.STATUS_SUCCESSFUL) { in initalizeChannel()
|
/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/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 75 import com.android.internal.util.AsyncChannel; 116 private AsyncChannel mReplyChannel = new AsyncChannel(); 117 private AsyncChannel mWifiChannel; 568 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in processMessage() 569 if (message.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in processMessage() 571 mWifiChannel = (AsyncChannel) message.obj; in processMessage() 578 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in processMessage() 579 if (message.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { in processMessage() 587 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: in processMessage() 588 AsyncChannel ac = new AsyncChannel(); in processMessage()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | AsyncChannel.java | 86 public class AsyncChannel { class 207 public AsyncChannel() { in AsyncChannel() method in AsyncChannel
|
/frameworks/opt/telephony/ |
D | README.txt | 16 it is then the AsyncChannel#sendMessageSynchronously is
|