/frameworks/base/lowpan/java/android/net/lowpan/ |
D | LowpanScanner.java | 62 private ArrayList<Integer> mChannelMask = null; field in LowpanScanner 91 mChannelMask = null; in setChannelMask() 93 if (mChannelMask == null) { in setChannelMask() 94 mChannelMask = new ArrayList<>(); in setChannelMask() 96 mChannelMask.clear(); in setChannelMask() 98 mChannelMask.addAll(mask); in setChannelMask() 108 return (Collection<Integer>) mChannelMask.clone(); in getChannelMask() 122 if (mChannelMask == null) { in addChannel() 123 mChannelMask = new ArrayList<>(); in addChannel() 125 mChannelMask.add(Integer.valueOf(channel)); in addChannel() [all …]
|
/frameworks/base/media/java/android/media/ |
D | AudioFormat.java | 706 mChannelMask = (propertySetMask & AUDIO_FORMAT_HAS_PROPERTY_CHANNEL_MASK) != 0 in AudioFormat() 752 private final int mChannelMask; field in AudioFormat 789 return mChannelMask; in getChannelMask() 861 private int mChannelMask = CHANNEL_INVALID; field in AudioFormat.Builder 878 mChannelMask = af.mChannelMask; in Builder() 893 mChannelMask, in build() 980 mChannelMask = channelMask; in setChannelMask() 1028 } else if (/* channelIndexMask != 0 && */ mChannelMask != 0 && in setChannelIndexMask() 1029 Integer.bitCount(channelIndexMask) != Integer.bitCount(mChannelMask)) { in setChannelIndexMask() 1073 && (mChannelMask != that.mChannelMask)) in equals() [all …]
|
D | AudioPortConfig.java | 40 private final int mChannelMask; field in AudioPortConfig 61 mChannelMask = channelMask; in AudioPortConfig() 86 return mChannelMask; in channelMask() 107 + ", mChannelMask: " + mChannelMask in toString()
|
D | AudioGainConfig.java | 36 private final int mChannelMask; field in AudioGainConfig 48 mChannelMask = channelMask; in AudioGainConfig() 74 return mChannelMask; in channelMask()
|
D | AudioGain.java | 64 private final int mChannelMask; field in AudioGain 80 mChannelMask = channelMask; in AudioGain() 101 return mChannelMask; in channelMask()
|
D | AudioRecord.java | 205 private int mChannelMask; field in AudioRecord 390 mChannelMask = getChannelMaskFromLegacyConfig(format.getChannelMask(), false); in AudioRecord() 393 mChannelMask = getChannelMaskFromLegacyConfig(AudioFormat.CHANNEL_IN_DEFAULT, false); in AudioRecord() 394 mChannelCount = AudioFormat.channelCountFromInChannelMask(mChannelMask); in AudioRecord() 405 mAudioAttributes, sampleRate, mChannelMask, mChannelIndexMask, in AudioRecord() 895 return mChannelMask; in getChannelConfiguration() 907 if (mChannelMask != AudioFormat.CHANNEL_INVALID) { in getFormat() 908 builder.setChannelMask(mChannelMask); in getFormat()
|
/frameworks/av/media/extractors/wav/ |
D | WAVExtractor.cpp | 111 mChannelMask(CHANNEL_MASK_USE_CHANNEL_ORDER) { in WAVExtractor() 254 mChannelMask = U32_LE_AT(&formatSpec[20]); in init() 255 ALOGV("numChannels=%d channelMask=0x%x", mNumChannels, mChannelMask); in init() 256 if ((mChannelMask >> 18) != 0) { in init() 257 ALOGE("invalid channel mask 0x%x", mChannelMask); in init() 261 if ((mChannelMask != CHANNEL_MASK_USE_CHANNEL_ORDER) in init() 262 && (popcount(mChannelMask) != mNumChannels)) { in init() 264 popcount(mChannelMask), mChannelMask); in init() 330 AMediaFormat_setInt32(mTrackMeta, AMEDIAFORMAT_KEY_CHANNEL_MASK, mChannelMask); in init()
|
D | WAVExtractor.h | 51 uint32_t mChannelMask; variable
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioIoDescriptor.h | 40 mSamplingRate(0), mFormat(AUDIO_FORMAT_DEFAULT), mChannelMask(AUDIO_CHANNEL_NONE), in AudioIoDescriptor() 66 audio_channel_mask_t mChannelMask; variable
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioPort.cpp | 158 mChannelMask = config->channel_mask; in applyAudioPortConfig() 197 updateField(mChannelMask, &audio_port_config::channel_mask, in toAudioPortConfig() 236 mChannelMask == other->getChannelMask() && in equals() 251 if ((status = parcel->writeUint32(mChannelMask)) != NO_ERROR) return status; in writeToParcel() 271 if ((status = parcel->readUint32(&mChannelMask)) != NO_ERROR) return status; in readFromParcel()
|
D | DeviceDescriptorBase.cpp | 55 if (mChannelMask != AUDIO_CHANNEL_NONE) { in toAudioPortConfig()
|
/frameworks/av/media/libaudioclient/ |
D | IAudioFlingerClient.cpp | 51 data.writeInt32(ioDesc->mChannelMask); in ioConfigChanged() 76 ioDesc->mChannelMask = (audio_channel_mask_t) data.readInt32(); in onTransact()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioOutputDescriptor.cpp | 46 mPolicyAudioPort->pickAudioProfile(mSamplingRate, mChannelMask, mFormat); in AudioOutputDescriptor() 55 const audio_config_base_t config = { .sample_rate = mSamplingRate, .channel_mask = mChannelMask, in getConfig() 241 dst->appendFormat(" Channels: %08x\n", mChannelMask); in dump() 268 indent, mId, mId, mSamplingRate, mFormat, mChannelMask); in log() 483 lConfig.channel_mask = mChannelMask; in open() 523 mChannelMask = lConfig.channel_mask; in open() 617 mChannelMask = output2->mChannelMask; in openDuplicating()
|
D | AudioInputDescriptor.cpp | 36 profile->pickAudioProfile(mSamplingRate, mChannelMask, mFormat); in AudioInputDescriptor() 204 const audio_config_base_t config = { .sample_rate = mSamplingRate, .channel_mask = mChannelMask, in getConfig() 219 lConfig.channel_mask = mChannelMask; in open() 248 mChannelMask = lConfig.channel_mask; in open() 518 dst->appendFormat(" Channels: %08x\n", mChannelMask); in dump()
|
/frameworks/av/media/libaudiofoundation/include/media/ |
D | AudioPort.h | 113 audio_channel_mask_t getChannelMask() const { return mChannelMask; } in getChannelMask() 126 audio_channel_mask_t mChannelMask = AUDIO_CHANNEL_NONE; variable
|
/frameworks/av/services/audioflinger/ |
D | FastMixerState.h | 48 audio_channel_mask_t mChannelMask; // AUDIO_CHANNEL_OUT_MONO or AUDIO_CHANNEL_OUT_STEREO member
|
D | FastMixerState.cpp | 27 mChannelMask(AUDIO_CHANNEL_OUT_STEREO), mFormat(AUDIO_FORMAT_INVALID), mGeneration(0) in FastTrack()
|
D | TrackBase.h | 220 audio_channel_mask_t channelMask() const { return mChannelMask; } in channelMask() 291 const audio_channel_mask_t mChannelMask; variable
|
D | Threads.cpp | 844 dprintf(fd, " Channel mask: 0x%08x (%s)\n", mChannelMask, in dumpBase_l() 845 channelMaskToString(mChannelMask, mType != RECORD).string()); in dumpBase_l() 1604 config->channel_mask = mChannelMask; in toAudioPortConfig() 1758 item->setInt64(MM_PREFIX "channelMask", (int64_t)mChannelMask); in sendStatistics() 2056 (channelMask == (mChannelMask | mHapticChannelMask) || in createTrack_l() 2057 mChannelMask != AUDIO_CHANNEL_OUT_STEREO || in createTrack_l() 2232 if (sampleRate != mSampleRate || format != mFormat || channelMask != mChannelMask) { in createTrack_l() 2243 if (sampleRate != mSampleRate || format != mFormat || channelMask != mChannelMask) { in createTrack_l() 2575 desc->mChannelMask = mChannelMask; in ioConfigChanged() 2638 mChannelMask = mOutput->getChannelMask(); in readOutputParameters_l() [all …]
|
D | FastMixer.cpp | 159 index, fastTrack->mChannelMask, fastTrack->mFormat, AUDIO_SESSION_OUTPUT_MIX); in updateMixerTrack() 163 __func__, index, fastTrack->mChannelMask, fastTrack->mFormat); in updateMixerTrack() 192 (void *)(uintptr_t)fastTrack->mChannelMask); in updateMixerTrack()
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.h | 61 audio_channel_mask_t channelMask() { return mChannelMask; } in channelMask() 79 audio_channel_mask_t mChannelMask; variable
|
/frameworks/av/media/libstagefright/codecs/xaacdec/ |
D | SoftXAAC.h | 115 int32_t mChannelMask; member
|
/frameworks/av/media/codec2/components/xaac/ |
D | C2SoftXaacDec.h | 82 int32_t mChannelMask; member
|
D | C2SoftXaacDec.cpp | 254 mChannelMask = 0; in onInit() 280 mChannelMask = 0; in onStop() 653 mSampFreq, mNumChannels, mPcmWdSz, mChannelMask, mOutputFrameLength); in configflushDecode() 987 mSampFreq, mNumChannels, mPcmWdSz, mChannelMask, mOutputFrameLength); in configXAACDecoder() 1415 &mChannelMask); in getXAACStreamInfo()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 88 jfieldID mChannelMask; member 114 jfieldID mChannelMask; member 142 jfieldID mChannelMask; member 785 jint jMask = env->GetIntField(jAudioGainConfig, gAudioGainConfigFields.mChannelMask); in convertAudioGainConfigToNative() 838 gAudioPortConfigFields.mChannelMask); in convertAudioPortConfigToNative() 1876 gAudioFormatFields.mChannelMask)); in convertAudioMixToNative() 2408 gAudioPortConfigFields.mChannelMask = GetFieldIDOrDie(env, audioPortConfigClass, in register_android_media_AudioSystem() 2451 gAudioGainConfigFields.mChannelMask = GetFieldIDOrDie(env, audioGainConfigClass, "mChannelMask", in register_android_media_AudioSystem() 2495 gAudioFormatFields.mChannelMask = GetFieldIDOrDie(env, audioFormatClass, "mChannelMask", "I"); in register_android_media_AudioSystem()
|