/dalvik/libcore/nio/src/main/java/java/nio/channels/spi/ |
package.html | 4 Service-provider classes for nio channels.
|
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
SelectorProviderImpl.java | 21 import java.nio.channels.DatagramChannel; 22 import java.nio.channels.Pipe; 23 import java.nio.channels.ServerSocketChannel; 24 import java.nio.channels.SocketChannel; 25 import java.nio.channels.spi.AbstractSelector; 26 import java.nio.channels.spi.SelectorProvider; 41 * @see java.nio.channels.spi.SelectorProvider#openDatagramChannel() 48 * @see java.nio.channels.spi.SelectorProvider#openPipe() 55 * @see java.nio.channels.spi.SelectorProvider#openSelector() 62 * @see java.nio.channels.spi.SelectorProvider#openServerSocketChannel( [all...] |
SelectionKeyImpl.java | 19 import java.nio.channels.CancelledKeyException; 20 import java.nio.channels.SelectableChannel; 21 import java.nio.channels.SelectionKey; 22 import java.nio.channels.Selector; 23 import java.nio.channels.SocketChannel; 24 import java.nio.channels.spi.AbstractSelectableChannel; 25 import java.nio.channels.spi.AbstractSelectionKey;
|
SelectorImpl.java | 30 import java.nio.channels.ClosedSelectorException; 31 import java.nio.channels.IllegalSelectorException; 32 import java.nio.channels.Pipe; 33 import java.nio.channels.SelectionKey; 34 import static java.nio.channels.SelectionKey.*; 35 import java.nio.channels.Selector; 36 import java.nio.channels.spi.AbstractSelectableChannel; 37 import java.nio.channels.spi.AbstractSelectionKey; 38 import java.nio.channels.spi.AbstractSelector; 39 import java.nio.channels.spi.SelectorProvider [all...] |
FileLockImpl.java | 20 import java.nio.channels.ClosedChannelException; 21 import java.nio.channels.FileChannel; 22 import java.nio.channels.FileLock; 53 * @see java.nio.channels.FileLock#isValid() 64 * @see java.nio.channels.FileLock#release()
|
ReadOnlyFileChannel.java | 29 import java.nio.channels.ClosedChannelException; 30 import java.nio.channels.FileChannel; 31 import java.nio.channels.FileLock; 32 import java.nio.channels.NonWritableChannelException; 33 import java.nio.channels.ReadableByteChannel;
|
/dalvik/libcore/nio/src/main/java/java/nio/channels/ |
package.html | 4 Channels provide a way to connect to sources of data such as 6 data. Selectors support multiplexing of non-blocking channels.
|
Selector.java | 17 package java.nio.channels; 20 import java.nio.channels.spi.SelectorProvider; 25 * Selectable channels can be registered with a selector and get a 32 * canceled keys. During the select operation, the channels registered with this 62 * that are still valid are invalidated and their channels are unregistered. 98 * Detects if any of the registered channels is ready for I/O operations 103 * @return the number of channels that are ready for operation. 112 * Detects if any of the registered channels is ready for I/O operations 120 * if no channels get ready. 121 * @return the number of channels that are ready for operation [all...] |
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
ChannelsTest.java | 16 package org.apache.harmony.nio.tests.java.nio.channels; 35 import java.nio.channels.Channels; 36 import java.nio.channels.ClosedChannelException; 37 import java.nio.channels.IllegalBlockingModeException; 38 import java.nio.channels.ReadableByteChannel; 39 import java.nio.channels.ServerSocketChannel; 40 import java.nio.channels.SocketChannel; 41 import java.nio.channels.WritableByteChannel; 54 @TestTargetClass(Channels.class [all...] |
MockServerSocketChannel.java | 18 package org.apache.harmony.nio.tests.java.nio.channels; 22 import java.nio.channels.ServerSocketChannel; 23 import java.nio.channels.SocketChannel; 24 import java.nio.channels.spi.SelectorProvider;
|
PipeTest.java | 17 package org.apache.harmony.nio.tests.java.nio.channels; 24 import java.nio.channels.Pipe; 25 import java.nio.channels.Pipe.SinkChannel; 26 import java.nio.channels.Pipe.SourceChannel; 45 * @tests java.nio.channels.Pipe#open() 59 * @tests java.nio.channels.Pipe#sink() 74 * @tests java.nio.channels.Pipe#source()
|
SelectableChannelTest.java | 17 package org.apache.harmony.nio.tests.java.nio.channels; 24 import java.nio.channels.ClosedChannelException; 25 import java.nio.channels.SelectableChannel; 26 import java.nio.channels.SelectionKey; 27 import java.nio.channels.Selector; 28 import java.nio.channels.spi.SelectorProvider; 54 args = {java.nio.channels.Selector.class, int.class}
|
SelectionKeyTest.java | 17 package org.apache.harmony.nio.tests.java.nio.channels; 26 import java.nio.channels.CancelledKeyException; 27 import java.nio.channels.Pipe; 28 import java.nio.channels.SelectableChannel; 29 import java.nio.channels.SelectionKey; 30 import java.nio.channels.Selector; 31 import java.nio.channels.SocketChannel; 32 import java.nio.channels.spi.SelectorProvider; 114 * @tests java.nio.channels.SelectionKey#attach(Object) 138 * @tests java.nio.channels.SelectionKey#attachment( [all...] |
MapModeTest.java | 17 package org.apache.harmony.nio.tests.java.nio.channels; 23 import java.nio.channels.FileChannel; 30 @TestTargetClass(java.nio.channels.FileChannel.MapMode.class) 34 * java.nio.channels.FileChannel.MapMode#PRIVATE,READONLY,READWRITE 56 * java.nio.channels.FileChannel.MapMode#toString()
|
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/ |
MockAbstractSelector.java | 17 package org.apache.harmony.nio.tests.java.nio.channels.spi; 20 import java.nio.channels.SelectableChannel; 21 import java.nio.channels.SelectionKey; 22 import java.nio.channels.Selector; 23 import java.nio.channels.spi.AbstractSelectableChannel; 24 import java.nio.channels.spi.AbstractSelectionKey; 25 import java.nio.channels.spi.AbstractSelector; 26 import java.nio.channels.spi.SelectorProvider;
|
AbstractSelectionKeyTest.java | 17 package org.apache.harmony.nio.tests.java.nio.channels.spi; 25 import java.nio.channels.SelectableChannel; 26 import java.nio.channels.SelectionKey; 27 import java.nio.channels.Selector; 28 import java.nio.channels.spi.AbstractSelectionKey;
|
/external/bluetooth/bluez/sbc/ |
sbctester.c | 90 for (j = 0; j < infostst->channels; j++) 105 r1 = sf_read_short(sndref, refsample, infostst->channels); 106 if (r1 != infostst->channels) { 108 "(r1=%d, channels=%d)", 110 infostst->channels); 116 r2 = sf_read_short(sndtst, tstsample, infostst->channels); 117 if (r2 != infostst->channels) { 119 "(r2=%d, channels=%d)\n", 121 infostst->channels); 127 for (j = 0; j < infostst->channels; j++) [all...] |
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/ |
AudioFormat.java | 68 protected int channels; field in class:AudioFormat 85 int channels, 93 this.channels = channels; 103 int channels, 112 this.channels = channels; 123 int channels, 130 this.channels = channels; [all...] |
/frameworks/base/libs/audioflinger/ |
AudioResamplerSinc.cpp | 189 template<int CHANNELS> 214 read<CHANNELS>(impulse, phaseFraction, buffer.i16, inputIndex); 217 read<CHANNELS>(impulse, phaseFraction, buffer.i16, inputIndex); 223 read<CHANNELS>(impulse, phaseFraction, buffer.i16, inputIndex); 231 int16_t* head = impulse + halfNumCoefs*CHANNELS; 232 head[0] = in[inputIndex*CHANNELS + 0]; 233 if (CHANNELS == 2) 234 head[1] = in[inputIndex*CHANNELS + 1]; 239 filterCoefficient<CHANNELS>(l, r, phaseFraction, impulse); 249 read<CHANNELS>(impulse, phaseFraction, in, inputIndex) [all...] |
/external/tremolo/Tremolo/ |
mapping0.c | 87 int testM=info->coupling[i].mag=(unsigned char)(oggpack_read(opb,ilog(vi->channels))); 88 int testA=info->coupling[i].ang=(unsigned char)(oggpack_read(opb,ilog(vi->channels))); 93 testM>=vi->channels || 94 testA>=vi->channels) goto err_out; 102 info->chmuxlist=_ogg_malloc(sizeof(*info->chmuxlist)*vi->channels); 103 for(i=0;i<vi->channels;i++){ 133 alloca(sizeof(*pcmbundle)*vi->channels); 135 alloca(sizeof(*zerobundle)*vi->channels); 137 alloca(sizeof(*nonzero)*vi->channels); 139 alloca(sizeof(*floormemo)*vi->channels); [all...] |
/external/bluetooth/bluez/audio/ |
gstsbcutil.c | 42 * Selects one number of channels option from a range of possible numbers 92 const gchar *gst_sbc_get_mode_from_list(const GValue *list, gint channels) 115 if (channels == 1 && mono) 117 else if (channels == 2) { 299 "channels", G_TYPE_INT, 327 gint temp, rate, channels, blocks, subbands, bitpool; local 348 if (!gst_structure_has_field(structure, "channels")) { 350 *error_message = g_strdup("no channels"); 353 value = gst_structure_get_value(structure, "channels"); 358 channels = temp 485 gint rate, channels, subbands, blocks, bitpool; local [all...] |
/external/webkit/WebCore/dom/ |
MessagePortChannel.cpp | 36 PassOwnPtr<MessagePortChannel::EventData> MessagePortChannel::EventData::create(PassRefPtr<SerializedScriptValue> message, PassOwnPtr<MessagePortChannelArray> channels) 38 return new EventData(message, channels); 41 MessagePortChannel::EventData::EventData(PassRefPtr<SerializedScriptValue> message, PassOwnPtr<MessagePortChannelArray> channels) 43 , m_channels(channels)
|
/frameworks/base/include/media/stagefright/ |
AudioSource.h | 30 // Note that the "channels" parameter is _not_ the number of channels, 34 uint32_t channels = AudioSystem::CHANNEL_IN_MONO);
|
/frameworks/base/awt/java/awt/image/ |
LookupOp.java | 72 // Number of channels for which cache is valid. 73 // If negative number of channels is same as positive but skipAlpha was 76 * The valid for channels. 360 * @param channels 361 * the channels. 369 * the channels order. 371 private final void createByteLevels(int channels, boolean skipAlpha, int levels[], 377 // Use one data array for all channels or use several data arrays 380 for (int ch = 0, dataIdx = 0; ch < channels; dataIdx += dataIncrement, ch++) { 386 if ((channelOffset == channels - 1 && skipAlpha) || (dataIdx >= data.length)) 456 int channels; local [all...] |
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/ |
AddressUtil.java | 27 import java.nio.channels.Channel; 28 import java.nio.channels.DatagramChannel; 29 import java.nio.channels.FileChannel; 30 import java.nio.channels.ServerSocketChannel; 31 import java.nio.channels.SocketChannel;
|