Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioPatch.java33 private final AudioPortConfig[] mSources; field in AudioPatch
38 mSources = sources; in AudioPatch()
46 return mSources; in sources()
70 for (AudioPortConfig source : mSources) { in toString()
/frameworks/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/
DMediatorLiveData.java37 private SafeIterableMap<LiveData<?>, Source<?>> mSources = new SafeIterableMap<>(); field in MediatorLiveData
54 Source<?> existing = mSources.putIfAbsent(source, e); in addSource()
75 Source<?> source = mSources.remove(toRemote); in removeSource()
84 for (Map.Entry<LiveData<?>, Source<?>> source : mSources) { in onActive()
92 for (Map.Entry<LiveData<?>, Source<?>> source : mSources) { in onInactive()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioRoute.h41 void setSources(const AudioPortVector &sources) { mSources = sources; } in setSources()
42 const AudioPortVector &getSources() const { return mSources; } in getSources()
52 AudioPortVector 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/av/services/audiopolicy/common/managerdefinitions/src/
DAudioRoute.cpp39 if (mSources.size() != 0) { in dump()
42 for (size_t i = 0; i < mSources.size(); i++) { in dump()
43 snprintf(buffer, SIZE, "%*s%s \n", spaces + 4, "", mSources[i]->getTagName().string()); in dump()
/frameworks/base/core/java/android/view/
DInputDevice.java57 private final int mSources; field in InputDevice
420 mSources = sources; in InputDevice()
438 mSources = in.readInt(); in InputDevice()
623 return (mSources & SOURCE_KEYBOARD) == SOURCE_KEYBOARD in isFullKeyboard()
640 return mSources; in getSources()
652 return (mSources & source) == source; in supportsSource()
958 out.writeInt(mSources); in writeToParcel()
1010 description.append(" Sources: 0x").append(Integer.toHexString(mSources)).append(" ("); in toString()
1040 if ((mSources & source) == source) { in appendSourceDescriptionIfApplicable()
/frameworks/native/libs/input/
DInputDevice.cpp143 mHasMic(other.mHasMic), mSources(other.mSources), in InputDeviceInfo()
162 mSources = 0; in initialize()
182 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/rs/rsov/compiler/spirit/
Dmodule.cpp495 mSources.push_back(str); in DeserializeInternal()
497 mSources.push_back(src); in DeserializeInternal()
499 mSources.push_back(srcExt); in DeserializeInternal()
501 mSources.push_back(srcCont); in DeserializeInternal()
523 mSources.push_back(source); in addSource()
529 mSources.push_back(inst); in addSourceExtension()
535 mSources.push_back(source); in addString()
541 mSources.begin(), mSources.end(), [prefix](Instruction *inst) -> bool { in findStringOfPrefix()
549 if (it == mSources.end()) { in findStringOfPrefix()
Dmodule.h308 DebugInfoSection() : mSourcesDeleter(mSources), mNamesDeleter(mNames) {} in DebugInfoSection()
310 : Entity(b), mSourcesDeleter(mSources), mNamesDeleter(mNames) {} in DebugInfoSection()
326 for (auto source : mSources) { in accept()
336 std::vector<Instruction *> mSources;
/frameworks/native/include/input/
DInputDevice.h89 inline uint32_t getSources() const { return mSources; } in getSources()
127 uint32_t mSources; variable
/frameworks/base/packages/StatementService/src/com/android/statementservice/
DDirectStatementService.java223 private List<String> mSources; field in DirectStatementService.IsAssociatedCallable
230 mSources = sources; in IsAssociatedCallable()
264 for (String sourceString : mSources) { in call()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG2TSWriter.h66 Vector<sp<SourceInfo> > mSources; member
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.cpp230 mSources.push(track); in initFromDataSource()
246 ALOGV("initFromDataSource mSources.size(): %zu mIsSecure: %d mime[0]: %s", mSources.size(), in initFromDataSource()
249 if (mSources.size() == 0) { in initFromDataSource()
598 const sp<IMediaSource> source = mSources.itemAt(trackIndex); in onMessageReceived()
932 return mSources.size(); in getTrackCount()
964 size_t trackCount = mSources.size(); in doGetTrackInfo()
970 sp<MetaData> meta = mSources.itemAt(trackIndex)->getFormat(); in doGetTrackInfo()
1100 if (trackIndex >= mSources.size()) { in doSelectTrack()
1122 const sp<IMediaSource> source = mSources.itemAt(trackIndex); in doSelectTrack()
1136 track->mSource = mSources.itemAt(trackIndex); in doSelectTrack()
DGenericSource.h211 Vector<sp<IMediaSource> > mSources; member
/frameworks/native/services/inputflinger/
DInputReader.h559 inline uint32_t getSources() const { return mSources; } in getSources()
633 uint32_t mSources; variable
DInputReader.cpp1041 mSources(0), mIsExternal(false), mHasMic(false), mDropUntilNextSync(false) { in InputDevice()
1116 mSources = 0; in configure()
1153 mSources |= mapper->getSources(); in configure()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp900 uint32_t mSources; member in android::FakeInputMapper
916 mSources(sources), mKeyboardType(AINPUT_KEYBOARD_TYPE_NONE), in FakeInputMapper()
970 return mSources; in getSources()