/libcore/luni/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;
|
FileLockImpl.java | 20 import java.nio.channels.ClosedChannelException; 21 import java.nio.channels.FileChannel; 22 import java.nio.channels.FileLock; 52 * @see java.nio.channels.FileLock#isValid() 63 * @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;
|
/libcore/luni/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()
|
/external/bluetooth/bluez/sbc/ |
sbctester.c | 91 for (j = 0; j < infostst->channels; j++) 106 r1 = sf_read_short(sndref, refsample, infostst->channels); 107 if (r1 != infostst->channels) { 109 "(r1=%d, channels=%d)", 111 infostst->channels); 117 r2 = sf_read_short(sndtst, tstsample, infostst->channels); 118 if (r2 != infostst->channels) { 120 "(r2=%d, channels=%d)\n", 122 infostst->channels); 128 for (j = 0; j < infostst->channels; j++) [all...] |
/libcore/luni/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;
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/pulse/ |
volume.h | 42 * can store the volume of all channels at once. 75 * \li pa_cvolume_channels_equal_to() - Tests if all channels of a pa_cvolume 77 * \li pa_cvolume_is_muted() - Tests if all channels of a pa_cvolume 79 * \li pa_cvolume_is_norm() - Tests if all channels of a pa_cvolume structure 81 * \li pa_cvolume_set() - Set all channels of a pa_cvolume structure to a 83 * \li pa_cvolume_reset() - Set all channels of a pa_cvolume structure to a 85 * \li pa_cvolume_mute() - Set all channels of a pa_cvolume structure to a 87 * \li pa_cvolume_avg() - Return the average volume of all channels. 111 uint8_t channels; /**< Number of channels */ member in struct:pa_cvolume [all...] |
/frameworks/base/services/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...] |
/libcore/luni/src/main/java/java/nio/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 60 * that are still valid are invalidated and their channels are unregistered. 96 * Detects if any of the registered channels is ready for I/O operations 101 * @return the number of channels that are ready for operation. 110 * Detects if any of the registered channels is ready for I/O operations 118 * if no channels get ready. 119 * @return the number of channels that are ready for operation [all...] |
Pipe.java | 17 package java.nio.channels; 20 import java.nio.channels.spi.AbstractSelectableChannel; 21 import java.nio.channels.spi.SelectorProvider; 24 * A pipe contains two channels, forming a unidirectional pipe. One is the writable sink channel, 83 * Returns a new pipe from the default {@see java.nio.channels.spi.SelectorProvider}.
|
/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...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
PipeTest.java | 17 package libcore.java.nio.channels; 20 import java.nio.channels.Pipe;
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastConfigService.java | 37 * Note that the entire range of emergency channels is enabled. Test messages 41 * TODO: add notification to re-enable channels after a radio reset. 67 if (DBG) Log.d(TAG, "enabling emergency cell broadcast channels"); 71 if (DBG) Log.d(TAG, "enabled emergency cell broadcast channels"); 73 // we may have enabled these channels previously, so try to disable them 74 if (DBG) Log.d(TAG, "disabling emergency cell broadcast channels"); 78 if (DBG) Log.d(TAG, "disabled emergency cell broadcast channels"); 91 Log.e(TAG, "exception enabling cell broadcast channels", ex);
|
/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)
|
/libcore/expectations/ |
taggedtests.txt | 26 "java.nio.channels.DatagramChannel.ConnectedSend", 27 "java.nio.channels.FileChannel.ExpandingMap", 28 "java.nio.channels.FileChannel.Transfers", 29 "java.nio.channels.SocketChannel.Open",
|
/libcore/luni/src/test/java/libcore/java/nio/ |
SelectorTest.java | 21 import java.nio.channels.NoConnectionPendingException; 22 import java.nio.channels.SelectionKey; 23 import java.nio.channels.Selector; 24 import java.nio.channels.ServerSocketChannel; 25 import java.nio.channels.SocketChannel;
|
/external/bluetooth/glib/tests/ |
mainloop-test.c | 142 GIOChannel **channels = data; local 156 addr_data.dest = channels[1]; 160 adder_source = g_io_create_watch (channels[0], G_IO_IN | G_IO_HUP); 173 g_io_channel_unref (channels[0]); 174 g_io_channel_unref (channels[1]); 176 g_free (channels); 196 io_pipe (GIOChannel **channels) 206 channels[0] = g_io_channel_unix_new (fds[0]); 207 channels[1] = g_io_channel_unix_new (fds[1]); 209 g_io_channel_set_close_on_unref (channels[0], TRUE) [all...] |