/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/mdat/ |
D | MediaDataBox.java | 59 private FileChannel fileChannel; field in MediaDataBox 97 if (fileChannel != null) { in getBox() 99 …transfer(fileChannel, startPosition - header.limit(), contentSize + header.limit(), writableByteCh… in getBox() 117 fileChannel.position(startPosition - header.limit()); in checkStillOk() 119 fileChannel.read(h2); in checkStillOk() 143 this.fileChannel = ((FileChannel) readableByteChannel); in parse() 170 …cacheEntry = fileChannel.map(FileChannel.MapMode.READ_ONLY, startPosition + offset, Math.min(BUFFE… in getContent()
|
/external/downloader/src/main/java/com/google/android/downloader/ |
D | ProtoFileDownloadDestination.java | 62 FileChannel fileChannel = new RandomAccessFile(targetFile, "rw").getChannel(); in openByteChannel() local 64 fileChannel.position(offsetBytes); in openByteChannel() 65 return fileChannel; in openByteChannel()
|
D | SimpleFileDownloadDestination.java | 66 FileChannel fileChannel = new RandomAccessFile(targetFile, "rw").getChannel(); in openByteChannel() local 68 fileChannel.position(offsetBytes); in openByteChannel() 69 return fileChannel; in openByteChannel()
|
/external/okio/okio/src/jvmTest/java/okio/ |
D | NioTest.java | 53 FileChannel fileChannel = FileChannel.open(file.toPath(), StandardOpenOption.WRITE); in writableChannelNioFile() local 54 testWritableByteChannel(fileChannel); in writableChannelNioFile() 81 FileChannel fileChannel = FileChannel.open(file.toPath(), StandardOpenOption.READ); in readableChannelNioFile() local 82 testReadableByteChannel(fileChannel); in readableChannelNioFile()
|
/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/ |
D | TestUtils.java | 37 try (FileChannel fileChannel = in getTestFileAsBuffer() argument 40 return fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fileChannel.size()); in getTestFileAsBuffer()
|
/external/tensorflow/tensorflow/lite/java/ovic/src/main/java/org/tensorflow/ovic/ |
D | OvicValidator.java | 98 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local 100 long declaredLength = fileChannel.size(); in loadModelFile() 101 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
/external/tensorflow/tensorflow/lite/java/ovic/src/test/java/org/tensorflow/ovic/ |
D | OvicDetectorTest.java | 83 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local 85 long declaredLength = fileChannel.size(); in loadModelFile() 86 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
D | OvicClassifierTest.java | 169 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local 171 long declaredLength = fileChannel.size(); in loadModelFile() 172 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/task/core/ |
D | TaskJniUtils.java | 142 FileChannel fileChannel = inputStream.getChannel(); 145 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength);
|
/external/skia/platform_tools/android/apps/skottie/skottielib/src/main/java/org/skia/skottie/ |
D | SkottieAnimation.java | 80 FileChannel fileChannel = ((FileInputStream)is).getChannel(); in convertToByteBuffer() local 81 return fileChannel.map(FileChannel.MapMode.READ_ONLY, in convertToByteBuffer() 82 fileChannel.position(), fileChannel.size()); in convertToByteBuffer()
|
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/common/ |
D | FileUtil.java | 161 FileChannel fileChannel = inputStream.getChannel(); in loadMappedFile() local 164 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadMappedFile()
|
/external/tensorflow/tensorflow/lite/java/ovic/demo/app/ |
D | OvicBenchmarkerActivity.java | 104 FileChannel fileChannel = modelInputStream.getChannel(); in initializeTest() local 107 model = fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in initializeTest()
|
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/ |
D | ImageClassifier.java | 231 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local 234 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|