Home
last modified time | relevance | path

Searched refs:enableSensor (Results 1 – 25 of 42) 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/native/services/sensorservice/aidl/
DEventQueue.cpp73 ndk::ScopedAStatus EventQueue::enableSensor(int32_t in_sensorHandle, int32_t in_samplingPeriodUs, in enableSensor() function in android::frameworks::sensorservice::implementation::EventQueue
75 return convertResult(mInternalQueue->enableSensor(in_sensorHandle, in_samplingPeriodUs, in enableSensor()
DEventQueue.h34 ndk::ScopedAStatus enableSensor(int32_t in_sensorHandle, int32_t in_samplingPeriodUs,
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorEventQueue.cpp46 mQueueImpl->enableSensor(reinterpret_cast<const SensorInfo*>(sensor)->sensorHandle, in registerSensor()
56 int ASensorEventQueue::enableSensor(ASensorRef sensor) { in enableSensor() function in ASensorEventQueue
DASensorEventQueue.h53 int enableSensor(ASensorRef sensor);
/frameworks/hardware/interfaces/sensorservice/aidl/aidl_api/android.frameworks.sensorservice/current/android/frameworks/sensorservice/
DIEventQueue.aidl23 void enableSensor(in int sensorHandle, in int samplingPeriodUs, in long maxBatchReportLatencyUs); in enableSensor() method
/frameworks/hardware/interfaces/sensorservice/aidl/android/frameworks/sensorservice/
DIEventQueue.aidl38 void enableSensor(in int sensorHandle, in int samplingPeriodUs, in enableSensor() method
/frameworks/hardware/interfaces/sensorservice/aidl/aidl_api/android.frameworks.sensorservice/1/android/frameworks/sensorservice/
DIEventQueue.aidl23 void enableSensor(in int sensorHandle, in int samplingPeriodUs, in long maxBatchReportLatencyUs); in enableSensor() method
/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,
/frameworks/native/services/inputflinger/tests/fuzzers/
DInputReaderFuzzer.cpp124 bool enableSensor(int32_t deviceId, InputDeviceSensorType sensorType, in enableSensor() function in android::FuzzInputReader
127 return reader->enableSensor(deviceId, sensorType, samplingPeriod, maxBatchReportLatency); in enableSensor()
284 reader->enableSensor(fdp->ConsumeIntegral<int32_t>(), in LLVMFuzzerTestOneInput()
/frameworks/base/core/java/android/hardware/input/
DInputDeviceSensorManager.java455 if (!mGlobal.enableSensor(deviceId, sensor.getType(), delayUs, in registerListenerInternal()
534 boolean enableSensor = false; in unregisterListenerInternal()
539 enableSensor = true; in unregisterListenerInternal()
545 if (!enableSensor) { in unregisterListenerInternal()
DIInputManager.aidl183 boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() method
/frameworks/native/services/sensorservice/
DBatteryService.h59 static void enableSensor(uid_t uid, int handle) { in enableSensor() function
/frameworks/base/tests/Input/src/android/hardware/input/
DInputDeviceSensorManagerTest.java99 when(mIInputManagerMock.enableSensor(eq(DEVICE_ID), anyInt(), anyInt(), anyInt())) in setUp()
227 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.cpp123 q->enableSensor(accelerometer); in main()
/frameworks/base/services/core/java/com/android/server/input/
DNativeInputManagerService.java219 boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() method
513 public native boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() method in NativeInputManagerService.NativeImpl
/frameworks/native/services/inputflinger/reader/mapper/
DInputMapper.cpp97 bool InputMapper::enableSensor(InputDeviceSensorType sensorType, in enableSensor() function in android::InputMapper
DSensorInputMapper.h44 bool enableSensor(InputDeviceSensorType sensorType, std::chrono::microseconds samplingPeriod,
DInputMapper.h97 virtual bool enableSensor(InputDeviceSensorType sensorType,
/frameworks/native/services/inputflinger/include/
DInputReaderBase.h370 virtual bool enableSensor(int32_t deviceId, InputDeviceSensorType sensorType,
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java894 if (enableSensor(sensor, delayUs, maxBatchReportLatencyUs) != 0) { in addSensor()
897 || maxBatchReportLatencyUs > 0 && enableSensor(sensor, delayUs, 0) != 0) { in addSensor()
965 private int enableSensor( in enableSensor() method in SystemSensorManager.BaseEventQueue

12