/frameworks/base/services/core/jni/BroadcastRadio/ |
TunerCallback.cpp | 113 virtual Return<void> antennaStateChange(bool connected); 235 Return<void> NativeCallback::antennaStateChange(bool connected) { 236 ALOGV("%s(%d)", __func__, connected); 238 mCallbackThread.enqueue([this, connected](JNIEnv *env) { 239 env->CallVoidMethod(mJCallback, gjni.TunerCallback.onAntennaState, connected);
|
/system/bt/stack/btm/ |
btm_ble_bgconn.cc | 47 // on the host to determine if a device is pending to be connected or not. This 102 const bool connected = local 104 if (!connected) { 242 const bool connected = local 244 if (!connection->in_controller_wl && !connected) { 248 } else if (connection->in_controller_wl && connected) { 251 correctly, therefore we must make sure connected devices are not in
|
/hardware/qcom/display/msm8909/hdmi_cec/ |
qhdmi_cec.cpp | 318 void cec_hdmi_hotplug(cec_context_t *ctx, int connected) 321 if(!ctx->system_control && connected == 0) 326 event.hotplug.connected = connected ? HDMI_CONNECTED : HDMI_NOT_CONNECTED; 395 int connected = 0; local 400 connected_path.append("/connected"); 402 connected = atoi(connected_data); 405 connected ? "connected":"disconnected"); 409 return connected; 640 int connected = get_event_value(uevent_data, count, "SWITCH_STATE="); local [all...] |
/hardware/qcom/display/msm8909w_3100/hdmi_cec/ |
qhdmi_cec.cpp | 318 void cec_hdmi_hotplug(cec_context_t *ctx, int connected) 321 if(!ctx->system_control && connected == 0) 326 event.hotplug.connected = connected ? HDMI_CONNECTED : HDMI_NOT_CONNECTED; 395 int connected = 0; local 400 connected_path.append("/connected"); 402 connected = atoi(connected_data); 405 connected ? "connected":"disconnected"); 409 return connected; 640 int connected = get_event_value(uevent_data, count, "SWITCH_STATE="); local [all...] |
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
res_send.c | 124 static int connected = 0; /* is the socket connected */
variable 580 connected = 0;
588 * If our datagram socket is "connected" to the
594 * however, we don't want to remain connected,
603 if (!connected) {
615 connected = 1;
628 if (connected) {
648 connected = 0;
930 connected = 0; [all...] |
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
hwc_session.cpp | 88 static void Hotplug(const struct hwc_procs* procs, int disp, int connected) { 144 // HDMI is primary display. If already connected, then create it and store in 145 // primary display slot. If not connected, create a NULL display for now. 290 // If external display is connected, ignore virtual display content list. 291 // If virtual display content list is valid, connect virtual display if not connected. 292 // If virtual display content list is invalid, disconnect virtual display if connected. 304 bool connected = (hwc_session->hwc_display_[HWC_DISPLAY_VIRTUAL] != NULL); local 306 if (valid_content && !connected) { 308 } else if (!valid_content && connected) { 322 DLOGI("Display[%d] connected. content_list is null", dpy) 1318 int connected = GetEventValue(uevent_data, length, "SWITCH_STATE="); local [all...] |
/external/golang-protobuf/proto/ |
text_parser_test.go | 385 in: `count:42 inner { host: "example.com" connected: false }`, 390 Connected: Bool(false), 396 in: `count:42 inner { host: "example.com" connected: true }`, 401 Connected: Bool(true), 407 in: `count:42 inner { host: "example.com" connected: 0 }`, 412 Connected: Bool(false), 418 in: `count:42 inner { host: "example.com" connected: 1 }`, 423 Connected: Bool(true), 429 in: `count:42 inner { host: "example.com" connected: f }`, 434 Connected: Bool(false) [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
hwc.cpp | 181 * rely on isActive and connected attributes of dpyAttr to 288 if (LIKELY(list && list->numHwLayers > 1) && ctx->dpyAttr[dpy].connected && 296 // If the cable is connected after HWC initialization and before 301 if ((cableConnected == 1) && !ctx->dpyAttr[dpy].connected) { 342 ctx->dpyAttr[dpy].connected) { 472 // If VDS is connected, do not clear WB object as it 491 if(ctx->dpyAttr[dpy].connected) { 492 // When HDMI is connected as primary we clean up resources 521 if(ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected) { 707 ctx->dpyAttr[dpy].connected & [all...] |
/prebuilts/go/darwin-x86/src/runtime/ |
os2_nacl.go | 115 _EISCONN = 106 /* Socket is already connected */ 116 _ENOTCONN = 107 /* Socket is not connected */ 123 _EALREADY = 114 /* Socket already connected */
|
/prebuilts/go/linux-x86/src/runtime/ |
os2_nacl.go | 115 _EISCONN = 106 /* Socket is already connected */ 116 _ENOTCONN = 107 /* Socket is not connected */ 123 _EALREADY = 114 /* Socket already connected */
|
/system/bt/bta/gatt/ |
bta_gatts_act.cc | 48 uint16_t conn_id, bool connected, 586 uint16_t conn_id, bool connected, 590 uint8_t evt = connected ? BTA_GATTS_CONNECT_EVT : BTA_GATTS_DISCONNECT_EVT; 594 << ", conn_id=" << loghex(conn_id) << " connected=" << connected 597 if (connected) 607 if (connected)
|
/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...] |
/external/autotest/client/site_tests/network_DestinationVerification/ |
network_DestinationVerification.py | 24 "connected":false, 51 "connected": false, 81 "connected":false,
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiCecLocalDevicePlayback.java | 152 void onHotplug(int portId, boolean connected) { 156 if (WAKE_ON_HOTPLUG && connected && mService.isPowerStandbyOrTransient()) { 159 if (!connected) {
|
/frameworks/native/opengl/libs/EGL/ |
egl_object.cpp | 65 connected(true), 91 if (win != NULL && connected) { 96 connected = false;
|
/frameworks/native/services/surfaceflinger/ |
EventThread.cpp | 158 void EventThread::onHotplugReceived(int type, bool connected) { 168 event.hotplug.connected = connected;
|
/hardware/interfaces/camera/device/3.2/default/ |
CameraDevice.cpp | 71 void CameraDevice::setConnectionStatus(bool connected) { 73 mDisconnected = !connected; 83 if (!connected) {
|
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/activities/ |
SensorActivity.java | 160 boolean connected = binder.isEmuConnected(); 161 mTableLayout.setEnabled(connected); 162 updateStatus(connected ? "Emulated connected" : "Emulator disconnected");
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/DDM/ |
DDMDebuggee.java | 59 public void connected() { connectCount++; } method in class:DDMDebuggee.TestChunkHandler 101 // Tell the tester if we saw the connected message.
|
/external/libvncserver/webclients/novnc/include/ |
ui.js | 144 return "You are currently connected."; 488 // Settings with immediate (non-connected related) effect 585 var connected = UI.rfb_state === 'normal' ? true : false; 588 $D('noVNC_encrypt').disabled = connected; 589 $D('noVNC_true_color').disabled = connected; 592 $D('noVNC_cursor').disabled = connected; 597 $D('noVNC_shared').disabled = connected; 598 $D('noVNC_view_only').disabled = connected; 599 $D('noVNC_path').disabled = connected; 600 $D('noVNC_repeaterID').disabled = connected; [all...] |
/external/perfetto/src/ipc/ |
unix_socket.h | 90 virtual void OnConnect(UnixSocket* self, bool connected); 153 // If the socket is not connected, Send() will just return false.
|