/system/bt/stack/srvc/ |
srvc_eng.c | 35 static void srvc_eng_connect_cback (tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, 76 if (p_clcb->in_use && p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) 101 if (p_clcb->in_use && p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) 125 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id) 149 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id) 177 p_clcb->connected = TRUE; 200 if (p_clcb->in_use && p_clcb->connected && (p_clcb->conn_id == conn_id)) 354 BOOLEAN connected, tGATT_DISCONN_REASON reason, tBT_TRANSPORT transport) 359 GATT_TRACE_EVENT ("srvc_eng_connect_cback: from %08x%04x connected:%d conn_id=%d reason = 0x%04x", 361 (bda[4]<<8)+bda[5], connected, conn_id, reason) [all...] |
/development/samples/BluetoothHDP/res/values/ |
strings.xml | 25 <string name="connected">CONNECTED</string>
|
/external/boringssl/src/tool/ |
transport_common.h | 24 // Connect sets |*out_sock| to be a socket connected to the destination given 29 // Accept sets |*out_sock| to be a socket connected to the port given
|
/external/libnfc-nxp/src/ |
phLibNfc_ioctl.h | 38 * \brief Allows to initiate firmware download to connected PN544 44 * \brief Allows to read memory from connected PN544 .
|
/frameworks/av/services/audioflinger/ |
PatchPanel.h | 30 /* List connected audio ports and their attributes */ 44 /* List connected audio devices and they attributes */
|
/frameworks/base/core/java/android/os/storage/ |
IMountServiceListener.java | 70 boolean connected; 71 connected = (0 != data.readInt()); 72 this.onUsbMassStorageConnectionChanged(connected); 145 * @param available true if a UMS host is connected. 147 public void onUsbMassStorageConnectionChanged(boolean connected) throws RemoteException { 152 _data.writeInt(((connected) ? (1) : (0))); 286 * @param available true if a UMS host is connected. 288 public void onUsbMassStorageConnectionChanged(boolean connected) throws RemoteException;
|
/frameworks/base/libs/storage/ |
IMountServiceListener.cpp | 33 bool connected = (data.readInt32() != 0); local 34 onUsbMassStorageConnectionChanged(connected);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
EthernetSignalController.java | 44 mCurrentState.connected = connectedTransports.get(mTransportType); 50 boolean ethernetVisible = mCurrentState.connected;
|
/hardware/libhardware/include/hardware/ |
bt_sock.h | 55 * btsock_connect_signal can be read out when a remote device connected. 65 * the btsock_connect_signal and a new socket fd to be accepted can be read out when connected
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setoolsgui/networkx/algorithms/ |
hierarchy.py | 38 alternative approach that finds strongly connected components. 39 An edge is in a cycle if and only if it is in a strongly connected
|
/sdk/apps/SdkController/res/values/ |
strings.xml | 34 <string name="main_service_status_connected">Emulator Connected</string> 35 <string name="main_service_status_disconnected">Emulator Connected</string>
|
/system/core/adb/ |
adb_client.h | 36 /* Return the console port of the currently connected emulator (if any) 43 * is zero, or more than one emulator connected (or if you use -s <serial>
|
/device/google/accessory/arduino/AndroidAccessory/ |
AndroidAccessory.cpp | 49 connected(false) 234 if (!connected && 249 connected = configureAndroid(); 255 if (connected) 257 connected = false; 260 return connected;
|
/frameworks/base/core/java/org/apache/http/conn/scheme/ |
SocketFactory.java | 81 * should be created and connected. 90 * @return the connected socket. The returned object may be different 97 * @throws ConnectTimeoutException if the socket cannot be connected 112 * The socket must be {@link #connectSocket connected} 125 * @param sock the connected socket to check 133 * not a connected socket or was created by a different
|
/packages/apps/Nfc/src/com/android/nfc/snep/ |
SnepClient.java | 47 private static final int CONNECTED = 2; 97 if (mState != CONNECTED) { 98 throw new IOException("Socket not connected."); 116 if (mState != CONNECTED) { 117 throw new IOException("Socket not connected."); 179 mState = CONNECTED;
|
/docs/source.android.com/src/accessories/ |
aoa.jd | 23 <li>Wait for and detect connected devices</li> 29 <h2 id="wait-for-and-detect-connected-devices">Wait for and Detect Connected Devices</h2> 30 <p>Your accessory should have logic to continuously check for connected Android-powered devices. 31 When a device is connected, your accessory should determine if the device supports accessory mode.</p> 33 <p>When an Android-powered device is connected, it can be in one of three states:</p> 40 connected device's USB device descriptor. The vendor ID should match Google's ID (<code>0x18D1</code>) and the 117 <p>After sending the final control request, the connected USB device should re-introduce itself 118 on the bus in accessory mode and the accessory can re-enumerate the connected devices. The 126 accessory should wait for the next device to be connected.</p [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
Connection.java | 39 * <p>Typically instances of this class are created, connected and exercised 65 private boolean connected = false; field in class:Connection 137 if (connected) throw new IllegalStateException("already connected"); 172 connected = true; 190 client.routeDatabase().connected(getRoute()); 198 return connected; 208 * is not currently connected. 295 if (!connected) throw new IllegalStateException("setTimeouts - not connected"); [all...] |
/frameworks/base/core/java/android/bluetooth/ |
BluetoothMap.java | 155 * object is currently not connected to the Map service. 171 * Get the currently connected remote Bluetooth device (PCE). 172 * @return The remote Bluetooth device, or null if not in connected or 173 * connecting state, or if this proxy object is not connected to 190 * Returns true if the specified Bluetooth device is connected. 191 * Returns false if not connected, or if this proxy object is not 192 * currently connected to the Map service. 259 * Get the list of connected devices. Currently at most one. 261 * @return list of connected devices 373 if (DBG) log("Proxy object connected"); [all...] |
BluetoothSap.java | 193 * object is currently not connected to the Sap service. 210 * Get the currently connected remote Bluetooth device (PCE). 211 * @return The remote Bluetooth device, or null if not in connected or 212 * connecting state, or if this proxy object is not connected to 230 * Returns true if the specified Bluetooth device is connected. 231 * Returns false if not connected, or if this proxy object is not 232 * currently connected to the Sap service. 282 * Get the list of connected devices. Currently at most one. 284 * @return list of connected devices 395 if (DBG) log("Proxy object connected"); [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
WifiStressTest.java | 216 assertTrue("wifi not connected", waitForNetworkState(ConnectivityManager.TYPE_WIFI, 217 State.CONNECTED, WIFI_CONNECTION_TIMEOUT)); 219 assertTrue("Wi-Fi is connected, but no data connection.", pingTest()); 227 // 5. Wake up the device, verify Wi-Fi is enabled and connected. 253 waitForNetworkState(ConnectivityManager.TYPE_MOBILE, State.CONNECTED, 265 assertEquals("mobile not connected", State.CONNECTED, 272 // Measure the time for Wi-Fi to get connected 276 assertTrue("screen on: wifi not connected before timeout", 277 waitForNetworkState(ConnectivityManager.TYPE_WIFI, State.CONNECTED, [all...] |
/system/bt/stack/gatt/ |
gatt_attr.c | 44 static void gatt_connect_cback(tGATT_IF gatt_if, BD_ADDR bda, UINT16 conn_id, BOOLEAN connected, 121 p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) 148 p_clcb->connected = TRUE; 233 BOOLEAN connected, tGATT_DISCONN_REASON reason, 238 GATT_TRACE_EVENT ("%s: from %08x%04x connected:%d conn_id=%d reason = 0x%04x", __FUNCTION__, 240 (bda[4]<<8)+bda[5], connected, conn_id, reason); 246 if (connected) 249 p_clcb->connected = TRUE; 499 p_clcb->connected = TRUE; 505 if (!p_clcb->connected) [all...] |
/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. 68 public static final int STATE_CONNECTED = 3; // now connected to a remote device 167 * @param device The BluetoothDevice that has been connected 169 public synchronized void connected(BluetoothSocket socket, BluetoothDevice method in class:BluetoothChatService 171 Log.d(TAG, "connected, Socket Type:" + socketType); 199 // Send the name of the connected device back to the UI Activity 321 // Listen to the server socket if we're not connected 338 // Situation normal. Start the connected thread. 339 connected(socket, socket.getRemoteDevice(), method 344 // Either not ready or already connected. Terminate new socket 431 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. 68 public static final int STATE_CONNECTED = 3; // now connected to a remote device 167 * @param device The BluetoothDevice that has been connected 169 public synchronized void connected(BluetoothSocket socket, BluetoothDevice method in class:BluetoothChatService 171 Log.d(TAG, "connected, Socket Type:" + socketType); 199 // Send the name of the connected device back to the UI Activity 321 // Listen to the server socket if we're not connected 338 // Situation normal. Start the connected thread. 339 connected(socket, socket.getRemoteDevice(), method 344 // Either not ready or already connected. Terminate new socket 431 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...] |