OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:fileLock
(Results
1 - 7
of
7
) sorted by null
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
FileLockTest.java
25
import java.nio.channels.
FileLock
;
30
* Tests class
FileLock
.
38
class MockFileLock extends
FileLock
{
72
* @tests java.nio.channels.
FileLock
#
FileLock
(FileChannel, long, long,
76
FileLock
fileLock1 = new MockFileLock(null, 0, 0, false);
101
* @tests java.nio.channels.
FileLock
#channel()
105
FileLock
lock = new MockFileLock(null, 0, 10, true);
110
* @tests java.nio.channels.
FileLock
#position()
113
FileLock
fileLock1 = new MockFileLock(readWriteChannel, 20, 100, true)
[
all
...]
FileChannelTest.java
35
import java.nio.channels.
FileLock
;
108
private
FileLock
fileLock
;
121
fileLock
= null;
160
if (null !=
fileLock
) {
162
fileLock
.release();
783
fileLock
= readOnlyFileChannel.lock(POSITION, SIZE, true);
784
assertTrue(
fileLock
.isValid());
785
//
fileLock
.isShared depends on whether the underlying platform support
787
assertTrue(
fileLock
.isShared())
[
all
...]
/libcore/luni/src/test/java/libcore/java/nio/channels/
OldFileChannelTest.java
31
import java.nio.channels.
FileLock
;
76
private
FileLock
fileLock
;
89
fileLock
= null;
128
if (null !=
fileLock
) {
130
fileLock
.release();
239
FileLock
lock = readWriteFileChannel.tryLock(tooBig, 1, false);
249
FileLock
lockOne = readWriteFileChannel.tryLock(0, 10, false);
250
FileLock
lockTwo = readWriteFileChannel.tryLock(10, 20, false);
[
all
...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.update.configurator_3.3.100.v20100512.jar
org.eclipse.osgi_3.6.1.R36x_v20100806.jar
org.eclipse.osgi_3.6.2.R36x_v20101103.jar
/prebuilts/tools/common/eclipse/
org.eclipse.osgi_3.6.2.R36x_v20110210.jar
Completed in 1343 milliseconds