HomeSort by relevance Sort by last modified time
    Searched refs:getFileDescriptor (Results 1 - 25 of 278) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/glide/library/src/main/java/com/bumptech/glide/load/model/
ImageVideoWrapper.java 23 public ParcelFileDescriptor getFileDescriptor() {
ImageVideoWrapperEncoder.java 31 return fileDescriptorEncoder.encode(data.getFileDescriptor(), os);
  /frameworks/base/core/java/android/app/backup/
FullBackupDataOutput.java 23 mData = new BackupDataOutput(fd.getFileDescriptor());
FileBackupHelperBase.java 70 FileDescriptor oldStateFd = oldState != null ? oldState.getFileDescriptor() : null;
71 FileDescriptor newStateFd = newState.getFileDescriptor();
105 int result = writeSnapshot_native(mPtr, fd.getFileDescriptor());
  /libcore/dalvik/src/main/java/dalvik/system/
SocketTagger.java 55 tag(socket.getFileDescriptor$());
61 untag(socket.getFileDescriptor$());
67 tag(socket.getFileDescriptor$());
73 untag(socket.getFileDescriptor$());
  /frameworks/base/core/java/android/net/
LocalServerSocket.java 100 public FileDescriptor getFileDescriptor() {
101 return impl.getFileDescriptor();
LocalSocket.java 322 public FileDescriptor getFileDescriptor() {
323 return impl.getFileDescriptor();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DatagramSocketImplTest.java 36 assertNull(impl.getFileDescriptor());
55 public FileDescriptor getFileDescriptor() {
56 return super.getFileDescriptor();
SocketImplTest.java 37 assertNull(mockSocketImpl.getFileDescriptor());
138 public FileDescriptor getFileDescriptor() {
139 return super.getFileDescriptor();
  /frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
MtpFileWriter.java 60 Os.lseek(mCacheFd.getFileDescriptor(), offset, OsConstants.SEEK_SET);
61 return Os.write(mCacheFd.getFileDescriptor(), bytes, 0, size);
80 final long size = Os.lseek(mCacheFd.getFileDescriptor(), 0, OsConstants.SEEK_END);
85 Os.lseek(mCacheFd.getFileDescriptor(), 0, OsConstants.SEEK_SET);
  /frameworks/base/core/tests/coretests/src/android/app/backup/
BackupDataTest.java 83 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor());
90 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor());
102 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor());
111 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor());
123 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor());
132 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor());
145 BackupDataOutput bdo = new BackupDataOutput(mDataFile.getFileDescriptor());
156 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor());
174 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor());
203 BackupDataInput bdi = new BackupDataInput(mDataFile.getFileDescriptor());
    [all...]
  /cts/tests/tests/net/src/android/net/cts/
LocalServerSocketTest.java 54 assertNotNull(localServerSocket.getFileDescriptor());
56 assertNull(localServerSocket.getFileDescriptor());
  /frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
UsbAccessoryStreamTransport.java 40 mInputStream = new FileInputStream(fd.getFileDescriptor());
41 mOutputStream = new FileOutputStream(fd.getFileDescriptor());
  /frameworks/support/compat/ics/android/support/v4/net/
TrafficStatsCompatIcs.java 60 TrafficStats.tagSocket(new DatagramSocketWrapper(socket, pfd.getFileDescriptor()));
64 // the getFileDescriptor() result which tagging depends on.
70 TrafficStats.untagSocket(new DatagramSocketWrapper(socket, pfd.getFileDescriptor()));
74 // the getFileDescriptor() result which tagging depends on.
  /cts/tests/tests/security/src/android/security/cts/
MediaMetadataRetrieverTest.java 48 mRetriever.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength());
  /external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
VideoBitmapDecoder.java 35 mediaMetadataRetriever.setDataSource(resource.getFileDescriptor());
ImageVideoBitmapDecoder.java 48 ParcelFileDescriptor fileDescriptor = source.getFileDescriptor();
  /frameworks/base/graphics/tests/graphicstests/src/android/graphics/
BitmapFactoryTest.java 38 FileDescriptor fd = pfd.getFileDescriptor();
  /frameworks/base/core/tests/coretests/src/android/net/
NetworkTest.java 84 assertTrue(mLocalClient.getFileDescriptor().valid());
87 mNetwork.bindSocket(mLocalClient.getFileDescriptor());
96 mNetwork.bindSocket(mLocalClient.getFileDescriptor());
  /cts/tests/tests/media/src/android/media/cts/
Utils.java 70 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor());
110 InputStream in = new FileInputStream(fd.getFileDescriptor());
MediaPlayerSurfaceStubActivity.java 46 afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength());
  /frameworks/base/core/java/android/hardware/usb/
UsbDeviceConnection.java 46 return native_open(name, pfd.getFileDescriptor());
66 public int getFileDescriptor() {
  /cts/tests/tests/calllog/src/android/calllog/cts/
TestUtils.java 61 return new FileInputStream(pfd.getFileDescriptor());
  /cts/tests/tests/telephony2/src/android/telephony2/cts/
PhoneNumberTest.java 43 InputStream is = new FileInputStream(pfd.getFileDescriptor());
  /frameworks/base/core/java/android/hardware/
SerialPort.java 55 native_open(pfd.getFileDescriptor(), speed);

Completed in 2022 milliseconds

1 2 3 4 5 6 7 8 91011>>