Home
last modified time | relevance | path

Searched refs:enableSensor (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/native/libs/sensor/include/sensor/
DSensorEventQueue.h82 status_t enableSensor(Sensor const* sensor) const;
83 status_t enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const;
88 status_t enableSensor(int32_t handle, int32_t samplingPeriodUs, int64_t maxBatchReportLatencyUs,
/frameworks/native/libs/sensor/
DSensorEventQueue.cpp125 status_t SensorEventQueue::enableSensor(Sensor const* sensor) const { in enableSensor() function in android::SensorEventQueue
126 return enableSensor(sensor, SENSOR_DELAY_NORMAL); in enableSensor()
129 status_t SensorEventQueue::enableSensor(Sensor const* sensor, int32_t samplingPeriodUs) const { in enableSensor() function in android::SensorEventQueue
138 status_t SensorEventQueue::enableSensor(int32_t handle, int32_t samplingPeriodUs, in enableSensor() function in android::SensorEventQueue
/frameworks/native/services/sensorservice/hidl/
DEventQueue.cpp76 Return<Result> EventQueue::enableSensor(int32_t sensorHandle, int32_t samplingPeriodUs, in enableSensor() function in android::frameworks::sensorservice::V1_0::implementation::EventQueue
78 return convertResult(mInternalQueue->enableSensor(sensorHandle, samplingPeriodUs, in enableSensor()
DEventQueue.h48 …Return<Result> enableSensor(int32_t sensorHandle, int32_t samplingPeriodUs, int64_t maxBatchReport…
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorEventQueue.cpp47 Return<Result> ret = mQueueImpl->enableSensor( in registerSensor()
59 int ASensorEventQueue::enableSensor(ASensorRef sensor) { in enableSensor() function in ASensorEventQueue
DASensorEventQueue.h52 int enableSensor(ASensorRef sensor);
DASensorManager.cpp319 return queue->enableSensor(sensor); in ASensorEventQueue_enableSensor()
/frameworks/hardware/interfaces/sensorservice/1.0/
DIEventQueue.hal26 * max batch report latency. If enableSensor is called multiple times on the
39 enableSensor(int32_t sensorHandle,
DREADME124 if (q->enableSensor(sensorHandle,
/frameworks/native/services/sensorservice/
DBatteryService.h54 static void enableSensor(uid_t uid, int handle) { in enableSensor() function
/frameworks/base/core/java/android/hardware/input/
DInputDeviceSensorManager.java458 if (!mInputManager.enableSensor(deviceId, sensor.getType(), delayUs, in registerListenerInternal()
527 boolean enableSensor = false; in unregisterListenerInternal()
532 enableSensor = true; in unregisterListenerInternal()
538 if (!enableSensor) { in unregisterListenerInternal()
DIInputManager.aidl141 boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() method
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java183 boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() method
398 public native boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() method in NativeInputManagerService.NativeImpl
/frameworks/base/core/tests/coretests/src/android/hardware/input/
DInputDeviceSensorManagerTest.java102 when(mIInputManagerMock.enableSensor(eq(DEVICE_ID), anyInt(), anyInt(), anyInt())) in setUp()
232 verify(mIInputManagerMock).enableSensor(eq(DEVICE_ID), eq(sensor.getType()), in testInputDeviceSensorListener()
/frameworks/base/native/android/
Dsensor.cpp228 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_registerSensor()
237 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_enableSensor()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp112 q->enableSensor(accelerometer); in main()
/frameworks/native/services/inputflinger/reader/mapper/
DInputMapper.cpp77 bool InputMapper::enableSensor(InputDeviceSensorType sensorType, in enableSensor() function in android::InputMapper
DSensorInputMapper.h37 bool enableSensor(InputDeviceSensorType sensorType, std::chrono::microseconds samplingPeriod,
DInputMapper.h74 virtual bool enableSensor(InputDeviceSensorType sensorType,
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java709 if (enableSensor(sensor, delayUs, maxBatchReportLatencyUs) != 0) { in addSensor()
712 || maxBatchReportLatencyUs > 0 && enableSensor(sensor, delayUs, 0) != 0) { in addSensor()
780 private int enableSensor( in enableSensor() method in SystemSensorManager.BaseEventQueue
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h126 virtual bool enableSensor(int32_t deviceId, InputDeviceSensorType sensorType,
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp532 bool InputDevice::enableSensor(InputDeviceSensorType sensorType, in enableSensor() function in android::InputDevice
538 success &= mapper.enableSensor(sensorType, samplingPeriod, maxBatchReportLatency); in enableSensor()
DInputReader.cpp666 bool InputReader::enableSensor(int32_t deviceId, InputDeviceSensorType sensorType, in enableSensor() function in android::InputReader
673 return device->enableSensor(sensorType, samplingPeriod, maxBatchReportLatency); in enableSensor()
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h91 bool enableSensor(int32_t deviceId, InputDeviceSensorType sensorType,
/frameworks/av/media/libheadtracking/
DSensorPoseProvider.cpp146 if (mQueue->enableSensor(sensor, samplingPeriod.count(), 0, 0)) { in startSensor()

12