/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/ |
AbstractSelectorTest.java | 17 package org.apache.harmony.nio.tests.java.nio.channels.spi; 25 import java.nio.channels.DatagramChannel; 26 import java.nio.channels.Pipe; 27 import java.nio.channels.SelectionKey; 28 import java.nio.channels.Selector; 29 import java.nio.channels.ServerSocketChannel; 30 import java.nio.channels.SocketChannel; 31 import java.nio.channels.spi.AbstractSelectableChannel; 32 import java.nio.channels.spi.AbstractSelectionKey; 33 import java.nio.channels.spi.SelectorProvider [all...] |
/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...] |
/external/webkit/WebKit/chromium/src/ |
PlatformMessagePortChannel.cpp | 183 OwnPtr<WebCore::MessagePortChannelArray> channels = message->channels(); local 185 if (channels.get() && channels->size()) { 186 webChannels = new WebMessagePortChannelArray(channels->size()); 187 for (size_t i = 0; i < channels->size(); ++i) { 188 WebCore::PlatformMessagePortChannel* platformChannel = (*channels)[i]->channel(); 205 OwnPtr<MessagePortChannelArray> channels; local 207 channels = new MessagePortChannelArray(webChannels.size()); 211 (*channels)[i] = MessagePortChannel::create(platformChannel) [all...] |
WebWorkerClientImpl.cpp | 167 PassOwnPtr<MessagePortChannelArray> channels) 177 channels)); 180 WebMessagePortChannelArray webChannels(channels.get() ? channels->size() : 0); 183 (*channels)[i]->channel()->webChannelRelease(); 209 const WebMessagePortChannelArray& channels) 212 if (channels.size()) { 213 channels2 = new MessagePortChannelArray(channels.size()); 214 for (size_t i = 0; i < channels.size(); ++i) { 216 PlatformMessagePortChannel::create(channels[i]) [all...] |
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
SourceChannelTest.java | 17 package org.apache.harmony.nio.tests.java.nio.channels; 26 import java.nio.channels.AsynchronousCloseException; 27 import java.nio.channels.ClosedByInterruptException; 28 import java.nio.channels.ClosedChannelException; 29 import java.nio.channels.Pipe; 30 import java.nio.channels.SelectionKey; 31 import java.nio.channels.Pipe.SourceChannel; 32 import java.nio.channels.spi.SelectorProvider; 36 value = java.nio.channels.Pipe.SourceChannel.class, 47 * Tests for java.nio.channels.Pipe.SourceChanne [all...] |
FileLockTest.java | 17 package org.apache.harmony.nio.tests.java.nio.channels; 27 import java.nio.channels.ClosedChannelException; 28 import java.nio.channels.FileChannel; 29 import java.nio.channels.FileLock; 76 * @tests java.nio.channels.FileLock#FileLock(FileChannel, long, long, 83 args = {java.nio.channels.FileChannel.class, long.class, long.class, boolean.class} 111 * @tests java.nio.channels.FileLock#channel() 126 * @tests java.nio.channels.FileLock#position() 145 * @tests java.nio.channels.FileLock#size() 165 * @tests java.nio.channels.FileLock#isShared( [all...] |
FileChannelTest.java | 17 package org.apache.harmony.nio.tests.java.nio.channels; 38 import java.nio.channels.ClosedChannelException; 39 import java.nio.channels.DatagramChannel; 40 import java.nio.channels.FileChannel; 41 import java.nio.channels.FileLock; 42 import java.nio.channels.NonReadableChannelException; 43 import java.nio.channels.NonWritableChannelException; 44 import java.nio.channels.OverlappingFileLockException; 45 import java.nio.channels.Pipe; 46 import java.nio.channels.ReadableByteChannel [all...] |
MockDatagramChannel.java | 18 package org.apache.harmony.nio.tests.java.nio.channels; 24 import java.nio.channels.DatagramChannel; 25 import java.nio.channels.spi.SelectorProvider;
|
MockSocketChannel.java | 18 package org.apache.harmony.nio.tests.java.nio.channels; 24 import java.nio.channels.SocketChannel; 25 import java.nio.channels.spi.SelectorProvider;
|
/external/libpng/ |
pngwtran.c | 41 /* png_byte channels; number of channels (1-4) */ 42 /* png_byte pixel_depth; bits per pixel (depth*channels) */ 88 * row_info bit depth should be 8 (one pixel per byte). The channels 100 row_info->channels == 1) 203 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); 231 int channels = 0; 235 shift_start[channels] = row_info->bit_depth - bit_depth->red; 236 shift_dec[channels] = bit_depth->red; 237 channels++ [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngwtran.c | 36 /* png_byte channels; number of channels (1-4) */ 37 /* png_byte pixel_depth; bits per pixel (depth*channels) */ 83 * row_info bit depth should be 8 (one pixel per byte). The channels 94 row_info->channels == 1) 197 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); 224 int channels = 0; 228 shift_start[channels] = row_info->bit_depth - bit_depth->red; 229 shift_dec[channels] = bit_depth->red; 230 channels++ [all...] |
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
ServerSocketChannelImpl.java | 31 import java.nio.channels.ClosedChannelException; 32 import java.nio.channels.IllegalBlockingModeException; 33 import java.nio.channels.NotYetBoundException; 34 import java.nio.channels.ServerSocketChannel; 35 import java.nio.channels.SocketChannel; 36 import java.nio.channels.spi.SelectorProvider; 44 * The default implementation class of java.nio.channels.ServerSocketChannel. 109 * @see java.nio.channels.ServerSocketChannel#accept() 162 * @see java.nio.channels.spi.AbstractSelectableChannel#implConfigureBlocking 175 * @see java.nio.channels.spi.AbstractSelectableChannel#implCloseSelectableChannel( [all...] |
WriteOnlyFileChannel.java | 29 import java.nio.channels.ClosedChannelException; 30 import java.nio.channels.FileLock; 31 import java.nio.channels.NonReadableChannelException; 32 import java.nio.channels.WritableByteChannel;
|
/frameworks/base/libs/audioflinger/ |
AudioDumpInterface.h | 41 uint32_t channels, 48 virtual uint32_t channels() const; 83 uint32_t channels, 89 virtual uint32_t channels() const; 123 uint32_t *channels=0, 146 virtual AudioStreamIn* openInputStream(uint32_t devices, int *format, uint32_t *channels,
|
AudioDumpInterface.cpp | 55 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 64 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status); 67 lChannels = outFinal->channels(); 79 if (channels != 0 && *channels != 0) { 80 lChannels = *channels; 121 AudioStreamIn* AudioDumpInterface::openInputStream(uint32_t devices, int *format, uint32_t *channels, 131 inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics); 135 lChannels = inFinal->channels(); 139 if (channels != 0 && *channels != 0) lChannels = *channels 295 uint32_t AudioStreamOutDump::channels() const function in class:android::AudioStreamOutDump 485 uint32_t AudioStreamInDump::channels() const function in class:android::AudioStreamInDump [all...] |
/dalvik/libcore/nio/src/main/java/java/nio/channels/spi/ |
AbstractSelectableChannel.java | 18 package java.nio.channels.spi; 21 import java.nio.channels.CancelledKeyException; 22 import java.nio.channels.ClosedChannelException; 23 import java.nio.channels.IllegalBlockingModeException; 24 import java.nio.channels.IllegalSelectorException; 25 import java.nio.channels.SelectableChannel; 26 import java.nio.channels.SelectionKey; 27 import java.nio.channels.Selector; 33 * selectable channels. It declares methods for registering, unregistering and 34 * closing selectable channels. It is thread-safe [all...] |
AbstractInterruptibleChannel.java | 18 package java.nio.channels.spi; 22 import java.nio.channels.AsynchronousCloseException; 23 import java.nio.channels.Channel; 24 import java.nio.channels.ClosedByInterruptException; 25 import java.nio.channels.InterruptibleChannel; 32 * channels. 80 * @see java.nio.channels.Channel#isOpen() 92 * {@link java.nio.channels.ClosedChannelException} is thrown. 100 * @see java.nio.channels.Channel#close()
|
SelectorProvider.java | 18 package java.nio.channels.spi; 24 import java.nio.channels.Channel; 25 import java.nio.channels.DatagramChannel; 26 import java.nio.channels.Pipe; 27 import java.nio.channels.ServerSocketChannel; 28 import java.nio.channels.SocketChannel; 39 * {@link java.nio.channels.Selector} , {@link ServerSocketChannel}, and 50 private static final String PROVIDER_IN_SYSTEM_PROPERTY = "java.nio.channels.spi.SelectorProvider"; //$NON-NLS-1$ 52 private static final String PROVIDER_IN_JAR_RESOURCE = "META-INF/services/java.nio.channels.spi.SelectorProvider"; //$NON-NLS-1$ 77 * <li> if the system property "java.nio.channels.spi.SelectorProvider" i [all...] |
/external/webkit/WebCore/platform/qt/ |
LoggingQt.cpp | 44 QStringList channels = QString::fromLocal8Bit(loggingEnv).split(QLatin1String(",")); 45 for (int i = 0; i < channels.count(); i++) { 46 if (WTFLogChannel* channel = getChannelFromName(channels.at(i)))
|
/dalvik/libcore/nio/src/main/java/java/nio/channels/ |
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. One is the writable sink channel and the other
|
/development/samples/BluetoothChat/ |
_index.html | 7 <li>Establishing RFCOMM channels/sockets</li>
|
/external/webkit/WebKitTools/BuildSlaveSupport/build.webkit.org-config/webkit/ |
status.py | 14 channels=["#webkit-build"], variable
|
/hardware/ti/wlan/wl1271/Test/ |
roamingMgrDebug.c | 146 channelList_t channels; local 147 channels.numOfChannels = 14; 150 for ( i = 0; i < channels.numOfChannels; i++ ) 154 channels.channelEntry[i].normalChannelEntry.bssId[j] = 0xff; 157 channels.channelEntry[i].normalChannelEntry.earlyTerminationEvent = SCAN_ET_COND_DISABLE; 158 channels.channelEntry[i].normalChannelEntry.ETMaxNumOfAPframes = 0; 159 channels.channelEntry[i].normalChannelEntry.maxChannelDwellTime = 60000; 160 channels.channelEntry[i].normalChannelEntry.minChannelDwellTime = 30000; 161 channels.channelEntry[i].normalChannelEntry.txPowerDbm = DEF_TX_POWER; 162 channels.channelEntry[i].normalChannelEntry.channel = i + 1 204 channelList_t channels; local [all...] |
/system/wlan/ti/wilink_6_1/Test/ |
roamingMgrDebug.c | 146 channelList_t channels; local 147 channels.numOfChannels = 14; 150 for ( i = 0; i < channels.numOfChannels; i++ ) 154 channels.channelEntry[i].normalChannelEntry.bssId[j] = 0xff; 157 channels.channelEntry[i].normalChannelEntry.earlyTerminationEvent = SCAN_ET_COND_DISABLE; 158 channels.channelEntry[i].normalChannelEntry.ETMaxNumOfAPframes = 0; 159 channels.channelEntry[i].normalChannelEntry.maxChannelDwellTime = 60000; 160 channels.channelEntry[i].normalChannelEntry.minChannelDwellTime = 30000; 161 channels.channelEntry[i].normalChannelEntry.txPowerDbm = DEF_TX_POWER; 162 channels.channelEntry[i].normalChannelEntry.channel = i + 1 204 channelList_t channels; local [all...] |
/external/opencore/codecs_v2/utilities/pv_config_parser/src/ |
pv_audio_config_parser.cpp | 83 // This routine parses the wma config header and returns Sampling Rate, Number of Channels, and Bits Per Sample 112 aOutputs->Channels = wdata; 134 if (aOutputs->Channels > 2) 159 aOutputs->Channels = wdata; 190 if (aOutputs->Channels > 2) 231 aOutputs->Channels = wdata; 245 if (aOutputs->Channels > 2) 247 // not a valid number of channels for the WMA Std spec 279 aOutputs->Channels = wdata; 291 if (aOutputs->Channels > 2 [all...] |