Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/
DSensor.java840 @SensorDirectChannel.RateLevel
843 return rateLevel <= SensorDirectChannel.RATE_VERY_FAST in getHighestDirectReportRateLevel()
844 ? rateLevel : SensorDirectChannel.RATE_VERY_FAST; in getHighestDirectReportRateLevel()
855 public boolean isDirectChannelTypeSupported(@SensorDirectChannel.MemoryType int sharedMemType) { in isDirectChannelTypeSupported()
857 case SensorDirectChannel.TYPE_MEMORY_FILE: in isDirectChannelTypeSupported()
859 case SensorDirectChannel.TYPE_HARDWARE_BUFFER: in isDirectChannelTypeSupported()
DSystemSensorManager.java527 SensorDirectChannel channel, Sensor sensor, int rate) { in configureDirectChannelImpl()
532 if (rate < SensorDirectChannel.RATE_STOP in configureDirectChannelImpl()
533 || rate > SensorDirectChannel.RATE_VERY_FAST) { in configureDirectChannelImpl()
537 if (sensor == null && rate != SensorDirectChannel.RATE_STOP) { in configureDirectChannelImpl()
548 if (rate == SensorDirectChannel.RATE_STOP) { in configureDirectChannelImpl()
556 protected SensorDirectChannel createDirectChannelImpl( in createDirectChannelImpl()
577 mNativeInstance, size, SensorDirectChannel.TYPE_MEMORY_FILE, fd, null); in createDirectChannelImpl()
582 type = SensorDirectChannel.TYPE_MEMORY_FILE; in createDirectChannelImpl()
601 mNativeInstance, size, SensorDirectChannel.TYPE_HARDWARE_BUFFER, in createDirectChannelImpl()
607 type = 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.java908 public SensorDirectChannel createDirectChannel(MemoryFile mem) { in createDirectChannel()
930 public SensorDirectChannel createDirectChannel(HardwareBuffer mem) { in createDirectChannel()
935 protected abstract SensorDirectChannel createDirectChannelImpl( in createDirectChannelImpl()
939 void destroyDirectChannel(SensorDirectChannel channel) { in destroyDirectChannel()
944 protected abstract void destroyDirectChannelImpl(SensorDirectChannel channel); in destroyDirectChannelImpl()
948 public int configureDirectChannel(SensorDirectChannel channel, Sensor sensor, int rateLevel) { in configureDirectChannel()
954 SensorDirectChannel channel, Sensor s, int rate); in configureDirectChannelImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAsyncSensorManager.java23 import android.hardware.SensorDirectChannel;
106 protected SensorDirectChannel createDirectChannelImpl(MemoryFile memoryFile, in createDirectChannelImpl()
112 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { in destroyDirectChannelImpl()
117 protected int configureDirectChannelImpl(SensorDirectChannel channel, Sensor s, int rate) { in configureDirectChannelImpl()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/
DFakeSensorManager.java23 import android.hardware.SensorDirectChannel;
134 protected SensorDirectChannel createDirectChannelImpl(MemoryFile memoryFile, in createDirectChannelImpl()
140 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { in destroyDirectChannelImpl()
145 protected int configureDirectChannelImpl(SensorDirectChannel channel, Sensor s, int rate) { in configureDirectChannelImpl()
/frameworks/base/api/
Dremoved.txt273 public final class SensorDirectChannel implements java.nio.channels.Channel {
278 …method @Deprecated public int configureDirectChannel(android.hardware.SensorDirectChannel, android…
Dcurrent.txt16417 public final class SensorDirectChannel implements java.nio.channels.Channel {
16460 method public android.hardware.SensorDirectChannel createDirectChannel(android.os.MemoryFile);
16461 …method public android.hardware.SensorDirectChannel createDirectChannel(android.hardware.HardwareBu…
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt26565 Landroid/hardware/SensorDirectChannel$MemoryType;
26566 Landroid/hardware/SensorDirectChannel$RateLevel;
26567 Landroid/hardware/SensorDirectChannel;-><init>(Landroid/hardware/SensorManager;IIJ)V
26568 Landroid/hardware/SensorDirectChannel;->encodeData(Landroid/os/MemoryFile;)[J
26569 Landroid/hardware/SensorDirectChannel;->getNativeHandle()I
26570 Landroid/hardware/SensorDirectChannel;->mClosed:Ljava/util/concurrent/atomic/AtomicBoolean;
26571 Landroid/hardware/SensorDirectChannel;->mCloseGuard:Ldalvik/system/CloseGuard;
26572 Landroid/hardware/SensorDirectChannel;->mManager:Landroid/hardware/SensorManager;
26573 Landroid/hardware/SensorDirectChannel;->mNativeHandle:I
26574 Landroid/hardware/SensorDirectChannel;->mSize:J
[all …]