/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcSwitchStateMachine.java | 19 import com.android.internal.util.AsyncChannel; 43 private AsyncChannel mAc; 315 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: { 318 mAc.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, 319 AsyncChannel.STATUS_FULL_CONNECTION_REFUSED_ALREADY_CONNECTED); 321 mAc = new AsyncChannel(); 324 mAc.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, 325 AsyncChannel.STATUS_SUCCESSFUL, mId, "hi"); 329 case AsyncChannel.CMD_CHANNEL_DISCONNECT: { 334 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: [all...] |
DcSwitchAsyncChannel.java | 19 import com.android.internal.util.AsyncChannel; 27 public class DcSwitchAsyncChannel extends AsyncChannel { 89 return AsyncChannel.cmdToString(cmd + BASE);
|
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; 108 private AsyncChannel mAc; [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...] |
AsyncService.java | 29 * as messages via an AsyncChannel.
|
/frameworks/base/core/java/android/net/ |
NetworkAgent.java | 28 import com.android.internal.util.AsyncChannel; 45 private volatile AsyncChannel mAsyncChannel; 152 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: { 157 AsyncChannel ac = new AsyncChannel(); 159 ac.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, 160 AsyncChannel.STATUS_SUCCESSFUL); 171 case AsyncChannel.CMD_CHANNEL_DISCONNECT: { 176 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: {
|
MobileDataStateTracker.java | 41 import com.android.internal.util.AsyncChannel; 78 private AsyncChannel mDataConnectionTrackerAc; 143 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 144 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 148 mMdst.mDataConnectionTrackerAc = (AsyncChannel) msg.obj; 155 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: 566 final AsyncChannel channel = mDataConnectionTrackerAc; 577 final AsyncChannel channel = mDataConnectionTrackerAc; 589 final AsyncChannel channel = mDataConnectionTrackerAc; 604 final AsyncChannel channel = mDataConnectionTrackerAc [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
RttService.java | 21 import com.android.internal.util.AsyncChannel; 56 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 57 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 58 AsyncChannel c = (AsyncChannel) msg.obj; 67 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: 68 if (msg.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { 77 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: 78 AsyncChannel ac = new AsyncChannel(); [all...] |
WifiApConfigStore.java | 28 import com.android.internal.util.AsyncChannel; 61 private AsyncChannel mReplyChannel = new AsyncChannel();
|
WifiServiceImpl.java | 70 import com.android.internal.util.AsyncChannel; 131 private AsyncChannel mWifiStateMachineChannel; 145 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: { 146 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 156 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { 157 if (msg.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { 165 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: { 166 AsyncChannel ac = new AsyncChannel(); 259 private AsyncChannel mWsmChannel [all...] |
WifiScanningServiceImpl.java | 42 import com.android.internal.util.AsyncChannel; 100 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 101 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 102 AsyncChannel c = (AsyncChannel) msg.obj; 111 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: 112 if (msg.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { 123 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: 124 AsyncChannel ac = new AsyncChannel(); [all...] |
WifiStateMachine.java | 102 import com.android.internal.util.AsyncChannel; 402 private AsyncChannel mReplyChannel = new AsyncChannel(); 407 private AsyncChannel mWifiP2pChannel; 408 private AsyncChannel mWifiApConfigChannel; [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
NetworkAgentInfo.java | 30 import com.android.internal.util.AsyncChannel; 38 * AsyncChannel/messenger for reaching that NetworkAgent and lists of NetworkRequests 81 public final AsyncChannel asyncChannel; 86 public NetworkAgentInfo(Messenger messenger, AsyncChannel ac, NetworkInfo info, 90 asyncChannel = ac;
|
/frameworks/base/services/core/java/com/android/server/ |
NsdService.java | 46 import com.android.internal.util.AsyncChannel; 76 private AsyncChannel mReplyChannel = new AsyncChannel(); 152 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 153 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 154 AsyncChannel c = (AsyncChannel) msg.obj; 156 c.sendMessage(AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED); 163 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: 165 case AsyncChannel.STATUS_SEND_UNSUCCESSFUL [all...] |
ConnectivityService.java | 106 import com.android.internal.util.AsyncChannel; [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
AsyncChannelTest.java | 26 * Test for AsyncChannel.
|
/frameworks/base/wifi/java/android/net/wifi/ |
RttManager.java | 17 import com.android.internal.util.AsyncChannel; 325 private static AsyncChannel sAsyncChannel; 367 sAsyncChannel = new AsyncChannel(); 444 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 445 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 446 sAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); 455 case AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED: 457 case AsyncChannel.CMD_CHANNEL_DISCONNECTED:
|
WifiScanner.java | 33 import com.android.internal.util.AsyncChannel; 606 private static AsyncChannel sAsyncChannel; 646 sAsyncChannel = new AsyncChannel(); 759 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 760 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 761 sAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); 770 case AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED: 772 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: [all...] |
/frameworks/base/core/java/android/net/nsd/ |
NsdManager.java | 34 import com.android.internal.util.AsyncChannel; 220 private final AsyncChannel mAsyncChannel = new AsyncChannel(); 304 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 305 mAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION); 307 case AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED: 310 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: 435 * Initialize AsyncChannel 627 * an AsyncChannel communication with the service
|
/frameworks/opt/telephony/ |
README.txt | 16 it is then the AsyncChannel#sendMessageSynchronously is
|
/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");
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/ |
BluetoothTetheringNetworkFactory.java | 40 import com.android.internal.util.AsyncChannel;
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pManager.java | 39 import com.android.internal.util.AsyncChannel; 666 mAsyncChannel = new AsyncChannel(); 681 private AsyncChannel mAsyncChannel; 693 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
WifiP2pServiceImpl.java | 75 import com.android.internal.util.AsyncChannel; 116 private AsyncChannel mReplyChannel = new AsyncChannel(); 117 private AsyncChannel mWifiChannel; 420 * an AsyncChannel communication with WifiP2pService 430 * an AsyncChannel communication with P2pStateMachine 568 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 569 if (message.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 571 mWifiChannel = (AsyncChannel) message.obj; 578 case AsyncChannel.CMD_CHANNEL_DISCONNECTED [all...] |