Home
last modified time | relevance | path

Searched defs:sensor (Results 1 – 25 of 33) 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()
DSensorCtsHelper.java315 public static String getUnitsForSensor(Sensor sensor) { in getUnitsForSensor()
331 public static boolean hasResolutionRequirement(Sensor sensor, boolean hasHifiSensors) { in hasResolutionRequirement()
348 public static float getRequiredResolutionForSensor(Sensor sensor) { in getRequiredResolutionForSensor()
DTestSensorEventListener.java120 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
153 public void onFlushCompleted(Sensor sensor) { in onFlushCompleted()
/cts/tests/sensor/src/android/hardware/cts/
DSensorTest.java129 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in testSensorOperations() local
212 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_HEART_RATE); in testBodySensorOperations() local
316 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_SIGNIFICANT_MOTION); in testRegisterWithTriggerSensor() local
328 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in testRegisterTwiceWithSameSensor() local
432 Sensor sensor = null; in testBatchAndFlushWithHandler() local
468 Sensor sensor = null; in testBatchAndFlushUseDefaultHandler() local
534 private void assertSensorValues(Sensor sensor) { in assertSensorValues()
589 Sensor sensor, in verifyLongActivation()
637 Sensor sensor, in verifyRegisterListenerCallFlush()
755 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.java91 Sensor sensor = TestSensorEnvironment.getSensor(context, sensorType); in testSensorsWithSeveralClients() local
243 Sensor sensor = sensorManager.getDefaultSensor(sensorType); in verifySensorReconfigureWhileActive() local
402 Sensor sensor = TestSensorEnvironment.getSensor(getContext(), sensorType); in generateSamplingRateInUs() local
DSensorSupportTest.java131 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in checkSupportsSensor() local
DSensorParameterRangeTest.java149 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in checkSensorRangeAndFrequency() local
210 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in checkMinFifoLength() local
/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
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()
DDeviceSuspendTestActivity.java326 public String runAPWakeUpWhenReportLatencyExpires(Sensor sensor) throws Throwable { in runAPWakeUpWhenReportLatencyExpires()
369 public String runAPWakeUpWhenFIFOFull(Sensor sensor) throws Throwable { in runAPWakeUpWhenFIFOFull()
445 public String runVerifySensorTimestampClockbase(Sensor sensor, boolean verify_clock_delta) in runVerifySensorTimestampClockbase()
473 public String runAPWakeUpByAlarmNonWakeSensor(Sensor sensor, int maxReportLatencyUs) in runAPWakeUpByAlarmNonWakeSensor()
510 private void verifyBatchingSupport(Sensor sensor) in verifyBatchingSupport()
527 private long maxBatchingPeriod (Sensor sensor, long samplePeriod) { in maxBatchingPeriod()
DStepSensorPermissionTestActivity.java171 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in checkSensor() local
203 public void onAccuracyChanged(Sensor sensor, int i) { in onAccuracyChanged()
256 public void onAccuracyChanged(Sensor sensor, int i) { 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()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/
Dpoc.cpp64 sp<ISensorServer> sensor = interface_cast<ISensorServer>(binder); in bcfree_helper() local
85 sp<ISensorServer> sensor = interface_cast<ISensorServer>(binder); in bcfree() local
/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