Searched refs:cherryCallback (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageManagerTest.java | 367 final TestProxyFileDescriptorCallback cherryCallback = in testOpenProxyFileDescriptor() local 374 ParcelFileDescriptor.MODE_READ_WRITE, cherryCallback, mHandler)) { in testOpenProxyFileDescriptor() argument 378 assertEquals(cherryCallback.onGetSize(), cherryFd.getStatSize()); in testOpenProxyFileDescriptor() 398 assertEquals(cherryCallback.bytes[i * 100 + j], bytes[j]); in testOpenProxyFileDescriptor() 415 assertEquals(cherryCallback.bytes[500 + j], bytes[j]); in testOpenProxyFileDescriptor() 439 assertEquals(bytes[j], cherryCallback.bytes[i * 100 + j]); in testOpenProxyFileDescriptor() 456 assertEquals(bytes[j], cherryCallback.bytes[500 + j]); in testOpenProxyFileDescriptor() 462 assertEquals(0, cherryCallback.fsyncCount); in testOpenProxyFileDescriptor() 468 assertEquals(1, cherryCallback.fsyncCount); in testOpenProxyFileDescriptor() 473 assertEquals(0, cherryCallback.releaseCount); in testOpenProxyFileDescriptor() [all …]
|