Home
last modified time | relevance | path

Searched refs:SensorDirectChannel (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/core/java/android/hardware/
DSensor.java967 @SensorDirectChannel.RateLevel
970 return rateLevel <= SensorDirectChannel.RATE_VERY_FAST in getHighestDirectReportRateLevel()
971 ? rateLevel : SensorDirectChannel.RATE_VERY_FAST; in getHighestDirectReportRateLevel()
982 public boolean isDirectChannelTypeSupported(@SensorDirectChannel.MemoryType int sharedMemType) { in isDirectChannelTypeSupported()
984 case SensorDirectChannel.TYPE_MEMORY_FILE: in isDirectChannelTypeSupported()
986 case SensorDirectChannel.TYPE_HARDWARE_BUFFER: in isDirectChannelTypeSupported()
DSystemSensorManager.java65 private static final int CAPPED_SAMPLING_RATE_LEVEL = SensorDirectChannel.RATE_NORMAL;
553 SensorDirectChannel channel, Sensor sensor, int rate) { in configureDirectChannelImpl()
558 if (rate < SensorDirectChannel.RATE_STOP in configureDirectChannelImpl()
559 || rate > SensorDirectChannel.RATE_VERY_FAST) { in configureDirectChannelImpl()
563 if (sensor == null && rate != SensorDirectChannel.RATE_STOP) { in configureDirectChannelImpl()
583 if (rate == SensorDirectChannel.RATE_STOP) { in configureDirectChannelImpl()
591 protected SensorDirectChannel createDirectChannelImpl( in createDirectChannelImpl()
612 mNativeInstance, size, SensorDirectChannel.TYPE_MEMORY_FILE, fd, null); in createDirectChannelImpl()
617 type = SensorDirectChannel.TYPE_MEMORY_FILE; in createDirectChannelImpl()
636 mNativeInstance, size, SensorDirectChannel.TYPE_HARDWARE_BUFFER, in createDirectChannelImpl()
[all …]
DSensorDirectChannel.java37 public final class SensorDirectChannel implements Channel { class
193 SensorDirectChannel(SensorManager manager, int id, int type, long size) { in SensorDirectChannel() method in SensorDirectChannel
DSensorManager.java918 public SensorDirectChannel createDirectChannel(MemoryFile mem) { in createDirectChannel()
940 public SensorDirectChannel createDirectChannel(HardwareBuffer mem) { in createDirectChannel()
945 protected abstract SensorDirectChannel createDirectChannelImpl( in createDirectChannelImpl()
949 void destroyDirectChannel(SensorDirectChannel channel) { in destroyDirectChannel()
954 protected abstract void destroyDirectChannelImpl(SensorDirectChannel channel); in destroyDirectChannelImpl()
958 SensorDirectChannel channel, Sensor s, int rate); in configureDirectChannelImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
DAsyncSensorManager.java23 import android.hardware.SensorDirectChannel;
103 protected SensorDirectChannel createDirectChannelImpl(MemoryFile memoryFile, in createDirectChannelImpl()
109 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { in destroyDirectChannelImpl()
114 protected int configureDirectChannelImpl(SensorDirectChannel channel, Sensor s, int rate) { in configureDirectChannelImpl()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/sensors/
DFakeSensorManager.java23 import android.hardware.SensorDirectChannel;
150 protected SensorDirectChannel createDirectChannelImpl(MemoryFile memoryFile, in createDirectChannelImpl()
156 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { in destroyDirectChannelImpl()
161 protected int configureDirectChannelImpl(SensorDirectChannel channel, Sensor s, int rate) { in configureDirectChannelImpl()
/frameworks/base/core/java/android/hardware/input/
DInputDeviceSensorManager.java23 import android.hardware.SensorDirectChannel;
608 protected SensorDirectChannel createDirectChannelImpl(MemoryFile memoryFile, in createDirectChannelImpl()
614 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { in destroyDirectChannelImpl()
619 protected int configureDirectChannelImpl(SensorDirectChannel channel, Sensor s, int rate) { in configureDirectChannelImpl()
/frameworks/base/core/api/
Dremoved.txt210 public final class SensorDirectChannel implements java.nio.channels.Channel {
Dcurrent.txt17039 public final class SensorDirectChannel implements java.nio.channels.Channel {
17083 method public android.hardware.SensorDirectChannel createDirectChannel(android.os.MemoryFile);
17084 …method public android.hardware.SensorDirectChannel createDirectChannel(android.hardware.HardwareBu…
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt21941 Landroid/hardware/SensorDirectChannel;-><init>(Landroid/hardware/SensorManager;IIJ)V
21942 Landroid/hardware/SensorDirectChannel;->encodeData(Landroid/os/MemoryFile;)[J
21943 Landroid/hardware/SensorDirectChannel;->getNativeHandle()I
21944 Landroid/hardware/SensorDirectChannel;->mClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
21945 Landroid/hardware/SensorDirectChannel;->mCloseGuard:Ldalvik/system/CloseGuard;
21946 Landroid/hardware/SensorDirectChannel;->mManager:Landroid/hardware/SensorManager;
21947 Landroid/hardware/SensorDirectChannel;->mNativeHandle:I
21948 Landroid/hardware/SensorDirectChannel;->mSize:J
21949 Landroid/hardware/SensorDirectChannel;->mType:I
21951 Landroid/hardware/SensorManager;->configureDirectChannelImpl(Landroid/hardware/SensorDirectChannel;…
[all …]