Searched refs:SensorDirectChannel (Results 1 – 10 of 10) sorted by relevance
967 @SensorDirectChannel.RateLevel970 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()
65 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 …]
37 public final class SensorDirectChannel implements Channel { class193 SensorDirectChannel(SensorManager manager, int id, int type, long size) { in SensorDirectChannel() method in SensorDirectChannel
918 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()
23 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()
23 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()
23 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()
210 public final class SensorDirectChannel implements java.nio.channels.Channel {
17039 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…
21941 Landroid/hardware/SensorDirectChannel;-><init>(Landroid/hardware/SensorManager;IIJ)V21942 Landroid/hardware/SensorDirectChannel;->encodeData(Landroid/os/MemoryFile;)[J21943 Landroid/hardware/SensorDirectChannel;->getNativeHandle()I21944 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:I21948 Landroid/hardware/SensorDirectChannel;->mSize:J21949 Landroid/hardware/SensorDirectChannel;->mType:I21951 Landroid/hardware/SensorManager;->configureDirectChannelImpl(Landroid/hardware/SensorDirectChannel;…[all …]