/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
UsageStatsTest.java | 107 Streams.readFully(new FileInputStream(pfd.getFileDescriptor())); 109 IoUtils.closeQuietly(pfd.getFileDescriptor());
|
/development/samples/Vault/src/com/example/android/vault/ |
EncryptedDocument.java | 190 readSection(f, new FileOutputStream(contentOut.getFileDescriptor())); 226 f, new FileInputStream(contentIn.getFileDescriptor()));
|
/external/conscrypt/src/compat/java/org/conscrypt/ |
KitKatPlatformOpenSSLSocketImplAdapter.java | 261 public FileDescriptor getFileDescriptor$() { 262 return delegate.getFileDescriptor$();
|
PreKitKatPlatformOpenSSLSocketImplAdapter.java | 261 public FileDescriptor getFileDescriptor$() { 262 return delegate.getFileDescriptor$();
|
/frameworks/base/core/java/android/net/ |
VpnService.java | 220 return protect(socket.getFileDescriptor$().getInt$()); 231 return protect(socket.getFileDescriptor$().getInt$()); [all...] |
/frameworks/base/core/java/com/android/server/backup/ |
AccountSyncSettingsBackupHelper.java | 193 new FileInputStream(oldState.getFileDescriptor())); 222 new BufferedOutputStream(new FileOutputStream(newState.getFileDescriptor())));
|
/frameworks/base/media/java/android/media/ |
Ringtone.java | 425 mLocalPlayer.setDataSource(afd.getFileDescriptor()); 427 mLocalPlayer.setDataSource(afd.getFileDescriptor(),
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
ShortcutManagerTest7.java | 69 /* fdout*/ fd.getFileDescriptor(), 70 /* fderr*/ fd.getFileDescriptor(),
|
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/ |
DictionaryBackupAgent.java | 112 new FileInputStream(oldState.getFileDescriptor())); 127 new FileOutputStream(newState.getFileDescriptor()));
|
/external/conscrypt/src/main/java/org/conscrypt/ |
OpenSSLSocketImpl.java | 358 Platform.getFileDescriptor(socket), this, getSoTimeout(), client, 758 return NativeCrypto.SSL_read(sslNativePointer, Platform.getFileDescriptor(socket), 824 NativeCrypto.SSL_write(sslNativePointer, Platform.getFileDescriptor(socket), [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
NativeDecoderTest.java | 117 fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); 213 fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); 488 org.setDataSource(infd.getFileDescriptor(), 492 remux.setDataSource(out.getFileDescriptor()); 598 ex.setDataSource(fd.getParcelFileDescriptor().getFileDescriptor(),
|
DecoderTest.java | 232 ex.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); 414 ex.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); 507 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); 536 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); 556 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); 576 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); 607 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); 639 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); 686 ex1.setDataSource(fd1.getFileDescriptor(), fd1.getStartOffset(), fd1.getLength()); 690 ex2.setDataSource(fd2.getFileDescriptor(), fd2.getStartOffset(), fd2.getLength()) [all...] |
MediaPlayerTest.java | 135 mMediaPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 155 mp2.setDataSource(afd2.getFileDescriptor(), afd2.getStartOffset(), afd2.getLength()); 164 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 288 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 370 mp.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 482 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 708 mp1.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); 719 mp2.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); [all...] |
MediaRandomTest.java | 167 mPlayer.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(),
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
MtpDocumentsProviderTest.java | 495 assertEquals(6, Os.lseek(fd.getFileDescriptor(), 6, OsConstants.SEEK_SET)); 496 assertEquals(5, Os.read(fd.getFileDescriptor(), readBytes, 0, 5)); 499 assertEquals(0, Os.lseek(fd.getFileDescriptor(), 0, OsConstants.SEEK_SET)); 500 assertEquals(5, Os.read(fd.getFileDescriptor(), readBytes, 0, 5)); 533 assertEquals(11, Os.read(fd.getFileDescriptor(), readBytes, 0, readBytes.length)); [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
BitmapRegionDecoderTest.java | 146 FileDescriptor fd = pfd.getFileDescriptor(); 265 FileDescriptor fd1 = pfd1.getFileDescriptor(); 268 FileDescriptor fd2 = pfd2.getFileDescriptor();
|
/frameworks/base/core/java/com/android/internal/os/ |
ZygoteInit.java | 160 FileDescriptor fd = sServerSocket.getFileDescriptor(); 182 return sServerSocket.getFileDescriptor(); 826 fds.add(sServerSocket.getFileDescriptor()); [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
SocketTest.java | 433 FileDescriptor fd1 = s.getFileDescriptor$(); 439 FileDescriptor fd2 = s.getFileDescriptor$(); 445 FileDescriptor fd3 = s.getFileDescriptor$();
|
/development/samples/NotePad/tests/src/com/example/android/notepad/ |
NotePadProviderTest.java | 264 FileDescriptor testDescriptor = testAssetDescriptor.getFileDescriptor(); 390 FileReader fIn = new FileReader(noteIdParcelDescriptor.getFileDescriptor()); [all...] |
/development/samples/training/ContactsList/src/com/example/android/contactslist/ui/ |
ContactDetailFragment.java | 569 afd.getFileDescriptor(), imageSize, imageSize); 611 afd.getFileDescriptor(), imageSize, imageSize);
|
/cts/tests/tests/net/src/android/net/cts/ |
LocalSocketTest.java | 71 FileDescriptor fd = clientSocket.getFileDescriptor();
|
/cts/tests/tests/os/src/android/os/cts/ |
SeccompTest.java | 349 FileOutputStream fOut = new FileOutputStream(fd.getFileDescriptor());
|
/cts/tests/tests/provider/src/android/provider/cts/ |
Settings_SystemTest.java | 80 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor());
|
/cts/tests/tests/text/src/android/text/method/cts/ |
PasswordTransformationMethodTest.java | 134 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor());
|
/developers/build/prebuilts/gradle/StorageClient/Application/src/main/java/com/example/android/storageclient/ |
StorageClientFragment.java | 152 FileDescriptor fileDescriptor = parcelFileDescriptor.getFileDescriptor();
|