/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelFileDescriptorTest.java | 74 ParcelFileDescriptor pfd = new ParcelFileDescriptor(tempFile); in testConstructorAndOpen() local 75 AutoCloseInputStream in = new AutoCloseInputStream(pfd); in testConstructorAndOpen() 128 ParcelFileDescriptor pfd = ParcelFileDescriptor.fromSocket(socket); in testFromSocket() local 129 AutoCloseInputStream in = new AutoCloseInputStream(pfd); in testFromSocket() 133 pfd.close(); in testFromSocket() 158 ParcelFileDescriptor pfd = makeParcelFileDescriptor(getContext()); in testToString() local 159 assertNotNull(pfd.toString()); in testToString() 169 ParcelFileDescriptor pfd = ParcelFileDescriptor.CREATOR.createFromParcel(pl); in testWriteToParcel() local 170 AutoCloseInputStream in = new AutoCloseInputStream(pfd); in testWriteToParcel() 213 ParcelFileDescriptor pfd = makeParcelFileDescriptor(getContext()); in testGetFileDescriptor() local [all …]
|
D | ParcelFileDescriptor_AutoCloseOutputStreamTest.java | 48 ParcelFileDescriptor pfd = ParcelFileDescriptorTest.makeParcelFileDescriptor(getContext()); in testCloseOrdering() local 50 try (FileOutputStream out = new AutoCloseOutputStream(pfd)) { in testCloseOrdering()
|
D | IParcelFileDescriptorPeer.aidl | 32 void set(in ParcelFileDescriptor pfd); in set() argument
|
D | ParcelFileDescriptorPeer.java | 109 public void set(ParcelFileDescriptor pfd) throws RemoteException { in set() argument 110 mLocal = pfd; in set()
|
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/src/com/android/cts/mediastorageapp/ |
D | MediaStorageTest.java | 204 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(red, "rw")) { in doMediaNone() argument 206 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "r")) { in doMediaNone() argument 210 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "w")) { in doMediaNone() argument 241 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(red, "rw")) { in doMediaRead() argument 243 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "r")) { in doMediaRead() argument 245 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "w")) { in doMediaRead() argument 276 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(red, "rw")) { in doMediaWrite() argument 278 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "r")) { in doMediaWrite() argument 281 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "w")) { in doMediaWrite() argument 284 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(blue, "w")) { in doMediaWrite() argument [all …]
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | RemoteSocketFactoryClient.java | 87 ParcelFileDescriptor pfd = mService.openSocketFd(host, port, timeoutMs); in openSocketFd() local 88 FileDescriptor fd = Os.dup(pfd.getFileDescriptor()); in openSocketFd() 89 pfd.close(); in openSocketFd()
|
/cts/hostsidetests/dumpsys/apps/ProcStatsTestApp/src/com/android/server/cts/procstats/ |
D | ProcStatsTest.java | 91 static List<String> readAll(ParcelFileDescriptor pfd) { in readAll() argument 96 new FileReader(pfd.getFileDescriptor()))) { in readAll() 105 pfd.close(); in readAll()
|
/cts/tests/tests/telephony2/src/android/telephony2/cts/ |
D | PhoneNumberTest.java | 45 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation() in setDefaultSmsApp() local 48 InputStream is = new FileInputStream(pfd.getFileDescriptor()); in setDefaultSmsApp()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | BitmapFactorySecurityTests.java | 49 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, in getResource() local 51 return pfd.getFileDescriptor(); in getResource()
|
D | AslrTest.java | 50 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation() in readMappingAddress() local 55 new InputStreamReader(new ParcelFileDescriptor.AutoCloseInputStream(pfd)))) { in readMappingAddress()
|
/cts/tests/backup/src/android/backup/cts/ |
D | BaseBackupCtsTest.java | 104 final ParcelFileDescriptor pfd = in executeInstrumentationShellCommand() local 106 return new ParcelFileDescriptor.AutoCloseInputStream(pfd); in executeInstrumentationShellCommand()
|
/cts/tests/tests/contactsproviderwipe/src/android/provider/cts/contactsproviderwipe/ |
D | ContactsContract_Wipe.java | 102 static List<String> readAll(ParcelFileDescriptor pfd) { in readAll() argument 107 new FileReader(pfd.getFileDescriptor()))) { in readAll() 116 pfd.close(); in readAll()
|
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/ |
D | MyProvider.java | 90 final ParcelFileDescriptor pfd = extras.getParcelable("fd"); in call() local 91 TrafficStats.tagFileDescriptor(pfd.getFileDescriptor()); in call()
|
/cts/hostsidetests/backup/OtherSoundsSettingsApp/src/android/cts/backup/othersoundssettingsapp/ |
D | OtherSoundsSettingsTest.java | 62 ParcelFileDescriptor pfd = in setUp() 64 return new ParcelFileDescriptor.AutoCloseInputStream(pfd); in setUp()
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | CaptioningManagerTest.java | 138 ParcelFileDescriptor pfd = mUiAutomation.executeShellCommand(cmd); in execShellCommand() local 139 InputStream is = new FileInputStream(pfd.getFileDescriptor()); in execShellCommand()
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
D | Utils.java | 173 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation() in getProtoDump() local 177 try (FileInputStream is = new ParcelFileDescriptor.AutoCloseInputStream(pfd)) { in getProtoDump()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | NetworkWatchlistTest.java | 131 private void pipeResourceToFileDescriptor(String res, ParcelFileDescriptor pfd) in pipeResourceToFileDescriptor() argument 134 FileOutputStream fdStream = new ParcelFileDescriptor.AutoCloseOutputStream(pfd); in pipeResourceToFileDescriptor()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_Video_MediaTest.java | 233 try (ParcelFileDescriptor pfd = mContentResolver.openFile(publishUri, "r", null); in testLocationRedaction() argument 235 mmr.setDataSource(pfd.getFileDescriptor()); in testLocationRedaction() 249 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(originalUri, "r")) { in testLocationRedaction() argument 256 try (ParcelFileDescriptor pfd = mContentResolver.openFile(publishUri, "r", null); in testLocationRedaction() argument 258 mmr.setDataSource(pfd.getFileDescriptor()); in testLocationRedaction() 272 try (ParcelFileDescriptor pfd = mContentResolver.openFileDescriptor(originalUri, "r")) { in testLocationRedaction() argument
|
/cts/hostsidetests/incident/apps/boundwidgetapp/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 122 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation() in runShellCommand() local 128 new InputStreamReader(new ParcelFileDescriptor.AutoCloseInputStream(pfd)))) { in runShellCommand()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | SystemUtil.java | 75 ParcelFileDescriptor pfd = instrumentation.getUiAutomation().executeShellCommand(cmd); in runShellCommand() local 78 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in runShellCommand()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | SystemUtil.java | 89 ParcelFileDescriptor pfd = automation.executeShellCommand(cmd); in runShellCommand() local 92 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in runShellCommand()
|
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/ |
D | SyncAdapterSettingsTest.java | 70 ParcelFileDescriptor pfd = 72 return new ParcelFileDescriptor.AutoCloseInputStream(pfd);
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | PhoneAccountTest.java | 313 final ParcelFileDescriptor pfd = in executeShellCommand() local 316 try (InputStream in = new FileInputStream(pfd.getFileDescriptor())) { in executeShellCommand() 328 pfd.close(); in executeShellCommand()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | Utils.java | 101 ParcelFileDescriptor pfd = instrumentation.getUiAutomation().executeShellCommand( in setAppOps() local 103 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor()); in setAppOps()
|
/cts/tests/tests/slice/src/android/slice/cts/ |
D | SliceManagerTest.java | 175 ParcelFileDescriptor pfd = getInstrumentation().getUiAutomation() in runShellCommand() local 181 new InputStreamReader(new ParcelFileDescriptor.AutoCloseInputStream(pfd)))) { in runShellCommand()
|