Searched refs:MODE_READ_WRITE (Results 1 – 12 of 12) sorted by relevance
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptor_AutoCloseOutputStreamTest.java | 58 ParcelFileDescriptor.MODE_READ_WRITE); in testAutoCloseOutputStream() 69 fd = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_WRITE); in testAutoCloseOutputStream()
|
D | AssetFileDescriptorTest.java | 55 mFd = ParcelFileDescriptor.open(mFile, ParcelFileDescriptor.MODE_READ_WRITE); in initAssetFileDescriptor() 74 mFile, ParcelFileDescriptor.MODE_READ_WRITE); in testConstructor()
|
D | AssetFileDescriptor_AutoCloseInputStreamTest.java | 162 ParcelFileDescriptor.open(mFile, ParcelFileDescriptor.MODE_READ_WRITE); in openInput()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelFileDescriptorTest.java | 304 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()
|
D | ParcelFileDescriptorPeer.java | 97 ParcelFileDescriptor.MODE_READ_WRITE, handler, mListener); in setupFile()
|
/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/ |
D | Utils.kt | 61 ParcelFileDescriptor.open(copiedFile, ParcelFileDescriptor.MODE_READ_WRITE) in Context()
|
/cts/tests/tests/tv/src/android/media/tv/tuner/cts/ |
D | TunerDvrTest.java | 103 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/ |
D | StorageManagerTest.java | 434 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/ |
D | ScopedStorageDeviceTest.java | 21 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/ |
D | TranscodeTestUtils.java | 120 return ParcelFileDescriptor.open(file, forWrite ? ParcelFileDescriptor.MODE_READ_WRITE in open()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | NativeDecoderTest.java | 685 ParcelFileDescriptor.MODE_READ_WRITE | ParcelFileDescriptor.MODE_CREATE); in testMuxer()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 850 ? ParcelFileDescriptor.MODE_READ_WRITE : ParcelFileDescriptor.MODE_READ_ONLY); in openWithFilePath()
|