Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/
DSensor.java831 @SensorDirectChannel.RateLevel
834 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()
DSystemSensorManager.java524 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 …]
DSensorDirectChannel.java37 public final class SensorDirectChannel implements Channel { class
184 SensorDirectChannel(SensorManager manager, int id, int type, long size) { in SensorDirectChannel() method in SensorDirectChannel
DSensorManager.java902 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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/
DFakeSensorManager.java23 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()
/frameworks/base/api/
Dremoved.txt200 public final class SensorDirectChannel implements java.nio.channels.Channel {
205 …method public deprecated int configureDirectChannel(android.hardware.SensorDirectChannel, android.…
Dsystem-removed.txt198 public final class SensorDirectChannel implements java.nio.channels.Channel {
203 …method public deprecated int configureDirectChannel(android.hardware.SensorDirectChannel, android.…
Dtest-removed.txt200 public final class SensorDirectChannel implements java.nio.channels.Channel {
205 …method public deprecated int configureDirectChannel(android.hardware.SensorDirectChannel, android.…
Dcurrent.txt14836 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…
Dsystem-current.txt15622 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…