/frameworks/hardware/interfaces/sensorservice/1.0/ |
D | README | 28 int32_t sensorHandle; 30 [&sensorHandle] (const auto &info) { 31 sensorHandle = info.sensorHandle; 47 chan->configure(sensorHandle, RateLevel::FAST, [&](auto token, auto result) { 55 chan->configure(sensorHandle, RateLevel::STOP, [&](auto token, auto result) { 109 int32_t sensorHandle; 111 [&sensorHandle] (const auto &info) { 112 sensorHandle = info.sensorHandle; 124 if (q->enableSensor(sensorHandle, 131 if (q->disableSensor(sensorHandle) != Result::OK) {
|
D | IEventQueue.hal | 29 * @param sensorHandle the sensor to enable. Must be a sensor acquired from 39 enableSensor(int32_t sensorHandle, 47 * @param sensorHandle the sensor to disable. Must be a sensor acquired from 52 disableSensor(int32_t sensorHandle) generates (Result result);
|
D | IDirectReportChannel.hal | 37 * sensorHandle to -1 and rate to STOP. 39 * @param sensorHandle handle of the sensor to operate on. If it is -1 54 configure(int32_t sensorHandle, RateLevel rate)
|
/frameworks/native/services/sensorservice/hidl/ |
D | EventQueue.cpp | 76 Return<Result> EventQueue::enableSensor(int32_t sensorHandle, int32_t samplingPeriodUs, in enableSensor() argument 78 return convertResult(mInternalQueue->enableSensor(sensorHandle, samplingPeriodUs, in enableSensor() 82 Return<Result> EventQueue::disableSensor(int32_t sensorHandle) { in disableSensor() argument 83 return convertResult(mInternalQueue->disableSensor(sensorHandle)); in disableSensor()
|
D | DirectReportChannel.cpp | 34 Return<void> DirectReportChannel::configure(int32_t sensorHandle, RateLevel rate, in configure() argument 37 static_cast<int>(sensorHandle), static_cast<int>(rate)); in configure()
|
D | EventQueue.h | 48 …Return<Result> enableSensor(int32_t sensorHandle, int32_t samplingPeriodUs, int64_t maxBatchReport… 49 Return<Result> disableSensor(int32_t sensorHandle) override;
|
D | DirectReportChannel.h | 50 Return<void> configure(int32_t sensorHandle, RateLevel rate,
|
D | utils.cpp | 38 dst.sensorHandle = src.getHandle(); in convertSensor()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | SensorPowerCalculator.java | 42 final int sensorHandle = sensorStats.keyAt(ise); in calculateApp() local 45 switch (sensorHandle) { in calculateApp() 54 if (s.getHandle() == sensorHandle) { in calculateApp()
|
/frameworks/base/native/android/ |
D | sensor.cpp | 191 int sensorHandle; in ASensorManager_configureDirectReport() local 198 sensorHandle = -1; in ASensorManager_configureDirectReport() 200 sensorHandle = static_cast<Sensor const *>(sensor)->getHandle(); in ASensorManager_configureDirectReport() 203 channelId, sensorHandle, rate); in ASensorManager_configureDirectReport()
|
/frameworks/native/services/sensorservice/ |
D | SensorDevice.cpp | 79 mActivationCount.add(list[i].sensorHandle, model); in SensorDevice() 81 checkReturn(mSensors->activate(list[i].sensorHandle, 0 /* enabled */)); in SensorDevice() 515 int32_t SensorDevice::configureDirectChannel(int32_t sensorHandle, in configureDirectChannel() argument 539 checkReturn(mSensors->configDirectReport(sensorHandle, channelHandle, rate, in configureDirectChannel() 627 dst->dynamic_sensor_meta.handle = dyn.sensorHandle; in convertToSensorEvent() 629 auto it = mConnectedDynamicSensors.find(dyn.sensorHandle); in convertToSensorEvent() 650 auto it = mConnectedDynamicSensors.find(info.sensorHandle); in convertToSensorEvents()
|
D | SensorDevice.h | 93 int32_t configureDirectChannel(int32_t sensorHandle,
|
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
D | ASensorEventQueue.cpp | 49 reinterpret_cast<const SensorInfo *>(sensor)->sensorHandle, in registerSensor() 77 reinterpret_cast<const SensorInfo *>(sensor)->sensorHandle); in disableSensor()
|
/frameworks/native/libs/sensor/ |
D | SensorManager.cpp | 287 int SensorManager::configureDirectChannel(int channelNativeHandle, int sensorHandle, int rateLevel)… in configureDirectChannel() argument 300 ret = i->second->configureChannel(sensorHandle, rateLevel); in configureDirectChannel() 302 static_cast<int>(sensorHandle), static_cast<int>(rateLevel), in configureDirectChannel()
|
/frameworks/native/libs/sensor/include/sensor/ |
D | SensorManager.h | 66 int configureDirectChannel(int channelNativeHandle, int sensorHandle, int rateLevel);
|
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/ |
D | VtsHalSensorManagerV1_0TargetTest.cpp | 210 handle = info.sensorHandle; in TEST_F() 252 EXPECT_EQ(returnedToken, event.sensorHandle) in TEST_F()
|
/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 68 long nativeInstance, int channelHandle, int sensorHandle, int rate); in nativeConfigDirectChannel() argument 540 int sensorHandle = (sensor == null) ? -1 : sensor.getHandle(); in configureDirectChannelImpl() local 543 mNativeInstance, channel.getNativeHandle(), sensorHandle, rate); in configureDirectChannelImpl()
|
/frameworks/base/core/jni/ |
D | android_hardware_SensorManager.cpp | 267 jint channelHandle, jint sensorHandle, jint rate) { in nativeConfigDirectChannel() argument 269 return mgr->configureDirectChannel(channelHandle, sensorHandle, rate); in nativeConfigDirectChannel()
|