/external/wpa_supplicant_8/src/p2p/ |
p2p_go_neg.c | 41 u8 channels; local 44 ch = &dev->channels; 64 channels = *pos++; 65 if (channels > end - pos) { 69 cl->channels = channels > P2P_MAX_REG_CLASS_CHANNELS ? 70 P2P_MAX_REG_CLASS_CHANNELS : channels; 71 os_memcpy(cl->channel, pos, cl->channels); 72 pos += channels; 78 p2p_channels_intersect(own, &dev->channels, &intersection) [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
TypeConverter.h | 165 audio_channel_mask_t channels; local 166 if (!OutputChannelConverter::fromString(literalChannels, channels) || 167 !InputChannelConverter::fromString(literalChannels, channels)) { 170 return channels; 174 static ChannelTraits::Collection channelMasksFromString(const std::string &channels, 178 OutputChannelConverter::collectionFromString(channels, channelMaskCollection, del); 179 InputChannelConverter::collectionFromString(channels, channelMaskCollection, del); 180 ChannelIndexConverter::collectionFromString(channels, channelMaskCollection, del);
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
AudioPort.cpp | 92 audio_channel_mask_t channels = channelsToExport[chanIndex]; local 93 if (flatenedChannels.indexOf(channels) < 0) { 94 flatenedChannels.add(channels); 136 // Import only valid port, i.e. valid format, non empty rates and channels masks 338 ALOGV("%s Port[nm:%s] profile rate=%d, format=%d, channels=%d", __FUNCTION__, mName.string(),
|
ConfigParsingUtils.cpp | 159 ChannelsVector channels; local 172 channels = inputChannelMasksFromString(node->value); 174 channels = outputChannelMasksFromString(node->value); 192 sp<AudioProfile> profileToAdd = new AudioProfile(gDynamicFormat, channels, sampleRates); 194 profileToAdd->setDynamicChannels(channels.isEmpty()); 200 // collection of rate and channels. 201 sp<AudioProfile> profileToAdd = new AudioProfile(formats[i], channels, sampleRates); 203 profileToAdd->setDynamicChannels(channels.isEmpty());
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
KnownBandsChannelHelperTest.java | 75 * check a settings object with a few channels 120 WifiScanner.ChannelSpec[] channels = local 122 assertEquals("nun channels", expectedChannels.length, channels.length); 123 for (int i = 0; i < channels.length; ++i) { 124 assertEquals("channels[" + i + "].frequency", 125 expectedChannels[i], channels[i].frequency); 203 * check a settings object with no channels 216 * check a settings object with some channels 358 * Add a multiple channels to the collectio [all...] |
NoBandChannelHelperTest.java | 69 * check a settings object with a few channels 112 * Test that getting the channels for each band results in the expected empty list 118 WifiScanner.ChannelSpec[] channels = local 120 assertEquals("expected zero channels", 0, channels.length); 143 * check a settings object with no channels 156 * check a settings object with some channels 291 * Add a multiple channels to the collection 352 * Add a band that should contain all channels 373 * Add enough channels on a single band that the max channels is exceede [all...] |
/frameworks/wilhelm/tests/examples/ |
slesTestFeedback.cpp | 40 static SLuint32 channels = 1; // -c# variable 182 memset(buffer, 0, bufSizeInFrames * channels * sizeof(short)); 192 for (unsigned k = 0; k < channels; k++) { 193 ((short *)buffer)[(i+j)*channels+k] = j < 4 ? 0x7FFF : 0x8000; 288 channels = atoi(&arg[2]); 289 if (channels < 1 || channels > 2) { 291 (unsigned) channels); 292 channels = 2; 341 bufSizeInBytes = channels * bufSizeInFrames * sizeof(short) [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/include/nestegg/ |
nestegg.h | 141 unsigned int channels; /**< Number of audio channels. */ member in struct:__anon30127
|
/hardware/libhardware_legacy/audio/ |
AudioDumpInterface.cpp | 60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 68 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status); 71 lChannels = outFinal->channels(); 81 if (channels != 0) { 82 if (*channels != 0) { 83 lChannels = *channels; 85 *channels = lChannels; 126 AudioStreamIn* AudioDumpInterface::openInputStream(uint32_t devices, int *format, uint32_t *channels, 134 inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics); 137 lChannels = inFinal->channels(); 324 uint32_t AudioStreamOutDump::channels() const function in class:android::AudioStreamOutDump 527 uint32_t AudioStreamInDump::channels() const function in class:android::AudioStreamInDump [all...] |
/hardware/qcom/msm8960/kernel-headers/linux/ |
msm_audio_aac.h | 74 uint32_t channels; member in struct:msm_audio_aac_enc_config
|
/hardware/qcom/msm8960/original-kernel-headers/linux/ |
msm_audio_aac.h | 46 /* Primary channel on both left and right channels */ 48 /* Secondary channel on both left and right channels */ 69 uint32_t channels; member in struct:msm_audio_aac_enc_config
|
/hardware/qcom/msm8994/kernel-headers/linux/ |
msm_audio_aac.h | 75 uint32_t channels; member in struct:msm_audio_aac_enc_config
|
/hardware/qcom/msm8994/original-kernel-headers/linux/ |
msm_audio_aac.h | 46 /* Primary channel on both left and right channels */ 48 /* Secondary channel on both left and right channels */ 70 uint32_t channels; member in struct:msm_audio_aac_enc_config
|
/hardware/qcom/msm8996/kernel-headers/linux/ |
msm_audio_aac.h | 75 uint32_t channels; member in struct:msm_audio_aac_enc_config
|
/hardware/qcom/msm8996/original-kernel-headers/linux/ |
msm_audio_aac.h | 46 /* Primary channel on both left and right channels */ 48 /* Secondary channel on both left and right channels */ 70 uint32_t channels; member in struct:msm_audio_aac_enc_config
|
/hardware/qcom/msm8x84/kernel-headers/linux/ |
msm_audio_aac.h | 75 uint32_t channels; member in struct:msm_audio_aac_enc_config
|
/hardware/qcom/msm8x84/original-kernel-headers/linux/ |
msm_audio_aac.h | 46 /* Primary channel on both left and right channels */ 48 /* Secondary channel on both left and right channels */ 70 uint32_t channels; member in struct:msm_audio_aac_enc_config
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
gscancommand.h | 40 wifi_channel channels[]; member in struct:__anon34731 59 wifi_channel *channels; member in struct:__anon34734 123 virtual void setChannels(int *channels);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
FileLockTest.java | 17 package org.apache.harmony.tests.java.nio.channels; 23 import java.nio.channels.ClosedChannelException; 24 import java.nio.channels.FileChannel; 25 import java.nio.channels.FileLock; 72 * @tests java.nio.channels.FileLock#FileLock(FileChannel, long, long, 101 * @tests java.nio.channels.FileLock#channel() 110 * @tests java.nio.channels.FileLock#position() 123 * @tests java.nio.channels.FileLock#size() 137 * @tests java.nio.channels.FileLock#isShared() 146 * @tests java.nio.channels.FileLock#overlaps(long, long [all...] |
SourceChannelTest.java | 17 package org.apache.harmony.tests.java.nio.channels; 21 import java.nio.channels.ClosedChannelException; 22 import java.nio.channels.Pipe; 23 import java.nio.channels.SelectionKey; 28 * Tests for java.nio.channels.Pipe.SourceChannel 57 * @tests java.nio.channels.Pipe.SourceChannel#validOps() 64 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer) 74 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer) 87 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer) 105 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer [all...] |
UnixSelectorTest.java | 17 package org.apache.harmony.tests.java.nio.channels; 21 import java.nio.channels.SelectableChannel; 22 import java.nio.channels.SelectionKey; 23 import java.nio.channels.Selector; 24 import java.nio.channels.ServerSocketChannel; 25 import java.nio.channels.SocketChannel;
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
FileChannelTest.java | 17 package libcore.java.nio.channels; 26 import java.nio.channels.FileChannel;
|
OldServerSocketChannelTest.java | 18 package libcore.java.nio.channels; 23 import java.nio.channels.ClosedByInterruptException; 24 import java.nio.channels.ServerSocketChannel; 25 import java.nio.channels.SocketChannel; 26 import java.nio.channels.spi.SelectorProvider;
|
SelectorTest.java | 16 package libcore.java.nio.channels; 24 import java.nio.channels.NoConnectionPendingException; 25 import java.nio.channels.SelectionKey; 26 import java.nio.channels.Selector; 27 import java.nio.channels.ServerSocketChannel; 28 import java.nio.channels.SocketChannel;
|
ServerSocketChannelTest.java | 17 package libcore.java.nio.channels; 26 import java.nio.channels.AlreadyBoundException; 27 import java.nio.channels.ClosedChannelException; 28 import java.nio.channels.ServerSocketChannel; 29 import java.nio.channels.SocketChannel; 30 import java.nio.channels.UnresolvedAddressException; 31 import java.nio.channels.UnsupportedAddressTypeException;
|