/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 | 54 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 | 141 boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() method
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | NativeInputManagerService.java | 183 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/ |
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 | 228 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_registerSensor() 237 return static_cast<SensorEventQueue*>(queue)->enableSensor( in ASensorEventQueue_enableSensor()
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 112 q->enableSensor(accelerometer); in main()
|
/frameworks/native/services/inputflinger/reader/mapper/ |
D | InputMapper.cpp | 77 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 | 74 virtual bool enableSensor(InputDeviceSensorType sensorType,
|
/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 709 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/ |
D | InputReaderBase.h | 126 virtual bool enableSensor(int32_t deviceId, InputDeviceSensorType sensorType,
|
/frameworks/native/services/inputflinger/reader/ |
D | InputDevice.cpp | 532 bool InputDevice::enableSensor(InputDeviceSensorType sensorType, in enableSensor() function in android::InputDevice 538 success &= mapper.enableSensor(sensorType, samplingPeriod, maxBatchReportLatency); in enableSensor()
|
D | InputReader.cpp | 666 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/ |
D | InputReader.h | 91 bool enableSensor(int32_t deviceId, InputDeviceSensorType sensorType,
|
/frameworks/av/media/libheadtracking/ |
D | SensorPoseProvider.cpp | 146 if (mQueue->enableSensor(sensor, samplingPeriod.count(), 0, 0)) { in startSensor()
|