Home
last modified time | relevance | path

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

12

/cts/tests/sensor/src/android/hardware/cts/
DSensorTest.java135 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 …]
DSensorBatchingFifoTest.java80 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in getReservedFifoLength() local
89 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in runBatchingSensorFifoTest() local
DSensorIntegrationTests.java90 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
DSensorHeadTrackerTest.java276 public void onDynamicSensorConnected(Sensor sensor) { in onDynamicSensorConnected()
287 public void onDynamicSensorDisconnected(Sensor sensor) { in onDynamicSensorDisconnected()
DSensorParameterRangeTest.java173 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/
DVirtualSensorTest.java215 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/
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.java200 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()
DSensorRatePermissionEventConnectionTestHelper.java82 Sensor sensor = mTestSensorEnvironment.getSensor(); in errorWhenExceedCappedRate() local
94 Sensor sensor = mTestSensorEnvironment.getSensor(); in errorWhenBelowExpectedRate() local
DSensorCtsHelper.java321 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()
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()
/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.java306 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()
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.java175 public void onDynamicSensorConnected(Sensor sensor) { in onDynamicSensorConnected()
187 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()
/cts/tests/tests/view/src/android/view/cts/input/
DInputDeviceSensorManagerTest.java121 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/
Dandroid_virtualdevice_cts_sensor_util_NativeSensorTestActivity.cpp31 const ASensor* sensor = in getDefaultAccelerometerName() local
/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()
/cts/tests/sensor/sensorratepermission/DebuggableAPI31/src/android/sensorratepermission/cts/debuggableapi31/
DDebuggableAPI31Test.java71 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in testRegisterListener() local
/cts/tests/sensor/sensorratepermission/EventConnectionAPI31/src/android/sensorratepermission/cts/eventconnectionapi31/
DEventConnectionAPI31Test.java74 Sensor sensor = sensorManager.getDefaultSensor(sensorType); in setUp() local

12