/frameworks/native/libs/sensor/include/sensor/ |
D | SensorEventQueue.h | 82 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/ |
D | SensorEventQueue.cpp | 125 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/ |
D | EventQueue.cpp | 76 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()
|
D | EventQueue.h | 48 …Return<Result> enableSensor(int32_t sensorHandle, int32_t samplingPeriodUs, int64_t maxBatchReport…
|
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
D | ASensorEventQueue.cpp | 47 Return<Result> ret = mQueueImpl->enableSensor( in registerSensor() 59 int ASensorEventQueue::enableSensor(ASensorRef sensor) { in enableSensor() function in ASensorEventQueue
|
D | ASensorEventQueue.h | 52 int enableSensor(ASensorRef sensor);
|
D | ASensorManager.cpp | 319 return queue->enableSensor(sensor); in ASensorEventQueue_enableSensor()
|
/frameworks/hardware/interfaces/sensorservice/1.0/ |
D | IEventQueue.hal | 26 * max batch report latency. If enableSensor is called multiple times on the 39 enableSensor(int32_t sensorHandle,
|
D | README | 124 if (q->enableSensor(sensorHandle,
|
/frameworks/native/services/sensorservice/ |
D | BatteryService.h | 55 static void enableSensor(uid_t uid, int handle) { in enableSensor() function
|
/frameworks/base/core/java/android/hardware/input/ |
D | InputDeviceSensorManager.java | 458 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()
|
D | IInputManager.aidl | 131 boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() method
|
D | InputManager.java | 1194 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/ |
D | InputDeviceSensorManagerTest.java | 102 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/ |
D | sensor.cpp | 218 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/ |
D | InputMapper.cpp | 73 bool InputMapper::enableSensor(InputDeviceSensorType sensorType, in enableSensor() function in android::InputMapper
|
D | SensorInputMapper.h | 37 bool enableSensor(InputDeviceSensorType sensorType, std::chrono::microseconds samplingPeriod,
|
D | InputMapper.h | 71 virtual bool enableSensor(InputDeviceSensorType sensorType,
|
D | SensorInputMapper.cpp | 333 bool SensorInputMapper::enableSensor(InputDeviceSensorType sensorType, in enableSensor() function in android::SensorInputMapper
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 112 q->enableSensor(accelerometer); in main()
|
/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 712 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/ |
D | InputReaderBase.h | 124 virtual bool enableSensor(int32_t deviceId, InputDeviceSensorType sensorType,
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 508 bool InputDevice::enableSensor(InputDeviceSensorType sensorType, in enableSensor() function in android::InputDevice 514 success &= mapper.enableSensor(sensorType, samplingPeriod, maxBatchReportLatency); in enableSensor()
|
D | InputReader.cpp | 653 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/ |
D | InputReader.h | 90 bool enableSensor(int32_t deviceId, InputDeviceSensorType sensorType,
|