/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorTest.java | 129 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in testSensorOperations() 140 sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_STEP_COUNTER); in testSensorOperations() 151 sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_STEP_DETECTOR); in testSensorOperations() 162 sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD); in testSensorOperations() 173 sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE); in testSensorOperations() 184 sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_PRESSURE); in testSensorOperations() 195 sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION); in testSensorOperations() 202 sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_TEMPERATURE); in testSensorOperations() 212 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_HEART_RATE); in testBodySensorOperations() 268 Sensor curr_sensor = mSensorManager.getDefaultSensor(sensor.getType(), false); in testGetDefaultSensorWithWakeUpFlag() [all …]
|
D | SensorBatchingFifoTest.java | 80 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in getReservedFifoLength() 89 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in runBatchingSensorFifoTest()
|
D | SensorParameterRangeTest.java | 149 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in checkSensorRangeAndFrequency() 210 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in checkMinFifoLength()
|
D | SensorDirectReportTest.java | 490 Sensor s = mSensorManager.getDefaultSensor(type); in testCloseWithoutConfigStop() 610 Sensor s = mSensorManager.getDefaultSensor(sensorType); in runSensorDirectReportTest() 642 Sensor s1 = mSensorManager.getDefaultSensor(type1); in runSingleChannelRateIndependencyTest() 643 Sensor s2 = mSensorManager.getDefaultSensor(type2); in runSingleChannelRateIndependencyTest() 694 Sensor s = mSensorManager.getDefaultSensor(type); in runMultiChannelRateIndependencyTest() 751 final Sensor s = mSensorManager.getDefaultSensor(type); in runMultiModeRateIndependencyTest() 798 Sensor s = mSensorManager.getDefaultSensor(type); in runTimestampTest() 843 Sensor s = mSensorManager.getDefaultSensor(sensorType); in runAtomicCounterTest() 873 Sensor s = mSensorManager.getDefaultSensor(type); in runReconfigureTest()
|
D | SensorSupportTest.java | 131 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in checkSupportsSensor()
|
D | SensorIntegrationTests.java | 243 Sensor sensor = sensorManager.getDefaultSensor(sensorType); in verifySensorReconfigureWhileActive()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | DeviceSuspendTestActivity.java | 172 Sensor wakeUpSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER, true); in testAPWakeUpWhenReportLatencyExpiresAccel() 180 Sensor wakeUpSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE, true); in testAPWakeUpWhenReportLatencyExpiresGyro() 188 Sensor wakeUpSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD,true); in testAPWakeUpWhenReportLatencyExpiresMag() 196 Sensor wakeUpSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER, true); in testAPWakeUpWhenFIFOFullAccel() 204 Sensor wakeUpSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE, true); in testAPWakeUpWhenFIFOFullGyro() 212 Sensor wakeUpSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD,true); in testAPWakeUpWhenFIFOFullMag() 220 Sensor accel = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in testAccelBatchingInAPSuspendLargeReportLatency() 228 Sensor accel = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in testAccelBatchingInAPSuspendZeroReportLatency()
|
D | SensorSynchronizationTestActivity.java | 48 mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER), in startDataCollection() 51 mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD), in startDataCollection() 54 mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE), in startDataCollection()
|
D | RotationVectorTestActivity.java | 169 mSensorManager.getDefaultSensor(Sensor.TYPE_ROTATION_VECTOR); in onCreate() 171 mSensorManager.getDefaultSensor(Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR); in onCreate() 173 mSensorManager.getDefaultSensor(Sensor.TYPE_GAME_ROTATION_VECTOR); in onCreate()
|
D | EventSanitizationTestActivity.java | 63 final Sensor sensor = sensorManager.getDefaultSensor( in testNoTriggerEventsWhileUidIdle() 107 final Sensor sensor = sensorManager.getDefaultSensor( in testNoOnChangeEventsWhileUidIdle()
|
D | StepSensorPermissionTestActivity.java | 171 Sensor sensor = mSensorManager.getDefaultSensor(sensorType); in checkSensor() 214 mAccel = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in AccelRecorder()
|
D | OffBodySensorTestActivity.java | 292 mOffBodySensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LOW_LATENCY_OFFBODY_DETECT, in activitySetUp() 361 Sensor wakeUpSensor = mSensorManager.getDefaultSensor( in testOffbodyDetectResponseTime() 370 Sensor wakeUpSensor = mSensorManager.getDefaultSensor( in testOnbodyDetectResponseTime() 379 Sensor wakeUpSensor = mSensorManager.getDefaultSensor( in testWakeAPOffbodyDetect()
|
D | StepCounterTestActivity.java | 80 mSensorStepCounter = mSensorManager.getDefaultSensor(Sensor.TYPE_STEP_COUNTER); in activitySetUp() 81 mSensorStepDetector = mSensorManager.getDefaultSensor(Sensor.TYPE_STEP_DETECTOR); in activitySetUp()
|
D | HeartRateMonitorTestActivity.java | 54 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_HEART_RATE); in onCreate()
|
D | RVCVRecordActivity.java | 776 mAccSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in init() 777 mGyroSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE_UNCALIBRATED); in init() 778 mMagSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD_UNCALIBRATED); in init() 895 mRVSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ROTATION_VECTOR); in init()
|
D | GyroscopeTestActivity.java | 76 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/PoseProvider/ |
D | AndroidPoseProvider.java | 56 m6DoFSensor = mSensorManager.getDefaultSensor(SENSOR_TYPE_POSE); in onStartPoseProviding()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | OrientationEventListenerTest.java | 65 boolean hasSensor = (sm.getDefaultSensor(Sensor.TYPE_ACCELEROMETER) != null); in testCanDetectOrientation()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | MovementDetectorHelper.java | 52 mAccelerometer = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in MovementDetectorHelper()
|
D | TestSensorEnvironment.java | 389 Sensor sensor = sensorManager.getDefaultSensor(sensorType); in getSensor()
|
/cts/tests/sensor/jni/ |
D | SensorTest.h | 58 TestSensor getDefaultSensor(int type);
|
D | SensorTest.cpp | 53 TestSensor TestSensorManager::getDefaultSensor(int type) { in getDefaultSensor() function in android::SensorTest::TestSensorManager
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/ |
D | PowerTestHostLink.java | 214 if (mSensorManager.getDefaultSensor(sensorId) == null) { in processClientRequest() 399 mSensorManager.getDefaultSensor(sensorId), rateUs); in switchSensor() 404 mSensorManager.getDefaultSensor(sensorId)); in switchSensor()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | EventBasicVerificationTest.java | 47 Sensor sensor2 = mgr.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in testVerify()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Activities/ |
D | StartActivity.java | 62 if (sensorManager.getDefaultSensor(Sensor.TYPE_POSE_6DOF) == null) { in onCreate()
|