Searched refs:SensorDirectChannel (Results 1 – 19 of 19) sorted by relevance
35 import android.hardware.SensorDirectChannel;225 @SensorDirectChannel.RateLevel228 return Math.min(rateLevel, SensorDirectChannel.RATE_VERY_FAST); in getHighestDirectReportRateLevel()237 public @SensorDirectChannel.MemoryType int getDirectChannelTypesSupported() { in getDirectChannelTypesSupported()240 memoryTypes |= SensorDirectChannel.TYPE_MEMORY_FILE; in getDirectChannelTypesSupported()243 memoryTypes |= SensorDirectChannel.TYPE_HARDWARE_BUFFER; in getDirectChannelTypesSupported()311 @SensorDirectChannel.RateLevel421 @SensorDirectChannel.RateLevel int rateLevel) { in setHighestDirectReportRateLevel()438 @SensorDirectChannel.MemoryType int memoryTypes) { in setDirectChannelTypesSupported()439 if ((memoryTypes & SensorDirectChannel.TYPE_MEMORY_FILE) > 0) { in setDirectChannelTypesSupported()[all …]
24 import android.hardware.SensorDirectChannel;108 @NonNull VirtualSensor sensor, @SensorDirectChannel.RateLevel int rateLevel, in onDirectChannelConfigured()
23 import android.hardware.SensorDirectChannel;158 @NonNull VirtualSensor sensor, @SensorDirectChannel.RateLevel int rateLevel, in configureChannel()163 if (rateLevel == SensorDirectChannel.RATE_STOP) { in configureChannel()
62 protected SensorDirectChannel createDirectChannelImpl(MemoryFile memoryFile, in createDirectChannelImpl()68 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { } in destroyDirectChannelImpl()71 protected int configureDirectChannelImpl(SensorDirectChannel channel, Sensor s, int rate) { in configureDirectChannelImpl()
969 @SensorDirectChannel.RateLevel972 return rateLevel <= SensorDirectChannel.RATE_VERY_FAST in getHighestDirectReportRateLevel()973 ? rateLevel : SensorDirectChannel.RATE_VERY_FAST; in getHighestDirectReportRateLevel()984 public boolean isDirectChannelTypeSupported(@SensorDirectChannel.MemoryType int sharedMemType) { in isDirectChannelTypeSupported()986 case SensorDirectChannel.TYPE_MEMORY_FILE: in isDirectChannelTypeSupported()988 case SensorDirectChannel.TYPE_HARDWARE_BUFFER: in isDirectChannelTypeSupported()
37 public final class SensorDirectChannel implements Channel { class193 SensorDirectChannel(SensorManager manager, int id, int type, long size) { in SensorDirectChannel() method in SensorDirectChannel
70 private static final int CAPPED_SAMPLING_RATE_LEVEL = SensorDirectChannel.RATE_NORMAL;693 SensorDirectChannel channel, Sensor sensor, int rate) { in configureDirectChannelImpl()698 if (rate < SensorDirectChannel.RATE_STOP in configureDirectChannelImpl()699 || rate > SensorDirectChannel.RATE_VERY_FAST) { in configureDirectChannelImpl()703 if (sensor == null && rate != SensorDirectChannel.RATE_STOP) { in configureDirectChannelImpl()723 if (rate == SensorDirectChannel.RATE_STOP) { in configureDirectChannelImpl()731 protected SensorDirectChannel createDirectChannelImpl( in createDirectChannelImpl()756 SensorDirectChannel.TYPE_MEMORY_FILE, fd, null); in createDirectChannelImpl()761 type = SensorDirectChannel.TYPE_MEMORY_FILE; in createDirectChannelImpl()780 mNativeInstance, deviceId, size, SensorDirectChannel.TYPE_HARDWARE_BUFFER, in createDirectChannelImpl()[all …]
943 public SensorDirectChannel createDirectChannel(MemoryFile mem) { in createDirectChannel()965 public SensorDirectChannel createDirectChannel(HardwareBuffer mem) { in createDirectChannel()970 protected abstract SensorDirectChannel createDirectChannelImpl( in createDirectChannelImpl()974 void destroyDirectChannel(SensorDirectChannel channel) { in destroyDirectChannel()979 protected abstract void destroyDirectChannelImpl(SensorDirectChannel channel); in destroyDirectChannelImpl()983 SensorDirectChannel channel, Sensor s, int rate); in configureDirectChannelImpl()
21 import android.hardware.SensorDirectChannel;145 @SensorDirectChannel.RateLevel int rateLevel); in onDirectChannelConfigured()
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()
29 import android.hardware.SensorDirectChannel;326 @SensorDirectChannel.RateLevel int rateLevel) { in onDirectChannelConfigured()347 if (rateLevel == SensorDirectChannel.RATE_STOP) { in onDirectChannelConfigured()
24 import android.hardware.SensorDirectChannel;615 protected SensorDirectChannel createDirectChannelImpl(MemoryFile memoryFile, in createDirectChannelImpl()621 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { in destroyDirectChannelImpl()626 protected int configureDirectChannelImpl(SensorDirectChannel channel, Sensor s, int rate) { in configureDirectChannelImpl()
142 public final class SensorDirectChannel implements java.nio.channels.Channel {
19184 public final class SensorDirectChannel implements java.nio.channels.Channel {19228 method public android.hardware.SensorDirectChannel createDirectChannel(android.os.MemoryFile);19229 …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 …]
2648 android.hardware.SensorDirectChannel
25957 Landroid/hardware/SensorDirectChannel;
2653 android.hardware.SensorDirectChannel