/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | TestSensorEvent.java | 30 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()
|
D | TestSensorEnvironment.java | 171 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()
|
D | MovementDetectorHelper.java | 80 public void onAccuracyChanged(Sensor sensor, int accuracy) {} in onAccuracyChanged()
|
D | SensorCtsHelper.java | 315 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()
|
D | TestSensorEventListener.java | 120 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() 153 public void onFlushCompleted(Sensor sensor) { in onFlushCompleted()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorTest.java | 129 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()
|
D | SensorBatchingFifoTest.java | 80 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in getReservedFifoLength() local 89 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in runBatchingSensorFifoTest() local
|
D | SensorIntegrationTests.java | 91 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
|
D | SensorSupportTest.java | 131 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in checkSupportsSensor() local
|
D | SensorParameterRangeTest.java | 149 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/ |
D | EventSanitizationTestActivity.java | 63 final Sensor sensor = sensorManager.getDefaultSensor( in testNoTriggerEventsWhileUidIdle() local 107 final Sensor sensor = sensorManager.getDefaultSensor( in testNoOnChangeEventsWhileUidIdle() local
|
D | RotationVectorTestActivity.java | 126 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()
|
D | DeviceSuspendTestActivity.java | 326 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()
|
D | StepSensorPermissionTestActivity.java | 171 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()
|
D | DynamicSensorDiscoveryTestActivity.java | 164 public void onDynamicSensorConnected(Sensor sensor) { in onDynamicSensorConnected() 176 public void onDynamicSensorDisconnected(Sensor sensor) { in onDynamicSensorDisconnected()
|
D | OffBodySensorTestActivity.java | 109 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()
|
D | HeartRateMonitorTestActivity.java | 111 public void onAccuracyChanged(Sensor sensor, int i) { in onAccuracyChanged()
|
D | SensorSynchronizationTestActivity.java | 166 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
|
D | GyroscopeTestActivity.java | 224 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | EventBasicVerificationTest.java | 96 int expectedMinNumEvent, Sensor sensor, Sensor eventSensor, float[] ... values) { in getVerification()
|
D | FrequencyVerification.java | 68 Sensor sensor = environment.getSensor(); in getDefault() local
|
D | EventBasicVerification.java | 64 Sensor sensor) { in EventBasicVerification()
|
/cts/tests/sensor/jni/ |
D | SensorTestCases.cpp | 150 TestSensor sensor = mManager->getDefaultSensor(sensorType); in testDirectReport() local
|
D | SensorTest.cpp | 99 int TestSensorManager::configureDirectReport(TestSensor sensor, int channel, int rate) { in configureDirectReport()
|
/cts/apps/CtsVerifier/assets/scripts/ |
D | execute_power_tests.py | 593 def setPowerOn(self, sensor, powered_on): argument 602 self, sensor, max_amperes_allowed, baseline_amps, user_request = None): argument
|