Home
last modified time | relevance | path

Searched refs:channelHandle (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorDevice.h103 void unregisterDirectChannel(int32_t channelHandle);
105 int32_t channelHandle, const struct sensors_direct_cfg_t *config);
DSensorDevice.cpp1048 [&ret](auto result, auto channelHandle) { in registerDirectChannel() argument
1050 ret = channelHandle; in registerDirectChannel()
1058 void SensorDevice::unregisterDirectChannel(int32_t channelHandle) { in unregisterDirectChannel() argument
1061 checkReturn(mSensors->unregisterDirectChannel(channelHandle)); in unregisterDirectChannel()
1065 int32_t channelHandle, const struct sensors_direct_cfg_t *config) { in configureDirectChannel() argument
1088 checkReturn(mSensors->configDirectReport(sensorHandle, channelHandle, rate, in configureDirectChannel()
DSensorService.cpp1419 int channelHandle = dev.registerDirectChannel(&mem); in createSensorDirectConnection() local
1421 if (channelHandle <= 0) { in createSensorDirectConnection()
1422 ALOGE("SensorDevice::registerDirectChannel returns %d", channelHandle); in createSensorDirectConnection()
1425 conn = new SensorDirectConnection(this, uid, &mem, channelHandle, opPackageName); in createSensorDirectConnection()
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp261 jint channelHandle) { in nativeDestroyDirectChannel() argument
263 mgr->destroyDirectChannel(channelHandle); in nativeDestroyDirectChannel()
267 jint channelHandle, jint sensorHandle, jint rate) { in nativeConfigDirectChannel() argument
269 return mgr->configureDirectChannel(channelHandle, sensorHandle, rate); in nativeConfigDirectChannel()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java88 long nativeInstance, int channelHandle); in nativeDestroyDirectChannel() argument
90 long nativeInstance, int channelHandle, int sensorHandle, int rate); in nativeConfigDirectChannel() argument