/external/tensorflow/tensorflow/lite/java/src/test/java/org/tensorflow/lite/ |
D | InterpreterTest.java | 76 FileChannel fileChannel = in testRunWithMappedByteBufferModel() local 79 fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fileChannel.size()); in testRunWithMappedByteBufferModel() 91 fileChannel.close(); in testRunWithMappedByteBufferModel() 97 FileChannel fileChannel = in testRunWithDirectByteBufferModel() local 99 ByteBuffer byteBuffer = ByteBuffer.allocateDirect((int) fileChannel.size()); in testRunWithDirectByteBufferModel() 101 fileChannel.read(byteBuffer); in testRunWithDirectByteBufferModel() 113 fileChannel.close(); in testRunWithDirectByteBufferModel() 119 FileChannel fileChannel = in testRunWithInvalidByteBufferModel() local 121 ByteBuffer byteBuffer = ByteBuffer.allocate((int) fileChannel.size()); in testRunWithInvalidByteBufferModel() 123 fileChannel.read(byteBuffer); in testRunWithInvalidByteBufferModel() [all …]
|
/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/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 | 168 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local 170 long declaredLength = fileChannel.size(); in loadModelFile() 171 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
/external/tensorflow/tensorflow/lite/models/smartreply/demo/app/src/main/java/com/example/android/smartreply/ |
D | SmartReplyClient.java | 95 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local 98 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/ |
D | TFLiteImageClassifier.java | 70 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local 73 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
D | TFLiteObjectDetectionAPIModel.java | 83 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local 86 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
D | SpeechActivity.java | 110 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local 113 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
/external/tensorflow/tensorflow/lite/java/ovic/demo/app/ |
D | OvicBenchmarkerActivity.java | 103 FileChannel fileChannel = modelInputStream.getChannel(); in initializeTest() local 106 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 | 219 FileChannel fileChannel = inputStream.getChannel(); in loadModelFile() local 222 return fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength); in loadModelFile()
|
/external/tensorflow/tensorflow/lite/g3doc/models/image_classification/ |
D | android.md | 138 FileInputStream(fileDescriptor.getFileDescriptor()); FileChannel fileChannel = 141 fileChannel.map(FileChannel.MapMode.READ_ONLY, startOffset, declaredLength);
|