Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 19 of 19) sorted by relevance

/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Diio_utils.h280 int *counter) in build_channel_array() argument
291 *counter = 0; in build_channel_array()
320 (*counter)++; in build_channel_array()
324 *ci_array = malloc(sizeof(**ci_array) * (*counter)); in build_channel_array()
419 bsort_channel_array_by_index(ci_array, *counter); in build_channel_array()
596 int *counter, char *sensor, int en) in enable_se() argument
604 *counter = 0; in enable_se()
631 struct iio_channel_info **ci_array, int *counter, in enable_accel_se() argument
634 return enable_se(device_dir, ci_array, counter, "accel", en); in enable_accel_se()
638 struct iio_channel_info **ci_array, int *counter, in enable_anglvel_se() argument
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Diio_utils.h280 int *counter) in build_channel_array() argument
291 *counter = 0; in build_channel_array()
320 (*counter)++; in build_channel_array()
324 *ci_array = malloc(sizeof(**ci_array) * (*counter)); in build_channel_array()
419 bsort_channel_array_by_index(ci_array, *counter); in build_channel_array()
596 int *counter, char *sensor, int en) in enable_se() argument
604 *counter = 0; in enable_se()
631 struct iio_channel_info **ci_array, int *counter, in enable_accel_se() argument
634 return enable_se(device_dir, ci_array, counter, "accel", en); in enable_accel_se()
638 struct iio_channel_info **ci_array, int *counter, in enable_anglvel_se() argument
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DRecurrentTimer_test.cpp34 std::atomic<int64_t> counter { 0L }; in TEST() local
35 auto counterRef = std::ref(counter); in TEST()
44 ASSERT_EQ_WITH_TOLERANCE(100, counter.load(), 20); in TEST()
/hardware/interfaces/audio/common/all-versions/default/
DEffectMap.cpp30 static std::atomic<uint64_t> counter{INVALID_ID + 1}; in makeUniqueId() local
31 return counter++; in makeUniqueId()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Diio_utils.h279 int *counter) in build_channel_array() argument
290 *counter = 0; in build_channel_array()
319 (*counter)++; in build_channel_array()
323 *ci_array = malloc(sizeof(**ci_array) * (*counter)); in build_channel_array()
418 bsort_channel_array_by_index(ci_array, *counter); in build_channel_array()
643 int *counter) in enable() argument
650 *counter = 0; in enable()
673 int *counter) { in disable_q_out() argument
679 *counter = 0; in disable_q_out()
Dstress_iio.c504 static int counter = 0; variable
510 counter++; in run_enable_sequence()
552 enable_compass(counter%2); in run_enable_sequence()
560 enable_pressure(counter%3); in run_enable_sequence()
619 enable_pressure(counter%3); in run_disable_sequence()
628 counter++; in run_dmp_off()
666 enable_compass(counter%2); in run_dmp_off()
674 enable_pressure(counter%3); in run_dmp_off()
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraTrace.h217 #define KPI_ATRACE_CAMSCOPE_INT(name, camscope_name, counter) ({\ argument
218 KPI_ATRACE_INT(name, counter); \
221 counter ? CAMSCOPE_ASYNC_BEGIN : CAMSCOPE_ASYNC_END, \
/hardware/interfaces/camera/device/3.5/
DICameraDeviceSession.hal37 * - a streamConfigCounter counter is provided to check for race condition
101 * streamConfigCounter for such race condition. If the counter is less
102 * than the counter in the last configureStreams_3_5 call HAL last
Dtypes.hal40 * An incrementing counter used for HAL to keep track of the stream
42 * counter in signalStreamFlush call is less than the counter here, that
/hardware/interfaces/health/1.0/
DIHealth.hal51 * @return result Result of querying enery counter for the battery.
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Dmain.c569 unsigned int counter; in fifo_callback() local
570 PRINT_INT(1, inv_get_motion_state(&counter)); in fifo_callback()
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/
Dbt_amp_hci.h330 uint16 counter;
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3Channel.cpp510 static int counter = 0; in dumpYUV() local
535 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
539 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
543 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
547 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
551 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
555 counter, frame->frame_idx, dim.width, dim.height); in dumpYUV()
561 counter++; in dumpYUV()
/hardware/interfaces/input/common/1.0/
Dtypes.hal181 * The value is normalized to a range from -1.0 (counter-clockwise) to 1.0 (clockwise).
188 * The value is normalized to a range from -1.0 (counter-clockwise) to 1.0 (clockwise).
195 * The value is normalized to a range from -1.0 (counter-clockwise) to 1.0 (clockwise).
/hardware/interfaces/sensors/1.0/
Dtypes.hal503 * - 1: device is rotated 90 degrees counter-clockwise from default
1037 * to be rotated 90 degrees counter-clockwise about the Z axis to align
1040 * 90 degrees clockwise (270 degrees counter-clockwise), yielding its
1308 // 0x000C uint32_t atomic counter
/hardware/interfaces/keymaster/4.0/
Dtypes.hal317 * When a key with this tag is used in an operation, a key-associated counter must be
318 * incremented during the begin() call. After the key counter has exceeded this value, all
613 * T is the "temporal counter value", computed by dividing the value of
1269 * though a stronger uniqueness guarantee (e.g. counter) is recommended where possible.
DIKeymasterDevice.hal259 * ``CKDF'' is the standard AES-CMAC KDF from NIST SP 800-108 in counter mode (see Section
261 * defined in the standard. The counter is prefixed and length L appended, as shown
923 * o Tag::MAX_USES_PER_BOOT must be compared against a secure counter that tracks the uses of
/hardware/interfaces/camera/metadata/3.2/
Dtypes.hal918 * <p>A frame counter set by the framework. This value monotonically
/hardware/ril/libril/
Dril_service.cpp764 int counter = isRadioService ? mCounterRadio[slotId] : mCounterOemHook[slotId]; in checkReturnStatus() local
774 if (counter == (isRadioService ? mCounterRadio[slotId] : mCounterOemHook[slotId])) { in checkReturnStatus()