Searched refs:fileChannel (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/speech/tts/ |
D | FileSynthesisCallback.java | 57 FileSynthesisCallback(@NonNull FileChannel fileChannel, in FileSynthesisCallback() argument 60 mFileChannel = fileChannel; in FileSynthesisCallback() 116 FileChannel fileChannel = null; in start() local 136 fileChannel = mFileChannel; in start() 140 fileChannel.write(ByteBuffer.allocate(WAV_HEADER_LENGTH)); in start() 158 FileChannel fileChannel = null; in audioAvailable() local 177 fileChannel = mFileChannel; in audioAvailable() 185 fileChannel.write(ByteBuffer.wrap(buffer, offset, length)); in audioAvailable() 200 FileChannel fileChannel = null; in done() local 226 fileChannel = mFileChannel; in done() [all …]
|
/frameworks/base/services/core/java/com/android/server/graphics/fonts/ |
D | OtfFontFileParser.java | 120 FileChannel fileChannel = in.getChannel(); in mmap() local 121 return fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fileChannel.size()); in mmap()
|
/frameworks/base/graphics/java/android/graphics/ |
D | FontFamily.java | 145 FileChannel fileChannel = file.getChannel(); in addFont() local 146 long fontSize = fileChannel.size(); in addFont() 147 ByteBuffer fontBuffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in addFont()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | SystemFonts.java | 86 final FileChannel fileChannel = file.getChannel(); in mmap() local 87 final long fontSize = fileChannel.size(); in mmap() 88 return fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, fontSize); in mmap()
|
/frameworks/base/core/java/android/provider/ |
D | FontsContract.java | 747 final FileChannel fileChannel = fis.getChannel(); in prepareFontData() local 748 final long size = fileChannel.size(); in prepareFontData() 749 buffer = fileChannel.map(FileChannel.MapMode.READ_ONLY, 0, size); in prepareFontData()
|