Home
last modified time | relevance | path

Searched refs:TestSensorManager (Results 1 – 8 of 8) sorted by relevance

/cts/tests/sensor/jni/
DSensorTest.cpp27 TestSensorManager::getInstanceForPackage("android.hardware.cts.SensorNativeTest")); in SetUp()
38 TestSensorManager::TestSensorManager(const char *package) { in TestSensorManager() function in android::SensorTest::TestSensorManager
42 TestSensorManager::~TestSensorManager() { in ~TestSensorManager()
49 TestSensorManager * TestSensorManager::getInstanceForPackage(const char *package) { in getInstanceForPackage()
50 return new TestSensorManager(package); in getInstanceForPackage()
53 TestSensor TestSensorManager::getDefaultSensor(int type) { in getDefaultSensor()
57 int TestSensorManager::createDirectChannel(const TestSharedMemory &mem) { in createDirectChannel()
73 int TestSensorManager::createSharedMemoryDirectChannel(int fd, size_t size) { in createSharedMemoryDirectChannel()
81 int TestSensorManager::createHardwareBufferDirectChannel( in createHardwareBufferDirectChannel()
90 void TestSensorManager::destroyDirectChannel(int channel) { in destroyDirectChannel()
[all …]
DSensorTest.h34 class TestSensorManager; variable
49 std::unique_ptr<TestSensorManager> mManager;
53 class TestSensorManager {
55 static TestSensorManager * getInstanceForPackage(const char *package);
56 virtual ~TestSensorManager();
64 TestSensorManager(const char *package);
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCalibratedUncalibratedVerifier.java36 private final TestSensorManager mCalibratedSensorManager;
37 private final TestSensorManager mUncalibratedSensorManager;
46 mCalibratedSensorManager = new TestSensorManager(calibratedEnvironment); in SensorCalibratedUncalibratedVerifier()
47 mUncalibratedSensorManager = new TestSensorManager(uncalibratedEnvironment); in SensorCalibratedUncalibratedVerifier()
DTestSensorManager.java37 public class TestSensorManager { class
49 public TestSensorManager( in TestSensorManager() method in TestSensorManager
60 public TestSensorManager(TestSensorEnvironment environment) { in TestSensorManager() method in TestSensorManager
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DTestSensorOperation.java31 import android.hardware.cts.helpers.TestSensorManager;
65 private final TestSensorManager mSensorManager;
78 void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in execute()
99 mSensorManager = new TestSensorManager(mEnvironment); in TestSensorOperation()
239 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createOperation()
267 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createOperation()
355 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createOperation()
402 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createFlushOperation()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DMagneticFieldMeasurementTestActivity.java29 import android.hardware.cts.helpers.TestSensorManager;
225 TestSensorManager magnetometer = new TestSensorManager(environment); in calibrateMagnetometer()
DDeviceSuspendTestActivity.java38 import android.hardware.cts.helpers.TestSensorManager;
/cts/tests/sensor/src/android/hardware/cts/
DSensorTest.java33 import android.hardware.cts.helpers.TestSensorManager;
69 private TestSensorManager mTestSensorManager;
449 mTestSensorManager = new TestSensorManager(environment); in testBatchAndFlushWithHandler()
485 mTestSensorManager = new TestSensorManager(environment); in testBatchAndFlushUseDefaultHandler()
723 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in execute()