Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/
DInsetsState.java120 private final ArrayMap<Integer, InsetsSource> mSources = new ArrayMap<>(); field in InsetsState
159 InsetsSource source = mSources.get(type); in calculateInsets()
253 return mSources.computeIfAbsent(type, InsetsSource::new); in getSource()
271 mSources.remove(type); in removeSource()
280 mSources.clear(); in set()
282 for (int i = 0; i < other.mSources.size(); i++) { in set()
283 InsetsSource source = other.mSources.valueAt(i); in set()
284 mSources.put(source.getType(), new InsetsSource(source)); in set()
287 mSources.putAll(other.mSources); in set()
292 mSources.put(source.getType(), source); in addSource()
[all …]
DInputDevice.java60 private final int mSources; field in InputDevice
424 mSources = sources; in InputDevice()
442 mSources = in.readInt(); in InputDevice()
625 return (mSources & SOURCE_KEYBOARD) == SOURCE_KEYBOARD in isFullKeyboard()
642 return mSources; in getSources()
654 return (mSources & source) == source; in supportsSource()
961 out.writeInt(mSources); in writeToParcel()
1013 description.append(" Sources: 0x").append(Integer.toHexString(mSources)).append(" ("); in toString()
1043 if ((mSources & source) == source) { in appendSourceDescriptionIfApplicable()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioRoute.cpp31 if (mSources.size() != 0) { in dump()
33 for (size_t i = 0; i < mSources.size(); i++) { in dump()
34 dst->appendFormat("%*s%s \n", spaces + 4, "", mSources[i]->getTagName().string()); 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.java240 private final ArrayMap<SourceKey, SourceState> mSources = new ArrayMap<>(); field in AssociationState
285 SourceState src = mSources.get(mTmpSourceKey); in startSource()
289 mSources.put(key, src); in startSource()
301 for (int isrc = other.mSources.size() - 1; isrc >= 0; isrc--) { in add()
302 final SourceKey key = other.mSources.keyAt(isrc); in add()
303 final SourceState otherSrc = other.mSources.valueAt(isrc); in add()
304 SourceState mySrc = mSources.get(key); in add()
307 mSources.put(key, mySrc); in add()
363 mSources.clear(); in resetSafely()
366 for (int isrc = mSources.size() - 1; isrc >= 0; isrc--) { in resetSafely()
[all …]
/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()
65 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/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/rs/rsov/compiler/spirit/
Dmodule.cpp496 mSources.push_back(str); in DeserializeInternal()
498 mSources.push_back(src); in DeserializeInternal()
500 mSources.push_back(srcExt); in DeserializeInternal()
502 mSources.push_back(srcCont); in DeserializeInternal()
524 mSources.push_back(source); in addSource()
530 mSources.push_back(inst); in addSourceExtension()
536 mSources.push_back(source); in addString()
542 mSources.begin(), mSources.end(), [prefix](Instruction *inst) -> bool { in findStringOfPrefix()
550 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/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()
259 mSources.push(track); in initFromDataSource()
275 ALOGV("initFromDataSource mSources.size(): %zu mIsSecure: %d mime[0]: %s", mSources.size(), in initFromDataSource()
278 if (mSources.size() == 0) { in initFromDataSource()
658 const sp<IMediaSource> source = mSources.itemAt(trackIndex); in onMessageReceived()
953 return mSources.size(); in getTrackCount()
958 size_t trackCount = mSources.size(); in getTrackInfo()
964 sp<MetaData> meta = mSources.itemAt(trackIndex)->getFormat(); in getTrackInfo()
1041 if (trackIndex >= mSources.size()) { in selectTrack()
1063 const sp<IMediaSource> source = mSources.itemAt(trackIndex); in selectTrack()
[all …]
DGenericSource.h127 Vector<sp<IMediaSource> > mSources; member
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG2TSWriter.h66 Vector<sp<SourceInfo> > mSources; member
/frameworks/native/services/inputflinger/
DInputReader.h258 inline uint32_t getSources() const { return mSources; } in getSources()
336 uint32_t mSources; variable
DInputReader.cpp987 mSources(0), mIsExternal(false), mHasMic(false), mDropUntilNextSync(false) { in InputDevice()
1068 mSources = 0; in configure()
1117 mSources |= mapper->getSources(); in configure()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp862 uint32_t mSources; member in android::FakeInputMapper
879 mSources(sources), mKeyboardType(AINPUT_KEYBOARD_TYPE_NONE), in FakeInputMapper()
933 return mSources; in getSources()