Home
last modified time | relevance | path

Searched refs:fileDescriptor (Results 1 – 25 of 29) sorted by relevance

12

/external/grpc-grpc/src/csharp/Grpc.Reflection/
DSymbolRegistry.cs86 internal void AddFile(FileDescriptor fileDescriptor) in AddFile() argument
88 if (filesByName.ContainsKey(fileDescriptor.Name)) in AddFile()
92 filesByName.Add(fileDescriptor.Name, fileDescriptor); in AddFile()
94 foreach (var dependency in fileDescriptor.Dependencies) in AddFile()
98 foreach (var enumeration in fileDescriptor.EnumTypes) in AddFile()
102 foreach (var message in fileDescriptor.MessageTypes) in AddFile()
106 foreach (var service in fileDescriptor.Services) in AddFile()
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DImageVideoWrapper.java12 private final ParcelFileDescriptor fileDescriptor; field in ImageVideoWrapper
14 public ImageVideoWrapper(InputStream streamData, ParcelFileDescriptor fileDescriptor) { in ImageVideoWrapper() argument
16 this.fileDescriptor = fileDescriptor; in ImageVideoWrapper()
24 return fileDescriptor; in getFileDescriptor()
DImageVideoModelLoader.java80 ParcelFileDescriptor fileDescriptor = null; in loadData() local
83 fileDescriptor = fileDescriptorFetcher.loadData(priority); in loadData()
93 return new ImageVideoWrapper(is, fileDescriptor); in loadData()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/core/
DTaskJniUtils.java44 int fileDescriptor, long fileDescriptorLength, long fileDescriptorOffset, T options); in createHandle() argument
140 try (AssetFileDescriptor fileDescriptor = context.getAssets().openFd(filePath);
141 FileInputStream inputStream = new FileInputStream(fileDescriptor.getFileDescriptor())) {
143 long startOffset = fileDescriptor.getStartOffset();
144 long declaredLength = fileDescriptor.getDeclaredLength();
/external/protobuf/csharp/src/Google.Protobuf/Reflection/
DTypeRegistry.cs149 internal void AddFile(FileDescriptor fileDescriptor) in AddFile() argument
151 if (!fileDescriptorNames.Add(fileDescriptor.Name)) in AddFile()
155 foreach (var dependency in fileDescriptor.Dependencies) in AddFile()
159 foreach (var message in fileDescriptor.MessageTypes) in AddFile()
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DRtcEventLog.java43 final ParcelFileDescriptor fileDescriptor; in start() local
45 fileDescriptor = ParcelFileDescriptor.open(outputFile, in start()
55 peerConnection.startRtcEventLog(fileDescriptor.detachFd(), OUTPUT_FILE_MAX_BYTES); in start()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/common/
DFileUtil.java159 try (AssetFileDescriptor fileDescriptor = context.getAssets().openFd(filePath); in loadMappedFile() argument
160 FileInputStream inputStream = new FileInputStream(fileDescriptor.getFileDescriptor())) { in loadMappedFile()
162 long startOffset = fileDescriptor.getStartOffset(); in loadMappedFile()
163 long declaredLength = fileDescriptor.getDeclaredLength(); in loadMappedFile()
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DImageVideoBitmapDecoder.java48 ParcelFileDescriptor fileDescriptor = source.getFileDescriptor(); in decode() local
49 if (fileDescriptor != null) { in decode()
50 result = fileDescriptorDecoder.decode(fileDescriptor, width, height); in decode()
/external/conscrypt/common/src/jni/main/include/conscrypt/
DNetFd.h27 NetFd(JNIEnv* env, jobject fileDescriptor) in NetFd() argument
28 : mEnv(env), mFileDescriptor(fileDescriptor), mFd(-1) {} in NetFd()
Djniutil.h135 extern int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor);
/external/sl4a/ScriptingLayerForAndroid/jni/
Dcom_googlecode_android_scripting_Exec.cpp115 int JNU_GetFdFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in JNU_GetFdFromFileDescriptor() argument
118 return env->GetIntField(fileDescriptor, descriptor); in JNU_GetFdFromFileDescriptor()
180 JNIEnv* env, jclass clazz, jobject fileDescriptor, jint row, jint col, jint xpixel, in Java_com_googlecode_android_1scripting_Exec_setPtyWindowSize() argument
183 int fd = JNU_GetFdFromFileDescriptor(env, fileDescriptor); in Java_com_googlecode_android_1scripting_Exec_setPtyWindowSize()
/external/libtextclassifier/jni/com/google/android/textclassifier/
DActionsSuggestionsModel.java42 public ActionsSuggestionsModel(int fileDescriptor, @Nullable byte[] serializedPreconditions) { in ActionsSuggestionsModel() argument
43 actionsModelPtr = nativeNewActionsModel(fileDescriptor, serializedPreconditions); in ActionsSuggestionsModel()
49 public ActionsSuggestionsModel(int fileDescriptor) { in ActionsSuggestionsModel() argument
50 this(fileDescriptor, /* serializedPreconditions= */ null); in ActionsSuggestionsModel()
/external/tensorflow/tensorflow/lite/java/ovic/demo/app/
DOvicBenchmarkerActivity.java102 AssetFileDescriptor fileDescriptor = am.openFd(modelPath); in initializeTest() local
103 FileInputStream modelInputStream = new FileInputStream(fileDescriptor.getFileDescriptor()); in initializeTest()
105 long startOffset = fileDescriptor.getStartOffset(); in initializeTest()
106 long declaredLength = fileDescriptor.getDeclaredLength(); in initializeTest()
/external/grpc-grpc-java/services/src/main/java/io/grpc/protobuf/services/
DProtoReflectionService.java108 FileDescriptor fileDescriptor = in updateIndexIfNecessary() local
111 serverFileDescriptors.add(fileDescriptor); in updateIndexIfNecessary()
416 FileDescriptor fileDescriptor = in FileDescriptorIndex() local
422 serviceFileDescriptors.add(fileDescriptor); in FileDescriptorIndex()
424 if (!seenFiles.contains(fileDescriptor.getName())) { in FileDescriptorIndex()
425 seenFiles.add(fileDescriptor.getName()); in FileDescriptorIndex()
426 fileDescriptorsToProcess.add(fileDescriptor); in FileDescriptorIndex()
/external/protobuf/ruby/src/main/java/com/google/protobuf/jruby/
DRubyDescriptorPool.java125 final Descriptors.FileDescriptor fileDescriptor = Descriptors.FileDescriptor.buildFrom( in buildFileDescriptor() local
128 for (Descriptors.EnumDescriptor enumDescriptor : fileDescriptor.getEnumTypes()) { in buildFileDescriptor()
137 for (Descriptors.Descriptor descriptor : fileDescriptor.getMessageTypes()) { in buildFileDescriptor()
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DImageClassifier.java229 AssetFileDescriptor fileDescriptor = activity.getAssets().openFd(getModelPath()); in loadModelFile() local
230 FileInputStream inputStream = new FileInputStream(fileDescriptor.getFileDescriptor()); in loadModelFile()
232 long startOffset = fileDescriptor.getStartOffset(); in loadModelFile()
233 long declaredLength = fileDescriptor.getDeclaredLength(); in loadModelFile()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/vision/detector/
DObjectDetector.java148 int fileDescriptor, in createFromFileAndOptions()
153 fileDescriptor, fileDescriptorLength, fileDescriptorOffset, options); in createFromFileAndOptions()
430 int fileDescriptor,
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/vision/segmenter/
DImageSegmenter.java317 final int fileDescriptor,
327 fileDescriptor,
340 int fileDescriptor,
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/vision/classifier/
DImageClassifier.java132 int fileDescriptor, in createFromFileAndOptions()
137 fileDescriptor, fileDescriptorLength, fileDescriptorOffset, options); in createFromFileAndOptions()
423 int fileDescriptor,
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DAudioFileOutput.java68 FileDescriptor fileDescriptor = parcelFileDescriptor.getFileDescriptor(); in writeRingBufferData() local
69 mOutputStream = new FileOutputStream(fileDescriptor); in writeRingBufferData()
DLoopbackActivity.java2019 FileDescriptor fileDescriptor = parcelFileDescriptor.getFileDescriptor(); in saveScreenShot() local
2020 outputStream = new FileOutputStream(fileDescriptor); in saveScreenShot()
2083 FileDescriptor fileDescriptor = parcelFileDescriptor.getFileDescriptor(); in saveImage() local
2084 outputStream = new FileOutputStream(fileDescriptor); in saveImage()
2118 FileDescriptor fileDescriptor = parcelFileDescriptor.getFileDescriptor(); in saveBufferPeriod() local
2119 outputStream = new FileOutputStream(fileDescriptor); in saveBufferPeriod()
2158 FileDescriptor fileDescriptor = parcelFileDescriptor.getFileDescriptor(); in saveTextToFile() local
2159 outputStream = new FileOutputStream(fileDescriptor); in saveTextToFile()
2359 FileDescriptor fileDescriptor = parcelFileDescriptor.getFileDescriptor(); in saveGlitchOccurrences() local
2360 outputStream = new FileOutputStream(fileDescriptor); in saveGlitchOccurrences()
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DTestBadIdentifiers.java52 Descriptors.FileDescriptor fileDescriptor = in testGetDescriptor() local
/external/exoplayer/tree/library/core/src/androidTest/java/com/google/android/exoplayer2/upstream/
DContentDataSourceTest.java150 ParcelFileDescriptor fileDescriptor = openPipeHelper(uri, null, null, null, this); in openAssetFile() local
151 return new AssetFileDescriptor(fileDescriptor, 0, C.LENGTH_UNSET); in openAssetFile()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Djniutil.cc108 int jniGetFDFromFileDescriptor(JNIEnv* env, jobject fileDescriptor) { in jniGetFDFromFileDescriptor() argument
115 if (fileDescriptor != nullptr) { in jniGetFDFromFileDescriptor()
116 return env->GetIntField(fileDescriptor, fid); in jniGetFDFromFileDescriptor()
/external/golang-protobuf/proto/
Dproperties.go539 func RegisterFile(filename string, fileDescriptor []byte) {
540 protoFiles[filename] = fileDescriptor

12