Searched refs:SensorDirectChannel (Results 1 – 10 of 10) sorted by relevance
831 @SensorDirectChannel.RateLevel834 return rateLevel <= SensorDirectChannel.RATE_VERY_FAST in getHighestDirectReportRateLevel()835 ? rateLevel : SensorDirectChannel.RATE_VERY_FAST; in getHighestDirectReportRateLevel()846 public boolean isDirectChannelTypeSupported(@SensorDirectChannel.MemoryType int sharedMemType) { in isDirectChannelTypeSupported()848 case SensorDirectChannel.TYPE_MEMORY_FILE: in isDirectChannelTypeSupported()850 case SensorDirectChannel.TYPE_HARDWARE_BUFFER: in isDirectChannelTypeSupported()
524 SensorDirectChannel channel, Sensor sensor, int rate) { in configureDirectChannelImpl()529 if (rate < SensorDirectChannel.RATE_STOP in configureDirectChannelImpl()530 || rate > SensorDirectChannel.RATE_VERY_FAST) { in configureDirectChannelImpl()534 if (sensor == null && rate != SensorDirectChannel.RATE_STOP) { in configureDirectChannelImpl()545 if (rate == SensorDirectChannel.RATE_STOP) { in configureDirectChannelImpl()553 protected SensorDirectChannel createDirectChannelImpl( in createDirectChannelImpl()574 mNativeInstance, size, SensorDirectChannel.TYPE_MEMORY_FILE, fd, null); in createDirectChannelImpl()579 type = SensorDirectChannel.TYPE_MEMORY_FILE; in createDirectChannelImpl()598 mNativeInstance, size, SensorDirectChannel.TYPE_HARDWARE_BUFFER, in createDirectChannelImpl()604 type = SensorDirectChannel.TYPE_HARDWARE_BUFFER; in createDirectChannelImpl()[all …]
37 public final class SensorDirectChannel implements Channel { class184 SensorDirectChannel(SensorManager manager, int id, int type, long size) { in SensorDirectChannel() method in SensorDirectChannel
902 public SensorDirectChannel createDirectChannel(MemoryFile mem) { in createDirectChannel()925 public SensorDirectChannel createDirectChannel(HardwareBuffer mem) { in createDirectChannel()930 protected abstract SensorDirectChannel createDirectChannelImpl( in createDirectChannelImpl()934 void destroyDirectChannel(SensorDirectChannel channel) { in destroyDirectChannel()939 protected abstract void destroyDirectChannelImpl(SensorDirectChannel channel); in destroyDirectChannelImpl()943 public int configureDirectChannel(SensorDirectChannel channel, Sensor sensor, int rateLevel) { in configureDirectChannel()949 SensorDirectChannel channel, Sensor s, int rate); in configureDirectChannelImpl()
23 import android.hardware.SensorDirectChannel;112 protected SensorDirectChannel createDirectChannelImpl(MemoryFile memoryFile, in createDirectChannelImpl()118 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { in destroyDirectChannelImpl()123 protected int configureDirectChannelImpl(SensorDirectChannel channel, Sensor s, int rate) { in configureDirectChannelImpl()
200 public final class SensorDirectChannel implements java.nio.channels.Channel {205 …method public deprecated int configureDirectChannel(android.hardware.SensorDirectChannel, android.…
198 public final class SensorDirectChannel implements java.nio.channels.Channel {203 …method public deprecated int configureDirectChannel(android.hardware.SensorDirectChannel, android.…
14836 public final class SensorDirectChannel implements java.nio.channels.Channel {14879 method public android.hardware.SensorDirectChannel createDirectChannel(android.os.MemoryFile);14880 …method public android.hardware.SensorDirectChannel createDirectChannel(android.hardware.HardwareBu…
15622 public final class SensorDirectChannel implements java.nio.channels.Channel {15665 method public android.hardware.SensorDirectChannel createDirectChannel(android.os.MemoryFile);15666 …method public android.hardware.SensorDirectChannel createDirectChannel(android.hardware.HardwareBu…