Searched refs:SensorDirectChannel (Results 1 – 9 of 9) sorted by relevance
840 @SensorDirectChannel.RateLevel843 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()
527 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 …]
37 public final class SensorDirectChannel implements Channel { class193 SensorDirectChannel(SensorManager manager, int id, int type, long size) { in SensorDirectChannel() method in SensorDirectChannel
908 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()
23 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()
23 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()
273 public final class SensorDirectChannel implements java.nio.channels.Channel {278 …method @Deprecated public int configureDirectChannel(android.hardware.SensorDirectChannel, android…
16417 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…
26565 Landroid/hardware/SensorDirectChannel$MemoryType;26566 Landroid/hardware/SensorDirectChannel$RateLevel;26567 Landroid/hardware/SensorDirectChannel;-><init>(Landroid/hardware/SensorManager;IIJ)V26568 Landroid/hardware/SensorDirectChannel;->encodeData(Landroid/os/MemoryFile;)[J26569 Landroid/hardware/SensorDirectChannel;->getNativeHandle()I26570 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:I26574 Landroid/hardware/SensorDirectChannel;->mSize:J[all …]