/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/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
WifiConnectionTest.java | 44 import com.android.internal.util.AsyncChannel; 98 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 99 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 100 //AsyncChannel in msg.obj 102 log("Failed to establish AsyncChannel connection");
|
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
AsyncChannelTest.java | 26 * Test for AsyncChannel.
|
/frameworks/base/core/java/android/net/ |
MobileDataStateTracker.java | 44 import com.android.internal.util.AsyncChannel; 81 private AsyncChannel mDataConnectionTrackerAc; 128 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 129 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 133 mMdst.mDataConnectionTrackerAc = (AsyncChannel) msg.obj; 140 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: 287 AsyncChannel ac = new AsyncChannel(); 471 final AsyncChannel channel = mDataConnectionTrackerAc; 482 final AsyncChannel channel = mDataConnectionTrackerAc [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
WpsStateMachine.java | 19 import com.android.internal.util.AsyncChannel; 59 AsyncChannel mReplyChannel = new AsyncChannel();
|
WifiStateMachine.java | 80 import com.android.internal.util.AsyncChannel; 182 private AsyncChannel mReplyChannel = new AsyncChannel(); 186 private AsyncChannel mWifiP2pChannel = new AsyncChannel(); 604 public boolean syncPingSupplicant(AsyncChannel channel) { 655 public WifiConfiguration syncGetWifiApConfiguration(AsyncChannel channel) { 797 public int syncAddOrUpdateNetwork(AsyncChannel channel, WifiConfiguration config) { 813 public boolean syncRemoveNetwork(AsyncChannel channel, int networkId) { 827 public boolean syncEnableNetwork(AsyncChannel channel, int netId, boolean disableOthers) [all...] |
WifiManager.java | 30 import com.android.internal.util.AsyncChannel; 463 private AsyncChannel mAsyncChannel = new AsyncChannel(); [all...] |
/frameworks/base/services/java/com/android/server/ |
WifiService.java | 73 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: { 235 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 237 mClients.add((AsyncChannel) msg.obj); 243 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { 244 if (msg.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) { 249 mClients.remove((AsyncChannel) msg.obj) [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
DataConnection.java | 21 import com.android.internal.util.AsyncChannel; 66 protected AsyncChannel mAc; 578 case AsyncChannel.CMD_CHANNEL_FULL_CONNECTION: { 581 mAc.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, 582 AsyncChannel.STATUS_FULL_CONNECTION_REFUSED_ALREADY_CONNECTED); 584 mAc = new AsyncChannel(); 587 mAc.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, 588 AsyncChannel.STATUS_SUCCESSFUL, mId, "hi"); 592 case AsyncChannel.CMD_CHANNEL_DISCONNECT: { 597 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: [all...] |
DataConnectionAc.java | 20 import com.android.internal.util.AsyncChannel; 33 * AsyncChannel to a DataConnection 35 public class DataConnectionAc extends AsyncChannel {
|
DataConnectionTracker.java | 46 import com.android.internal.util.AsyncChannel; 559 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: { [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pService.java | 63 import com.android.internal.util.AsyncChannel; 100 private AsyncChannel mReplyChannel = new AsyncChannel(); 101 private AsyncChannel mWifiChannel; 228 * an AsyncChannel communication with WifiP2pService 308 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 309 if (message.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 311 mWifiChannel = (AsyncChannel) message.obj; 318 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: 319 if (message.arg1 == AsyncChannel.STATUS_SEND_UNSUCCESSFUL) [all...] |
WifiP2pManager.java | 35 import com.android.internal.util.AsyncChannel; 351 mAsyncChannel = new AsyncChannel(); 360 AsyncChannel mAsyncChannel; 371 case AsyncChannel.CMD_CHANNEL_DISCONNECTED: 454 == AsyncChannel.STATUS_SUCCESSFUL) { 623 * an AsyncChannel communication with WifiService
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiSettings.java | 61 import com.android.internal.util.AsyncChannel; 688 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 689 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 690 //AsyncChannel in msg.obj 692 //AsyncChannel set up failure, ignore 693 Log.e(TAG, "Failed to establish AsyncChannel connection"); [all...] |
WifiSettingsForSetupWizardXL.java | 41 import com.android.internal.util.AsyncChannel; 208 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 209 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 210 //AsyncChannel in msg.obj 212 //AsyncChannel set up failure, ignore 213 Log.e(TAG, "Failed to establish AsyncChannel connection");
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
ConnectivityManagerTestActivity.java | 44 import com.android.internal.util.AsyncChannel; 191 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 192 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 193 //AsyncChannel in msg.obj 195 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; 226 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 227 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 228 // AsyncChannel in msg.obj 230 Log.v(LOG_TAG, "Failed to establish AsyncChannel connection");
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
NetworkController.java | 56 import com.android.internal.util.AsyncChannel; 96 AsyncChannel mWifiChannel; 180 mWifiChannel = new AsyncChannel(); 623 case AsyncChannel.CMD_CHANNEL_HALF_CONNECTED: 624 if (msg.arg1 == AsyncChannel.STATUS_SUCCESSFUL) { 626 AsyncChannel.CMD_CHANNEL_FULL_CONNECTION)); [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
CdmaDataConnectionTracker.java | 45 import com.android.internal.util.AsyncChannel; 770 if (status == AsyncChannel.STATUS_SUCCESSFUL) { [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
GsmDataConnectionTracker.java | 66 import com.android.internal.util.AsyncChannel; [all...] |