Home
last modified time | relevance | path

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

12345678910>>...35

/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCameraStateMachine.cpp353 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/
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_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 …]
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/sdm845/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 …]
/hardware/qcom/sdm845/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 …]
/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 …]
/hardware/qcom/sdm845/gps/msm8960/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 …]
/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 …]
/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 …]
/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 …]
/hardware/qcom/sdm845/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 …]
/hardware/qcom/sdm845/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 …]
/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 …]
/hardware/qcom/sdm845/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 …]
/hardware/qcom/gps/msm8960/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 …]
/hardware/interfaces/identity/aidl/vts/
DVtsIWritableIdentityCredentialTests.cpp58 Status result; in TEST_P() local
69 result = writableCredential->getAttestationCertificate( in TEST_P()
72 EXPECT_FALSE(result.isOk()) << result.exceptionCode() << "; " << result.exceptionMessage() in TEST_P()
74 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, result.exceptionCode()); in TEST_P()
75 EXPECT_EQ(IIdentityCredentialStore::STATUS_INVALID_DATA, result.serviceSpecificErrorCode()); in TEST_P()
79 Status result; in TEST_P() local
92 result = writableCredential->getAttestationCertificate( in TEST_P()
95 EXPECT_TRUE(result.isOk()) << result.exceptionCode() << "; " << result.exceptionMessage() in TEST_P()
103 Status result; in TEST_P() local
119 EXPECT_FALSE(attData2.result.isOk()) << attData2.result.exceptionCode() << "; " in TEST_P()
[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/interfaces/health/2.0/vts/functional/
DVtsHalHealthV2_0TargetTest.cpp245 EXPECT_OK(mHealth->getChargeCounter([](auto result, auto value) { in TEST_P() argument
246 EXPECT_VALID_OR_UNSUPPORTED_PROP(result, std::to_string(value), value > 0); in TEST_P()
254 EXPECT_OK(mHealth->getCurrentNow([](auto result, auto value) { in TEST_P() argument
255 EXPECT_VALID_OR_UNSUPPORTED_PROP(result, std::to_string(value), value != INT32_MIN); in TEST_P()
263 EXPECT_OK(mHealth->getCurrentAverage([](auto result, auto value) { in TEST_P() argument
264 EXPECT_VALID_OR_UNSUPPORTED_PROP(result, std::to_string(value), value != INT32_MIN); in TEST_P()
272 EXPECT_OK(mHealth->getCapacity([](auto result, auto value) { in TEST_P() argument
273 EXPECT_VALID_OR_UNSUPPORTED_PROP(result, std::to_string(value), 0 <= value && value <= 100); in TEST_P()
281 EXPECT_OK(mHealth->getEnergyCounter([](auto result, auto value) { in TEST_P() argument
282 EXPECT_VALID_OR_UNSUPPORTED_PROP(result, std::to_string(value), value != INT64_MIN); in TEST_P()
[all …]

12345678910>>...35