Home
last modified time | relevance | path

Searched refs:mChannels (Results 1 – 17 of 17) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DNoBandChannelHelper.java73 private final ArraySet<Integer> mChannels = new ArraySet<Integer>(); field in NoBandChannelHelper.NoBandChannelCollection
78 mChannels.add(frequency); in addChannel()
90 return mAllChannels || mChannels.contains(channel); in containsChannel()
111 return !mAllChannels && mChannels.isEmpty(); in isEmpty()
122 mChannels.clear(); in clear()
144 return mChannels; in getChannelSet()
152 if (mAllChannels || mChannels.size() > maxChannels) { in fillBucketSettings()
158 bucketSettings.num_channels = mChannels.size(); in fillBucketSettings()
159 bucketSettings.channels = new WifiNative.ChannelSettings[mChannels.size()]; in fillBucketSettings()
160 for (int i = 0; i < mChannels.size(); ++i) { in fillBucketSettings()
[all …]
DKnownBandsChannelHelper.java141 private final ArraySet<Integer> mChannels = new ArraySet<Integer>(); field in KnownBandsChannelHelper.KnownBandsChannelCollection
154 mChannels.add(frequency); in addChannel()
164 mChannels.add(bandChannels[i].frequency); in addBand()
170 return mChannels.contains(channel); in containsChannel()
177 if (!mChannels.contains(bandChannels[i].frequency)) { in containsBand()
188 if (mChannels.contains(bandChannels[i].frequency)) { in partiallyContainsBand()
197 return mChannels.isEmpty(); in isEmpty()
203 mChannels.size(); in isAllChannels()
210 mChannels.clear(); in clear()
218 if (!mChannels.contains(bandChannels[i].frequency)) { in getMissingChannelsFromBand()
[all …]
/frameworks/av/media/libstagefright/codecs/aacenc/
DAACEncoder.cpp48 CHECK(mMeta->findInt32(kKeyChannelCount, &mChannels)); in initCheck()
49 CHECK(mChannels <= 2 && mChannels >= 1); in initCheck()
86 params.nChannels = mChannels; in initCheck()
115 mSampleRate, mBitRate, mChannels); in setAudioSpecificConfigData()
119 if (mChannels > 2 || mChannels <= 0) { in setAudioSpecificConfigData()
120 ALOGE("Unsupported number of channels(%d)", mChannels); in setAudioSpecificConfigData()
126 mAudioSpecificConfigData[1] = ((index & 0x01) << 7) | (mChannels << 3); in setAudioSpecificConfigData()
151 mInputFrame = new int16_t[mChannels * kNumSamplesPerFrame]; in start()
240 const int32_t nSamples = mChannels * kNumSamplesPerFrame; in read()
/frameworks/base/core/java/android/app/
DNotificationChannelGroup.java55 private List<NotificationChannel> mChannels = new ArrayList<>(); field in NotificationChannelGroup
82 in.readParcelableList(mChannels, NotificationChannel.class.getClassLoader()); in NotificationChannelGroup()
101 dest.writeParcelableList(mChannels, flags); in writeToParcel()
124 return mChannels; in getChannels()
131 mChannels.add(channel); in addChannel()
208 ", mChannels=" + mChannels + in toString()
/frameworks/base/core/java/android/service/notification/
DNotificationRankingUpdate.java34 private final Bundle mChannels; field in NotificationRankingUpdate
51 mChannels = channels; in NotificationRankingUpdate()
66 mChannels = in.readBundle(); in NotificationRankingUpdate()
86 out.writeBundle(mChannels); in writeToParcel()
132 return mChannels; in getChannels()
DNotificationListenerService.java1526 private ArrayMap<String, NotificationChannel> mChannels;
1640 if (mChannels == null) { in getChannel()
1644 return mChannels.get(key); in getChannel()
1741 mChannels = new ArrayMap<>(channels.size()); in buildChannelsLocked()
1743 mChannels.put(key, channels.getParcelable(key)); in buildChannelsLocked()
/frameworks/av/media/libaudioprocessing/tests/
Dtest_utils.h245 mChannels(0)
259 createChirp<T>(mAddr, mNumFrames, mChannels, mSampleRate, minfreq, maxfreq);
267 createSine<T>(mAddr, mNumFrames, mChannels, mSampleRate, freq);
293 mChannels = channels;
294 mFrameSize = mChannels * sizeof(T);
305 return mChannels;
310 uint32_t mChannels;
/frameworks/base/media/jni/soundpool/
DSoundPool.cpp76 mChannels.push_back(&mChannelPool[i]); in SoundPool()
91 mChannels.clear(); in ~SoundPool()
294 if (!mChannels.empty()) { in allocateChannel_l()
295 for (iter = mChannels.begin(); iter != mChannels.end(); ++iter) { in allocateChannel_l()
298 mChannels.erase(iter); in allocateChannel_l()
306 if (!channel && !mChannels.empty()) { in allocateChannel_l()
307 iter = mChannels.begin(); in allocateChannel_l()
310 mChannels.erase(iter); in allocateChannel_l()
318 for (iter = mChannels.begin(); iter != mChannels.end(); ++iter) { in allocateChannel_l()
323 mChannels.insert(iter, channel); in allocateChannel_l()
[all …]
DSoundPool.h218 List<SoundChannel*> mChannels; variable
/frameworks/av/services/audioflinger/
DBufLog.cpp115 size_t maxBytes = 0) : mId(id), mFormat(format), mChannels(channels), in BufLogStream()
125 mFormat, mChannels, mSamplingRate, mMaxBytes); in BufLogStream()
137 mId, mTag, mFormat, mChannels, mSamplingRate); in BufLogStream()
DBufLog.h142 const unsigned int mChannels; variable
/frameworks/av/media/libmedia/include/media/
DMediaProfiles.h238 mChannels(channels) {} in AudioCodec()
244 mChannels = copy.mChannels; in AudioCodec()
252 int mChannels; member
/frameworks/av/include/media/
DMediaProfiles.h238 mChannels(channels) {} in AudioCodec()
244 mChannels = copy.mChannels; in AudioCodec()
252 int mChannels; member
/frameworks/av/media/libstagefright/include/
DAACEncoder.h52 int32_t mChannels; variable
/frameworks/av/media/libstagefright/
DFLACExtractor.cpp595 unsigned mChannels; in init() member
610 if (table[i].mChannels >= getChannels() && in init()
/frameworks/av/media/libmedia/
DMediaProfiles.cpp120 ALOGV("number of channels: %d", codec.mChannels); in logAudioCodec()
1038 if (!strcmp("aud.ch", name)) return mCamcorderProfiles[index]->mAudioCodec->mChannels; in getCamcorderProfileParamByName()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputManagerService.java2392 private final InputChannel[] mChannels; field in TvInputManagerService.SessionCallback
2396 mChannels = channels; in SessionCallback()
2409 mSessionState.inputId, mSessionState.sessionToken, mChannels[0], in onSessionCreated()
2416 mChannels[0].dispose(); in onSessionCreated()