/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
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_offload.cpp | 79 int result; in createRequest() local 84 result = request.create(GOOGLE_OUI, WIFI_OFFLOAD_START_MKEEP_ALIVE); in createRequest() 85 if (result != WIFI_SUCCESS) { in createRequest() 86 ALOGE("Failed to create start keep alive request; result = %d", result); in createRequest() 87 return result; in createRequest() 92 result = request.put_u8(MKEEP_ALIVE_ATTRIBUTE_ID, mIndex); in createRequest() 93 if (result < 0) { in createRequest() 94 ALOGE("Failed to put id request; result = %d", result); in createRequest() 95 return result; in createRequest() 98 result = request.put_u16(MKEEP_ALIVE_ATTRIBUTE_IP_PKT_LEN, mIpPktLen); in createRequest() [all …]
|
D | wifi_logger.cpp | 146 int result = request.create(GOOGLE_OUI, LOGGER_START_LOGGING); in createRingRequest() local 147 if (result != WIFI_SUCCESS) { in createRingRequest() 148 ALOGE("Failed to create start ring logger request; result = %d", result); in createRingRequest() 149 return result; in createRingRequest() 154 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_LEVEL, mVerboseLevel); in createRingRequest() 155 if (result != WIFI_SUCCESS) { in createRingRequest() 156 ALOGE("Failed to put log level; result = %d", result); in createRingRequest() 157 return result; in createRingRequest() 159 result = request.put_u32(LOGGER_ATTRIBUTE_RING_FLAGS, mFlags); in createRingRequest() 160 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/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/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/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 …]
|
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/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/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/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 …]
|