Home
last modified time | relevance | path

Searched defs:sensor (Results 1 – 25 of 31) sorted by relevance

12

/cts/tests/sensor/src/android/hardware/cts/helpers/
DTestSensorEvent.java30 public final Sensor sensor; field in TestSensorEvent
65 public TestSensorEvent(Sensor sensor, long timestamp, int accuracy, float[] values) { in TestSensorEvent()
72 public TestSensorEvent(Sensor sensor, long timestamp, long receivedTimestamp, int accuracy, in TestSensorEvent()
DTestSensorEnvironment.java171 Sensor sensor, in TestSensorEnvironment()
194 Sensor sensor, in TestSensorEnvironment()
208 Sensor sensor, in TestSensorEnvironment()
224 Sensor sensor, in TestSensorEnvironment()
237 Sensor sensor, in TestSensorEnvironment()
389 Sensor sensor = sensorManager.getDefaultSensor(sensorType); in getSensor() local
414 public static long getSensorMaxDetectionLatencyNs(Sensor sensor) { in getSensorMaxDetectionLatencyNs()
DMovementDetectorHelper.java80 public void onAccuracyChanged(Sensor sensor, int accuracy) {} in onAccuracyChanged()
DTestSensorEventListener.java120 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
153 public void onFlushCompleted(Sensor sensor) { in onFlushCompleted()
DSensorStats.java167 public static String getSanitizedSensorName(Sensor sensor) throws SensorTestPlatformException { in getSanitizedSensorName()
/cts/tests/sensor/src/android/hardware/cts/
DSensorTest.java125 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in testSensorOperations() local
287 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_SIGNIFICANT_MOTION); in testRegisterWithTriggerSensor() local
299 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in testRegisterTwiceWithSameSensor() local
403 Sensor sensor = null; in testBatchAndFlushWithHandler() local
439 Sensor sensor = null; in testBatchAndFlushUseDefaultHandler() local
505 private void assertSensorValues(Sensor sensor) { in assertSensorValues()
552 Sensor sensor, in verifyLongActivation()
600 Sensor sensor, in verifyRegisterListenerCallFlush()
716 public void onAccuracyChanged(Sensor sensor, int accuracy) {} in onAccuracyChanged()
DSensorBatchingFifoTest.java80 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in getReservedFifoLength() local
89 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in runBatchingSensorFifoTest() local
DSensorIntegrationTests.java88 Sensor sensor = TestSensorEnvironment.getSensor(context, sensorType); in testSensorsWithSeveralClients() local
270 Sensor sensor = TestSensorEnvironment.getSensor(getContext(), sensorType); in generateSamplingRateInUs() local
DSensorSupportTest.java121 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in checkSupportsSensor() local
DSensorParameterRangeTest.java113 Sensor sensor, double maxRange, double minFrequency, double maxFrequency) { in checkSensorRangeAndFrequency()
165 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in checkMinFifoLength() local
DSensorAdditionalInfoTest.java123 public void onFlushCompleted(Sensor sensor) { in onFlushCompleted()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DEventSanitizationTestActivity.java63 final Sensor sensor = sensorManager.getDefaultSensor( in testNoTriggerEventsWhileUidIdle() local
107 final Sensor sensor = sensorManager.getDefaultSensor( in testNoOnChangeEventsWhileUidIdle() local
DDeviceSuspendTestActivity.java267 public String runAPWakeUpWhenReportLatencyExpires(Sensor sensor) throws Throwable { in runAPWakeUpWhenReportLatencyExpires()
310 public String runAPWakeUpWhenFIFOFull(Sensor sensor) throws Throwable { in runAPWakeUpWhenFIFOFull()
386 public String runVerifySensorTimestampClockbase(Sensor sensor, boolean verify_clock_delta) in runVerifySensorTimestampClockbase()
414 public String runAPWakeUpByAlarmNonWakeSensor(Sensor sensor, int maxReportLatencyUs) in runAPWakeUpByAlarmNonWakeSensor()
451 private void verifyBatchingSupport(Sensor sensor) in verifyBatchingSupport()
468 private long maxBatchingPeriod (Sensor sensor, long samplePeriod) { in maxBatchingPeriod()
DRotationVectorTestActivity.java126 Sensor sensor = mSensor[sensorIndex]; in verifyVector() local
198 Sensor sensor = mSensor[i]; in onResume() local
226 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
DDynamicSensorDiscoveryTestActivity.java164 public void onDynamicSensorConnected(Sensor sensor) { in onDynamicSensorConnected()
176 public void onDynamicSensorDisconnected(Sensor sensor) { in onDynamicSensorDisconnected()
DOffBodySensorTestActivity.java109 public void onAccuracyChanged(Sensor sensor, int accuracy) {} in onAccuracyChanged()
387 public String runOffbodyDetectResponseTimeTest(Sensor sensor) throws Throwable { in runOffbodyDetectResponseTimeTest()
449 public String runOnbodyDetectResponseTimeTest(Sensor sensor) throws Throwable { in runOnbodyDetectResponseTimeTest()
495 public String runWakeAPOffbodyDetectTest(Sensor sensor) throws Throwable { in runWakeAPOffbodyDetectTest()
DHeartRateMonitorTestActivity.java111 public void onAccuracyChanged(Sensor sensor, int i) { in onAccuracyChanged()
DSensorSynchronizationTestActivity.java166 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
DGyroscopeTestActivity.java224 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DEventBasicVerificationTest.java96 int expectedMinNumEvent, Sensor sensor, Sensor eventSensor, float[] ... values) { in getVerification()
DFrequencyVerification.java68 Sensor sensor = environment.getSensor(); in getDefault() local
DEventBasicVerification.java64 Sensor sensor) { in EventBasicVerification()
/cts/tests/sensor/jni/
DSensorTestCases.cpp150 TestSensor sensor = mManager->getDefaultSensor(sensorType); in testDirectReport() local
DSensorTest.cpp99 int TestSensorManager::configureDirectReport(TestSensor sensor, int channel, int rate) { in configureDirectReport()
/cts/apps/CtsVerifier/assets/scripts/
Dexecute_power_tests.py593 def setPowerOn(self, sensor, powered_on): argument
602 self, sensor, max_amperes_allowed, baseline_amps, user_request = None): argument

12