OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getChannel
(Results
1 - 25
of
69
) sorted by null
1
2
3
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
FileOutputStreamTest.java
262
* @tests java.io.FileOutputStream#
getChannel
()
274
assertEquals(0, f.
getChannel
().position());
281
assertEquals(0, fos.
getChannel
().position());
283
assertEquals(10, fos.
getChannel
().position());
285
assertEquals(20, fos.
getChannel
().position());
287
assertEquals(30, fos.
getChannel
().position());
291
fos.
getChannel
().position();
302
assertEquals(0, fos.
getChannel
().position());
304
assertEquals(10, fos.
getChannel
().position());
306
assertEquals(20, fos.
getChannel
().position())
[
all
...]
FileInputStreamTest.java
399
assertEquals(0, fis.
getChannel
().position());
403
assertEquals(count++, fis.
getChannel
().position());
408
fis.
getChannel
().position();
415
assertEquals(0, fis.
getChannel
().position());
418
assertEquals(10, fis.
getChannel
().position());
422
assertEquals(0, fis.
getChannel
().position());
425
assertEquals(100, fis.
getChannel
().position());
427
assertEquals(110, fis.
getChannel
().position());
/external/antlr/src/org/antlr/runtime/
CommonTokenStream.java
68
while ( tokens.get(p).
getChannel
()!=channel ) {
111
while ( tokens.get(i).
getChannel
()!=channel ) { // also stops at EOF (it's onchannel)
119
while ( i>=0 && ((Token)tokens.get(i)).
getChannel
()!=channel ) {
129
while ( tokens.get(i).
getChannel
()!=channel ) {
142
if ( t.
getChannel
()==channel ) n++;
Token.java
77
public int
getChannel
();
ClassicToken.java
56
channel = oldToken.
getChannel
();
98
public int
getChannel
() {
CommonToken.java
78
channel = oldToken.
getChannel
();
131
public int
getChannel
() {
LegacyCommonTokenStream.java
113
else if ( discardOffChannelTokens && t.
getChannel
()!=this.channel ) {
147
while ( i<n && ((Token)tokens.get(i)).
getChannel
()!=channel ) {
154
while ( i>=0 && ((Token)tokens.get(i)).
getChannel
()!=channel ) {
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/
MappedByteBufferTest.java
46
FileChannel fc = fis.
getChannel
();
76
FileChannel fc = fis.
getChannel
();
129
FileChannel fileChannelRead = fileInputStream.
getChannel
();
136
FileChannel fileChannelR = inputStream.
getChannel
();
147
FileChannel fileChannelReadWrite = randomFile.
getChannel
();
155
FileChannel fileChannelRW = random.
getChannel
();
173
FileChannel fileChannelRead = fileInputStream.
getChannel
();
180
FileChannel fileChannelReadWrite = randomFile.
getChannel
();
195
FileChannel fileChannel = fileOutputStream.
getChannel
();
216
FileChannel ch = f.
getChannel
();
[
all
...]
/libcore/luni/src/test/java/libcore/java/nio/channels/
FileChannelTest.java
32
FileChannel fc = new FileInputStream(tmp).
getChannel
();
57
fc = new FileOutputStream(tmp).
getChannel
();
67
FileChannel fc = new FileOutputStream(tmp).
getChannel
();
71
fc = new FileInputStream(tmp).
getChannel
();
87
FileChannel fc = new FileOutputStream(tmp).
getChannel
();
101
FileChannel fc = fos.
getChannel
();
/cts/tools/host/src/com/android/cts/
HostLock.java
43
mLock = mFileOs.
getChannel
().tryLock();
/frameworks/base/core/java/android/bluetooth/
BluetoothServerSocket.java
135
public int
getChannel
() {
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
FileChannelLockingTest.java
64
readOnlyChannel = fileInputStream.
getChannel
();
67
writeOnlyChannel = fileOutputStream.
getChannel
();
71
readWriteChannel = randomAccessFile.
getChannel
();
FileLockTest.java
61
readWriteChannel = randomAccessFile.
getChannel
();
176
FileChannel fileChannel = fout.
getChannel
();
188
fileChannel = fout.
getChannel
();
ChannelsTest.java
232
WritableByteChannel testChannel = this.fouts.
getChannel
();
274
ReadableByteChannel readbc = this.fins.
getChannel
();
291
ReadableByteChannel readbc = this.fins.
getChannel
();
338
WritableByteChannel writebc = this.fouts.
getChannel
();
/cts/tools/vm-tests/src/util/build/
BuildStep.java
107
FileChannel inChannel = new FileInputStream(in).
getChannel
();
108
FileChannel outChannel = new FileOutputStream(out).
getChannel
();
/cts/tools/vm-tests-tf/src/util/build/
BuildStep.java
107
FileChannel inChannel = new FileInputStream(in).
getChannel
();
108
FileChannel outChannel = new FileOutputStream(out).
getChannel
();
/hardware/ril/mock-ril/src/java/com/android/internal/telephony/
RilChannel.java
82
public SocketChannel
getChannel
() {
/frameworks/base/include/ui/
InputTransport.h
179
inline sp<InputChannel>
getChannel
() { return mChannel; }
295
inline sp<InputChannel>
getChannel
() { return mChannel; }
/libcore/luni/src/test/java/libcore/java/io/
InterruptedStreamTest.java
91
testInterruptReadableChannel(sockets[0].
getChannel
());
96
testInterruptReadableChannel(sockets[0].
getChannel
());
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppPreference.java
115
public int
getChannel
(BluetoothDevice remoteDevice, int uuid) {
117
if (V) Log.v(TAG, "
getChannel
" + key);
121
if (V) Log.v(TAG, "
getChannel
for " + remoteDevice + "_" + Integer.toHexString(uuid) +
140
if (channel !=
getChannel
(remoteDevice, uuid)) {
/libcore/luni/src/main/java/java/io/
FileInputStream.java
158
public FileChannel
getChannel
() {
FileOutputStream.java
169
public FileChannel
getChannel
() {
/sdk/traceview/src/com/android/traceview/
MainWindow.java
149
FileChannel dstChannel = new FileOutputStream(temp).
getChannel
();
152
FileChannel srcChannel = new FileInputStream(base + ".key").
getChannel
();
157
srcChannel = new FileInputStream(base + ".data").
getChannel
();
/libcore/luni/src/main/java/java/nio/
ServerSocketChannelImpl.java
149
@Override public ServerSocketChannel
getChannel
() {
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/spi/
AbstractSelectableChannelTest.java
263
SelectableChannel
getChannel
= sc.configureBlocking(false);
264
assertEquals(
getChannel
, sc);
Completed in 969 milliseconds
1
2
3