/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
BluetoothChatService.java | 38 * thread for performing data transmissions when connected. 81 public static final int STATE_CONNECTED = 3; // now connected to a remote device 163 * @param device The BluetoothDevice that has been connected 165 public synchronized void connected(BluetoothSocket socket, BluetoothDevice method in class:BluetoothChatService 167 if (D) Log.d(TAG, "connected, Socket Type: " + socketType); 189 // Send the name of the connected device back to the UI Activity 302 // Listen to the server socket if we're not connected 319 // Situation normal. Start the connected thread. 320 connected(socket, socket.getRemoteDevice(), method 325 // Either not ready or already connected. Terminate new socket 413 connected(mmSocket, mmDevice, mSocketType); method [all...] |
/developers/build/prebuilts/gradle/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
BluetoothChatService.java | 39 * thread for performing data transmissions when connected. 69 public static final int STATE_CONNECTED = 3; // now connected to a remote device 169 * @param device The BluetoothDevice that has been connected 171 public synchronized void connected(BluetoothSocket socket, BluetoothDevice method in class:BluetoothChatService 173 Log.d(TAG, "connected, Socket Type:" + socketType); 201 // Send the name of the connected device back to the UI Activity 334 // Listen to the server socket if we're not connected 351 // Situation normal. Start the connected thread. 352 connected(socket, socket.getRemoteDevice(), method 357 // Either not ready or already connected. Terminate new socket 445 connected(mmSocket, mmDevice, mSocketType); method [all...] |
/developers/samples/android/connectivity/bluetooth/BluetoothChat/Application/src/main/java/com/example/android/bluetoothchat/ |
BluetoothChatService.java | 39 * thread for performing data transmissions when connected. 69 public static final int STATE_CONNECTED = 3; // now connected to a remote device 169 * @param device The BluetoothDevice that has been connected 171 public synchronized void connected(BluetoothSocket socket, BluetoothDevice method in class:BluetoothChatService 173 Log.d(TAG, "connected, Socket Type:" + socketType); 201 // Send the name of the connected device back to the UI Activity 334 // Listen to the server socket if we're not connected 351 // Situation normal. Start the connected thread. 352 connected(socket, socket.getRemoteDevice(), method 357 // Either not ready or already connected. Terminate new socket 445 connected(mmSocket, mmDevice, mSocketType); method [all...] |
/development/samples/BluetoothChat/src/com/example/android/BluetoothChat/ |
BluetoothChatService.java | 38 * thread for performing data transmissions when connected. 68 public static final int STATE_CONNECTED = 3; // now connected to a remote device 149 * @param device The BluetoothDevice that has been connected 151 public synchronized void connected(BluetoothSocket socket, BluetoothDevice method in class:BluetoothChatService 153 if (D) Log.d(TAG, "connected, Socket Type:" + socketType); 175 // Send the name of the connected device back to the UI Activity 296 // Listen to the server socket if we're not connected 313 // Situation normal. Start the connected thread. 314 connected(socket, socket.getRemoteDevice(), method 319 // Either not ready or already connected. Terminate new socket 406 connected(mmSocket, mmDevice, mSocketType); method [all...] |
/development/samples/browseable/BluetoothChat/src/com.example.android.bluetoothchat/ |
BluetoothChatService.java | 39 * thread for performing data transmissions when connected. 69 public static final int STATE_CONNECTED = 3; // now connected to a remote device 169 * @param device The BluetoothDevice that has been connected 171 public synchronized void connected(BluetoothSocket socket, BluetoothDevice method in class:BluetoothChatService 173 Log.d(TAG, "connected, Socket Type:" + socketType); 201 // Send the name of the connected device back to the UI Activity 334 // Listen to the server socket if we're not connected 351 // Situation normal. Start the connected thread. 352 connected(socket, socket.getRemoteDevice(), method 357 // Either not ready or already connected. Terminate new socket 445 connected(mmSocket, mmDevice, mSocketType); method [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/mbs/ |
A2dpMediaBrowserService.java | 63 * connected and first starts playing. Before it starts playing we do not active the session. 65 * 2. The session is de-activated when the device disconnects. It will be connected again when (1) 75 // Message sent when A2DP device is connected. 77 // Message sent when we recieve a TRACK update from AVRCP profile over a connected A2DP device. 83 // Message sent when AVRCP browse is connected. 205 Log.e(TAG, "AVRCP not yet connected."); 336 // Connected state will be handled when AVRCP BluetoothProfile gets connected. 343 // we are not connected anymore. 373 // We are connected to a new device via A2DP now [all...] |
/external/autotest/client/common_lib/cros/ |
power_cycle_usb_util.py | 108 Get bus number and port number a device is connected to on DUT. 111 device is connected to. 135 Get bus number and device index a device is connected to on DUT. 138 device is connected to based on the output of command 'lsusb -d VID:PID'. 165 Get port number that certain device is connected to on DUT. 168 connected to based on the output of command 'lsusb -t', its bus number and 184 @param bus: The bus number the peripharel device is connected to.
|
/external/autotest/client/site_tests/network_ChromeCellularEndToEnd/ |
network_ChromeCellularEndToEnd.py | 67 """Check if device is connected to cellular network. 70 @return True if connected to cellular, else False 84 if network_properties['result']['ConnectionState'] == 'Connected': 147 exception=error.TestFail('Network not connected after suspend ' 196 if (not formatted_network_list[0].connectionState == 'Connected' or 197 not formatted_network_list[1].connectionState == 'Connected'): 199 'connected to successfully determine '
|
/external/wpa_supplicant_8/src/fst/ |
fst.h | 105 * get_peer_first - Get MAC address of the 1st connected STA 109 * Returns: Address of the 1st connected STA, %NULL if no STAs connected 115 * get_peer_next - Get MAC address of the next connected STA 120 * Returns: Address of the next connected STA, %NULL if no more STAs 121 * connected 249 * @addr: Address of the connected STA
|
/tools/test/connectivity/acts/tests/google/wifi/ |
WifiPnoTest.py | 94 Validate that the DUT connected to the new SSID as expected after PNO. 109 self.log.info("Connected to %s network after PNO interval" 114 self.log.info("Connected to %s successfully after PNO", 154 4. Check the device connected to 2Ghz network automatically. 156 6. Check the device connected to 5Ghz network automatically. 171 4. Check the device connected to 5Ghz network automatically. 173 6. Check the device connected to 2Ghz network automatically.
|
/libcore/ojluni/src/main/java/java/net/ |
DatagramSocket.java | 97 * the connected destination. Other packets are read but 104 * ST_NOT_CONNECTED = socket not connected 105 * ST_CONNECTED = socket connected 106 * ST_CONNECTED_NO_IMPL = socket connected but not at impl level 115 * Connected address & port 170 // socket is now connected by the impl 430 * socket is connected to a remote address, packets may only be 432 * socket is not connected. 434 * <p>If the remote destination to which the socket is connected does not 453 * <p> When a socket is connected, {@link #receive receive} an [all...] |
PlainDatagramSocketImpl.java | 93 if (!connected) 106 // Now that we're a connected socket, let's extract the port number that the system 122 int port = connected ? 0 : p.getPort(); 123 InetAddress address = connected ? null : p.getAddress(); 153 connected);
|
/external/webrtc/talk/app/webrtc/java/android/org/webrtc/ |
NetworkMonitorAutoDetect.java | 70 private final boolean connected; field in class:NetworkMonitorAutoDetect.NetworkState 78 public NetworkState(boolean connected, int type, int subtype) { 79 this.connected = connected; 85 return connected; 150 * Returns all connected networks. 163 * INVALID_NET_ID if no current default network connected. 187 // There should not be multiple connected networks of the 352 * Returns NetID of device's current default connected network used for
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
wifi_test_utils.py | 559 asserts.assert_equal(event['data']['Connected'], new_state, fail_msg) 776 This expects the device to be already connected to the provided network. 779 1. Ensure that we're connected to the network. 783 5. Wait for the "connected" event, then confirm the connected ssid is the 811 This expects the device to be already connected to the provided network. 814 1. Ensure that we're connected to the network. 818 5. Wait for the "connected" event, then confirm the connected ssid is the 831 # First ensure that we're already connected to the provided network [all...] |
/external/autotest/client/common_lib/cros/network/ |
iw_event_logger.py | 98 1393961019.758599: wlan0 (phy #0): connected to 04:f0:21:03:7d:bd 120 takes from start of reassociation request to being connected. Start of 126 request to being connected. Return None if unable to determine 133 # when client is connected. 145 if entry.message.startswith('connected'):
|
/external/autotest/client/cros/chameleon/ |
chameleon_bluetooth_audio.py | 33 connected. 81 logging.info('Bluetooth module at %s is connected', target_mac_address) 91 connected. 109 connected = utils.wait_for_value(_connect_device, True, timeout_sec=timeout) 110 if not connected:
|
/external/autotest/client/profilers/powertop/src/ |
urbnum.c | 42 uint64_t urbs, active, connected; member in struct:device_data 57 ptr->previous_connected = ptr->connected; 85 ptr->connected = strtoull(name, NULL, 10); 180 (0.00001 + dev->connected - dev->previous_connected), dev->human_name); 209 (0.00001 + dev->connected - dev->previous_connected),
|
/external/skia/infra/bots/recipe_modules/flavor/ |
default_flavor.py | 103 """Like os.path.join(), but for paths on a connected device.""" 107 """Like shutil.copytree(), but for copying to a connected device.""" 117 """Like shutil.copytree(), but for copying from a connected device.""" 127 """Like shutil.copyfile, but for copying to a connected device.""" 137 """Like shutil.rmtree() + os.makedirs(), but on a connected device."""
|
/frameworks/base/core/java/android/view/ |
DisplayEventReceiver.java | 150 * @param connected True if the display is connected, false if it disconnected. 152 public void onHotplug(long timestampNanos, int builtInDisplayId, boolean connected) { 176 private void dispatchHotplug(long timestampNanos, int builtInDisplayId, boolean connected) { 177 onHotplug(timestampNanos, builtInDisplayId, connected);
|
/frameworks/base/core/java/com/android/internal/util/ |
AsyncChannel.java | 60 * which client it's connected too. For example the server needs to 71 * <li>Server calls AsyncChannel#connected</li> 96 * Command sent when the channel is half connected. Half connected 149 * msg.replyTo = messenger disconnecting or null if it was never connected. 214 * @param srcHandler is the hander to receive CONNECTED & DISCONNECTED 252 * @param srcHandler is the hander to receive CONNECTED & DISCONNECTED 261 // We are connected 262 connected(srcContext, srcHandler, dstMessenger); method 272 * @param srcHandler is the hander to receive CONNECTED & DISCONNECTE 377 connected(srcContext, srcHandler, dstMessenger); method 395 public void connected(Context srcContext, Handler srcHandler, Messenger dstMessenger) { method in class:AsyncChannel [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
WifiSignalController.java | 80 // only show wifi in the cluster if connected or if wifi-only 82 && (mCurrentState.connected || !mHasMobileData); 92 IconState qsIcon = new IconState(mCurrentState.connected, getQsCurrentIconId(), 105 mCurrentState.connected = mWifiTracker.connected;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
NetworkControllerWifiTest.java | 140 protected void setWifiState(boolean connected, String ssid) { 143 Mockito.when(networkInfo.isConnected()).thenReturn(connected); 163 protected void verifyLastQsWifiIcon(boolean enabled, boolean connected, int icon, 174 assertEquals("WiFi connected, in quick settings", connected, iconState.visible);
|
/hardware/google/easel/camera/libhdrplusclient/include/ |
HdrPlusClient.h | 50 * If EaselManagerClient is used to create the HdrPlusClient, it is already connected. 54 * -EEXIST: if it's already connected. 68 * -ENODEV: if HDR+ service is not connected. 84 * -ENODEV: if HDR+ service is not connected. 100 * -ENODEV: if HDR+ service is not connected, or streams are not configured.
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
A2dpStateMachine.java | 25 * CONNECTED | | CONNECT 27 * (Connected) 73 private Connected mConnected; 85 // mCurrentDevice is the device connected before the state changes 86 // mTargetDevice is the device to be connected 95 // Connected, Connected state 134 mConnected = new Connected(); 356 logw("A2DP Connected from Disconnected state"); 530 loge("Unknown device Connected: " + device) [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
ConnectToWifiFragment.java | 117 if (DEBUG) Log.d(TAG, "Fake timeout; we're actually connected"); 155 // this just means the supplicant has connected, now 259 if (DEBUG) Log.d(TAG, "NetworkInfo is null; network is not connected"); 267 Log.d(TAG, "Connected to " 275 if (DEBUG) Log.d(TAG, "Network is not connected");
|