Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseOutputStreamTest.java58 ParcelFileDescriptor.MODE_READ_WRITE); in testAutoCloseOutputStream()
69 fd = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_WRITE); in testAutoCloseOutputStream()
DAssetFileDescriptorTest.java55 mFd = ParcelFileDescriptor.open(mFile, ParcelFileDescriptor.MODE_READ_WRITE); in initAssetFileDescriptor()
74 mFile, ParcelFileDescriptor.MODE_READ_WRITE); in testConstructor()
DAssetFileDescriptor_AutoCloseInputStreamTest.java162 ParcelFileDescriptor.open(mFile, ParcelFileDescriptor.MODE_READ_WRITE); in openInput()
/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorTest.java304 File.createTempFile("pfd", "bbq"), ParcelFileDescriptor.MODE_READ_WRITE, handler, in testFileNormal()
319 File.createTempFile("pfd", "bbq"), ParcelFileDescriptor.MODE_READ_WRITE, handler, in testFileError()
334 File.createTempFile("pfd", "bbq"), ParcelFileDescriptor.MODE_READ_WRITE, handler, in testFileDetach()
350 File.createTempFile("pfd", "bbq"), ParcelFileDescriptor.MODE_READ_WRITE, handler1, in testFileWrapped()
483 pf = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_WRITE); in makeParcelFileDescriptor()
DParcelFileDescriptorPeer.java97 ParcelFileDescriptor.MODE_READ_WRITE, handler, mListener); in setupFile()
/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/
DUtils.kt61 ParcelFileDescriptor.open(copiedFile, ParcelFileDescriptor.MODE_READ_WRITE) in Context()
/cts/tests/tests/tv/src/android/media/tv/tuner/cts/
DTunerDvrTest.java103 ParcelFileDescriptor.open(tmpFile, ParcelFileDescriptor.MODE_READ_WRITE)); in testDvrRecorder()
157 ParcelFileDescriptor.open(tmpFile, ParcelFileDescriptor.MODE_READ_WRITE)); in testDvrPlayback()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java434 ParcelFileDescriptor.MODE_READ_WRITE, cherryCallback, mHandler)) { in testOpenProxyFileDescriptor()
562 ParcelFileDescriptor.MODE_READ_WRITE, callback, mHandler)) {} in testOpenProxyFileDescriptor_error()
568 ParcelFileDescriptor.MODE_READ_WRITE, callback, mHandler)) { in testOpenProxyFileDescriptor_error()
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DScopedStorageDeviceTest.java21 import static android.os.ParcelFileDescriptor.MODE_READ_WRITE;
892 ParcelFileDescriptor readPfd = ParcelFileDescriptor.open(file, MODE_READ_WRITE); in testOpenFilePathFirstWriteContentResolver()
911 ParcelFileDescriptor readPfd = ParcelFileDescriptor.open(file, MODE_READ_WRITE); in testOpenContentResolverFirstWriteContentResolver()
928 ParcelFileDescriptor writePfd = ParcelFileDescriptor.open(file, MODE_READ_WRITE); in testOpenFilePathFirstWriteFilePath()
947 ParcelFileDescriptor writePfd = ParcelFileDescriptor.open(file, MODE_READ_WRITE); in testOpenContentResolverFirstWriteFilePath()
991 file, MODE_READ_WRITE)) { in testOpenContentResolverDup() argument
1023 ParcelFileDescriptor readPfd = ParcelFileDescriptor.open(file, MODE_READ_WRITE); in testOpenContentResolverClose()
1139 ParcelFileDescriptor.open(upperCaseFile, MODE_READ_WRITE | MODE_CREATE); in testCacheConsistencyForCaseInsensitivity()
1141 ParcelFileDescriptor.open(lowerCaseFile, MODE_READ_WRITE | MODE_CREATE); in testCacheConsistencyForCaseInsensitivity()
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/
DTranscodeTestUtils.java120 return ParcelFileDescriptor.open(file, forWrite ? ParcelFileDescriptor.MODE_READ_WRITE in open()
/cts/tests/tests/media/src/android/media/cts/
DNativeDecoderTest.java685 ParcelFileDescriptor.MODE_READ_WRITE | ParcelFileDescriptor.MODE_CREATE); in testMuxer()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java850 ? ParcelFileDescriptor.MODE_READ_WRITE : ParcelFileDescriptor.MODE_READ_ONLY); in openWithFilePath()