Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/
DSensor.java833 @SensorDirectChannel.RateLevel
836 return rateLevel <= SensorDirectChannel.RATE_VERY_FAST in getHighestDirectReportRateLevel()
837 ? rateLevel : SensorDirectChannel.RATE_VERY_FAST; in getHighestDirectReportRateLevel()
848 public boolean isDirectChannelTypeSupported(@SensorDirectChannel.MemoryType int sharedMemType) { in isDirectChannelTypeSupported()
850 case SensorDirectChannel.TYPE_MEMORY_FILE: in isDirectChannelTypeSupported()
852 case SensorDirectChannel.TYPE_HARDWARE_BUFFER: in isDirectChannelTypeSupported()
DSystemSensorManager.java526 SensorDirectChannel channel, Sensor sensor, int rate) { in configureDirectChannelImpl()
531 if (rate < SensorDirectChannel.RATE_STOP in configureDirectChannelImpl()
532 || rate > SensorDirectChannel.RATE_VERY_FAST) { in configureDirectChannelImpl()
536 if (sensor == null && rate != SensorDirectChannel.RATE_STOP) { in configureDirectChannelImpl()
547 if (rate == SensorDirectChannel.RATE_STOP) { in configureDirectChannelImpl()
555 protected SensorDirectChannel createDirectChannelImpl( in createDirectChannelImpl()
576 mNativeInstance, size, SensorDirectChannel.TYPE_MEMORY_FILE, fd, null); in createDirectChannelImpl()
581 type = SensorDirectChannel.TYPE_MEMORY_FILE; in createDirectChannelImpl()
600 mNativeInstance, size, SensorDirectChannel.TYPE_HARDWARE_BUFFER, in createDirectChannelImpl()
606 type = SensorDirectChannel.TYPE_HARDWARE_BUFFER; in createDirectChannelImpl()
[all …]
DSensorDirectChannel.java37 public final class SensorDirectChannel implements Channel { class
193 SensorDirectChannel(SensorManager manager, int id, int type, long size) { in SensorDirectChannel() method in SensorDirectChannel
DSensorManager.java907 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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAsyncSensorManager.java22 import android.hardware.SensorDirectChannel;
86 protected SensorDirectChannel createDirectChannelImpl(MemoryFile memoryFile, in createDirectChannelImpl()
92 protected void destroyDirectChannelImpl(SensorDirectChannel channel) { in destroyDirectChannelImpl()
97 protected int configureDirectChannelImpl(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;
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()
/frameworks/base/config/
Dhiddenapi-removed-dex.txt145 Landroid/hardware/SensorDirectChannel;->isValid()Z
146 Landroid/hardware/SensorManager;->configureDirectChannel(Landroid/hardware/SensorDirectChannel;Land…
Dhiddenapi-public-dex.txt14733 Landroid/hardware/SensorDirectChannel;
14734 Landroid/hardware/SensorDirectChannel;->close()V
14735 Landroid/hardware/SensorDirectChannel;->configure(Landroid/hardware/Sensor;I)I
14736 Landroid/hardware/SensorDirectChannel;->finalize()V
14737 Landroid/hardware/SensorDirectChannel;->isOpen()Z
14738 Landroid/hardware/SensorDirectChannel;->RATE_FAST:I
14739 Landroid/hardware/SensorDirectChannel;->RATE_NORMAL:I
14740 Landroid/hardware/SensorDirectChannel;->RATE_STOP:I
14741 Landroid/hardware/SensorDirectChannel;->RATE_VERY_FAST:I
14742 Landroid/hardware/SensorDirectChannel;->TYPE_HARDWARE_BUFFER:I
[all …]
Dboot-image-profile.txt21336 …dware/SensorManager;->configureDirectChannelImpl(Landroid/hardware/SensorDirectChannel;Landroid/ha…
21337 …mpl(Landroid/os/MemoryFile;Landroid/hardware/HardwareBuffer;)Landroid/hardware/SensorDirectChannel;
21338 HSPLandroid/hardware/SensorManager;->destroyDirectChannelImpl(Landroid/hardware/SensorDirectChannel
/frameworks/base/api/
Dremoved.txt269 public final class SensorDirectChannel implements java.nio.channels.Channel {
274 …method public deprecated int configureDirectChannel(android.hardware.SensorDirectChannel, android.…
Dcurrent.txt15620 public final class SensorDirectChannel implements java.nio.channels.Channel {
15663 method public android.hardware.SensorDirectChannel createDirectChannel(android.os.MemoryFile);
15664 …method public android.hardware.SensorDirectChannel createDirectChannel(android.hardware.HardwareBu…