Home
last modified time | relevance | path

Searched refs:MODE_READ_WRITE (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseOutputStreamTest.java73 ParcelFileDescriptor.MODE_READ_WRITE); in testAutoCloseOutputStream()
84 fd = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_WRITE); in testAutoCloseOutputStream()
DAssetFileDescriptorTest.java75 mFd = ParcelFileDescriptor.open(mFile, ParcelFileDescriptor.MODE_READ_WRITE); in initAssetFileDescriptor()
94 mFile, ParcelFileDescriptor.MODE_READ_WRITE); in testConstructor()
DAssetFileDescriptor_AutoCloseInputStreamTest.java247 ParcelFileDescriptor.open(mFile, ParcelFileDescriptor.MODE_READ_WRITE); in openInput()
342 ParcelFileDescriptor.open(outputFile, ParcelFileDescriptor.MODE_READ_WRITE); in testOffsetCorrectFileChannelTransferTo()
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorTest.java132 doMultiWrite(file, ParcelFileDescriptor.MODE_READ_WRITE in testNormal()
140 doMultiWrite(file, ParcelFileDescriptor.MODE_READ_WRITE in testAppend()
149 doMultiWrite(file, ParcelFileDescriptor.MODE_READ_WRITE in testTruncate()
407 File.createTempFile("pfd", "bbq"), ParcelFileDescriptor.MODE_READ_WRITE, handler, in testFileNormal()
423 File.createTempFile("pfd", "bbq"), ParcelFileDescriptor.MODE_READ_WRITE, handler, in testFileError()
439 File.createTempFile("pfd", "bbq"), ParcelFileDescriptor.MODE_READ_WRITE, handler, in testFileDetach()
456 File.createTempFile("pfd", "bbq"), ParcelFileDescriptor.MODE_READ_WRITE, handler1, in testFileWrapped()
633 pf = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_WRITE); in makeParcelFileDescriptor()
DParcelFileDescriptorPeer.java91 ParcelFileDescriptor.MODE_READ_WRITE, handler, mListener); in setupFile()
/cts/tests/tests/tv/src/android/media/tv/tuner/cts/
DTunerDvrTest.java106 ParcelFileDescriptor.open(tmpFile, ParcelFileDescriptor.MODE_READ_WRITE)); in testDvrRecorder()
161 ParcelFileDescriptor.open(tmpFile, ParcelFileDescriptor.MODE_READ_WRITE)); in testDvrPlayback()
195 ParcelFileDescriptor.open(tmpFile, ParcelFileDescriptor.MODE_READ_WRITE)); in testSetRecordBufferStatusCheckIntervalHint()
234 ParcelFileDescriptor.open(tmpFile, ParcelFileDescriptor.MODE_READ_WRITE)); in testSetPlaybackBufferStatusCheckIntervalHint()
/cts/tests/tests/tv/tuner/src/android/media/tv/tuner/cts/
DTunerDvrTest.java106 ParcelFileDescriptor.open(tmpFile, ParcelFileDescriptor.MODE_READ_WRITE)); in testDvrRecorder()
161 ParcelFileDescriptor.open(tmpFile, ParcelFileDescriptor.MODE_READ_WRITE)); in testDvrPlayback()
195 ParcelFileDescriptor.open(tmpFile, ParcelFileDescriptor.MODE_READ_WRITE)); in testSetRecordBufferStatusCheckIntervalHint()
234 ParcelFileDescriptor.open(tmpFile, ParcelFileDescriptor.MODE_READ_WRITE)); in testSetPlaybackBufferStatusCheckIntervalHint()
/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/
DUtils.kt61 ParcelFileDescriptor.open(copiedFile, ParcelFileDescriptor.MODE_READ_WRITE) in Context()
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DBundleValidationTest.java178 ParcelFileDescriptor.MODE_READ_WRITE)) { in canSendReadOnlyPfds() argument
275 ParcelFileDescriptor.MODE_READ_WRITE)) { in shouldRejectNestedBundlesWithFd() argument
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java21 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
913 try (ParcelFileDescriptor readPfd = ParcelFileDescriptor.open(file, MODE_READ_WRITE); in testOpenFilePathFirstWriteContentResolver()
932 ParcelFileDescriptor readPfd = ParcelFileDescriptor.open(file, MODE_READ_WRITE)) { in testOpenContentResolverFirstWriteContentResolver() argument
949 try (ParcelFileDescriptor writePfd = ParcelFileDescriptor.open(file, MODE_READ_WRITE); in testOpenFilePathFirstWriteFilePath()
968 ParcelFileDescriptor writePfd = ParcelFileDescriptor.open(file, MODE_READ_WRITE)) { in testOpenContentResolverFirstWriteFilePath() argument
1011 ParcelFileDescriptor readPfd = ParcelFileDescriptor.open(file, MODE_READ_WRITE)) { in testOpenContentResolverDup() argument
1042 try (ParcelFileDescriptor readPfd = ParcelFileDescriptor.open(file, MODE_READ_WRITE)) { in testOpenContentResolverClose() argument
1218 ParcelFileDescriptor.open(upperCaseFile, MODE_READ_WRITE | MODE_CREATE); in testCacheConsistencyForCaseInsensitivity()
1220 ParcelFileDescriptor.open(lowerCaseFile, MODE_READ_WRITE | MODE_CREATE)) { in testCacheConsistencyForCaseInsensitivity()
/cts/tests/tests/media/muxer/src/android/media/muxer/cts/
DNativeMuxerTest.java173 ParcelFileDescriptor.MODE_READ_WRITE | ParcelFileDescriptor.MODE_CREATE); in testMuxer()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java519 ParcelFileDescriptor.MODE_READ_WRITE, cherryCallback, mHandler)) { in testOpenProxyFileDescriptor()
648 ParcelFileDescriptor.MODE_READ_WRITE, callback, mHandler)) {} in testOpenProxyFileDescriptor_error()
654 ParcelFileDescriptor.MODE_READ_WRITE, callback, mHandler)) { in testOpenProxyFileDescriptor_error()
/cts/tests/pdf/module/src/android/graphics/pdf/cts/module/
DPdfRendererPreVTest.java400 ParcelFileDescriptor.MODE_READ_WRITE); in write_protectedPdf_withSecurity()
424 ParcelFileDescriptor.MODE_READ_WRITE); in write_withUnprotected()
DPdfRendererTest.java674 ParcelFileDescriptor.MODE_READ_WRITE); in write_protectedPdf_withSecurity()
708 ParcelFileDescriptor.MODE_READ_WRITE); in assertWriteWithUnprotectedPdf()
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/
DTranscodeTestUtils.java126 return ParcelFileDescriptor.open(file, forWrite ? ParcelFileDescriptor.MODE_READ_WRITE in open()
/cts/tests/tests/tv/src/android/media/tv/interactive/cts/
DTvInteractiveAppServiceTest.java1159 ParcelFileDescriptor.open(tmpFile, ParcelFileDescriptor.MODE_READ_WRITE); in testAdRequest()
1918 ParcelFileDescriptor.open(tmpFile, ParcelFileDescriptor.MODE_READ_WRITE); in testDsmccResponse()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java1035 ? ParcelFileDescriptor.MODE_READ_WRITE in openWithFilePath()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt33524 field public static final int MODE_READ_WRITE = 805306368; // 0x30000000