/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | TestSensorManager.java | 83 mEnvironment.getSensor(), in registerListener() 115 mEnvironment.getSensor(), in registerListener() 122 mEnvironment.getSensor(), in registerListener() 152 mSensorManager.unregisterListener(mTestSensorEventListener, mEnvironment.getSensor()); in unregisterListener()
|
D | TestSensorEnvironment.java | 128 getSensor(context, sensorType), in TestSensorEnvironment() 156 getSensor(context, sensorType), in TestSensorEnvironment() 183 getSensor(context, sensorType), in TestSensorEnvironment() 295 public Sensor getSensor() { in getSensor() method in TestSensorEnvironment 415 public static Sensor getSensor(Context context, int sensorType) { in getSensor() method in TestSensorEnvironment
|
D | SensorRatePermissionEventConnectionTestHelper.java | 82 Sensor sensor = mTestSensorEnvironment.getSensor(); in errorWhenExceedCappedRate() 94 Sensor sensor = mTestSensorEnvironment.getSensor(); in errorWhenBelowExpectedRate()
|
D | SensorRatePermissionDirectReportTestHelper.java | 104 public Sensor getSensor() { in getSensor() method in SensorRatePermissionDirectReportTestHelper
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | FifoLengthVerification.java | 63 if (environment.getSensor().getReportingMode() != Sensor.REPORTING_MODE_CONTINUOUS) { in getDefault() 67 long fifoReservedEventCount = environment.getSensor().getFifoReservedEventCount(); in getDefault() 74 if (environment.isDeviceSuspendTest() && !environment.getSensor().isWakeUpSensor()) { in getDefault()
|
D | BatchArrivalVerification.java | 59 if (environment.getSensor().getReportingMode() != Sensor.REPORTING_MODE_CONTINUOUS) { in getDefault() 62 long fifoMaxEventCount = environment.getSensor().getFifoMaxEventCount(); in getDefault() 71 if (environment.isDeviceSuspendTest() && !environment.getSensor().isWakeUpSensor()) { in getDefault()
|
D | EventBasicVerification.java | 96 long reservedFifoUs = sampleUs * environment.getSensor().getFifoReservedEventCount(); //>=0 in getDefault() 100 sampleUs * environment.getSensor().getFifoMaxEventCount(), reservedFifoUs); //>=0 in getDefault() 162 return new EventBasicVerification(expectedMinNumEvent, environment.getSensor()); in getDefault()
|
D | HingeAngleVerification.java | 46 float resolution = environment.getSensor().getResolution(); in verify() 47 float maxRange = environment.getSensor().getMaximumRange(); in verify()
|
D | FrequencyVerification.java | 68 Sensor sensor = environment.getSensor(); in getDefault() 145 environment.getSensor().getName(), in verify()
|
D | TimestampClockSourceVerification.java | 70 long fifoMaxEventCount = environment.getSensor().getFifoMaxEventCount(); in getDefault() 77 if (environment.isDeviceSuspendTest() && !environment.getSensor().isWakeUpSensor()) { in getDefault()
|
D | StandardDeviationVerification.java | 70 int sensorType = environment.getSensor().getType(); in getDefault() 75 environment.getSensor().getMinDelay(), TimeUnit.MICROSECONDS); in getDefault() 77 environment.getSensor().getMaxDelay(), TimeUnit.MICROSECONDS); in getDefault()
|
D | OffsetVerification.java | 69 if (environment.getSensor().getType() == Sensor.TYPE_MAGNETIC_FIELD_UNCALIBRATED) { in getDefault()
|
D | GyroscopeIntegrationVerification.java | 58 int sensorType = environment.getSensor().getType(); in verify()
|
D | ContinuousEventSanitizedVerification.java | 55 final int reportingMode = environment.getSensor().getReportingMode(); in getDefault()
|
D | MagnitudeVerification.java | 69 int sensorType = environment.getSensor().getType(); in getDefault()
|
D | MeanLargerThanVerification.java | 70 int sensorType = environment.getSensor().getType(); in getDefault()
|
D | EventOrderingVerification.java | 51 int reportingMode = environment.getSensor().getReportingMode(); in getDefault()
|
D | EventGapVerification.java | 58 if (environment.getSensor().getReportingMode() != Sensor.REPORTING_MODE_CONTINUOUS) { in getDefault()
|
D | MeanVerification.java | 85 int sensorType = environment.getSensor().getType(); in getDefault()
|
D | JitterVerification.java | 79 int sensorType = environment.getSensor().getType(); in getDefault()
|
/cts/tests/sensor/sensorratepermission/DirectReportAPI30/src/android/sensorratepermission/cts/directreportapi30/ |
D | DirectReportAPI30Test.java | 95 if (mDirectReportTestHelper.getSensor().getHighestDirectReportRateLevel() in testSamplingRateMicToggleOff() 134 Sensor s = mDirectReportTestHelper.getSensor(); in testSamplingRateMicToggleOffOnOff()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorBatchingFifoTest.java | 99 environment.getSensor().getFifoReservedEventCount() * in runBatchingSensorFifoTest()
|
D | SensorIntegrationTests.java | 91 Sensor sensor = TestSensorEnvironment.getSensor(context, sensorType); in testSensorsWithSeveralClients() 402 Sensor sensor = TestSensorEnvironment.getSensor(getContext(), sensorType); in generateSamplingRateInUs()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | BatchingTestActivity.java | 139 new EventBasicVerification(2 /* expectedMinNumEvent */, environment.getSensor()); in runBatchTest()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/ |
D | TestSensorOperation.java | 136 getStats().addValue("sensor_name", mEnvironment.getSensor().getName()); in execute() 219 SensorStats.getSanitizedSensorName(mEnvironment.getSensor()), in trySaveCollectedEvents()
|