Home
last modified time | relevance | path

Searched refs:channelType (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/sensor/
DSensorManager.cpp256 size_t size, int channelType, const native_handle_t *resourceHandle) { in createDirectChannel() argument
262 if (channelType != SENSOR_DIRECT_MEM_TYPE_ASHMEM in createDirectChannel()
263 && channelType != SENSOR_DIRECT_MEM_TYPE_GRALLOC) { in createDirectChannel()
264 ALOGE("Bad channel shared memory type %d", channelType); in createDirectChannel()
271 static_cast<int32_t>(channelType), in createDirectChannel()
/frameworks/native/libs/sensor/include/sensor/
DSensorManager.h65 int createDirectChannel(size_t size, int channelType, const native_handle_t *channelData);
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp236 jlong size, jint channelType, jint fd, jobject hardwareBufferObj) { in nativeCreateDirectChannel() argument
240 if (channelType == SENSOR_DIRECT_MEM_TYPE_ASHMEM) { in nativeCreateDirectChannel()
244 } else if (channelType == SENSOR_DIRECT_MEM_TYPE_GRALLOC) { in nativeCreateDirectChannel()
257 return mgr->createDirectChannel(size, channelType, nativeHandle); in nativeCreateDirectChannel()
/frameworks/base/native/android/
Dsensor.cpp345 bool ASensor_isDirectChannelTypeSupported(ASensor const *sensor, int channelType) { in ASensor_isDirectChannelTypeSupported() argument
347 return static_cast<Sensor const *>(sensor)->isDirectChannelTypeSupported(channelType); in ASensor_isDirectChannelTypeSupported()
/frameworks/native/include_sensor/android/
Dsensor.h912 bool ASensor_isDirectChannelTypeSupported(ASensor const* sensor, int channelType) __INTRODUCED_IN(2…
/frameworks/native/include/android/
Dsensor.h912 bool ASensor_isDirectChannelTypeSupported(ASensor const* sensor, int channelType) __INTRODUCED_IN(2…
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorManager.cpp417 ASensor const* sensor, int channelType) {
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java86 long nativeInstance, long size, int channelType, int fd, HardwareBuffer buffer); in nativeCreateDirectChannel() argument