HomeSort by relevance Sort by last modified time
    Searched refs:AsyncChannel (Results 1 - 21 of 21) sorted by null

  /frameworks/base/core/java/android/bluetooth/
BluetoothTetheringDataTracker.java 44 import com.android.internal.util.AsyncChannel;
78 private AtomicReference<AsyncChannel> mAsyncChannel = new AtomicReference<AsyncChannel>(null);
385 private AsyncChannel mStackChannel;
396 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED:
398 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) {
399 AsyncChannel ac = (AsyncChannel)msg.obj;
404 AsyncChannel.CMD_CHANNEL_FULL_CONNECTION);
408 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();
305 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED:
306 mAsyncChannel.sendMessage(AsyncChannel.CMD_CHANNEL_FULL_CONNECTION);
308 case AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED:
311 case AsyncChannel.CMD_CHANNEL_DISCONNECTED:
434 * Initialize AsyncChannel
595 * an AsyncChannel communication with the service
  /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/core/java/android/net/
MobileDataStateTracker.java 41 import com.android.internal.util.AsyncChannel;
79 private AsyncChannel mDataConnectionTrackerAc;
144 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED:
145 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) {
149 mMdst.mDataConnectionTrackerAc = (AsyncChannel) msg.obj;
156 case AsyncChannel.CMD_CHANNEL_DISCONNECTED:
572 final AsyncChannel channel = mDataConnectionTrackerAc;
583 final AsyncChannel channel = mDataConnectionTrackerAc;
595 final AsyncChannel channel = mDataConnectionTrackerAc;
610 final AsyncChannel channel = mDataConnectionTrackerAc
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/
WifiManager.java 39 import com.android.internal.util.AsyncChannel;
543 private static AsyncChannel sAsyncChannel;
    [all...]
WifiApConfigStore.java 27 import com.android.internal.util.AsyncChannel;
61 private AsyncChannel mReplyChannel = new AsyncChannel();
WifiStateMachine.java 80 import com.android.internal.util.AsyncChannel;
283 private AsyncChannel mReplyChannel = new AsyncChannel();
287 private AsyncChannel mWifiP2pChannel;
288 private AsyncChannel mWifiApConfigChannel;
    [all...]
WifiWatchdogStateMachine.java 37 import com.android.internal.util.AsyncChannel;
267 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;
93 private AsyncChannel mAc;
816 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: {
819 mAc.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED,
820 AsyncChannel.STATUS_FULL_CONNECTION_REFUSED_ALREADY_CONNECTED);
822 mAc = new AsyncChannel();
825 mAc.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED,
826 AsyncChannel.STATUS_SUCCESSFUL, mId, "hi");
830 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: {
    [all...]
DcTrackerBase.java 60 import com.android.internal.util.AsyncChannel;
312 protected AsyncChannel mReplyAc = new AsyncChannel();
707 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: {
    [all...]
DcTracker.java 65 import com.android.internal.util.AsyncChannel;
    [all...]
  /frameworks/base/services/java/com/android/server/wifi/
WifiService.java 77 import com.android.internal.util.AsyncChannel;
134 private AsyncChannel mWifiStateMachineChannel;
148 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: {
149 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) {
159 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: {
160 if (msg.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) {
168 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: {
169 AsyncChannel ac = new AsyncChannel();
238 private AsyncChannel mWsmChannel
    [all...]
WifiTrafficPoller.java 39 import com.android.internal.util.AsyncChannel;
  /frameworks/base/wifi/java/android/net/wifi/p2p/
WifiP2pManager.java 45 import com.android.internal.util.AsyncChannel;
642 mAsyncChannel = new AsyncChannel();
657 private AsyncChannel mAsyncChannel;
669 case AsyncChannel.CMD_CHANNEL_DISCONNECTED:
    [all...]
WifiP2pService.java 76 import com.android.internal.util.AsyncChannel;
114 private AsyncChannel mReplyChannel = new AsyncChannel();
115 private AsyncChannel mWifiChannel;
352 * an AsyncChannel communication with WifiP2pService
488 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED:
489 if (message.arg1 == AsyncChannel.STATUS_SUCCESSFUL) {
491 mWifiChannel = (AsyncChannel) message.obj;
498 case AsyncChannel.CMD_CHANNEL_DISCONNECTED:
499 if (message.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL)
    [all...]
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
ConnectivityManagerTestBase.java 38 import com.android.internal.util.AsyncChannel;
189 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED:
190 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) {
191 //AsyncChannel in msg.obj
193 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 46 import com.android.internal.util.AsyncChannel;
100 AsyncChannel mWifiChannel;
215 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...]

Completed in 1516 milliseconds