Home
last modified time | relevance | path

Searched refs:enableSensor (Results 1 – 25 of 34) 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.h55 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.aidl131 boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() method
DInputManager.java1194 public boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() method in InputManager
1197 return mIm.enableSensor(deviceId, sensorType, samplingPeriodUs, in enableSensor()
/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.cpp218 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_registerSensor()
227 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_enableSensor()
/frameworks/native/services/inputflinger/reader/mapper/
DInputMapper.cpp73 bool InputMapper::enableSensor(InputDeviceSensorType sensorType, in enableSensor() function in android::InputMapper
DSensorInputMapper.h37 bool enableSensor(InputDeviceSensorType sensorType, std::chrono::microseconds samplingPeriod,
DInputMapper.h71 virtual bool enableSensor(InputDeviceSensorType sensorType,
DSensorInputMapper.cpp333 bool SensorInputMapper::enableSensor(InputDeviceSensorType sensorType, in enableSensor() function in android::SensorInputMapper
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp112 q->enableSensor(accelerometer); in main()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java712 if (enableSensor(sensor, delayUs, maxBatchReportLatencyUs) != 0) { in addSensor()
715 || maxBatchReportLatencyUs > 0 && enableSensor(sensor, delayUs, 0) != 0) { in addSensor()
783 private int enableSensor( in enableSensor() method in SystemSensorManager.BaseEventQueue
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h124 virtual bool enableSensor(int32_t deviceId, InputDeviceSensorType sensorType,
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp508 bool InputDevice::enableSensor(InputDeviceSensorType sensorType, in enableSensor() function in android::InputDevice
514 success &= mapper.enableSensor(sensorType, samplingPeriod, maxBatchReportLatency); in enableSensor()
DInputReader.cpp653 bool InputReader::enableSensor(int32_t deviceId, InputDeviceSensorType sensorType, in enableSensor() function in android::InputReader
660 return device->enableSensor(sensorType, samplingPeriod, maxBatchReportLatency); in enableSensor()
/frameworks/native/services/inputflinger/reader/include/
DInputReader.h90 bool enableSensor(int32_t deviceId, InputDeviceSensorType sensorType,

12