Searched defs:acc (Results 1 - 5 of 5) sorted by relevance

/hardware/akm/AK8975_FS/akmdfs/
H A DAKFS_APIs.c260 @param[in] acc A set of measurement data from accelerometer. X axis value
261 should be in acc[0], Y axis value should be in acc[1], Z axis value should be
262 in acc[2].
272 const int16 acc[3],
283 __FUNCTION__, acc[0], acc[1], acc[2], status);
291 g_prms.mfv_adata[0].u.x = acc[0];
292 g_prms.mfv_adata[0].u.y = acc[
271 AKFS_Get_ACCELEROMETER( const int16 acc[3], const int16 status, AKFLOAT* vx, AKFLOAT* vy, AKFLOAT* vz, int16* accuracy ) argument
[all...]
H A DAKFS_Measure.c236 const AKSENSOR_DATA* acc,
245 buf[1] = CONVERT_ACC(acc->x); /* Ax */
246 buf[2] = CONVERT_ACC(acc->y); /* Ay */
247 buf[3] = CONVERT_ACC(acc->z); /* Az */
248 buf[4] = acc->status; /* Acc status */
274 int16 acc[3]; local
313 if (AKD_GetAccelerationData(acc) != AKD_SUCCESS) {
319 if (AKFS_Get_ACCELEROMETER(acc, 0, &tmpx, &tmpy, &tmpz, &tmp_accuracy) == AKM_SUCCESS) {
234 AKFS_OutputResult( const uint16 flag, const AKSENSOR_DATA* acc, const AKSENSOR_DATA* mag, const AKSENSOR_DATA* ori ) argument
/hardware/akm/AK8975_FS/libsensors/
H A DAkmSensor.cpp243 int16_t acc[3]; local
245 acc[0] = (int16_t)(data->acceleration.x / GRAVITY_EARTH * AKSC_LSG);
246 acc[1] = (int16_t)(data->acceleration.y / GRAVITY_EARTH * AKSC_LSG);
247 acc[2] = (int16_t)(data->acceleration.z / GRAVITY_EARTH * AKSC_LSG);
250 err = write_sys_attribute(input_sysfs_path, (char*)acc, 6);
H A Dsensors.cpp136 acc = 0, enumerator in enum:sensors_poll_context_t::__anon4
161 mSensors[acc] = new AdxlSensor();
164 mSensors[acc] = new KionixSensor();
166 mPollFds[acc].fd = mSensors[acc]->getFd();
167 mPollFds[acc].events = POLLIN;
168 mPollFds[acc].revents = 0;
198 return acc;
289 if ((0 != nb) && (acc == i)) {
/hardware/libhardware/tests/camera2/
H A DCameraBurstTests.cpp108 long long acc = 0; local
129 acc += p;
133 return acc;

Completed in 211 milliseconds