Searched refs:mMemoryFile (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/os/src/android/os/cts/ |
D | MemoryFileTest.java | 27 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/ |
D | SensorDirectReportTest.java | 143 private MemoryFile mMemoryFile; field in SensorDirectReportTest 196 + (mMemoryFile == null) + ", " + (mMemoryFileSecondary == null), in testSharedMemoryAllocation() 197 !mNeedMemoryFile || (mMemoryFile != null && mMemoryFileSecondary != null)); in testSharedMemoryAllocation() 1292 MemoryFile memoryFile = secondary ? mMemoryFileSecondary : mMemoryFile; in prepareDirectChannel() 1321 MemoryFile f = secondary ? mMemoryFileSecondary : mMemoryFile; in readSharedMemory() 1565 mMemoryFile = allocateMemoryFile(); in allocateSharedMemory() 1576 if (mMemoryFile != null) { in freeSharedMemory() 1577 mMemoryFile.close(); in freeSharedMemory() 1578 mMemoryFile = null; in freeSharedMemory()
|