/hardware/invensense/mlsdk/mllite/ |
H A D | mldmp.c | 68 * result = inv_dmp_open( ); 69 * if (INV_SUCCESS != result) { 80 inv_error_t result; local 95 result = inv_state_transition(INV_STATE_DMP_OPENED); 96 if (result) { 97 LOG_RESULT_LOCATION(result); 98 return result; 101 result = inv_dl_open(inv_get_serial_handle()); 102 if (result) { 103 LOG_RESULT_LOCATION(result); 177 inv_error_t result; local 214 inv_error_t result; local 256 inv_error_t result; local [all...] |
H A D | mlarray_legacy.c | 90 inv_error_t result; local 93 result = inv_get_gyro(data); 96 result = inv_get_accel(data); 99 result = inv_get_temperature(data); 102 result = inv_get_rot_mat(data); 105 result = inv_get_quaternion(data); 108 result = inv_get_linear_accel(data); 111 result = inv_get_linear_accel_in_world(data); 114 result = inv_get_gravity(data); 117 result 388 inv_error_t result; local 510 inv_error_t result; local 560 inv_error_t result; local [all...] |
H A D | mlBiasNoMotion.c | 79 inv_error_t result; local 82 result = inv_set_mpu_memory(KEY_CFG_MOTION_BIAS, 3, regs); 83 return result; 90 inv_error_t result; local 93 result = inv_set_mpu_memory(KEY_CFG_MOTION_BIAS, 3, regs); 94 return result; 101 inv_error_t result; local 109 result = inv_set_mpu_memory(KEY_FCFG_6, 1, regs); 110 if (result) { 111 LOG_RESULT_LOCATION(result); 159 inv_error_t result; local 227 inv_error_t result; local 363 inv_error_t result; local 381 inv_error_t result; local [all...] |
H A D | mlFIFOHW.c | 114 inv_error_t result; local 126 result = inv_get_fifo_length(&inFifo); 127 if (INV_SUCCESS != result) { 128 fifo_objHW.fifoError = result; 138 result = 141 if (INV_SUCCESS != result) { 142 fifo_objHW.fifoError = result; 146 result = inv_serial_read(inv_get_serial_handle(), inv_get_mpu_slave_addr(), 148 if (INV_SUCCESS != result) { 149 fifo_objHW.fifoError = result; 208 inv_error_t result; local 253 inv_error_t result; local 279 inv_error_t result; local [all...] |
H A D | ml.c | 128 inv_error_t result; local 133 result = inv_state_transition(INV_STATE_SERIAL_OPENED); 134 if (result) { 135 LOG_RESULT_LOCATION(result); 136 return result; 139 result = inv_serial_open(port, &g_mlsl_handle); 140 if (INV_SUCCESS != result) { 144 return result; 157 inv_error_t result = INV_SUCCESS; local 162 result 198 inv_error_t result; local 446 inv_error_t result; local 529 inv_error_t result = INV_SUCCESS; local 617 inv_error_t result; local 664 inv_error_t result; local 767 inv_error_t result; local 913 inv_error_t result; local 1110 inv_error_t result; local 1170 inv_error_t result = INV_SUCCESS; local 1321 inv_error_t result = INV_SUCCESS; local 1390 inv_error_t result = INV_SUCCESS; local 1497 inv_error_t result; local 1546 inv_error_t result; local 1683 inv_error_t result = INV_SUCCESS; local 1814 inv_error_t result; local [all...] |
H A D | mldl_cfg_mpu.c | 212 int result; local 213 result = ioctl((int)mlsl_handle, MPU_GET_MPU_CONFIG, mldl_cfg); 214 if (result) { 215 LOG_RESULT_LOCATION(result); 216 return result; 219 result = inv_mpu_suspend(mldl_cfg, mlsl_handle, NULL, NULL, NULL, 221 if (result) { 222 LOG_RESULT_LOCATION(result); 223 return result; 225 return result; 245 int result = INV_SUCCESS; local 259 int result; local 290 int result; local 338 int result; local 382 int result; local 441 int result; local [all...] |
H A D | mlstates.c | 76 inv_error_t result; local 77 result = inv_destroy_mutex(sStateChangeCallbacks.mutex); 79 return result; 120 inv_error_t result = INV_SUCCESS; local 138 result = INV_ERROR_SM_TRANSITION; 141 if (result == INV_SUCCESS) { 146 result = inv_run_state_callbacks(newState); 147 if (INV_SUCCESS == result && newState == INV_STATE_SERIAL_CLOSED) { 152 return result; 179 inv_error_t result; local 222 inv_error_t result; local 250 inv_error_t result; local [all...] |
H A D | mldl.c | 149 * not corresponding to a memory address will result in INV_ERROR. 197 inv_error_t result; local 209 result = (inv_error_t) inv_mpu_open(&mldlCfg, sMLSLHandle, 211 return result; 222 inv_error_t result = INV_SUCCESS; local 224 result = (inv_error_t) inv_mpu_suspend(&mldlCfg, 231 result = (inv_error_t) inv_mpu_close(&mldlCfg, sMLSLHandle, 237 return result; 306 inv_error_t result = INV_SUCCESS; local 309 result 349 inv_error_t result = INV_SUCCESS; local 423 inv_error_t result = INV_SUCCESS; local 613 inv_error_t result; local 684 inv_error_t result; local 735 inv_error_t result; local 781 inv_error_t result = INV_SUCCESS; local 826 inv_error_t result; local 883 inv_error_t result = INV_SUCCESS; local 939 inv_error_t result = INV_SUCCESS; local 1015 inv_error_t result; local [all...] |
H A D | mlarray.c | 121 inv_error_t result = INV_SUCCESS; local 133 return result; 232 return result; 286 inv_error_t result = INV_SUCCESS; local 296 result = inv_get_rot_mat_float(rotMatrix); 313 return result; 344 inv_error_t result = INV_SUCCESS; local 354 result = inv_get_rot_mat_float(rotMatrix); 371 return result; 402 inv_error_t result local 453 inv_error_t result = INV_SUCCESS; local 488 inv_error_t result = INV_SUCCESS; local 518 inv_error_t result = INV_SUCCESS; local 549 inv_error_t result = INV_SUCCESS; local 611 inv_error_t result = INV_SUCCESS; local 643 inv_error_t result = INV_SUCCESS; local 674 inv_error_t result = INV_SUCCESS; local 704 inv_error_t result = INV_SUCCESS; local 753 inv_error_t result = INV_SUCCESS; local 798 inv_error_t result = INV_SUCCESS; local 836 inv_error_t result = INV_SUCCESS; local 874 inv_error_t result = INV_SUCCESS; local 911 inv_error_t result = INV_SUCCESS; local 943 inv_error_t result = INV_SUCCESS; local 993 inv_error_t result = INV_SUCCESS; local 1068 inv_error_t result = INV_SUCCESS; local 1109 inv_error_t result = INV_SUCCESS; local 1169 inv_error_t result = INV_SUCCESS; local 1206 inv_error_t result = INV_SUCCESS; local 1241 inv_error_t result = INV_SUCCESS; local 1282 inv_error_t result = INV_SUCCESS; local 1328 inv_error_t result = INV_SUCCESS; local 1372 inv_error_t result = INV_SUCCESS; local 1416 inv_error_t result = INV_SUCCESS; local 1456 inv_error_t result = INV_SUCCESS; local 1490 inv_error_t result = INV_SUCCESS; local 1524 inv_error_t result = INV_SUCCESS; local 1576 inv_error_t result = INV_SUCCESS; local 1629 inv_error_t result = INV_SUCCESS; local 1704 inv_error_t result = INV_SUCCESS; local 1766 inv_error_t result = INV_SUCCESS; local 1812 inv_error_t result = INV_SUCCESS; local 1849 inv_error_t result = INV_SUCCESS; local 1882 inv_error_t result = INV_SUCCESS; local 1917 inv_error_t result = INV_SUCCESS; local 1967 inv_error_t result = INV_SUCCESS; local 2007 inv_error_t result = INV_SUCCESS; local 2041 inv_error_t result = INV_SUCCESS; local 2075 inv_error_t result = INV_SUCCESS; local 2131 inv_error_t result = INV_SUCCESS; local 2178 inv_error_t result = INV_SUCCESS; local 2242 inv_error_t result = INV_SUCCESS; local 2282 inv_error_t result = INV_SUCCESS; local 2326 inv_error_t result = INV_SUCCESS; local 2359 inv_error_t result = INV_SUCCESS; local [all...] |
H A D | mlFIFO.c | 234 inv_error_t result; local 251 result = inv_set_mpu_memory(key, 4, regs); 253 return result; 266 int result; local 400 result = inv_set_mpu_memory(KEY_CFG_16, 1, ®s); 401 if (result) { 402 LOG_RESULT_LOCATION(result); 403 return result; 411 result = inv_set_mpu_memory(KEY_CFG_16, 1, ®s); 412 if (result) { 465 inv_error_t result = INV_SUCCESS; local 525 inv_error_t result; local 551 inv_error_t result; local 596 inv_error_t result = INV_SUCCESS; local 791 inv_error_t result; local 820 inv_error_t result; local 889 inv_error_t result; local 994 inv_error_t result; local 1028 inv_error_t result; local 1078 inv_error_t result; local 1125 inv_error_t result; local 1148 inv_error_t result; local 1200 inv_error_t result; local 1235 inv_error_t result; local 1259 inv_error_t result; local 1300 int result; local 1422 int result; local 1500 inv_error_t result; local 1554 inv_error_t result; local 1701 inv_error_t result; local 1765 inv_error_t result; local 1882 int result; local 1960 inv_error_t result = INV_SUCCESS; local 2101 inv_error_t result; local 2138 inv_error_t result; local 2195 inv_error_t result; local 2237 inv_error_t result, result2; local [all...] |
H A D | ml_mputest.c | 86 * also the final result using a bit-mask like error code as 101 inv_error_t result; local 113 result = inv_dmp_stop(); 114 ERROR_CHECK_FIRST(firstError, result); 117 result = inv_factory_calibrate(mlsl_handle, provide_result); 118 ERROR_CHECK_FIRST(firstError, result); 121 result = inv_dmp_start(); 122 ERROR_CHECK_FIRST(firstError, result);
|
H A D | accel.c | 133 inv_error_t result; local 146 result = (inv_error_t) inv_mpu_read_accel(mldl_cfg, 150 if (result == INV_ERROR_ACCEL_DATA_NOT_READY) { 151 return result; 153 if (result) { 154 LOG_RESULT_LOCATION(result); 155 return result; 173 result = INV_ERROR_FEATURE_NOT_IMPLEMENTED; 184 return result;
|
H A D | compass.c | 266 inv_error_t result; local 285 result = (inv_error_t) inv_mpu_read_compass(mldl_cfg, 289 if (result) { 291 MPL_LOGV("inv_mpu_read_compass returned %d\n", result); 293 return result; 309 result = inv_get_external_sensor_data(data, 3); 310 if (result) { 311 LOG_RESULT_LOCATION(result); 312 return result; 331 result 366 inv_error_t result = INV_SUCCESS; local 421 inv_error_t result; local 455 inv_error_t result; local 489 inv_error_t result; local 513 inv_error_t result; local 555 inv_error_t result; local [all...] |
H A D | mlSetGyroBias.c | 113 inv_error_t result; local 127 result = inv_set_gyro_bias_in_hw_unit(offset, mode); 128 return result; 134 inv_error_t result; local 139 result = inv_set_gyro_bias_in_dps(biasL, mode); 140 return result; 145 inv_error_t result = INV_SUCCESS; local 147 result = inv_set_offset(sgb.currentBias); 175 return result; 180 inv_error_t result; local 195 inv_error_t result; local [all...] |
H A D | mlcontrol.c | 120 inv_error_t result; local 133 result = inv_set_mpu_memory(KEY_D_0_224, 2, regs); 134 if (result) { 135 LOG_RESULT_LOCATION(result); 136 return result; 141 result = inv_set_mpu_memory(KEY_D_0_228, 2, regs); 142 if (result) { 143 LOG_RESULT_LOCATION(result); 144 return result; 149 result 210 inv_error_t result; local 522 inv_error_t result; local [all...] |
H A D | pressure.c | 133 inv_error_t result = INV_SUCCESS; local 143 result = (inv_error_t) inv_mpu_read_pressure(mldl_cfg, 146 if (result) { 148 ("inv_mpu_read_pressure returned %d (%s)\n", result, 149 MLErrorCode(result))); 150 return result;
|
/hardware/qcom/media/mm-video/vidc/venc/test/ |
H A D | camera_test.cpp | 40 int result = 0; local 51 return result; 56 int result = 0; local 63 return result; 68 int result = 0; local 75 return result; 80 int result = 0; local 89 return result;
|
H A D | venc_test.cpp | 74 #define CHK(result) if (result != OMX_ErrorNone) { E("*************** error *************"); exit(0); } 342 OMX_ERRORTYPE result = OMX_ErrorNone; local 354 result = OMX_GetParameter(m_hHandle, 358 CHK(result); 364 result = OMX_SetParameter(m_hHandle, 368 CHK(result); 370 result = OMX_GetParameter(m_hHandle, 374 CHK(result); 379 result 740 OMX_ERRORTYPE result = OMX_ErrorNone; local 789 OMX_ERRORTYPE result = OMX_ErrorNone; local 824 OMX_ERRORTYPE result = OMX_ErrorUndefined; local 847 OMX_ERRORTYPE result = OMX_ErrorNone; local 913 OMX_ERRORTYPE result = OMX_ErrorNone; local 972 OMX_ERRORTYPE result; local 1277 int result; local [all...] |
/hardware/invensense/mlsdk/mlutils/ |
H A D | mputest.c | 282 * Produces the PASS/FAIL result. Loads the calculated gyro biases 298 * Report also the final result using a bit-mask like error code 322 inv_error_t result; local 341 result = inv_serial_single_write( 344 CHECK_TEST_ERROR(result); 362 result = inv_serial_single_write( 365 CHECK_TEST_ERROR(result); 366 result = inv_serial_single_write( 369 CHECK_TEST_ERROR(result); 378 result 572 inv_error_t result; local 790 inv_error_t result; local 974 inv_error_t result; local 1110 int result = 0; local 1275 int result; local 1342 inv_error_t result; local [all...] |
/hardware/invensense/mlsdk/platform/linux/ |
H A D | log_linux.c | 48 int result; local 51 result = _MLPrintVaLog(priority,tag,fmt,ap); 54 return result; 59 int result; local 96 result = snprintf(new_fmt, sizeof(new_fmt), "%c/%s:%s", 98 if (result <= 0) { 101 result = vsnprintf(buf,sizeof(buf),new_fmt, args); 102 if (result <= 0) { 106 result = _MLWriteLog(buf, strlen(buf));
|
H A D | mlsl_linux_mpu.c | 160 inv_error_t result = INV_SUCCESS; local 171 result = INV_ERROR_FILE_READ; 178 result = INV_ERROR_ASSERTION_FAILURE; 184 return result; 191 inv_error_t result = INV_SUCCESS; local 202 result = INV_ERROR_FILE_WRITE; 205 return result; 284 inv_error_t result; local 294 if ((result = ioctl((int)sl_handle, MPU_WRITE, &msg))) { 296 data[0], length, result); 320 int result = INV_SUCCESS; local 360 int result; local 392 int result; local 428 int result; local 464 int result; local [all...] |
/hardware/ril/mock-ril/src/js/ |
H A D | simulated_icc.js | 63 // The result returned by the request handlers 64 var result = new Object(); 72 result.responseProtobuf = rilSchema[packageNameAndSeperator + 74 return result; 82 result.responseProtobuf = rilSchema[packageNameAndSeperator + 84 return result; 93 result.responseProtobuf = rilSchema[packageNameAndSeperator + 95 return result; 105 result.responseProtobuf = rilSchema[packageNameAndSeperator + 107 return result; [all...] |
H A D | ctrl_server.js | 21 // The result returned by the request handlers 22 var result = new Object(); 29 result.responseProtobuf = ctrlSchema['ril_proto.CtrlRspRadioState'].serialize(rsp); 31 return result; 48 result.responseProtobuf = ctrlSchema['ril_proto.CtrlRspRadioState'].serialize(rsp); 50 return result; 60 // Assume the result will be true, successful and nothing to return 61 result.sendResponse = true; 62 result.ctrlStatus = CTRL_STATUS_OK; 63 result [all...] |
H A D | simulated_radio.js | 28 * result = this.radioDispatchTable[req.reqNum])(req); 34 * result = (this.radioDispatchTable[req.reqNum]).call(this, req); 118 // The result returned by the request handlers 119 var result = new Object(); 379 result.responseProtobuf = rilSchema[packageNameAndSeperator + 381 return result; 394 result.rilErrCode = RIL_E_GENERIC_FAILURE; 395 return result; 421 return result; 432 result [all...] |
/hardware/ril/reference-ril/ |
H A D | at_tok.c | 153 int result; local 155 ret = at_tok_nextint(p_cur, &result); 162 if (!(result == 0 || result == 1)) { 167 *p_out = (char)result;
|