Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioRoute.cpp30 if (mSources.size() != 0) { in dump()
32 for (size_t i = 0; i < mSources.size(); i++) { in dump()
33 dst->appendFormat("%*s%s \n", spaces + 4, "", mSources[i]->getTagName().c_str()); in dump()
46 for (const auto &sourcePort : mSources) { in supportsPatch()
/frameworks/base/media/java/android/media/
DAudioPatch.java36 private final AudioPortConfig[] mSources; field in AudioPatch
42 mSources = sources; in AudioPatch()
51 return mSources; in sources()
76 for (AudioPortConfig source : mSources) { in toString()
/frameworks/base/core/java/com/android/internal/app/procstats/
DAssociationState.java291 final ArrayMap<SourceKey, SourceState> mSources = new ArrayMap<>(); field in AssociationState
346 src = mSources.get(sTmpSourceKey); in startSource()
351 mSources.put(key, src); in startSource()
373 for (int isrc = other.mSources.size() - 1; isrc >= 0; isrc--) { in add()
374 final SourceKey key = other.mSources.keyAt(isrc); in add()
375 final SourceState otherSrc = other.mSources.valueAt(isrc); in add()
376 SourceState mySrc = mSources.get(key); in add()
380 mSources.put(key, mySrc); in add()
471 mSources.clear(); in resetSafely()
475 for (int isrc = mSources.size() - 1; isrc >= 0; isrc--) { in resetSafely()
[all …]
DProcessStats.java1487 ArrayList<Pair<AssociationState.SourceKey, AssociationState.SourceDumpContainer>> mSources; field in ProcessStats.AssociationDumpContainer
1699 cont.mSources = asc.createSortedAssociations(now, totalTime); in dumpLocked()
1725 cont.mSources, now, totalTime, in dumpLocked()
2385 final ArrayMap<SourceKey, SourceState> sources = assoc.mSources; in dumpFilteredAssociationStatesProtoForProc()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioRoute.h41 void setSources(const PolicyAudioPortVector &sources) { mSources = sources; } in setSources()
42 const PolicyAudioPortVector &getSources() const { return mSources; } in getSources()
66 PolicyAudioPortVector mSources;
/frameworks/av/media/libstagefright/
DMPEG2TSWriter.cpp516 mSources.push(info); in addSource()
529 for (size_t i = 0; i < mSources.size(); ++i) { in start()
535 mSources.editItemAt(i)->start(notify, param); in start()
544 for (size_t i = 0; i < mSources.size(); ++i) { in reset()
545 mSources.editItemAt(i)->stop(); in reset()
559 return !mStarted || (mNumSourcesDone == mSources.size() ? true : false); in reachedEOS()
573 sp<SourceInfo> source = mSources.editItemAt(sourceIndex); in onMessageReceived()
622 for (size_t i = 0; i < mSources.size(); ++i) { in onMessageReceived()
623 const sp<SourceInfo> &source = mSources.editItemAt(i); in onMessageReceived()
647 source = mSources.editItemAt(minIndex); in onMessageReceived()
[all …]
/frameworks/base/core/java/android/view/
DInputDevice.java63 private final int mSources; field in InputDevice
440 mSources = sources; in InputDevice()
458 mSources = in.readInt(); in InputDevice()
641 return (mSources & SOURCE_KEYBOARD) == SOURCE_KEYBOARD in isFullKeyboard()
658 return mSources; in getSources()
670 return (mSources & source) == source; in supportsSource()
977 out.writeInt(mSources); in writeToParcel()
1029 description.append(" Sources: 0x").append(Integer.toHexString(mSources)).append(" ("); in toString()
1059 if ((mSources & source) == source) { in appendSourceDescriptionIfApplicable()
/frameworks/native/libs/input/
DInputDevice.cpp159 mHasMic(other.mHasMic), mSources(other.mSources), in InputDeviceInfo()
178 mSources = 0; in initialize()
198 mSources |= source; in addSource()
/frameworks/av/media/libstagefright/rtsp/
DARTPConnection.cpp61 KeyedVector<uint32_t, sp<ARTPSource> > mSources; member
330 for (size_t i = 0; i < s->mSources.size(); ++i) { in onPollStreams()
331 sp<ARTPSource> source = s->mSources.valueAt(i); in onPollStreams()
626 ssize_t index = info->mSources.indexOfKey(srcId); in findSource()
628 index = info->mSources.size(); in findSource()
633 info->mSources.add(srcId, source); in findSource()
635 source = info->mSources.valueAt(index); in findSource()
/frameworks/native/include/input/
DInputDevice.h99 inline uint32_t getSources() const { return mSources; } in getSources()
137 uint32_t mSources; variable
/frameworks/base/packages/StatementService/src/com/android/statementservice/
DDirectStatementService.java226 private List<String> mSources; field in DirectStatementService.IsAssociatedCallable
233 mSources = sources; in IsAssociatedCallable()
267 for (String sourceString : mSources) { in call()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp100 mSources.clear(); in resetDataSource()
256 mSources.push(track); in initFromDataSource()
272 ALOGV("initFromDataSource mSources.size(): %zu mIsSecure: %d mime[0]: %s", mSources.size(), in initFromDataSource()
275 if (mSources.size() == 0) { in initFromDataSource()
648 const sp<IMediaSource> source = mSources.itemAt(trackIndex); in onMessageReceived()
943 return mSources.size(); in getTrackCount()
948 size_t trackCount = mSources.size(); in getTrackInfo()
954 sp<MetaData> meta = mSources.itemAt(trackIndex)->getFormat(); in getTrackInfo()
1031 if (trackIndex >= mSources.size()) { in selectTrack()
1053 const sp<IMediaSource> source = mSources.itemAt(trackIndex); in selectTrack()
[all …]
DGenericSource.h128 Vector<sp<IMediaSource> > mSources; member
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG2TSWriter.h66 Vector<sp<SourceInfo> > mSources; member
/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp44 mSources(0), in InputDevice()
211 mSources = 0; in configure()
312 mSources |= mapper.getSources(); in configure()
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h52 inline uint32_t getSources() const { return mSources; } in getSources()
131 uint32_t mSources; variable
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp951 uint32_t mSources; member in android::FakeInputMapper
970 mSources(sources), in FakeInputMapper()
1047 return mSources; in getSources()