Home
last modified time | relevance | path

Searched refs:MemoryFile (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DMemoryFileTest.java47 List<MemoryFile> files = new ArrayList<MemoryFile>(); in testPurge()
52 MemoryFile newFile = new MemoryFile("MemoryFileTest", 10000000); in testPurge()
56 for (MemoryFile file : files) { in testPurge()
66 for (MemoryFile fileToClose : files) { in testPurge()
74 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testRun()
105 MemoryFile file = new MemoryFile("MemoryFileTest", 10); in testOutputStreamAdvances()
126 MemoryFile file = new MemoryFile("MemoryFileTest", testString.length); in readIndexOutOfBoundsException()
171 MemoryFile file = new MemoryFile("MemoryFileTest", testString.length); in testReadEOF()
193 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseClose()
203 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseRead()
[all …]
/frameworks/base/core/java/android/hardware/
DSensorDirectChannel.java19 import android.os.MemoryFile;
211 static long[] encodeData(MemoryFile ashmem) { in encodeData()
DSensorManager.java24 import android.os.MemoryFile;
907 public SensorDirectChannel createDirectChannel(MemoryFile mem) { in createDirectChannel()
936 MemoryFile memoryFile, HardwareBuffer hardwareBuffer); in createDirectChannelImpl()
DSystemSensorManager.java25 import android.os.MemoryFile;
556 MemoryFile memoryFile, HardwareBuffer hardwareBuffer) { in createDirectChannelImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAsyncSensorManager.java28 import android.os.MemoryFile;
86 protected SensorDirectChannel createDirectChannelImpl(MemoryFile memoryFile, in createDirectChannelImpl()
/frameworks/base/core/java/android/os/
DMemoryFile.java39 public class MemoryFile { class
57 public MemoryFile(String name, int length) throws IOException { in MemoryFile() method in MemoryFile
DParcelFileDescriptor.java537 MemoryFile file = new MemoryFile(name, data.length); in fromData()
/frameworks/base/services/core/java/com/android/server/
DGraphicsStatsService.java29 import android.os.MemoryFile;
189 private ParcelFileDescriptor getPfd(MemoryFile file) { in getPfd()
410 MemoryFile mProcessBuffer;
421 mProcessBuffer = new MemoryFile("GFXStats-" + pid, ASHMEM_SIZE); in ActiveBuffer()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/
DFakeSensorManager.java29 import android.os.MemoryFile;
134 protected SensorDirectChannel createDirectChannelImpl(MemoryFile memoryFile, in createDirectChannelImpl()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHelper.java29 import android.os.MemoryFile;
1035 byte[] data = readFully(fis, MemoryFile.getSize(pfd.getFileDescriptor())); in getStats()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt4081 Landroid/os/MemoryFile;->deactivate()V
4082 Landroid/os/MemoryFile;->getFileDescriptor()Ljava/io/FileDescriptor;
4083 Landroid/os/MemoryFile;->getSize(Ljava/io/FileDescriptor;)I
4084 Landroid/os/MemoryFile;->native_get_size(Ljava/io/FileDescriptor;)I
4085 Landroid/os/MemoryFile;->native_pin(Ljava/io/FileDescriptor;Z)Z
Dpreloaded-classes2506 android.os.MemoryFile
Dhiddenapi-public-dex.txt14776 Landroid/hardware/SensorManager;->createDirectChannel(Landroid/os/MemoryFile;)Landroid/hardware/Sen…
31275 Landroid/os/MemoryFile;
31276 Landroid/os/MemoryFile;-><init>(Ljava/lang/String;I)V
31277 Landroid/os/MemoryFile;->allowPurging(Z)Z
31278 Landroid/os/MemoryFile;->close()V
31279 Landroid/os/MemoryFile;->getInputStream()Ljava/io/InputStream;
31280 Landroid/os/MemoryFile;->getOutputStream()Ljava/io/OutputStream;
31281 Landroid/os/MemoryFile;->isPurgingAllowed()Z
31282 Landroid/os/MemoryFile;->length()I
31283 Landroid/os/MemoryFile;->readBytes([BIII)I
[all …]
Dboot-image-profile.txt4316 HPLandroid/os/MemoryFile;->close()V
4317 HPLandroid/os/MemoryFile;->deactivate()V
4318 HPLandroid/os/MemoryFile;->readBytes([BIII)I
21337 HSPLandroid/hardware/SensorManager;->createDirectChannelImpl(Landroid/os/MemoryFile;Landroid/hardwa…
28076 HSPLandroid/os/MemoryFile;-><init>(Ljava/lang/String;I)V
28077 HSPLandroid/os/MemoryFile;->getFileDescriptor()Ljava/io/FileDescriptor;
28078 HSPLandroid/os/MemoryFile;->writeBytes([BIII)V
57180 Landroid/os/MemoryFile;
/frameworks/base/api/
Dcurrent.txt15663 method public android.hardware.SensorDirectChannel createDirectChannel(android.os.MemoryFile);
32646 public class MemoryFile {
32647 ctor public MemoryFile(java.lang.String, int) throws java.io.IOException;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt21860 public class MemoryFile {
21861 ctor public MemoryFile(java.lang.String, int) throws java.io.IOException;