/hardware/qcom/display/msm8996/hdmi_cec/ |
H A D | qhdmi_cec.cpp | 305 void cec_hdmi_hotplug(cec_context_t *ctx, int connected) argument 308 if(!ctx->system_control && connected == 0) 313 event.hotplug.connected = connected ? HDMI_CONNECTED : HDMI_NOT_CONNECTED; 382 int connected = 0; local 386 snprintf (connected_path, sizeof(connected_path),"%s/connected", 389 connected = atoi(connected_data); 392 connected ? "connected":"disconnected"); 396 return connected; [all...] |
/hardware/qcom/display/msm8998/hdmi_cec/ |
H A D | qhdmi_cec.cpp | 311 void cec_hdmi_hotplug(cec_context_t *ctx, int connected) argument 314 if(!ctx->system_control && connected == 0) 319 event.hotplug.connected = connected ? HDMI_CONNECTED : HDMI_NOT_CONNECTED; 388 int connected = 0; local 392 snprintf (connected_path, sizeof(connected_path),"%s/connected", 395 connected = atoi(connected_data); 398 connected ? "connected":"disconnected"); 402 return connected; [all...] |
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
H A D | loc.cpp | 128 static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info); 865 static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info) {} argument
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
H A D | loc.cpp | 141 static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info); 994 static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info) {} argument
|
/hardware/interfaces/audio/core/all-versions/default/include/core/all-versions/default/ |
H A D | StreamOut.impl.h | 248 Return<Result> StreamOut::setConnectedState(const DeviceAddress& address, bool connected) { argument 249 return mStreamCommon->setConnectedState(address, connected);
|
/hardware/interfaces/camera/device/1.0/default/ |
H A D | CameraDevice.cpp | 125 void CameraDevice::setConnectionStatus(bool connected) { argument 127 mDisconnected = !connected; 131 if (!connected) {
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_utils.h | 85 bool connected; //Applies only to pluggable disp. member in struct:qhwc::DisplayAttributes 588 return (ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].connected || 589 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected);
|
/hardware/qcom/display/msm8909/hdmi_cec/ |
H A D | qhdmi_cec.cpp | 318 void cec_hdmi_hotplug(cec_context_t *ctx, int connected) argument 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/ |
H A D | qhdmi_cec.cpp | 318 void cec_hdmi_hotplug(cec_context_t *ctx, int connected) argument 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/msm8960/libexternal/ |
H A D | external.cpp | 639 void ExternalDisplay::setExternalDisplay(bool connected, int extFbNum) argument 643 ALOGD_IF(DEBUG, "%s: connected = %d", __FUNCTION__, connected); 645 mConnected = connected; 647 mHwcContext->dpyAttr[mExtDpyNum].connected = connected; 695 ALOGD_IF(DEBUG,"%s: wfd...connected..!",__FUNCTION__);
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
H A D | hwc_session.cpp | 88 static void Hotplug(const struct hwc_procs* procs, int disp, int connected) { argument 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 1318 int connected = GetEventValue(uevent_data, length, "SWITCH_STATE="); local 1380 HotPlugHandler(bool connected) argument [all...] |
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
H A D | loc.cpp | 145 static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info); 1020 static inline bool sendConnectionEvent(const bool connected, const uint8_t type) { argument 1029 ss << " " << (connected ? "1" : "0"); 1057 static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info) { argument 1059 sendConnectionEvent((connected != 0) ? true : false,
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
H A D | loc.cpp | 144 static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info); 1094 static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info) {} argument
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
H A D | loc.cpp | 145 static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info); 1027 static inline bool sendConnectionEvent(const bool connected, const int32_t type) { argument 1036 ss << " " << (connected ? "1" : "0"); 1064 static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info) { argument 1067 sendConnectionEvent((connected != 0) ? true : false, type);
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
H A D | loc.cpp | 174 static inline bool sendConnectionEvent(const bool connected, const int8_t type) { argument 183 ss << " " << (connected ? "1" : "0"); 210 static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info); 1064 static void loc_agps_ril_update_network_state(int connected, int type, int roaming, const char* extra_info) { argument 1067 sendConnectionEvent((connected != 0) ? true : false, type);
|
/hardware/libhardware/include/hardware/ |
H A D | hdmi_cec.h | 246 * true if the cable is connected; otherwise false. 248 int connected; member in struct:hotplug_event 335 * by connected HDMI devices. It is therefore likely to change if the cable 406 * Returns HDMI_CONNECTED if a device is connected, otherwise HDMI_NOT_CONNECTED.
|
H A D | sensors.h | 260 int32_t connected; member in struct:dynamic_sensor_meta_event 262 const struct sensor_t * sensor; // should be NULL if connected == false
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_utils.h | 86 bool connected; //Applies only to pluggable disp. member in struct:qhwc::DisplayAttributes 627 return (ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].connected || 628 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected);
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
H A D | hwc_session.cpp | 91 static void Hotplug(const struct hwc_procs* procs, int disp, int connected) { argument 160 // HDMI is primary display. If already connected, then create it and store in 161 // primary display slot. If not connected, create a NULL display for now. 309 // If external display is connected, ignore virtual display content list. 310 // If virtual display content list is valid, connect virtual display if not connected. 311 // If virtual display content list is invalid, disconnect virtual display if connected. 323 bool connected = (hwc_session->hwc_display_[HWC_DISPLAY_VIRTUAL] != NULL); local 325 if (valid_content && !connected) { 327 } else if (!valid_content && connected) { 341 DLOGI("Display[%d] connected 1450 int connected = GetEventValue(uevent_data, length, "SWITCH_STATE="); local 1512 HotPlugHandler(bool connected) argument [all...] |
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
H A D | hwc_session.cpp | 194 // Create display if it is connected, else wait for hotplug connect event. 482 // Return no error for connected displays 1415 int connected = GetEventValue(uevent_data, length, "SWITCH_STATE="); local 1416 if (connected >= 0) { 1417 DLOGI("HDMI = %s", connected ? "connected" : "disconnected"); 1418 if (HotPlugHandler(connected) == -1) { 1419 DLOGE("Failed handling Hotplug = %s", connected ? "connected" : "disconnected"); 1469 int HWCSession::HotPlugHandler(bool connected) { argument [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
H A D | hwc_session.cpp | 91 static void Hotplug(const struct hwc_procs* procs, int disp, int connected) { argument 160 // HDMI is primary display. If already connected, then create it and store in 161 // primary display slot. If not connected, create a NULL display for now. 309 // If external display is connected, ignore virtual display content list. 310 // If virtual display content list is valid, connect virtual display if not connected. 311 // If virtual display content list is invalid, disconnect virtual display if connected. 323 bool connected = (hwc_session->hwc_display_[HWC_DISPLAY_VIRTUAL] != NULL); local 325 if (valid_content && !connected) { 327 } else if (!valid_content && connected) { 341 DLOGI("Display[%d] connected 1450 int connected = GetEventValue(uevent_data, length, "SWITCH_STATE="); local 1512 HotPlugHandler(bool connected) argument [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
H A D | hwc_session.cpp | 182 // Create display if it is connected, else wait for hotplug connect event. 477 // Return no error for connected displays 1335 int connected = GetEventValue(uevent_data, length, "SWITCH_STATE="); local 1336 if (connected >= 0) { 1337 DLOGI("HDMI = %s", connected ? "connected" : "disconnected"); 1338 if (HotPlugHandler(connected) == -1) { 1339 DLOGE("Failed handling Hotplug = %s", connected ? "connected" : "disconnected"); 1389 int HWCSession::HotPlugHandler(bool connected) { argument [all...] |
/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | hwc_utils.h | 95 bool connected; //Applies only to pluggable disp. member in struct:qhwc::DisplayAttributes 619 // HDMI when it is connected as primary or external. 716 return (ctx->dpyAttr[HWC_DISPLAY_EXTERNAL].connected || 717 ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected); 722 return ctx->dpyAttr[HWC_DISPLAY_VIRTUAL].connected;
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
H A D | hwc_session.cpp | 110 // HDMI is primary display. If already connected, then create it and store in 111 // primary display slot. If not connected, create a NULL display for now. 1064 DLOGW("Display is not connected"); 1370 DLOGW("Display is not connected"); 1405 int connected = GetEventValue(uevent_data, length, "SWITCH_STATE="); local 1406 if (connected >= 0) { 1407 DLOGI("HDMI = %s", connected ? "connected" : "disconnected"); 1408 if (HotPlugHandler(connected) == -1) { 1409 DLOGE("Failed handling Hotplug = %s", connected 1463 HotPlugHandler(bool connected) argument [all...] |
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
H A D | hwc_session.cpp | 112 // HDMI is primary display. If already connected, then create it and store in 113 // primary display slot. If not connected, create a NULL display for now. 384 // Return no error for connected displays 1091 DLOGW("Display is not connected"); 1419 DLOGW("Display is not connected"); 1454 int connected = GetEventValue(uevent_data, length, "SWITCH_STATE="); local 1455 if (connected >= 0) { 1456 DLOGI("HDMI = %s", connected ? "connected" : "disconnected"); 1457 if (HotPlugHandler(connected) 1512 HotPlugHandler(bool connected) argument [all...] |