Home
last modified time | relevance | path

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

123

/cts/tests/tests/os/src/android/os/cts/
DParcelFileDescriptorTest.java74 ParcelFileDescriptor pfd = new ParcelFileDescriptor(tempFile); in testConstructorAndOpen() local
128 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromSocket(socket); in testFromSocket() local
158 ParcelFileDescriptor pfd = makeParcelFileDescriptor(getContext()); in testToString() local
169 ParcelFileDescriptor pfd = ParcelFileDescriptor.CREATOR.createFromParcel(pl); in testWriteToParcel() local
213 ParcelFileDescriptor pfd = makeParcelFileDescriptor(getContext()); in testGetFileDescriptor() local
222 ParcelFileDescriptor pfd = makeParcelFileDescriptor(getContext()); in testDescribeContents() local
231 private static void write(ParcelFileDescriptor pfd, int oneByte) throws IOException{ in write()
241 private static int read(ParcelFileDescriptor pfd) throws IOException { in read()
409 final ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, in testFileNamesWithNonBmpChars() local
418 ParcelFileDescriptor pfd = makeParcelFileDescriptor(getContext()); in testCheckFinalizerBehavior() local
DParcelFileDescriptor_AutoCloseOutputStreamTest.java48 ParcelFileDescriptor pfd = ParcelFileDescriptorTest.makeParcelFileDescriptor(getContext()); in testCloseOrdering() local
DIParcelFileDescriptorPeer.aidl32 void set(in ParcelFileDescriptor pfd); in set()
/cts/tests/tests/graphics/src/android/graphics/cts/
DAImageDecoderTest.java168 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, in open() local
181 try (ParcelFileDescriptor pfd = open(record.resId)) { in testCreateFdResources()
196 try (ParcelFileDescriptor pfd = open(record.resId, offset)) { in testCreateFdOffset()
236 try (ParcelFileDescriptor pfd = open(record.resId)) { in testSetFormatResources()
258 try (ParcelFileDescriptor pfd = open(record.resId)) { in testSetUnpremulResources()
279 try (ParcelFileDescriptor pfd = open(record.resId)) { in testGetMinimumStrideResources()
334 try (ParcelFileDescriptor pfd = open(record.resId)) { in testDecodeResources()
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontFileUpdateRequestTest.java42 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(robotoFile, in construct() local
DFontManagerTest.java193 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(robotoFile, in fontManager_updateFontFile_negativeBaseVersion() local
211 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(robotoFile, in fontManager_updateFontFile_permissionEnforce() local
DFontFamilyUpdateRequestTest.java110 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(robotoFile, in fontFamilyUpdateRequest() local
/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()
285 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(red, "rw")) { in doMediaRead()
287 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "r")) { in doMediaRead()
289 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "w")) { in doMediaRead()
320 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(red, "rw")) { in doMediaWrite()
322 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "r")) { in doMediaWrite()
325 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "w")) { in doMediaWrite()
328 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "w")) { in doMediaWrite()
[all …]
/cts/tests/tests/telephony2/src/android/telephony2/cts/
DPhoneNumberTest.java45 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation() in setDefaultSmsApp() local
/cts/tests/tests/security/src/android/security/cts/
DBitmapFactorySecurityTests.java48 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, in getResource() local
DAslrTest.java48 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation() in readMappingAddress() local
/cts/tests/BlobStore/src/com/android/cts/blob/
DDumpOnFailureRule.java66 final ParcelFileDescriptor pfd = InstrumentationRegistry.getInstrumentation() in dumpCommandOutput() local
DBlobStoreManagerTest.java597 final ParcelFileDescriptor pfd = session.openWrite( in testSessionCommit() local
664 try (ParcelFileDescriptor pfd = mBlobStoreManager.openBlob(blobData.getBlobHandle())) { in testRecommitBlob()
671 try (ParcelFileDescriptor pfd = mBlobStoreManager.openBlob(blobData.getBlobHandle())) { in testRecommitBlob()
688 try (ParcelFileDescriptor pfd = mBlobStoreManager.openBlob(blobData.getBlobHandle())) { in testRecommitBlob_fromMultiplePackages()
695 try (ParcelFileDescriptor pfd = mBlobStoreManager.openBlob(blobData.getBlobHandle())) { in testRecommitBlob_fromMultiplePackages()
730 try (ParcelFileDescriptor pfd = mBlobStoreManager.openBlob(blobData.getBlobHandle())) { in testSessionCommit_largeBlob()
850 try (ParcelFileDescriptor pfd = mBlobStoreManager.openBlob(blobData.getBlobHandle())) { in testOpenBlob()
1738 try (ParcelFileDescriptor pfd = mBlobStoreManager.openBlob(blobData.getBlobHandle())) { in commitAndVerifyBlob()
1798 try (ParcelFileDescriptor pfd = blobData.openForRead()) { in commitBlobFromPkg()
1800 pfd, accessTypeFlags, TIMEOUT_COMMIT_CALLBACK_SEC, blobData.getFileSize())) in commitBlobFromPkg() local
[all …]
/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()
DDataPersistenceTest.java91 try (ParcelFileDescriptor pfd = mBlobStoreManager.openBlob(blobHandle)) { in testOpenBlob()
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStore_Video_MediaTest.java215 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(originalUri, "r")) { in testOriginalAccess()
223 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(originalUri, "r")) { in testOriginalAccess()
279 try (ParcelFileDescriptor pfd = mContentResolver.openFile(uris[i], "r", null); in testIsoLocationRedaction()
295 try (ParcelFileDescriptor pfd = mContentResolver.openFile(uris[i], "r", null); in testIsoLocationRedaction()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DCaptioningManagerTest.java157 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand(cmd); in execShellCommand() local
/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()
/cts/tests/tests/car/src/android/car/cts/
DCarRotaryImeTest.java92 ParcelFileDescriptor pfd = uiAutomation.executeShellCommand( in dumpsysRotaryServiceProto() local
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DUtils.java173 ParcelFileDescriptor pfd = getUiAutomation() in getProtoDump() local
/cts/hostsidetests/calllog/app/src/android/provider/cts/contacts/testapp/
DCallLogDirectBootTest.java106 try (ParcelFileDescriptor pfd = in testShadowCallComposerPicture()
/cts/tests/tests/slice/src/android/slice/cts/
DSliceManagerTest.java189 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation() in runShellCommand() local
/cts/tests/tests/contactsproviderwipe/src/android/provider/cts/contactsproviderwipe/
DContactsContract_Wipe.java102 static List<String> readAll(ParcelFileDescriptor pfd) { in readAll()
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DMyProvider.java90 final ParcelFileDescriptor pfd = extras.getParcelable("fd"); in call() local

123