OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:samplingPeriodUs
(Results
1 - 4
of
4
) sorted by null
/cts/tests/sensor/src/android/hardware/cts/helpers/
TestSensorEnvironment.java
53
* @param
samplingPeriodUs
The requested collection period for the sensor under test
58
public TestSensorEnvironment(Context context, int sensorType, int
samplingPeriodUs
) {
59
this(context, sensorType, false /* sensorMightHaveMoreListeners */,
samplingPeriodUs
);
67
* @param
samplingPeriodUs
The requested collection period for the sensor under test
76
int
samplingPeriodUs
,
81
samplingPeriodUs
,
91
* @param
samplingPeriodUs
The requested collection period for the sensor under test
100
int
samplingPeriodUs
) {
104
samplingPeriodUs
,
114
* @param
samplingPeriodUs
The requested collection period for the sensor under tes
[
all
...]
TestSensorEventListener.java
311
long
samplingPeriodUs
= mEnvironment.getMaximumExpectedSamplingPeriodUs();
316
long timeoutUs = (2 * eventCount *
samplingPeriodUs
)
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DeviceSuspendTestActivity.java
331
int
samplingPeriodUs
= sensor.getMaxDelay();
332
if (
samplingPeriodUs
== 0) {
334
samplingPeriodUs
= 200000;
337
long fifoBasedReportLatencyUs = maxBatchingPeriod(sensor,
samplingPeriodUs
);
345
samplingPeriodUs
,
374
int
samplingPeriodUs
= sensor.getMinDelay();
376
long fifoBasedReportLatencyUs = maxBatchingPeriod(sensor,
samplingPeriodUs
);
383
samplingPeriodUs
= (int) MIN_LATENCY_US/fifoMaxEventCount;
396
(int)
samplingPeriodUs
,
455
int
samplingPeriodUs
= sensor.getMinDelay()
[
all
...]
/cts/tests/sensor/src/android/hardware/cts/
SensorDirectReportTest.java
579
for (int
samplingPeriodUs
: POSSIBLE_SAMPLE_PERIOD_US) {
581
sensorType, rate, type,
samplingPeriodUs
);},
583
rate, type,
samplingPeriodUs
));
749
int type , int rateLevel, int memType, int
samplingPeriodUs
)
758
if (
samplingPeriodUs
== 0) {
759
samplingPeriodUs
= s.getMinDelay();
762
if (
samplingPeriodUs
< s.getMinDelay()) {
774
boolean registerRet = mSensorManager.registerListener(listener, s,
samplingPeriodUs
);
789
samplingPeriodUs
);
813
int
samplingPeriodUs
= Math.max((int) (1e6f / nominalFreq), s.getMinDelay())
[
all
...]
Completed in 406 milliseconds