Home
last modified time | relevance | path

Searched refs:result (Results 1 – 25 of 580) sorted by relevance

12345678910>>...24

/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_offload.cpp95 int result; in createRequest() local
100 result = request.create(GOOGLE_OUI, WIFI_OFFLOAD_START_MKEEP_ALIVE); in createRequest()
101 if (result != WIFI_SUCCESS) { in createRequest()
102 ALOGE("Failed to create start keep alive request; result = %d", result); in createRequest()
103 return result; in createRequest()
108 result = request.put_u8(MKEEP_ALIVE_ATTRIBUTE_ID, mIndex); in createRequest()
109 if (result < 0) { in createRequest()
110 ALOGE("Failed to put id request; result = %d", result); in createRequest()
111 return result; in createRequest()
114 result = request.put_u16(MKEEP_ALIVE_ATTRIBUTE_IP_PKT_LEN, mIpPktLen); in createRequest()
[all …]
Dgscan.cpp341 wifi_scan_result *result = results + i; in parseScanResults() local
346 strncpy(result->ssid, (char *) it2.get_data(), it2.get_len()); in parseScanResults()
347 result->ssid[it2.get_len()] = 0; in parseScanResults()
349 memcpy(result->bssid, (byte *) it2.get_data(), sizeof(mac_addr)); in parseScanResults()
351 result->ts = it2.get_u64(); in parseScanResults()
353 result->ts = it2.get_u16(); in parseScanResults()
355 result->rssi = it2.get_u8(); in parseScanResults()
357 result->rtt = it2.get_u64(); in parseScanResults()
359 result->rtt_sd = it2.get_u64(); in parseScanResults()
374 int result = request.create(GOOGLE_OUI, subcmd); in createFeatureRequest() local
[all …]
Dwifi_logger.cpp162 int result = request.create(GOOGLE_OUI, LOGGER_START_LOGGING); in createRingRequest() local
163 if (result != WIFI_SUCCESS) { in createRingRequest()
164 ALOGE("Failed to create start ring logger request; result = %d", result); in createRingRequest()
165 return result; in createRingRequest()
170 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_LEVEL, mVerboseLevel); in createRingRequest()
171 if (result != WIFI_SUCCESS) { in createRingRequest()
172 ALOGE("Failed to put log level; result = %d", result); in createRingRequest()
173 return result; in createRingRequest()
175 result = request.put_u32(LOGGER_ATTRIBUTE_RING_FLAGS, mFlags); in createRingRequest()
176 if (result != WIFI_SUCCESS) { in createRingRequest()
[all …]
Drtt.cpp343 int result = request.create(GOOGLE_OUI, RTT_SUBCMD_SET_CONFIG); in createSetupRequest() local
344 if (result < 0) { in createSetupRequest()
345 return result; in createSetupRequest()
349 result = request.put_u8(RTT_ATTRIBUTE_TARGET_CNT, numRttParams); in createSetupRequest()
350 if (result < 0) { in createSetupRequest()
351 return result; in createSetupRequest()
360 result = request.put_addr(RTT_ATTRIBUTE_TARGET_MAC, rttParams[i].addr); in createSetupRequest()
361 if (result < 0) { in createSetupRequest()
362 return result; in createSetupRequest()
365 result = request.put_u8(RTT_ATTRIBUTE_TARGET_TYPE, rttParams[i].type); in createSetupRequest()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_commands.c41 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/msm8909/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_thread_helper.c55 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 …]
Dloc_eng_dmn_conn_glue_msg.c86 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 …]
Dloc_eng_dmn_conn_glue_pipe.c64 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/
Dloc_eng_dmn_conn_thread_helper.c55 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 …]
Dloc_eng_dmn_conn_glue_msg.c86 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 …]
Dloc_eng_dmn_conn_glue_pipe.c64 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/
Dloc_eng_dmn_conn_thread_helper.c55 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 …]
Dloc_eng_dmn_conn_glue_msg.c86 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 …]
Dloc_eng_dmn_conn_glue_pipe.c64 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/
Dloc_eng_dmn_conn_thread_helper.c55 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 …]
Dloc_eng_dmn_conn_glue_msg.c86 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 …]
Dloc_eng_dmn_conn_glue_pipe.c64 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/
Dloc_eng_dmn_conn_thread_helper.c55 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 …]
Dloc_eng_dmn_conn_glue_msg.c86 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 …]
Dloc_eng_dmn_conn_glue_pipe.c64 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/
Dml_stored_data.c47 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/
Dml_stored_data.c47 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/qcom/gps/msm8960/loc_api/libloc_api_50001/
Dloc_eng_dmn_conn_glue_msg.c86 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 …]
Dloc_eng_dmn_conn_glue_pipe.c64 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/interfaces/automotive/vehicle/2.0/default/common/src/
DVmsUtils.cpp42 auto result = createVehiclePropValue(VehiclePropertyType::INT32, message_size); in createBaseVmsMessage() local
43 result->prop = toInt(VehicleProperty::VEHICLE_MAP_SERVICE); in createBaseVmsMessage()
44 result->areaId = toInt(VehicleArea::GLOBAL); in createBaseVmsMessage()
45 return result; in createBaseVmsMessage()
49 auto result = createBaseVmsMessage(kMessageTypeSize + kLayerSize); in createSubscribeMessage() local
50 result->value.int32Values = hidl_vec<int32_t>{toInt(VmsMessageType::SUBSCRIBE), layer.type, in createSubscribeMessage()
52 return result; in createSubscribeMessage()
57 auto result = createBaseVmsMessage(kMessageTypeSize + kLayerAndPublisherSize); in createSubscribeToPublisherMessage() local
58 result->value.int32Values = hidl_vec<int32_t>{ in createSubscribeToPublisherMessage()
61 return result; in createSubscribeToPublisherMessage()
[all …]

12345678910>>...24