Home
last modified time | relevance | path

Searched refs:mMemoryFile (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DMemoryFileTest.java27 MemoryFile mMemoryFile; field in MemoryFileTest
32 mMemoryFile = null; in setUp()
41 mMemoryFile = new MemoryFile("Test File", 1024); in testWriteBytes()
43 mMemoryFile.writeBytes(data, 0, 0, 512); in testWriteBytes()
57 mMemoryFile.writeBytes(data, srcOffset, destOffset, count); in checkWriteBytesInIllegalParameter()
67 mMemoryFile = new MemoryFile("Test File", 1024); in testGetOutputStream()
68 OutputStream out = mMemoryFile.getOutputStream(); in testGetOutputStream()
72 InputStream in = mMemoryFile.getInputStream(); in testGetOutputStream()
81 mMemoryFile = new MemoryFile("Test File", 1024); in testAllowPurging()
83 assertFalse(mMemoryFile.allowPurging(true)); in testAllowPurging()
[all …]
/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java146 private MemoryFile mMemoryFile; field in SensorDirectReportTest
199 + (mMemoryFile == null) + ", " + (mMemoryFileSecondary == null), in testSharedMemoryAllocation()
200 !mNeedMemoryFile || (mMemoryFile != null && mMemoryFileSecondary != null)); in testSharedMemoryAllocation()
1113 MemoryFile memoryFile = secondary ? mMemoryFileSecondary : mMemoryFile; in prepareDirectChannel()
1142 MemoryFile f = secondary ? mMemoryFileSecondary : mMemoryFile; in readSharedMemory()
1386 mMemoryFile = allocateMemoryFile(); in allocateSharedMemory()
1397 if (mMemoryFile != null) { in freeSharedMemory()
1398 mMemoryFile.close(); in freeSharedMemory()
1399 mMemoryFile = null; in freeSharedMemory()