Home
last modified time | relevance | path

Searched defs:pfd (Results 1 – 25 of 94) sorted by relevance

1234

/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorTest.java81 ParcelFileDescriptor pfd = new ParcelFileDescriptor(tempFile); in testConstructorAndOpen() local
119 try (ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, in testReadOnly()
156 try (ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, flags); in doMultiWrite()
162 try (ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, flags); in doMultiWrite()
211 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromSocket(socket); in testFromSocket() local
241 ParcelFileDescriptor pfd = makeParcelFileDescriptor(); in testToString() local
253 ParcelFileDescriptor pfd = ParcelFileDescriptor.CREATOR.createFromParcel(pl); in testWriteToParcel() local
298 ParcelFileDescriptor pfd = makeParcelFileDescriptor(); in testGetFileDescriptor() local
307 ParcelFileDescriptor pfd = makeParcelFileDescriptor(); in testDescribeContents() local
316 private static void write(ParcelFileDescriptor pfd, int oneByte) throws IOException{ in write()
[all …]
DParcelFileDescriptor_AutoCloseOutputStreamTest.java59 ParcelFileDescriptor pfd = ParcelFileDescriptorTest.makeParcelFileDescriptor(); in testCloseOrdering() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DAImageDecoderTest.java191 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, in open() local
204 try (ParcelFileDescriptor pfd = open(record.resId)) { in testCreateFdResources()
219 try (ParcelFileDescriptor pfd = open(record.resId, offset)) { in testCreateFdOffset()
259 try (ParcelFileDescriptor pfd = open(record.resId)) { in testSetFormatResources()
281 try (ParcelFileDescriptor pfd = open(record.resId)) { in testSetUnpremulResources()
302 try (ParcelFileDescriptor pfd = open(record.resId)) { in testGetMinimumStrideResources()
366 try (ParcelFileDescriptor pfd = open(resId)) { in testDecode10BitHeif()
403 try (ParcelFileDescriptor pfd = open(resId)) { in testDecode10BitAvif()
430 try (ParcelFileDescriptor pfd = open(record.resId)) { in testDecodeResources()
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/
DMediaStorageTest.java195 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(red, "rw")) { in doMediaNone()
197 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "r")) { in doMediaNone()
201 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "w")) { in doMediaNone()
288 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(red, "rw")) { in doReadUriPermissionOnUriWithoutId_sameQueryResult()
291 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "r")) { in doReadUriPermissionOnUriWithoutId_sameQueryResult()
296 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "w")) { in doReadUriPermissionOnUriWithoutId_sameQueryResult()
368 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(red, "r")) { in doOwningOneFileNotGrantPrefixUriPermission()
371 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "r")) { in doOwningOneFileNotGrantPrefixUriPermission()
386 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(red, "rw")) { in doOwningOneFileNotGrantPrefixUriPermission()
389 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "w")) { in doOwningOneFileNotGrantPrefixUriPermission()
[all …]
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/os/
DISharedMemoryTestService.aidl22 int readBufData(in ParcelFileDescriptor pfd); in readBufData()
DSharedMemoryHelperTest.java49 ParcelFileDescriptor pfd = SharedMemoryHelper.createParcelFileDescriptor(sm); in testCreateParcelFileDescriptor() local
73 ParcelFileDescriptor pfd = SharedMemoryHelper.createParcelFileDescriptor(sm1); in testSharedMemoryCreation() local
DSharedMemoryTestService.java37 public int readBufData(ParcelFileDescriptor pfd) throws RemoteException { in readBufData()
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontFileUpdateRequestTest.java42 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(robotoFile, in construct() local
DFontManagerTest.java213 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(robotoFile, in fontManager_updateFontFile_negativeBaseVersion() local
231 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(robotoFile, in fontManager_updateFontFile_permissionEnforce() local
DFontFamilyUpdateRequestTest.java110 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(robotoFile, in fontFamilyUpdateRequest() local
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DBundleValidationTest.java156 try (ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, in canSendReadOnlyPfds()
177 try (ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, in canSendReadOnlyPfds()
274 try (ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, in shouldRejectNestedBundlesWithFd()
293 try (ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, in shouldIgnoreCustomParcelableWhenRequestHasFds()
/cts/tests/tests/security/src/android/security/cts/
DCVE_2021_39663.java59 ParcelFileDescriptor pfd = context.getContentResolver().openFileDescriptor(uri, "rw"); in testPocCVE_2021_39663() local
DBitmapFactorySecurityTests.java56 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, in getResource() local
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DResolverAccessTestUtils.java49 try (ParcelFileDescriptor pfd = resolver.openFileDescriptor(uri, "rw")) { in assertResolver_readWrite()
61 try (ParcelFileDescriptor pfd = resolver.openFileDescriptor(uri, "r")) { in assertResolver_noRead()
69 try (ParcelFileDescriptor pfd = resolver.openFileDescriptor(uri, "w")) { in assertResolver_noWrite()
77 try (ParcelFileDescriptor pfd = resolver.openFileDescriptor(uri, "r")) { in assertResolver_readOnly()
/cts/tests/tests/car/src/android/car/cts/utils/
DProtoDumpUtils.java44 ParcelFileDescriptor pfd = uiAutomation.executeShellCommand( in executeProtoDumpShellCommand() local
/cts/tests/tests/telephony2/src/android/telephony2/cts/
DPhoneNumberTest.java45 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation() in setDefaultSmsApp() local
/cts/tests/backup/src/android/backup/cts/
DAppGrammaticalGenderBackupTest.java83 final ParcelFileDescriptor pfd = in executeInstrumentationShellCommand() local
DBaseBackupCtsTest.java104 final ParcelFileDescriptor pfd = in executeInstrumentationShellCommand() local
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/
DDumpOnFailureRule.java69 final ParcelFileDescriptor pfd = InstrumentationRegistry.getInstrumentation() in dumpCommandOutput() local
/cts/tests/BlobStore/src/com/android/cts/blob/
DDumpOnFailureRule.java66 final ParcelFileDescriptor pfd = InstrumentationRegistry.getInstrumentation() in dumpCommandOutput() local
/cts/hostsidetests/blobstore/test-apps/BlobStoreHostTestHelper/src/com/android/cts/device/blob/
DDataCleanupTest.java112 try (ParcelFileDescriptor pfd = mBlobStoreManager.openBlob(blobHandle)) { in testOpenBlob()
127 try (ParcelFileDescriptor pfd = mBlobStoreManager.openBlob(blobHandle)) { in testRecommitBlob()
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_Video_MediaTest.java218 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(originalUri, "r")) { in testOriginalAccess()
227 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(originalUri, "r")) { in testOriginalAccess()
286 try (ParcelFileDescriptor pfd = mContentResolver.openFile(uris[i], "r", null); in testIsoLocationRedaction()
302 try (ParcelFileDescriptor pfd = mContentResolver.openFile(uris[i], "r", null); in testIsoLocationRedaction()
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/
DResultsAssertionsUtils.java176 try (ParcelFileDescriptor pfd = resolver.openFileDescriptor(uri, "w")) { in assertImageRedactedReadOnlyAccess()
216 try (ParcelFileDescriptor pfd = resolver.openFileDescriptor(uri, "r")) { in assertReadOnlyAccess()
224 try (ParcelFileDescriptor pfd = resolver.openFileDescriptor(uri, "w")) { in assertNoWriteAccess()
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/util/
DUtils.java49 ParcelFileDescriptor pfd = InstrumentationRegistry in executeShellCommand() local
/cts/hostsidetests/dumpsys/apps/ProcStatsTestApp/src/com/android/server/cts/procstats/
DProcStatsTest.java87 static List<String> readAll(ParcelFileDescriptor pfd) { in readAll()

1234