/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelFileDescriptorTest.java | 81 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 …]
|
D | ParcelFileDescriptor_AutoCloseOutputStreamTest.java | 59 ParcelFileDescriptor pfd = ParcelFileDescriptorTest.makeParcelFileDescriptor(); in testCloseOrdering() local
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | AImageDecoderTest.java | 191 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/ |
D | MediaStorageTest.java | 195 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/ |
D | ISharedMemoryTestService.aidl | 22 int readBufData(in ParcelFileDescriptor pfd); in readBufData()
|
D | SharedMemoryHelperTest.java | 49 ParcelFileDescriptor pfd = SharedMemoryHelper.createParcelFileDescriptor(sm); in testCreateParcelFileDescriptor() local 73 ParcelFileDescriptor pfd = SharedMemoryHelper.createParcelFileDescriptor(sm1); in testSharedMemoryCreation() local
|
D | SharedMemoryTestService.java | 37 public int readBufData(ParcelFileDescriptor pfd) throws RemoteException { in readBufData()
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontFileUpdateRequestTest.java | 42 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(robotoFile, in construct() local
|
D | FontManagerTest.java | 213 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(robotoFile, in fontManager_updateFontFile_negativeBaseVersion() local 231 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(robotoFile, in fontManager_updateFontFile_permissionEnforce() local
|
D | FontFamilyUpdateRequestTest.java | 110 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(robotoFile, in fontFamilyUpdateRequest() local
|
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/ |
D | BundleValidationTest.java | 156 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/ |
D | CVE_2021_39663.java | 59 ParcelFileDescriptor pfd = context.getContentResolver().openFileDescriptor(uri, "rw"); in testPocCVE_2021_39663() local
|
D | BitmapFactorySecurityTests.java | 56 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, in getResource() local
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | ResolverAccessTestUtils.java | 49 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/ |
D | ProtoDumpUtils.java | 44 ParcelFileDescriptor pfd = uiAutomation.executeShellCommand( in executeProtoDumpShellCommand() local
|
/cts/tests/tests/telephony2/src/android/telephony2/cts/ |
D | PhoneNumberTest.java | 45 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation() in setDefaultSmsApp() local
|
/cts/tests/backup/src/android/backup/cts/ |
D | AppGrammaticalGenderBackupTest.java | 83 final ParcelFileDescriptor pfd = in executeInstrumentationShellCommand() local
|
D | BaseBackupCtsTest.java | 104 final ParcelFileDescriptor pfd = in executeInstrumentationShellCommand() local
|
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/ |
D | DumpOnFailureRule.java | 69 final ParcelFileDescriptor pfd = InstrumentationRegistry.getInstrumentation() in dumpCommandOutput() local
|
/cts/tests/BlobStore/src/com/android/cts/blob/ |
D | DumpOnFailureRule.java | 66 final ParcelFileDescriptor pfd = InstrumentationRegistry.getInstrumentation() in dumpCommandOutput() local
|
/cts/hostsidetests/blobstore/test-apps/BlobStoreHostTestHelper/src/com/android/cts/device/blob/ |
D | DataCleanupTest.java | 112 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/ |
D | MediaStore_Video_MediaTest.java | 218 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/ |
D | ResultsAssertionsUtils.java | 176 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/ |
D | Utils.java | 49 ParcelFileDescriptor pfd = InstrumentationRegistry in executeShellCommand() local
|
/cts/hostsidetests/dumpsys/apps/ProcStatsTestApp/src/com/android/server/cts/procstats/ |
D | ProcStatsTest.java | 87 static List<String> readAll(ParcelFileDescriptor pfd) { in readAll()
|