/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraStateMachine.cpp | 353 qcamera_api_result_t result; in procEvtPreviewStoppedState() local 354 memset(&result, 0, sizeof(qcamera_api_result_t)); in procEvtPreviewStoppedState() 361 result.status = rc; in procEvtPreviewStoppedState() 362 result.request_api = evt; in procEvtPreviewStoppedState() 363 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState() 364 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState() 376 result.status = rc; in procEvtPreviewStoppedState() 377 result.request_api = evt; in procEvtPreviewStoppedState() 378 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState() 379 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState() [all …]
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | wifi_offload.cpp | 77 int result; in createRequest() local 82 result = request.create(GOOGLE_OUI, WIFI_OFFLOAD_START_MKEEP_ALIVE); in createRequest() 83 if (result != WIFI_SUCCESS) { in createRequest() 84 ALOGE("Failed to create start keep alive request; result = %d", result); in createRequest() 85 return result; in createRequest() 90 result = request.put_u8(MKEEP_ALIVE_ATTRIBUTE_ID, mIndex); in createRequest() 91 if (result < 0) { in createRequest() 92 ALOGE("Failed to put id request; result = %d", result); in createRequest() 93 return result; in createRequest() 96 result = request.put_u16(MKEEP_ALIVE_ATTRIBUTE_IP_PKT_LEN, mIpPktLen); in createRequest() [all …]
|
D | gscan.cpp | 324 wifi_scan_result *result = results + i; in parseScanResults() local 329 strncpy(result->ssid, (char *) it2.get_data(), it2.get_len()); in parseScanResults() 330 result->ssid[it2.get_len()] = 0; in parseScanResults() 332 memcpy(result->bssid, (byte *) it2.get_data(), sizeof(mac_addr)); in parseScanResults() 334 result->ts = it2.get_u64(); in parseScanResults() 336 result->ts = it2.get_u16(); in parseScanResults() 338 result->rssi = it2.get_u8(); in parseScanResults() 340 result->rtt = it2.get_u64(); in parseScanResults() 342 result->rtt_sd = it2.get_u64(); in parseScanResults() 357 int result = request.create(GOOGLE_OUI, subcmd); in createFeatureRequest() local [all …]
|
D | wifi_logger.cpp | 144 int result = request.create(GOOGLE_OUI, LOGGER_START_LOGGING); in createRingRequest() local 145 if (result != WIFI_SUCCESS) { in createRingRequest() 146 ALOGE("Failed to create start ring logger request; result = %d", result); in createRingRequest() 147 return result; in createRingRequest() 152 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_LEVEL, mVerboseLevel); in createRingRequest() 153 if (result != WIFI_SUCCESS) { in createRingRequest() 154 ALOGE("Failed to put log level; result = %d", result); in createRingRequest() 155 return result; in createRingRequest() 157 result = request.put_u32(LOGGER_ATTRIBUTE_RING_FLAGS, mFlags); in createRingRequest() 158 if (result != WIFI_SUCCESS) { in createRingRequest() [all …]
|
D | rtt.cpp | 325 int result = request.create(GOOGLE_OUI, RTT_SUBCMD_SET_CONFIG); in createSetupRequest() local 326 if (result < 0) { in createSetupRequest() 327 return result; in createSetupRequest() 331 result = request.put_u8(RTT_ATTRIBUTE_TARGET_CNT, numRttParams); in createSetupRequest() 332 if (result < 0) { in createSetupRequest() 333 return result; in createSetupRequest() 342 result = request.put_addr(RTT_ATTRIBUTE_TARGET_MAC, rttParams[i].addr); in createSetupRequest() 343 if (result < 0) { in createSetupRequest() 344 return result; in createSetupRequest() 347 result = request.put_u8(RTT_ATTRIBUTE_TARGET_TYPE, rttParams[i].type); in createSetupRequest() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_commands.c | 41 int result = 0; in tuneserver_initialize_prevtuningp() local 51 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_initialize_prevtuningp() 54 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_initialize_prevtuningp() 61 return result; in tuneserver_initialize_prevtuningp() 67 int result = 0; in tuneserver_deinitialize_prevtuningp() local 72 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_deinitialize_prevtuningp() 75 return result; in tuneserver_deinitialize_prevtuningp() 80 int result = 0; in tuneserver_preview_getinfo() local 84 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_preview_getinfo() 87 return result; in tuneserver_preview_getinfo() [all …]
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.c | 55 int result; in thelper_signal_init() local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); in thelper_signal_init() 59 if (result) { in thelper_signal_init() 60 return result; in thelper_signal_init() 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); in thelper_signal_init() 64 if (result) { in thelper_signal_init() 67 return result; in thelper_signal_init() 90 int result, ret_result = 0; in thelper_signal_destroy() local 91 result = pthread_cond_destroy( &thelper->thread_cond); in thelper_signal_destroy() 92 if (result) { in thelper_signal_destroy() [all …]
|
D | loc_eng_dmn_conn_glue_msg.c | 86 int result; in loc_eng_dmn_conn_glue_msgremove() local 87 result = loc_eng_dmn_conn_glue_piperemove(q_path, msgqid); in loc_eng_dmn_conn_glue_msgremove() 88 return result; in loc_eng_dmn_conn_glue_msgremove() 113 int result; in loc_eng_dmn_conn_glue_msgsnd() local 117 result = loc_eng_dmn_conn_glue_pipewrite(msgqid, msgp, msgsz); in loc_eng_dmn_conn_glue_msgsnd() 118 if (result != (int) msgsz) { in loc_eng_dmn_conn_glue_msgsnd() 119 LOC_LOGE("%s:%d] pipe broken %d, msgsz = %d\n", __func__, __LINE__, result, (int) msgsz); in loc_eng_dmn_conn_glue_msgsnd() 123 return result; in loc_eng_dmn_conn_glue_msgsnd() 148 int result; in loc_eng_dmn_conn_glue_msgrcv() local 151 result = loc_eng_dmn_conn_glue_piperead(msgqid, &(pmsg->msgsz), sizeof(pmsg->msgsz)); in loc_eng_dmn_conn_glue_msgrcv() [all …]
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.c | 55 int result; in thelper_signal_init() local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); in thelper_signal_init() 59 if (result) { in thelper_signal_init() 60 return result; in thelper_signal_init() 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); in thelper_signal_init() 64 if (result) { in thelper_signal_init() 67 return result; in thelper_signal_init() 90 int result, ret_result = 0; in thelper_signal_destroy() local 91 result = pthread_cond_destroy( &thelper->thread_cond); in thelper_signal_destroy() 92 if (result) { in thelper_signal_destroy() [all …]
|
D | loc_eng_dmn_conn_glue_msg.c | 86 int result; in loc_eng_dmn_conn_glue_msgremove() local 87 result = loc_eng_dmn_conn_glue_piperemove(q_path, msgqid); in loc_eng_dmn_conn_glue_msgremove() 88 return result; in loc_eng_dmn_conn_glue_msgremove() 113 int result; in loc_eng_dmn_conn_glue_msgsnd() local 117 result = loc_eng_dmn_conn_glue_pipewrite(msgqid, msgp, msgsz); in loc_eng_dmn_conn_glue_msgsnd() 118 if (result != (int) msgsz) { in loc_eng_dmn_conn_glue_msgsnd() 119 LOC_LOGE("%s:%d] pipe broken %d, msgsz = %d\n", __func__, __LINE__, result, (int) msgsz); in loc_eng_dmn_conn_glue_msgsnd() 123 return result; in loc_eng_dmn_conn_glue_msgsnd() 148 int result; in loc_eng_dmn_conn_glue_msgrcv() local 151 result = loc_eng_dmn_conn_glue_piperead(msgqid, &(pmsg->msgsz), sizeof(pmsg->msgsz)); in loc_eng_dmn_conn_glue_msgrcv() [all …]
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.c | 55 int result; in thelper_signal_init() local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); in thelper_signal_init() 59 if (result) { in thelper_signal_init() 60 return result; in thelper_signal_init() 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); in thelper_signal_init() 64 if (result) { in thelper_signal_init() 67 return result; in thelper_signal_init() 90 int result, ret_result = 0; in thelper_signal_destroy() local 91 result = pthread_cond_destroy( &thelper->thread_cond); in thelper_signal_destroy() 92 if (result) { in thelper_signal_destroy() [all …]
|
D | loc_eng_dmn_conn_glue_msg.c | 86 int result; in loc_eng_dmn_conn_glue_msgremove() local 87 result = loc_eng_dmn_conn_glue_piperemove(q_path, msgqid); in loc_eng_dmn_conn_glue_msgremove() 88 return result; in loc_eng_dmn_conn_glue_msgremove() 113 int result; in loc_eng_dmn_conn_glue_msgsnd() local 117 result = loc_eng_dmn_conn_glue_pipewrite(msgqid, msgp, msgsz); in loc_eng_dmn_conn_glue_msgsnd() 118 if (result != (int) msgsz) { in loc_eng_dmn_conn_glue_msgsnd() 119 LOC_LOGE("%s:%d] pipe broken %d, msgsz = %d\n", __func__, __LINE__, result, (int) msgsz); in loc_eng_dmn_conn_glue_msgsnd() 123 return result; in loc_eng_dmn_conn_glue_msgsnd() 148 int result; in loc_eng_dmn_conn_glue_msgrcv() local 151 result = loc_eng_dmn_conn_glue_piperead(msgqid, &(pmsg->msgsz), sizeof(pmsg->msgsz)); in loc_eng_dmn_conn_glue_msgrcv() [all …]
|
D | loc_eng_dmn_conn_glue_pipe.c | 64 int result; in loc_eng_dmn_conn_glue_pipeget() local 67 result = mkfifo(pipe_name, 0660); in loc_eng_dmn_conn_glue_pipeget() 69 if ((result == -1) && (errno != EEXIST)) { in loc_eng_dmn_conn_glue_pipeget() 71 return result; in loc_eng_dmn_conn_glue_pipeget() 76 result = chmod (pipe_name, 0660); in loc_eng_dmn_conn_glue_pipeget() 77 if (result != 0){ in loc_eng_dmn_conn_glue_pipeget() 140 int result; in loc_eng_dmn_conn_glue_pipewrite() local 142 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite() 147 return result; in loc_eng_dmn_conn_glue_pipewrite() 202 int result; in loc_eng_dmn_conn_glue_pipeunblock() local [all …]
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.c | 55 int result; in thelper_signal_init() local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); in thelper_signal_init() 59 if (result) { in thelper_signal_init() 60 return result; in thelper_signal_init() 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); in thelper_signal_init() 64 if (result) { in thelper_signal_init() 67 return result; in thelper_signal_init() 90 int result, ret_result = 0; in thelper_signal_destroy() local 91 result = pthread_cond_destroy( &thelper->thread_cond); in thelper_signal_destroy() 92 if (result) { in thelper_signal_destroy() [all …]
|
D | loc_eng_dmn_conn_glue_msg.c | 86 int result; in loc_eng_dmn_conn_glue_msgremove() local 87 result = loc_eng_dmn_conn_glue_piperemove(q_path, msgqid); in loc_eng_dmn_conn_glue_msgremove() 88 return result; in loc_eng_dmn_conn_glue_msgremove() 113 int result; in loc_eng_dmn_conn_glue_msgsnd() local 117 result = loc_eng_dmn_conn_glue_pipewrite(msgqid, msgp, msgsz); in loc_eng_dmn_conn_glue_msgsnd() 118 if (result != (int) msgsz) { in loc_eng_dmn_conn_glue_msgsnd() 119 LOC_LOGE("%s:%d] pipe broken %d, msgsz = %d\n", __func__, __LINE__, result, (int) msgsz); in loc_eng_dmn_conn_glue_msgsnd() 123 return result; in loc_eng_dmn_conn_glue_msgsnd() 148 int result; in loc_eng_dmn_conn_glue_msgrcv() local 151 result = loc_eng_dmn_conn_glue_piperead(msgqid, &(pmsg->msgsz), sizeof(pmsg->msgsz)); in loc_eng_dmn_conn_glue_msgrcv() [all …]
|
D | loc_eng_dmn_conn_glue_pipe.c | 64 int result; in loc_eng_dmn_conn_glue_pipeget() local 67 result = mkfifo(pipe_name, 0660); in loc_eng_dmn_conn_glue_pipeget() 69 if ((result == -1) && (errno != EEXIST)) { in loc_eng_dmn_conn_glue_pipeget() 71 return result; in loc_eng_dmn_conn_glue_pipeget() 76 result = chmod (pipe_name, 0660); in loc_eng_dmn_conn_glue_pipeget() 77 if (result != 0){ in loc_eng_dmn_conn_glue_pipeget() 140 int result; in loc_eng_dmn_conn_glue_pipewrite() local 142 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite() 147 return result; in loc_eng_dmn_conn_glue_pipewrite() 202 int result; in loc_eng_dmn_conn_glue_pipeunblock() local [all …]
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.c | 55 int result; in thelper_signal_init() local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); in thelper_signal_init() 59 if (result) { in thelper_signal_init() 60 return result; in thelper_signal_init() 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); in thelper_signal_init() 64 if (result) { in thelper_signal_init() 67 return result; in thelper_signal_init() 90 int result, ret_result = 0; in thelper_signal_destroy() local 91 result = pthread_cond_destroy( &thelper->thread_cond); in thelper_signal_destroy() 92 if (result) { in thelper_signal_destroy() [all …]
|
D | loc_eng_dmn_conn_glue_msg.c | 86 int result; in loc_eng_dmn_conn_glue_msgremove() local 87 result = loc_eng_dmn_conn_glue_piperemove(q_path, msgqid); in loc_eng_dmn_conn_glue_msgremove() 88 return result; in loc_eng_dmn_conn_glue_msgremove() 113 int result; in loc_eng_dmn_conn_glue_msgsnd() local 117 result = loc_eng_dmn_conn_glue_pipewrite(msgqid, msgp, msgsz); in loc_eng_dmn_conn_glue_msgsnd() 118 if (result != (int) msgsz) { in loc_eng_dmn_conn_glue_msgsnd() 119 LOC_LOGE("%s:%d] pipe broken %d, msgsz = %d\n", __func__, __LINE__, result, (int) msgsz); in loc_eng_dmn_conn_glue_msgsnd() 123 return result; in loc_eng_dmn_conn_glue_msgsnd() 148 int result; in loc_eng_dmn_conn_glue_msgrcv() local 151 result = loc_eng_dmn_conn_glue_piperead(msgqid, &(pmsg->msgsz), sizeof(pmsg->msgsz)); in loc_eng_dmn_conn_glue_msgrcv() [all …]
|
D | loc_eng_dmn_conn_glue_pipe.c | 64 int result; in loc_eng_dmn_conn_glue_pipeget() local 67 result = mkfifo(pipe_name, 0660); in loc_eng_dmn_conn_glue_pipeget() 69 if ((result == -1) && (errno != EEXIST)) { in loc_eng_dmn_conn_glue_pipeget() 71 return result; in loc_eng_dmn_conn_glue_pipeget() 76 result = chmod (pipe_name, 0660); in loc_eng_dmn_conn_glue_pipeget() 77 if (result != 0){ in loc_eng_dmn_conn_glue_pipeget() 140 int result; in loc_eng_dmn_conn_glue_pipewrite() local 142 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite() 147 return result; in loc_eng_dmn_conn_glue_pipewrite() 202 int result; in loc_eng_dmn_conn_glue_pipeunblock() local [all …]
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.c | 55 int result; in thelper_signal_init() local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); in thelper_signal_init() 59 if (result) { in thelper_signal_init() 60 return result; in thelper_signal_init() 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); in thelper_signal_init() 64 if (result) { in thelper_signal_init() 67 return result; in thelper_signal_init() 90 int result, ret_result = 0; in thelper_signal_destroy() local 91 result = pthread_cond_destroy( &thelper->thread_cond); in thelper_signal_destroy() 92 if (result) { in thelper_signal_destroy() [all …]
|
D | loc_eng_dmn_conn_glue_msg.c | 86 int result; in loc_eng_dmn_conn_glue_msgremove() local 87 result = loc_eng_dmn_conn_glue_piperemove(q_path, msgqid); in loc_eng_dmn_conn_glue_msgremove() 88 return result; in loc_eng_dmn_conn_glue_msgremove() 113 int result; in loc_eng_dmn_conn_glue_msgsnd() local 117 result = loc_eng_dmn_conn_glue_pipewrite(msgqid, msgp, msgsz); in loc_eng_dmn_conn_glue_msgsnd() 118 if (result != (int) msgsz) { in loc_eng_dmn_conn_glue_msgsnd() 119 LOC_LOGE("%s:%d] pipe broken %d, msgsz = %d\n", __func__, __LINE__, result, (int) msgsz); in loc_eng_dmn_conn_glue_msgsnd() 123 return result; in loc_eng_dmn_conn_glue_msgsnd() 148 int result; in loc_eng_dmn_conn_glue_msgrcv() local 151 result = loc_eng_dmn_conn_glue_piperead(msgqid, &(pmsg->msgsz), sizeof(pmsg->msgsz)); in loc_eng_dmn_conn_glue_msgrcv() [all …]
|
D | loc_eng_dmn_conn_glue_pipe.c | 64 int result; in loc_eng_dmn_conn_glue_pipeget() local 67 result = mkfifo(pipe_name, 0660); in loc_eng_dmn_conn_glue_pipeget() 69 if ((result == -1) && (errno != EEXIST)) { in loc_eng_dmn_conn_glue_pipeget() 71 return result; in loc_eng_dmn_conn_glue_pipeget() 76 result = chmod (pipe_name, 0660); in loc_eng_dmn_conn_glue_pipeget() 77 if (result != 0){ in loc_eng_dmn_conn_glue_pipeget() 140 int result; in loc_eng_dmn_conn_glue_pipewrite() local 142 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite() 147 return result; in loc_eng_dmn_conn_glue_pipewrite() 202 int result; in loc_eng_dmn_conn_glue_pipeunblock() local [all …]
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
D | ml_stored_data.c | 47 inv_error_t result = INV_SUCCESS; in inv_read_cal() local 73 result = INV_ERROR_FILE_READ; in inv_read_cal() 81 return result; in inv_read_cal() 88 inv_error_t result = INV_SUCCESS; in inv_write_cal() local 105 result = INV_ERROR_FILE_WRITE; in inv_write_cal() 110 return result; in inv_write_cal() 139 inv_error_t result; in inv_load_cal_V0() local 149 result = inv_load_mpl_states(calData, len); in inv_load_cal_V0() 150 return result; in inv_load_cal_V0() 278 inv_error_t result = 0; in inv_load_calibration() local [all …]
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_stored_data.c | 47 inv_error_t result = INV_SUCCESS; in inv_read_cal() local 73 result = INV_ERROR_FILE_READ; in inv_read_cal() 81 return result; in inv_read_cal() 88 inv_error_t result = INV_SUCCESS; in inv_write_cal() local 105 result = INV_ERROR_FILE_WRITE; in inv_write_cal() 110 return result; in inv_write_cal() 139 inv_error_t result; in inv_load_cal_V0() local 149 result = inv_load_mpl_states(calData, len); in inv_load_cal_V0() 150 return result; in inv_load_cal_V0() 278 inv_error_t result = 0; in inv_load_calibration() local [all …]
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/parser/ |
D | viddec_fw_mp4_workload.c | 8 uint32_t result = MP4_STATUS_OK; in viddec_fw_mp4_populate_attr() local 38 return result; in viddec_fw_mp4_populate_attr() 43 uint32_t result = MP4_STATUS_OK; in viddec_fw_mp4_insert_vol_workitem() local 78 result = viddec_pm_append_workitem(parent, &wi); in viddec_fw_mp4_insert_vol_workitem() 80 return result; in viddec_fw_mp4_insert_vol_workitem() 85 uint32_t result = MP4_STATUS_OK; in viddec_fw_mp4_insert_vop_workitem() local 120 result = viddec_pm_get_au_pos(parent, &vop_info.bit_offset, &byte, &is_emul); in viddec_fw_mp4_insert_vop_workitem() 127 result = viddec_pm_append_workitem(parent, &wi); in viddec_fw_mp4_insert_vop_workitem() 129 return result; in viddec_fw_mp4_insert_vop_workitem() 134 uint32_t result = MP4_STATUS_OK; in viddec_fw_mp4_insert_vpsh_workitem() local [all …]
|