Home
last modified time | relevance | path

Searched refs:TestSensorManager (Results 1 – 9 of 9) 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
DSensorRatePermissionEventConnectionTestHelper.java51 private final TestSensorManager mTestSensorManager;
55 mTestSensorManager = new TestSensorManager(mTestSensorEnvironment); in SensorRatePermissionEventConnectionTestHelper()
/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()
107 mSensorManager = new TestSensorManager(mEnvironment); in TestSensorOperation()
247 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createOperation()
275 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createOperation()
363 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createOperation()
387 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createOperation()
434 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in createFlushOperation()
/cts/tests/sensor/sensorratepermission/EventConnectionAPI30/src/android/sensorratepermission/cts/eventconnectionapi30/
DEventConnectionAPI30Test.java27 import android.hardware.cts.helpers.TestSensorManager;
162 TestSensorManager testSensorManager = new TestSensorManager(mTestEnvironment); in testSamplingRateMicToggleOffOnOff()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DMagneticFieldMeasurementTestActivity.java29 import android.hardware.cts.helpers.TestSensorManager;
288 TestSensorManager magnetometer = new TestSensorManager(environment); in calibrateMagnetometer()
/cts/tests/sensor/src/android/hardware/cts/
DSensorTest.java33 import android.hardware.cts.helpers.TestSensorManager;
70 private TestSensorManager mTestSensorManager;
563 mTestSensorManager = new TestSensorManager(environment); in testBatchAndFlushWithHandler()
599 mTestSensorManager = new TestSensorManager(environment); in testBatchAndFlushUseDefaultHandler()
844 public void execute(TestSensorManager sensorManager, TestSensorEventListener listener) in execute()