/frameworks/base/core/java/android/bluetooth/ |
BluetoothTetheringDataTracker.java | 43 import com.android.internal.util.AsyncChannel; 83 private AtomicReference<AsyncChannel> mAsyncChannel = new AtomicReference<AsyncChannel>(null); 390 private AsyncChannel mStackChannel; 401 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 403 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 404 AsyncChannel ac = (AsyncChannel)msg.obj; 409 AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); 413 case AsyncChannel.CMD_CHANNEL_DISCONNECTED [all...] |
/frameworks/base/core/java/android/net/nsd/ |
NsdManager.java | 36 import com.android.internal.util.AsyncChannel; 221 private final AsyncChannel mAsyncChannel = new AsyncChannel(); 307 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 308 mAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); 310 case AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED: 313 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: 425 * Initialize AsyncChannel 586 * an AsyncChannel communication with the service
|
/frameworks/base/core/java/android/net/ |
MobileDataStateTracker.java | 39 import com.android.internal.util.AsyncChannel; 77 private AsyncChannel mDataConnectionTrackerAc; 125 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 126 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 130 mMdst.mDataConnectionTrackerAc = (AsyncChannel) msg.obj; 137 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: 515 final AsyncChannel channel = mDataConnectionTrackerAc; 527 final AsyncChannel channel = mDataConnectionTrackerAc; 542 final AsyncChannel channel = mDataConnectionTrackerAc; 572 final AsyncChannel channel = mDataConnectionTrackerAc [all...] |
/frameworks/base/services/java/com/android/server/ |
NsdService.java | 49 import com.android.internal.util.AsyncChannel; 81 private AsyncChannel mReplyChannel = new AsyncChannel(); 156 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 157 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 158 AsyncChannel c = (AsyncChannel) msg.obj; 160 c.sendMessage(AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED); 167 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: 168 if (msg.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
PanService.java | 47 import com.android.internal.util.AsyncChannel; 80 AsyncChannel mTetherAc; 186 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: 190 AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, 191 AsyncChannel.STATUS_FULL_CONNECTION_REFUSED_ALREADY_CONNECTED); 193 mTetherAc = new AsyncChannel(); 195 mTetherAc.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, 196 AsyncChannel.STATUS_SUCCESSFUL); 200 case AsyncChannel.CMD_CHANNEL_DISCONNECT:
|
/frameworks/base/services/java/com/android/server/wifi/ |
WifiService.java | 66 import com.android.internal.util.AsyncChannel; 120 private AsyncChannel mWifiStateMachineChannel; 134 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: { 135 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 145 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { 146 if (msg.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { 154 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: { 155 AsyncChannel ac = new AsyncChannel(); 183 private AsyncChannel mWsmChannel [all...] |
WifiTrafficPoller.java | 39 import com.android.internal.util.AsyncChannel;
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiManager.java | 37 import com.android.internal.util.AsyncChannel; 533 private static AsyncChannel sAsyncChannel; [all...] |
WifiApConfigStore.java | 27 import com.android.internal.util.AsyncChannel; 61 private AsyncChannel mReplyChannel = new AsyncChannel();
|
WifiStateMachine.java | 75 import com.android.internal.util.AsyncChannel; 219 private AsyncChannel mReplyChannel = new AsyncChannel(); 223 private AsyncChannel mWifiP2pChannel; 224 private AsyncChannel mWifiApConfigChannel; 716 public boolean syncPingSupplicant(AsyncChannel channel) { [all...] |
WifiWatchdogStateMachine.java | 37 import com.android.internal.util.AsyncChannel; 268 private AsyncChannel mWsmChannel = new AsyncChannel(); [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcAsyncChannel.java | 21 import com.android.internal.util.AsyncChannel; 30 * AsyncChannel to a DataConnection 32 public class DcAsyncChannel extends AsyncChannel { 89 return AsyncChannel.cmdToString(cmd + BASE);
|
DataConnection.java | 27 import com.android.internal.util.AsyncChannel; 91 private AsyncChannel mAc; 810 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: { 813 mAc.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, 814 AsyncChannel.STATUS_FULL_CONNECTION_REFUSED_ALREADY_CONNECTED); 816 mAc = new AsyncChannel(); 819 mAc.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, 820 AsyncChannel.STATUS_SUCCESSFUL, mId, "hi"); 824 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { [all...] |
DcTrackerBase.java | 60 import com.android.internal.util.AsyncChannel; 279 protected AsyncChannel mReplyAc = new AsyncChannel(); 667 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { [all...] |
DcTracker.java | 64 import com.android.internal.util.AsyncChannel; [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pManager.java | 44 import com.android.internal.util.AsyncChannel; 619 mAsyncChannel = new AsyncChannel(); 634 private AsyncChannel mAsyncChannel; 646 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: [all...] |
WifiP2pService.java | 75 import com.android.internal.util.AsyncChannel; 111 private AsyncChannel mReplyChannel = new AsyncChannel(); 112 private AsyncChannel mWifiChannel; 342 * an AsyncChannel communication with WifiP2pService 478 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 479 if (message.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 481 mWifiChannel = (AsyncChannel) message.obj; 488 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: 489 if (message.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
WifiConnectionTest.java | 44 import com.android.internal.util.AsyncChannel;
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
ConnectivityManagerTestActivity.java | 45 import com.android.internal.util.AsyncChannel; 197 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 198 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 199 //AsyncChannel in msg.obj 201 log("Failed to establish AsyncChannel connection");
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
ConnectionUtil.java | 45 import com.android.internal.util.AsyncChannel; 235 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 236 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 237 // AsyncChannel in msg.obj 239 Log.v(LOG_TAG, "Failed to establish AsyncChannel connection");
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
NetworkController.java | 49 import com.android.internal.util.AsyncChannel; 102 AsyncChannel mWifiChannel; 227 mWifiChannel = new AsyncChannel(); [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
AsyncChannel.java | 47 * <li>Client calls AsyncChannel#connectSync or Asynchronously:</li> 48 * <ol>For an asynchronous half connection client calls AsyncChannel#connect.</ol> 49 * <li>Client receives CMD_CHANNEL_HALF_CONNECTED from AsyncChannel</li> 52 * <li>Client calls AsyncChannel#sendMessage</li> 53 * <li>Server processes messages and optionally replies using AsyncChannel#replyToMessage 55 * <li>When done Client calls {@link AsyncChannel#disconnect}</li> 56 * <li>Client/Server receives CMD_CHANNEL_DISCONNECTED from AsyncChannel</li> 65 * <li>Client calls AsyncChannel#fullyConnectSync or Asynchronously:<li> 66 * <ol>For an asynchronous full connection it calls AsyncChannel#connect</li> 67 * <li>Client receives CMD_CHANNEL_HALF_CONNECTED from AsyncChannel</li [all...] |