/libcore/luni/src/main/java/java/nio/channels/ |
NotYetConnectedException.java | 17 package java.nio.channels;
|
OverlappingFileLockException.java | 17 package java.nio.channels;
|
UnresolvedAddressException.java | 17 package java.nio.channels;
|
UnsupportedAddressTypeException.java | 17 package java.nio.channels;
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
DatagramChannelTest.java | 17 package libcore.java.nio.channels; 27 import java.nio.channels.ClosedChannelException; 28 import java.nio.channels.DatagramChannel; 29 import java.nio.channels.UnresolvedAddressException;
|
/external/jetty/src/java/org/eclipse/jetty/io/nio/ |
DirectNIOBuffer.java | 27 import java.nio.channels.Channels; 28 import java.nio.channels.FileChannel; 29 import java.nio.channels.ReadableByteChannel; 30 import java.nio.channels.WritableByteChannel; 242 _in=Channels.newChannel(in); 307 _out=Channels.newChannel(out);
|
/external/opencv/cxcore/include/ |
cxcore.hpp | 50 CvImage( CvSize size, int depth, int channels ) 52 image = cvCreateImage( size, depth, channels ); 86 void create( CvSize size, int depth, int channels ) 90 image->depth != depth || image->nChannels != channels ) 91 attach( cvCreateImage( size, depth, channels )); 154 int channels() const { return image ? image->nChannels : 0; } function in class:CvImage 322 int channels() const { return matrix ? CV_MAT_CN(matrix->type) : 0; } function in class:CvMatrix
|
/external/opencv/otherlibs/highgui/ |
loadsave.cpp | 505 int channels, ipl_depth; local 515 channels = CV_MAT_CN( image->type ); 516 if( channels != 1 && channels != 3 && channels != 4 ) 536 image->cols, CV_MAKETYPE(CV_8U,channels)) ); 543 image->height, ipl_depth, channels ))
|
grfmt_jpeg2000.cpp | 403 int width, int height, int depth, int channels ) 405 if( channels > 3 || channels < 1 ) 409 for( int i = 0; i < channels; i++ ) 420 jas_image_t *img = jas_image_create( channels, component_info, (channels == 1) ? JAS_CLRSPC_SGRAY : JAS_CLRSPC_SRGB ); 424 if(channels == 1) 435 result = WriteComponent8u( img, data, step, channels, width, height ); 437 result = WriteComponent16u( img, (const unsigned short *)data, step / 2, channels, width, height );
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
AudioHardwareInterface.h | 61 virtual uint32_t channels() const = 0; 72 uint32_t frameSize() const { return audio_channel_count_from_out_mask(channels())* 143 virtual uint32_t channels() const = 0; 154 uint32_t frameSize() const { return audio_channel_count_from_in_mask(channels())* 257 uint32_t *channels=0, 264 uint32_t *channels=0, 273 uint32_t *channels,
|
/external/flac/libFLAC/ |
stream_encoder_framing.c | 87 FLAC__ASSERT(metadata->data.stream_info.channels > 0); 88 FLAC__ASSERT(metadata->data.stream_info.channels <= (1u << FLAC__STREAM_METADATA_STREAMINFO_CHANNELS_LEN)); 89 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.channels-1, FLAC__STREAM_METADATA_STREAMINFO_CHANNELS_LEN)) 287 FLAC__ASSERT(header->channels > 0 && header->channels <= (1u << FLAC__STREAM_METADATA_STREAMINFO_CHANNELS_LEN) && header->channels <= FLAC__MAX_CHANNELS); 290 u = header->channels - 1; 293 FLAC__ASSERT(header->channels == 2); 297 FLAC__ASSERT(header->channels == 2); 301 FLAC__ASSERT(header->channels == 2) [all...] |
/external/kernel-headers/original/uapi/linux/ |
ipmi.h | 141 * actual number of channels because this is used in userland and 142 * will cover us if the number of channels is extended. 193 #define IPMI_OEM_RECV_TYPE 5 /* The response for OEM Channels */ 238 * When talking to normal channels, the driver takes care of the 366 * Register to get commands from other entities on specific channels. 367 * This way, you can only listen on specific channels, or have messages 368 * from some channels go to one place and other channels to someplace 370 * It may be IPMI_CHAN_ALL for all channels. 379 * Register to receive a specific command on specific channels. error values [all...] |
/hardware/qcom/audio/legacy/libalsa-intf/ |
arec.c | 115 pcm->channels * 16); 117 pcm->channels); 178 int record_file(unsigned rate, unsigned channels, int fd, unsigned count, unsigned flags, const char *device) 193 if (channels == 1) 195 else if (channels == 4) 197 else if (channels == 6) 207 pcm->channels = channels; 530 "-C -- Channels\n" 578 "-C -- Channels\n [all...] |
/libcore/luni/src/main/java/java/nio/ |
DatagramChannelImpl.java | 35 import java.nio.channels.AlreadyConnectedException; 36 import java.nio.channels.ClosedChannelException; 37 import java.nio.channels.DatagramChannel; 38 import java.nio.channels.IllegalBlockingModeException; 39 import java.nio.channels.NotYetConnectedException; 40 import java.nio.channels.spi.SelectorProvider; 41 import java.nio.channels.UnresolvedAddressException; 42 import java.nio.channels.UnsupportedAddressTypeException; 51 * The default implementation class of java.nio.channels.DatagramChannel. 399 * @see java.nio.channels.DatagramChannel#write(java.nio.ByteBuffer[], int [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
ipmi.h | 149 * actual number of channels because this is used in userland and 150 * will cover us if the number of channels is extended. 201 #define IPMI_OEM_RECV_TYPE 5 /* The response for OEM Channels */ 246 * When talking to normal channels, the driver takes care of the 374 * Register to get commands from other entities on specific channels. 375 * This way, you can only listen on specific channels, or have messages 376 * from some channels go to one place and other channels to someplace 378 * It may be IPMI_CHAN_ALL for all channels. 387 * Register to receive a specific command on specific channels. error values [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
ipmi.h | 149 * actual number of channels because this is used in userland and 150 * will cover us if the number of channels is extended. 201 #define IPMI_OEM_RECV_TYPE 5 /* The response for OEM Channels */ 246 * When talking to normal channels, the driver takes care of the 374 * Register to get commands from other entities on specific channels. 375 * This way, you can only listen on specific channels, or have messages 376 * from some channels go to one place and other channels to someplace 378 * It may be IPMI_CHAN_ALL for all channels. 387 * Register to receive a specific command on specific channels. error values [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
BatchedScanSettings.java | 66 * will take precedence. The if more channels are detected than we request, the APs 71 /** The channels used in the scan. If all channels should be used, {@code null} may be 72 * specified. If another application requests more channels or all channels, that
|
/frameworks/base/media/java/android/media/tv/ |
TvContract.java | 40 * information. The information is stored in {@link Channels} and {@link Programs} tables. 43 * <li>A row in the {@link Channels} table represents information about a TV channel. The data 61 * ID to filter channels. 89 * browsable-only channels. If set to "true", the rows that contain non-browsable channels are 118 return ContentUris.withAppendedId(Channels.CONTENT_URI, channelId); 124 * @param inputId The ID of the pass-through input to build a channels URI for. 133 * Builds a URI that points to a channel logo. See {@link Channels.Logo}. 142 * Builds a URI that points to a channel logo. See {@link Channels.Logo}. 150 return Uri.withAppendedPath(channelUri, Channels.Logo.CONTENT_DIRECTORY) [all...] |
/hardware/qcom/audio/legacy/alsa_sound/ |
alsa_default.cpp | 257 control.set("HDMI_RX Channels", channel_cnt_str); 269 int channels = handle->channels; local 279 ALOGD("setHardwareParams: reqBuffSize %d channels %d sampleRate %d", 280 (int) reqBuffSize, handle->channels, handle->sampleRate); 283 if (channels == 6) { 286 ALOGV("HWParams: Use 4 channels in kernel for 5.1(%s) recording ", handle->useCase); 287 channels = 4; 313 channels * 16); 315 channels); 350 int channels = handle->channels; local [all...] |
AudioUsbALSA.cpp | 91 status_t AudioUsbALSA::getCap(char * type, int &channels, int &sampleRate) 131 channel_start = strstr(str_start, "Channels:"); 133 ALOGE("ERROR: Could not find Channels information"); 148 channels = 1; 150 channels = 2; 152 ALOGD("channels supported by device: %d", lchannelsPlayback); 278 status_t AudioUsbALSA::setHardwareParams(pcm *txHandle, uint32_t sampleRate, uint32_t channels, int periodBytes) 299 ALOGV("Setting period size:%d samplerate:%d, channels: %d",periodBytes,sampleRate, channels); 303 channels - 1 ? 32 : 16) 390 uint32_t channels; local 779 uint32_t channels; local [all...] |
/system/media/audio_utils/include/audio_utils/ |
primitives.h | 388 * the destination channel mask. Unmatched channels in the destination channel mask 389 * are zero filled. Unmatched channels in the source channel mask are dropped. 390 * Channels present in the channel mask are represented by set bits in the 394 * dst_mask Bit mask corresponding to destination channels present 396 * src_mask Bit mask corresponding to source channels present 411 * Example: Swapping L and R channels for stereo streams 423 * This copy allows swizzling of channels or replication of channels. 427 * dst_channels Number of destination channels per frame 429 * src_channels Number of source channels per fram [all...] |
/external/libvorbis/lib/ |
block.c | 251 v->pcm=_ogg_malloc(vi->channels*sizeof(*v->pcm)); 252 v->pcmret=_ogg_malloc(vi->channels*sizeof(*v->pcmret)); 255 for(i=0;i<vi->channels;i++) 370 for(i=0;i<vi->channels;i++) 404 for(i=0;i<vi->channels;i++){ 409 for(i=0;i<vi->channels;i++) 424 for(i=0;i<v->vi->channels;i++){ 433 if(v->vi->channels==2){ 482 for(i=0;i<vi->channels;i++){ 619 vb->pcm=_vorbis_block_alloc(vb,sizeof(*vb->pcm)*vi->channels); [all...] |
/cts/apps/CtsVerifier/jni/audio_loopback/ |
sles.cpp | 161 memset(buffer, 0, pSles->bufSizeInFrames * pSles->channels * sizeof(short)); 171 for (unsigned k = 0; k < pSles->channels; k++) { 172 ((short *)buffer)[(i+j)*pSles->channels+k] = j < 4 ? 0x7FFF : 0x8000; 222 // SLuint32 channels = 1; // -c# 250 pSles->channels = 1; // -c# 278 pSles->bufSizeInBytes = pSles->channels * pSles->bufSizeInFrames * sizeof(short); 300 size_t frameSize = pSles->channels * sizeof(short); 302 pSles->fifoBuffer = new short[FIFO_FRAMES * pSles->channels]; 311 // info.channels = channels; [all...] |
/docs/source.android.com/src/devices/tv/ |
index.jd | 36 third-party app, to access built-in and IP tuner channels. The TV App 43 <li>TV Provider (<code>com.android.providers.tv.TvProvider</code>): a database of channels, programs, and associated permissions 49 <li>Parental Control: the technology to allow blocking of channels and programs 94 <p>The TV Provider database stores the channels and programs from TV Inputs. The 97 see only the channels and programs it has supplied and is prohibited from 98 accessing any other TV Inputs? channels and programs. </p> 116 <p>Passthrough TV inputs do not store channels and programs. </p> 118 <p>In addition to the standard fields for channels and programs, the TV Provider 122 available to make certain channels unavailable in search (such as to meet 127 <p>The TV Provider supports structured data in channel (<code>android.provider.TvContract.Channels</code>) and program (<code>android.provider.TvContract.Programs</code>) tables. These tables are p (…) [all...] |
/device/asus/fugu/libaudio/ |
AudioStreamIn.cpp | 196 DUMP("\tinput channels: %d\n", mPcmConfig.channels); 327 mPcmConfig.channels = deviceInfo->minChannelCount; 329 mPcmConfig.channels = deviceInfo->maxChannelCount; 331 mPcmConfig.channels = requestedChannelCount; 492 if (mPcmConfig.channels == 2) {
|