OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fileChannel
(Results
1 - 4
of
4
) sorted by null
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
FileLockTest.java
24
import java.nio.channels.
FileChannel
;
34
private
FileChannel
readWriteChannel;
42
protected MockFileLock(
FileChannel
channel, long position, long size,
72
* @tests java.nio.channels.FileLock#FileLock(
FileChannel
, long, long,
176
FileChannel
fileChannel
= fout.getChannel();
177
FileLock fileLock =
fileChannel
.lock();
178
fileChannel
.close();
188
fileChannel
= fout.getChannel();
189
fileLock =
fileChannel
.lock()
[
all
...]
/libcore/luni/src/main/java/java/nio/channels/
Channels.java
226
if (channel instanceof
FileChannel
) {
227
FileChannel
fileChannel
= (
FileChannel
) channel;
228
long result =
fileChannel
.size() -
fileChannel
.position();
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/
MappedByteBufferTest.java
29
import java.nio.channels.
FileChannel
;
31
import java.nio.channels.
FileChannel
.MapMode;
46
FileChannel
fc = fis.getChannel();
47
MappedByteBuffer mmb = fc.map(
FileChannel
.MapMode.READ_ONLY, 0, fc
68
* Regression for HARMONY-6315 -
FileChannel
.map throws IOException
76
FileChannel
fc = fis.getChannel();
77
MappedByteBuffer mmb = fc.map(
FileChannel
.MapMode.READ_ONLY, 0, fc.size());
104
mmb = fc.map(
FileChannel
.MapMode.READ_WRITE, 0, fc.size());
113
mmb = fc.map(
FileChannel
.MapMode.PRIVATE, 0, fc.size());
129
FileChannel
fileChannelRead = fileInputStream.getChannel()
[
all
...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
ResearchLogger.java
47
import java.nio.channels.
FileChannel
;
195
FileChannel
fileChannel
= null;
199
fileChannel
= stream.getChannel();
201
fileChannel
.read(byteBuffer);
209
if (
fileChannel
!= null) {
210
fileChannel
.close();
Completed in 212 milliseconds