Searched refs:channels (Results 51 - 75 of 95) sorted by relevance

1234

/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskPositioner.java243 final InputChannel[] channels = InputChannel.openInputChannelPair(TAG);
244 mServerChannel = channels[0];
245 mClientChannel = channels[1];
H A DDragState.java143 InputChannel[] channels = InputChannel.openInputChannelPair("drag");
144 mServerChannel = channels[0];
145 mClientChannel = channels[1];
/frameworks/base/core/java/android/text/
H A DHyphenator.java29 import java.nio.channels.FileChannel;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
H A DChannelHelperTest.java52 * Compute a string representing the channels in a ScanSettings with a band set.
62 * Compute a string representing the channels in a ScanSettings with a list of channels set.
72 * Compute a string representing the channels in a BucketSettings with a band set.
82 * Compute a string representing the channels in a BucketSettings with a list of channels
116 * Verify adding channels from a WifiScanner.ScanSettings with channels
130 * Verify adding channels from a WifiScanner.ScanSettings with bands
143 * Verify adding channels fro
[all...]
H A DNoBandChannelHelperTest.java69 * 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 =
120 assertEquals("expected zero channels", 0, channels.length);
143 * check a settings object with no channels
156 * check a settings object with some channels
287 * Add a multiple channels to the collection
345 * Add a band that should contain all channels
365 * Add enough channels o
[all...]
H A DBaseWifiScannerImplTest.java98 protected Set<Integer> expectedBandAndChannelScanFreqs(int band, int... channels) { argument
101 for (int channel : channels) {
H A DBackgroundScanSchedulerTest.java452 * Add 2 background scan requests with different time intervals, but one of the setting channels
485 * Add 2 background scan requests with different time intervals, but one of the setting channels
518 * Add 2 background scan requests with different time intervals, but one of the setting channels
555 * Add 2 background scan requests with different time intervals, but one of the setting channels
602 * Add 2 background scan requests with different time intervals, but one of the setting channels
654 * Add 2 background scan requests with different time intervals, but one of the setting channels
684 * Add 2 background scan requests with different time intervals, but one of the setting channels
720 * Add 2 background scan requests with the second scan request having channels more than the
791 settings.channels);
806 assertTrue("num channels <
[all...]
/frameworks/av/include/media/
H A DMediaProfiles.h95 * aud.ch - number of audio channels
142 * enc.aud.ch.min - min number of channels
143 * enc.aud.ch.max - max number of channels
209 AudioCodec(audio_encoder codec, int bitRate, int sampleRate, int channels) argument
213 mChannels(channels) {}
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp31 // undefine to perform multi channels API functional tests
94 bool aux_channels_on; // support auxiliary channels
125 uint32_t revChannelCount; // number of channels on reverse stream
937 uint32_t inCnl = audio_channel_count_from_in_mask(config->inputCfg.channels);
938 uint32_t outCnl = audio_channel_count_from_in_mask(config->outputCfg.channels);
947 config->inputCfg.samplingRate, config->inputCfg.channels);
1055 config->inputCfg.channels = audio_channel_in_mask_from_count(session->inChannelCount);
1057 config->outputCfg.channels = audio_channel_in_mask_from_count(session->outChannelCount);
1071 config->inputCfg.samplingRate, config->inputCfg.channels);
1080 uint32_t inCnl = audio_channel_count_from_out_mask(config->inputCfg.channels);
[all...]
/frameworks/av/media/libstagefright/
H A DFLACExtractor.cpp94 return mStreamInfo.channels;
676 mWriteHeader.channels != getChannels() ||
680 mWriteHeader.sample_rate, mWriteHeader.channels, mWriteHeader.bits_per_sample);
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c223 if (pRvbModule->config.inputCfg.channels == pRvbModule->config.outputCfg.channels) {
465 pRvbModule->config.inputCfg.channels = AUDIO_CHANNEL_OUT_MONO;
467 pRvbModule->config.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO;
476 pRvbModule->config.outputCfg.channels = AUDIO_CHANNEL_OUT_STEREO;
520 || pConfig->outputCfg.channels != OUTPUT_CHANNELS
526 if ((pReverb->m_Aux && (pConfig->inputCfg.channels != AUDIO_CHANNEL_OUT_MONO)) ||
527 (!pReverb->m_Aux && (pConfig->inputCfg.channels != AUDIO_CHANNEL_OUT_STEREO))) {
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c137 Word16 channels, /*!< number of channels */
149 if ( sub(channels,2) == 0 ) {
204 Word16 channels, /*!< number of channels */
215 if ( sub(channels,2) == 0 ) {
135 InitTnsConfigurationLong(Word32 bitRate, Word32 sampleRate, Word16 channels, TNS_CONFIG *tC, PSY_CONFIGURATION_LONG *pC, Word16 active) argument
202 InitTnsConfigurationShort(Word32 bitRate, Word32 sampleRate, Word16 channels, TNS_CONFIG *tC, PSY_CONFIGURATION_SHORT *pC, Word16 active) argument
/frameworks/base/cmds/bootanimation/
H A DAudioPlayer.cpp270 config.channels = chunkFmt->num_channels;
/frameworks/base/core/java/android/speech/tts/
H A DFileSynthesisCallback.java26 import java.nio.channels.FileChannel;
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/loaders/
H A DLoaderRaw.java30 import java.nio.channels.FileChannel;
/frameworks/av/services/audioflinger/
H A DEffects.cpp338 mConfig.outputCfg.channels = channelMask;
341 mConfig.inputCfg.channels = AUDIO_CHANNEL_OUT_MONO;
343 mConfig.inputCfg.channels = channelMask;
347 mConfig.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO;
348 mConfig.outputCfg.channels = AUDIO_CHANNEL_OUT_STEREO;
1000 mConfig.inputCfg.channels,
1012 mConfig.outputCfg.channels,
H A DAudioMixer.cpp292 // resampler channels may have changed.
297 // recreate the resampler with updated format, channels, saved sampleRate.
776 // TODO: Remove MONO_HACK. Resampler sees #channels after the downmixer
781 " format(%#x) channels(%d) devSampleRate(%u) quality(%d)\n",
804 // TODO: Remove MONO_HACK. Resampler sees #channels after the downmixer
827 * if one channel requires ramping, all channels are ramped.
1618 " %p track %d, channels %d, needs %08x, volume %08x vfl %f vfr %f",
1692 static void volumeRampMulti(uint32_t channels, TO* out, size_t frameCount, argument
1695 switch (channels) {
1736 static void volumeMulti(uint32_t channels, T argument
1821 const uint32_t channels = t->mMixerChannelCount; local
[all...]
H A DBufferProviders.cpp158 mDownmixConfig.inputCfg.channels = inputChannelMask; // FIXME: Should be bits
159 mDownmixConfig.outputCfg.channels = outputChannelMask; // FIXME: should be bits
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp364 status_t StagefrightRecorder::setParamAudioNumberOfChannels(int32_t channels) { argument
365 ALOGV("setParamAudioNumberOfChannels: %d", channels);
366 if (channels <= 0 || channels >= 3) {
367 ALOGE("Invalid number of audio channels: %d", channels);
371 // Additional check on the number of channels will be performed later.
372 mAudioChannels = channels;
665 } else if (key == "audio-param-number-of-channels") {
1376 ALOGW("Intended number of audio channels (
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiConnectivityManager.java629 // Helper for setting the channels for connectivity scan when band is unspecified. Returns
642 settings.channels = new WifiScanner.ChannelSpec[freqs.size()];
644 settings.channels[index++] = new WifiScanner.ChannelSpec(freq);
648 localLog("No scan channels for " + config.configKey() + ". Perform full band scan");
/frameworks/wilhelm/src/
H A DAndroid.mk98 android/channels.c \
/frameworks/opt/net/wifi/service/jni/
H A Dwifi_hal_stub.h66 int band, int max_channels, wifi_channel *channels, int *num_channels);
/frameworks/base/graphics/java/android/graphics/
H A DTypeface.java32 import java.nio.channels.FileChannel;
/frameworks/base/services/core/java/com/android/server/
H A DPersistentDataBlockService.java45 import java.nio.channels.FileChannel;
/frameworks/opt/net/wifi/service/lib/
H A Dwifi_hal_stub.cpp49 /* List of all supported channels, including 5GHz channels */
129 int band, int max_channels, wifi_channel *channels, int *num_channels) {
128 wifi_get_valid_channels_stub(wifi_interface_handle handle, int band, int max_channels, wifi_channel *channels, int *num_channels) argument

Completed in 460 milliseconds

1234