Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DMobileDataStateTracker.java44 import com.android.internal.util.AsyncChannel;
81 private AsyncChannel mDataConnectionTrackerAc;
128 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in handleMessage()
129 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleMessage()
133 mMdst.mDataConnectionTrackerAc = (AsyncChannel) msg.obj; in handleMessage()
140 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in handleMessage()
287 AsyncChannel ac = new AsyncChannel(); in onReceive()
471 final AsyncChannel channel = mDataConnectionTrackerAc; in setUserDataEnable()
482 final AsyncChannel channel = mDataConnectionTrackerAc; in setPolicyDataEnable()
/frameworks/base/services/java/com/android/server/
DWifiService.java73 import com.android.internal.util.AsyncChannel;
215 private AsyncChannel mWifiStateMachineChannel;
220 private List<AsyncChannel> mClients = new ArrayList<AsyncChannel>();
234 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: { in handleMessage()
235 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleMessage()
237 mClients.add((AsyncChannel) msg.obj); in handleMessage()
243 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { in handleMessage()
244 if (msg.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { in handleMessage()
249 mClients.remove((AsyncChannel) msg.obj); in handleMessage()
252 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: { in handleMessage()
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java35 import com.android.internal.util.AsyncChannel;
351 mAsyncChannel = new AsyncChannel(); in Channel()
360 AsyncChannel mAsyncChannel;
371 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in handleMessage()
454 == AsyncChannel.STATUS_SUCCESSFUL) { in initialize()
DWifiP2pService.java63 import com.android.internal.util.AsyncChannel;
100 private AsyncChannel mReplyChannel = new AsyncChannel();
101 private AsyncChannel mWifiChannel;
308 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in processMessage()
309 if (message.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in processMessage()
311 mWifiChannel = (AsyncChannel) message.obj; in processMessage()
318 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: in processMessage()
319 if (message.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { in processMessage()
327 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: in processMessage()
328 AsyncChannel ac = new AsyncChannel(); in processMessage()
/frameworks/base/wifi/java/android/net/wifi/
DWpsStateMachine.java19 import com.android.internal.util.AsyncChannel;
59 AsyncChannel mReplyChannel = new AsyncChannel();
DWifiStateMachine.java80 import com.android.internal.util.AsyncChannel;
182 private AsyncChannel mReplyChannel = new AsyncChannel();
186 private AsyncChannel mWifiP2pChannel = new AsyncChannel();
604 public boolean syncPingSupplicant(AsyncChannel channel) { in syncPingSupplicant()
655 public WifiConfiguration syncGetWifiApConfiguration(AsyncChannel channel) { in syncGetWifiApConfiguration()
797 public int syncAddOrUpdateNetwork(AsyncChannel channel, WifiConfiguration config) { in syncAddOrUpdateNetwork()
813 public boolean syncRemoveNetwork(AsyncChannel channel, int networkId) { in syncRemoveNetwork()
827 public boolean syncEnableNetwork(AsyncChannel channel, int netId, boolean disableOthers) { in syncEnableNetwork()
841 public boolean syncDisableNetwork(AsyncChannel channel, int netId) { in syncDisableNetwork()
1008 public boolean syncSaveConfig(AsyncChannel channel) { in syncSaveConfig()
[all …]
DWifiManager.java30 import com.android.internal.util.AsyncChannel;
463 private AsyncChannel mAsyncChannel = new AsyncChannel();
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DWifiConnectionTest.java44 import com.android.internal.util.AsyncChannel;
98 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in handleMessage()
99 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleMessage()
/frameworks/base/telephony/java/com/android/internal/telephony/
DDataConnection.java21 import com.android.internal.util.AsyncChannel;
66 protected AsyncChannel mAc;
578 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: { in processMessage()
581 mAc.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, in processMessage()
582 AsyncChannel.STATUS_FULL_CONNECTION_REFUSED_ALREADY_CONNECTED); in processMessage()
584 mAc = new AsyncChannel(); in processMessage()
587 mAc.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, in processMessage()
588 AsyncChannel.STATUS_SUCCESSFUL, mId, "hi"); in processMessage()
592 case AsyncChannel.CMD_CHANNEL_DISCONNECT: { in processMessage()
597 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { in processMessage()
DDataConnectionAc.java20 import com.android.internal.util.AsyncChannel;
35 public class DataConnectionAc extends AsyncChannel {
DDataConnectionTracker.java46 import com.android.internal.util.AsyncChannel;
559 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { in handleMessage()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DConnectionUtil.java45 import com.android.internal.util.AsyncChannel;
226 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in handleMessage()
227 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkController.java56 import com.android.internal.util.AsyncChannel;
96 AsyncChannel mWifiChannel;
180 mWifiChannel = new AsyncChannel(); in NetworkController()
623 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in handleMessage()
624 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleMessage()
626 AsyncChannel.CMD_CHANNEL_FULL_CONNECTION)); in handleMessage()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestActivity.java44 import com.android.internal.util.AsyncChannel;
191 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: in handleMessage()
192 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { in handleMessage()
/frameworks/base/core/java/com/android/internal/util/
DAsyncChannel.java86 public class AsyncChannel { class
183 public AsyncChannel() { in AsyncChannel() method in AsyncChannel
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaDataConnectionTracker.java45 import com.android.internal.util.AsyncChannel;
770 if (status == AsyncChannel.STATUS_SUCCESSFUL) { in createAllDataConnectionList()
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmDataConnectionTracker.java66 import com.android.internal.util.AsyncChannel;
2051 if (status == AsyncChannel.STATUS_SUCCESSFUL) { in createDataConnection()