Searched refs:fileChannel (Results 1 – 5 of 5) sorted by relevance
58 FileSynthesisCallback(@NonNull FileChannel fileChannel, in FileSynthesisCallback() argument61 mFileChannel = fileChannel; in FileSynthesisCallback()117 FileChannel fileChannel = null; in start() local137 fileChannel = mFileChannel; in start()141 fileChannel.write(ByteBuffer.allocate(WAV_HEADER_LENGTH)); in start()159 FileChannel fileChannel = null; in audioAvailable() local178 fileChannel = mFileChannel; in audioAvailable()201 FileChannel fileChannel = null; in done() local227 fileChannel = mFileChannel; in done()235 fileChannel.position(0); in done()[all …]
120 FileChannel fileChannel = in.getChannel(); in mmap() local121 return fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fileChannel.size()); in mmap()
145 FileChannel fileChannel = file.getChannel(); in addFont() local146 long fontSize = fileChannel.size(); in addFont()147 ByteBuffer fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in addFont()
87 final FileChannel fileChannel = file.getChannel(); in mmap() local88 final long fontSize = fileChannel.size(); in mmap()89 return fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in mmap()
747 final FileChannel fileChannel = fis.getChannel(); in prepareFontData() local748 final long size = fileChannel.size(); in prepareFontData()749 buffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, size); in prepareFontData()