/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorTest.java | 135 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in testSensorOperations_accelerometer() local 149 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_STEP_COUNTER); in testSensorOperations_stepCounter() local 163 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_STEP_DETECTOR); in testSensorOperations_stepDetector() local 177 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD); in testSensorOperations_magneticField() local 192 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE); in testSensorOperations_gyroscope() local 206 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_PRESSURE); in testSensorOperations_pressure() local 221 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION); in testSensorOperations_orientation() local 231 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_TEMPERATURE); in testSensorOperations_temperature() local 240 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_HINGE_ANGLE); in testSensorOperations_hingeAngle() local 278 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in validateLimitedAxesImuSensorType() local [all …]
|
D | SensorBatchingFifoTest.java | 80 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in getReservedFifoLength() local 89 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in runBatchingSensorFifoTest() local
|
D | SensorIntegrationTests.java | 90 Sensor sensor = TestSensorEnvironment.getSensor(context, sensorType); in testSensorsWithSeveralClients() local 258 Sensor sensor = sensorManager.getDefaultSensor(sensorType); in verifySensorReconfigureWhileActive() local 457 Sensor sensor = TestSensorEnvironment.getSensor(getContext(), sensorType); in generateSamplingRateInUs() local
|
D | SensorHeadTrackerTest.java | 276 public void onDynamicSensorConnected(Sensor sensor) { in onDynamicSensorConnected() 287 public void onDynamicSensorDisconnected(Sensor sensor) { in onDynamicSensorDisconnected()
|
D | SensorParameterRangeTest.java | 173 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in checkSensorRangeAndFrequency() local 233 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in checkMinFifoLength() local
|
/cts/tests/tests/virtualdevice/sensor/src/android/virtualdevice/cts/sensor/ |
D | VirtualSensorTest.java | 215 Sensor sensor = mVirtualDeviceSensorManager.getDefaultSensor(TYPE_ACCELEROMETER); in getSensorList_returnsVirtualSensor() local 305 Sensor sensor = mVirtualDeviceSensorManager.getDefaultSensor(TYPE_ACCELEROMETER); in closeVirtualDevice_removesSensor() local 317 Sensor sensor = mVirtualDeviceSensorManager.getDefaultSensor(TYPE_ACCELEROMETER); in registerListener_triggersVirtualSensorCallback() local 350 Sensor sensor = mVirtualDeviceSensorManager.getDefaultSensor(TYPE_ACCELEROMETER); in sendEvent_reachesRegisteredListeners() local 380 Sensor sensor = mVirtualDeviceSensorManager.getDefaultSensor(TYPE_ACCELEROMETER); in sendEvent_explicitTimestampSpecified() local 402 Sensor sensor = mVirtualDeviceSensorManager.getDefaultSensor(TYPE_ACCELEROMETER); in sendEvent_invalidValues_eventIsDropped() local 429 Sensor sensor = mVirtualDeviceSensorManager.getDefaultSensor(CUSTOM_SENSOR_TYPE); in virtualSensor_arbitrarySensorType() local 462 Sensor sensor = mVirtualDeviceSensorManager.getDefaultSensor(TYPE_ACCELEROMETER); in directConnection_memoryFile_notSupported() local 509 Sensor sensor = mVirtualDeviceSensorManager.getDefaultSensor(TYPE_ACCELEROMETER); in directConnectionForDefaultDevice_memoryFile_notValidForVirtualDevice() local 526 Sensor sensor = mVirtualDeviceSensorManager.getDefaultSensor(TYPE_ACCELEROMETER); in directConnection_memoryFile_notValidForAnotherVirtualDevice() local [all …]
|
/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 | 200 Sensor sensor, in TestSensorEnvironment() 223 Sensor sensor, in TestSensorEnvironment() 237 Sensor sensor, in TestSensorEnvironment() 254 Sensor sensor, in TestSensorEnvironment() 268 Sensor sensor, in TestSensorEnvironment() 422 Sensor sensor = sensorManager.getDefaultSensor(sensorType); in getSensor() local 447 public static long getSensorMaxDetectionLatencyNs(Sensor sensor) { in getSensorMaxDetectionLatencyNs()
|
D | SensorRatePermissionEventConnectionTestHelper.java | 82 Sensor sensor = mTestSensorEnvironment.getSensor(); in errorWhenExceedCappedRate() local 94 Sensor sensor = mTestSensorEnvironment.getSensor(); in errorWhenBelowExpectedRate() local
|
D | SensorCtsHelper.java | 321 public static String getUnitsForSensor(Sensor sensor) { in getUnitsForSensor() 341 public static boolean hasMaxResolutionRequirement(Sensor sensor, boolean hasHifiSensors) { in hasMaxResolutionRequirement() 371 public static float getRequiredMaxResolutionForSensor(Sensor sensor) { in getRequiredMaxResolutionForSensor() 413 public static boolean hasMinResolutionRequirement(Sensor sensor) { in hasMinResolutionRequirement() 437 public static float getRequiredMinResolutionForSensor(Sensor sensor) { in getRequiredMinResolutionForSensor()
|
D | MovementDetectorHelper.java | 80 public void onAccuracyChanged(Sensor sensor, int accuracy) {} in onAccuracyChanged()
|
D | TestSensorEventListener.java | 120 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() 153 public void onFlushCompleted(Sensor sensor) { in onFlushCompleted()
|
/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 | 306 public String runAPWakeUpWhenReportLatencyExpires(Sensor sensor) throws Throwable { in runAPWakeUpWhenReportLatencyExpires() 349 public String runAPWakeUpWhenFIFOFull(Sensor sensor) throws Throwable { in runAPWakeUpWhenFIFOFull() 425 public String runVerifySensorTimestampClockbase(Sensor sensor, boolean verify_clock_delta) in runVerifySensorTimestampClockbase() 453 public String runAPWakeUpByAlarmNonWakeSensor(Sensor sensor, int maxReportLatencyUs) in runAPWakeUpByAlarmNonWakeSensor() 483 private void verifyBatchingSupport(Sensor sensor) in verifyBatchingSupport() 500 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 | 175 public void onDynamicSensorConnected(Sensor sensor) { in onDynamicSensorConnected() 187 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()
|
/cts/tests/tests/view/src/android/view/cts/input/ |
D | InputDeviceSensorManagerTest.java | 121 Callback(@NonNull Sensor sensor) { in Callback() 126 public void onDynamicSensorConnected(Sensor sensor) { in onDynamicSensorConnected() 135 public void onDynamicSensorDisconnected(Sensor sensor) { in onDynamicSensorDisconnected() 201 public void onAccuracyChanged(Sensor sensor, int accuracy) { in onAccuracyChanged() 239 private float[] getExpectedSensorValue(Sensor sensor, int[] dataVector) { in getExpectedSensorValue() 272 private void injectSensorSample(Sensor sensor, int[] dataVec, int timestamp) { in injectSensorSample() 366 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in getDefaultSensor() local
|
/cts/tests/tests/virtualdevice/sensor/src/android/virtualdevice/cts/sensor/util/jni/ |
D | android_virtualdevice_cts_sensor_util_NativeSensorTestActivity.cpp | 31 const ASensor* sensor = in getDefaultAccelerometerName() local
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-2025/ |
D | poc.cpp | 64 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/ |
D | EventBasicVerificationTest.java | 96 int expectedMinNumEvent, Sensor sensor, Sensor eventSensor, float[] ... values) { in getVerification()
|
/cts/tests/sensor/sensorratepermission/DebuggableAPI31/src/android/sensorratepermission/cts/debuggableapi31/ |
D | DebuggableAPI31Test.java | 71 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in testRegisterListener() local
|
/cts/tests/sensor/sensorratepermission/EventConnectionAPI31/src/android/sensorratepermission/cts/eventconnectionapi31/ |
D | EventConnectionAPI31Test.java | 74 Sensor sensor = sensorManager.getDefaultSensor(sensorType); in setUp() local
|