Home
last modified time | relevance | path

Searched refs:AsyncChannel (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/java/android/net/
DNetworkAgent.java26 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/
DDcSwitchStateMachine.java19 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()
DDcSwitchAsyncChannel.java24 import com.android.internal.util.AsyncChannel;
28 public class DcSwitchAsyncChannel extends AsyncChannel {
101 return AsyncChannel.cmdToString(cmd + BASE); in cmdToString()
DDcAsyncChannel.java21 import com.android.internal.util.AsyncChannel;
32 public class DcAsyncChannel extends AsyncChannel {
89 return AsyncChannel.cmdToString(cmd + BASE); in cmdToString()
DDataConnection.java28 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/
DRttService.java21 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()
DWifiApConfigStore.java28 import com.android.internal.util.AsyncChannel;
62 private AsyncChannel mReplyChannel = new AsyncChannel();
DWifiServiceImpl.java73 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 …]
DWifiScanningServiceImpl.java48 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()
DWifiStateMachine.java109 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 …]
DWifiWatchdogStateMachine.java38 import com.android.internal.util.AsyncChannel;
266 private AsyncChannel mWsmChannel = new AsyncChannel();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DWifiSignalController.java31 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/
DNsdService.java45 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 …]
DConnectivityService.java115 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/
DNsdManager.java34 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/
DNetworkAgentInfo.java32 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/
DWifiPasspointManager.java30 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/
DRttManager.java17 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()
DWifiScanner.java33 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()
DWifiManager.java48 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/
DWifiP2pManager.java39 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/
DConnectionUtil.java45 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/
DWifiP2pServiceImpl.java75 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/
DAsyncChannel.java86 public class AsyncChannel { class
207 public AsyncChannel() { in AsyncChannel() method in AsyncChannel
/frameworks/opt/telephony/
DREADME.txt16 it is then the AsyncChannel#sendMessageSynchronously is

12