Home
last modified time | relevance | path

Searched refs:getFileDescriptor (Results 1 – 25 of 59) sorted by relevance

123

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowParcelFileDescriptorTest.java42 assertThat(pfd.getFileDescriptor().valid()).isTrue(); in testOpens()
51 assertThat(pfd.getFileDescriptor().valid()).isTrue(); in testOpens_canReadReadOnlyFile()
52 FileInputStream is = new FileInputStream(pfd.getFileDescriptor()); in testOpens_canReadReadOnlyFile()
62 assertThat(pfd.getFileDescriptor().valid()).isTrue(); in testOpens_canWriteWritableFile()
63 FileOutputStream os = new FileOutputStream(pfd.getFileDescriptor()); in testOpens_canWriteWritableFile()
73 assertThat(pfd.getFileDescriptor().valid()).isTrue(); in testStatSize_emptyFile()
83 assertThat(pfd.getFileDescriptor().valid()).isTrue(); in testStatSize_writtenFile()
84 FileOutputStream os = new FileOutputStream(pfd.getFileDescriptor()); in testStatSize_writtenFile()
94 assertThat(pfd.getFileDescriptor().valid()).isFalse(); in testCloses()
104 assertThat(pfd.getFileDescriptor().valid()).isFalse(); in testAutoCloseInputStream()
[all …]
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLSocketImpl.java77 public FileDescriptor getFileDescriptor$() { in getFileDescriptor$()
78 return super.getFileDescriptor$(); in getFileDescriptor$()
DConscryptFileDescriptorSocket.java226 ssl.doHandshake(Platform.getFileDescriptor(socket), getSoTimeout()); in startHandshake()
557 Platform.getFileDescriptor(socket), buf, offset, byteCount, getSoTimeout()); in read()
638 ssl.write(Platform.getFileDescriptor(socket), buf, offset, byteCount, in write()
1041 ssl.shutdown(Platform.getFileDescriptor(socket));
/external/grpc-grpc-java/protobuf/src/main/java/io/grpc/protobuf/
DProtoFileDescriptorSupplier.java30 FileDescriptor getFileDescriptor(); in getFileDescriptor() method
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DOpenSSLSocketImpl.java87 public FileDescriptor getFileDescriptor$() { in getFileDescriptor$()
88 return super.getFileDescriptor$(); in getFileDescriptor$()
DConscryptFileDescriptorSocket.java226 ssl.doHandshake(Platform.getFileDescriptor(socket), getSoTimeout()); in startHandshake()
557 Platform.getFileDescriptor(socket), buf, offset, byteCount, getSoTimeout()); in read()
638 ssl.write(Platform.getFileDescriptor(socket), buf, offset, byteCount, in write()
1048 ssl.shutdown(Platform.getFileDescriptor(socket));
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DImageVideoWrapper.java23 public ParcelFileDescriptor getFileDescriptor() { in getFileDescriptor() method in ImageVideoWrapper
DImageVideoWrapperEncoder.java31 return fileDescriptorEncoder.encode(data.getFileDescriptor(), os); in encode()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DVideoBitmapDecoder.java35 mediaMetadataRetriever.setDataSource(resource.getFileDescriptor()); in decode()
DImageVideoBitmapDecoder.java48 ParcelFileDescriptor fileDescriptor = source.getFileDescriptor(); in decode()
/external/conscrypt/android/src/main/java/org/conscrypt/
DPreKitKatPlatformOpenSSLSocketImplAdapter.java266 public FileDescriptor getFileDescriptor$() { in getFileDescriptor$()
267 return delegate.getFileDescriptor$(); in getFileDescriptor$()
DKitKatPlatformOpenSSLSocketImplAdapter.java266 public FileDescriptor getFileDescriptor$() { in getFileDescriptor$()
267 return delegate.getFileDescriptor$(); in getFileDescriptor$()
/external/tensorflow/tensorflow/lite/experimental/support/java/src/java/org/tensorflow/lite/support/common/
DFileUtil.java89 FileInputStream inputStream = new FileInputStream(fileDescriptor.getFileDescriptor()); in loadMappedFile()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/provider/
DTelephonyTestProvider.java99 FileReader(descriptor.getFileDescriptor())); in openFile()
/external/conscrypt/platform/src/main/java/org/conscrypt/
DPlatform.java98 static FileDescriptor getFileDescriptor(Socket s) { in getFileDescriptor() method in Platform
99 return s.getFileDescriptor$(); in getFileDescriptor()
126 Os.setsockoptTimeval(s.getFileDescriptor$(), SOL_SOCKET, SO_SNDTIMEO, tv); in setSocketWriteTimeout()
/external/conscrypt/repackaged/platform/src/main/java/com/android/org/conscrypt/
DPlatform.java99 static FileDescriptor getFileDescriptor(Socket s) { in getFileDescriptor() method in Platform
100 return s.getFileDescriptor$(); in getFileDescriptor()
127 Os.setsockoptTimeval(s.getFileDescriptor$(), SOL_SOCKET, SO_SNDTIMEO, tv); in setSocketWriteTimeout()
/external/grpc-grpc-java/grpclb/src/generated/main/grpc/io/grpc/lb/v1/
DLoadBalancerGrpc.java223 public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { in getFileDescriptor() method in LoadBalancerGrpc.LoadBalancerBaseDescriptorSupplier
229 return getFileDescriptor().findServiceByName("LoadBalancer"); in getServiceDescriptor()
/external/grpc-grpc-java/alts/src/generated/main/grpc/io/grpc/alts/internal/
DHandshakerServiceGrpc.java233 public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { in getFileDescriptor() method in HandshakerServiceGrpc.HandshakerServiceBaseDescriptorSupplier
239 return getFileDescriptor().findServiceByName("HandshakerService"); in getServiceDescriptor()
/external/grpc-grpc-java/services/src/generated/main/grpc/io/grpc/reflection/v1alpha/
DServerReflectionGrpc.java225 public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { in getFileDescriptor() method in ServerReflectionGrpc.ServerReflectionBaseDescriptorSupplier
231 return getFileDescriptor().findServiceByName("ServerReflection"); in getServiceDescriptor()
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/
DWaltUsbConnection.java141 int fd = usbConnection.getFileDescriptor(); in syncClock()
/external/grpc-grpc-java/services/src/generated/test/grpc/io/grpc/reflection/testing/
DAnotherDynamicServiceGrpc.java260 public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { in getFileDescriptor() method in AnotherDynamicServiceGrpc.AnotherDynamicServiceBaseDescriptorSupplier
266 return getFileDescriptor().findServiceByName("AnotherDynamicService"); in getServiceDescriptor()
DDynamicServiceGrpc.java260 public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { in getFileDescriptor() method in DynamicServiceGrpc.DynamicServiceBaseDescriptorSupplier
266 return getFileDescriptor().findServiceByName("DynamicService"); in getServiceDescriptor()
DReflectableServiceGrpc.java233 public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { in getFileDescriptor() method in ReflectableServiceGrpc.ReflectableServiceBaseDescriptorSupplier
239 return getFileDescriptor().findServiceByName("ReflectableService"); in getServiceDescriptor()
/external/grpc-grpc-java/services/src/generated/main/grpc/io/grpc/health/v1/
DHealthGrpc.java233 public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { in getFileDescriptor() method in HealthGrpc.HealthBaseDescriptorSupplier
239 return getFileDescriptor().findServiceByName("Health"); in getServiceDescriptor()
/external/grpc-grpc-java/interop-testing/src/generated/main/grpc/io/grpc/testing/integration/
DUnimplementedServiceGrpc.java265 public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { in getFileDescriptor() method in UnimplementedServiceGrpc.UnimplementedServiceBaseDescriptorSupplier
271 return getFileDescriptor().findServiceByName("UnimplementedService"); in getServiceDescriptor()

123