Searched refs:fos (Results 1 – 3 of 3) sorted by relevance
97 FileOutputStream fos = new FileOutputStream(mFile); in run() local101 fos.write(mTestData); in run()103 fos.close(); in run()
537 FileOutputStream fos = new FileOutputStream(file, false /*append*/); in testFileDescriptorPassing() local539 FileDescriptor descriptor = fos.getFD(); in testFileDescriptorPassing()541 fos.close(); in testFileDescriptorPassing()556 FileOutputStream[] fos = new FileOutputStream[kTestSize]; in testFileDescriptorArrayPassing() local560 fos[i] = new FileOutputStream(files[i], false /*append*/); in testFileDescriptorArrayPassing()561 descriptors[i] = fos[i].getFD(); in testFileDescriptorArrayPassing()568 fos[i].close(); in testFileDescriptorArrayPassing()
457 FileOutputStream fos = new FileOutputStream(file); in runClientSafeUnionTests() local459 testHandlesList.add(new NativeHandle(fos.getFD(), false /*own*/)); in runClientSafeUnionTests()474 ExpectTrue(resultFd.getInt$() != fos.getFD().getInt$()); in runClientSafeUnionTests()493 fos.close(); in runClientSafeUnionTests()