Searched refs:counter (Results 1 - 9 of 9) sorted by relevance

/hardware/interfaces/audio/common/2.0/default/
H A DEffectMap.cpp30 static std::atomic<uint64_t> counter{INVALID_ID + 1};
31 return counter++;
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
H A DRecurrentTimer_test.cpp34 std::atomic<int64_t> counter { 0L };
35 auto counterRef = std::ref(counter);
44 ASSERT_EQ_WITH_TOLERANCE(100, counter.load(), 20);
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
H A Diio_utils.h280 int *counter)
291 *counter = 0;
320 (*counter)++;
324 *ci_array = malloc(sizeof(**ci_array) * (*counter));
419 bsort_channel_array_by_index(ci_array, *counter);
596 int *counter, char *sensor, int en)
604 *counter = 0;
631 struct iio_channel_info **ci_array, int *counter,
634 return enable_se(device_dir, ci_array, counter, "accel", en);
638 struct iio_channel_info **ci_array, int *counter,
278 build_channel_array(const char *device_dir, struct iio_channel_info **ci_array, int *counter) argument
595 enable_se(const char *device_dir, struct iio_channel_info **ci_array, int *counter, char *sensor, int en) argument
630 enable_accel_se(const char *device_dir, struct iio_channel_info **ci_array, int *counter, int en) argument
637 enable_anglvel_se(const char *device_dir, struct iio_channel_info **ci_array, int *counter, int en) argument
644 enable_quaternion_se(const char *device_dir, struct iio_channel_info **ci_array, int *counter, int en) argument
[all...]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
H A Diio_utils.h280 int *counter)
291 *counter = 0;
320 (*counter)++;
324 *ci_array = malloc(sizeof(**ci_array) * (*counter));
419 bsort_channel_array_by_index(ci_array, *counter);
596 int *counter, char *sensor, int en)
604 *counter = 0;
631 struct iio_channel_info **ci_array, int *counter,
634 return enable_se(device_dir, ci_array, counter, "accel", en);
638 struct iio_channel_info **ci_array, int *counter,
278 build_channel_array(const char *device_dir, struct iio_channel_info **ci_array, int *counter) argument
595 enable_se(const char *device_dir, struct iio_channel_info **ci_array, int *counter, char *sensor, int en) argument
630 enable_accel_se(const char *device_dir, struct iio_channel_info **ci_array, int *counter, int en) argument
637 enable_anglvel_se(const char *device_dir, struct iio_channel_info **ci_array, int *counter, int en) argument
644 enable_quaternion_se(const char *device_dir, struct iio_channel_info **ci_array, int *counter, int en) argument
[all...]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
H A Diio_utils.h279 int *counter)
290 *counter = 0;
319 (*counter)++;
323 *ci_array = malloc(sizeof(**ci_array) * (*counter));
418 bsort_channel_array_by_index(ci_array, *counter);
643 int *counter)
650 *counter = 0;
673 int *counter) {
679 *counter = 0;
277 build_channel_array(const char *device_dir, struct iio_channel_info **ci_array, int *counter) argument
641 enable(const char *device_dir, struct iio_channel_info **ci_array, int *counter) argument
671 disable_q_out(const char *device_dir, struct iio_channel_info **ci_array, int *counter) argument
H A Dstress_iio.c504 static int counter = 0; variable
510 counter++;
552 enable_compass(counter%2);
560 enable_pressure(counter%3);
619 enable_pressure(counter%3);
628 counter++;
666 enable_compass(counter%2);
674 enable_pressure(counter%3);
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
H A Dmain.c569 unsigned int counter; local
570 PRINT_INT(1, inv_get_motion_state(&counter));
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
H A Dbt_amp_hci.h330 uint16 counter; member in struct:contact_counter_evt_parms
/hardware/ril/libril/
H A Dril_service.cpp70 // counter used for synchronization. It is incremented every time response callbacks are updated.
76 // counter used for synchronization. It is incremented every time response callbacks are updated.
719 // note the current counter to avoid overwriting updates made by another thread before
721 int counter = isRadioService ? mCounterRadio[slotId] : mCounterOemHook[slotId]; local
730 // make sure the counter value has not changed
731 if (counter == (isRadioService ? mCounterRadio[slotId] : mCounterOemHook[slotId])) {

Completed in 501 milliseconds