Home
last modified time | relevance | path

Searched refs:itemAt (Results 1 – 25 of 98) sorted by relevance

1234

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp64 mDeviceTypes |= itemAt(i)->type(); in refreshTypes()
72 if (item->equals(itemAt(i))) { in indexOf()
82 sp<DeviceDescriptor> device = devices.itemAt(i); in add()
124 if (itemAt(i)->getModuleHandle() == moduleHandle) { in getDevicesFromHwModule()
125 devices |= itemAt(i)->type(); in getDevicesFromHwModule()
135 if (itemAt(i)->type() == type) { in getDevice()
136 if (address == "" || itemAt(i)->mAddress == address) { in getDevice()
137 device = itemAt(i); in getDevice()
138 if (itemAt(i)->mAddress == address) { in getDevice()
153 if (itemAt(i)->getId() == id) { in getDeviceFromId()
[all …]
DHwModule.cpp259 if (strcmp(itemAt(i)->getName(), name) == 0) { in getModuleFromName()
260 return itemAt(i); in getModuleFromName()
272 if (itemAt(i)->getHandle() == 0) { in getModuleForDevice()
276 for (size_t j = 0; j < itemAt(i)->mOutputProfiles.size(); j++) in getModuleForDevice()
278 if (itemAt(i)->mOutputProfiles[j]->supportDevice(device)) { in getModuleForDevice()
279 return itemAt(i); in getModuleForDevice()
283 for (size_t j = 0; j < itemAt(i)->mInputProfiles.size(); j++) { in getModuleForDevice()
284 if (itemAt(i)->mInputProfiles[j]->supportDevice(device)) { in getModuleForDevice()
285 return itemAt(i); in getModuleForDevice()
305 const sp<HwModule> hwModule = itemAt(i); in getDeviceDescriptor()
[all …]
DAudioCollections.cpp32 if (itemAt(i)->getTagName() == tagName) { in findByTagName()
33 port = itemAt(i); in findByTagName()
53 itemAt(i)->dump(fd, 4); in dump()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfile.h175 const sp<AudioProfile> &profile = itemAt(profileIndex); in addProfileFromHal()
188 if (itemAt(i)->isValid()) { in getFirstValidProfile()
189 return itemAt(i); in getFirstValidProfile()
209 if (itemAt(i)->hasValidFormat()) { in getSupportedFormats()
210 supportedFormats.add(itemAt(i)->getFormat()); in getSupportedFormats()
219 if (itemAt(i)->isDynamic()) { in hasDynamicProfile()
234 sp<AudioProfile> profile = itemAt(i); in hasDynamicChannelsFor()
245 sp<AudioProfile> profile = itemAt(i); in hasDynamicRateFor()
275 sp<AudioProfile> profile = itemAt(--i); in clearProfiles()
294 itemAt(i)->dump(fd, spaces + 8); in dump()
[all …]
/frameworks/wilhelm/src/itf/
DIStreamInformation.cpp35 *info = thiz->mStreamInfoTable.itemAt(0).containerInfo; in IStreamInformation_QueryMediaContainerInformation()
74 XAuint32 nbStreams = thiz->mStreamInfoTable.itemAt(0).containerInfo.numStreams; in IStreamInformation_QueryStreamType()
78 *domain = thiz->mStreamInfoTable.itemAt(streamIndex).domain; in IStreamInformation_QueryStreamType()
111 XAuint32 nbStreams = thiz->mStreamInfoTable.itemAt(0).containerInfo.numStreams; in IStreamInformation_QueryStreamInformation()
115 const StreamInfo& streamInfo = thiz->mStreamInfoTable.itemAt((size_t)streamIndex); in IStreamInformation_QueryStreamInformation()
175 XAuint32 nbStreams = thiz->mStreamInfoTable.itemAt(0).containerInfo.numStreams; in IStreamInformation_QueryStreamName()
249 *numStreams = thiz->mStreamInfoTable.itemAt(0).containerInfo.numStreams; in IStreamInformation_QueryActiveStreams()
/frameworks/base/libs/androidfw/
DAssetManager.cpp408 assetName.string(), mAssetPaths.itemAt(i).path.string()); in open()
409 Asset* pAsset = openNonAssetInPathLocked(assetName.string(), mode, mAssetPaths.itemAt(i)); in open()
436 … ALOGV("Looking for non-asset '%s' in '%s'\n", fileName, mAssetPaths.itemAt(i).path.string()); in openNonAsset()
438 fileName, mode, mAssetPaths.itemAt(i)); in openNonAsset()
458 mAssetPaths.itemAt(which).path.string()); in openNonAsset()
460 fileName, mode, mAssetPaths.itemAt(which)); in openNonAsset()
612 bool empty = appendPathToResTable(mAssetPaths.itemAt(i)); in getResTable()
934 const asset_path& ap = mAssetPaths.itemAt(i); in openDir()
948 pMergedInfo->itemAt(i).getFileType(), in openDir()
949 (const char*) pMergedInfo->itemAt(i).getFileName()); in openDir()
[all …]
DAssetDir.cpp50 cmp = strcmp(pVector->itemAt(cur).getFileName(), fileName); in findEntry()
/frameworks/base/libs/androidfw/include/androidfw/
DAssetDir.h54 return mFileInfo->itemAt(idx).getFileName(); in getFileName()
57 return mFileInfo->itemAt(idx).getSourceName(); in getSourceName()
64 return mFileInfo->itemAt(idx).getFileType(); in getFileType()
/frameworks/av/media/libstagefright/wifi-display/source/
DTSPacketizer.cpp180 size += mCSD.itemAt(i)->size(); in prependCSD()
186 const sp<ABuffer> &csd = mCSD.itemAt(i); in prependCSD()
201 const uint8_t *codec_specific_data = mCSD.itemAt(0)->data(); in prependADTSHeader()
247 return mDescriptors.itemAt(index); in descriptorAt()
266 const sp<ABuffer> &sps = mCSD.itemAt(0); in finalize()
422 const sp<Track> &track = mTracks.itemAt(i); in addTrack()
447 const sp<Track> &track = mTracks.itemAt(trackIndex); in extractCSDIfNecessary()
471 const sp<Track> &track = mTracks.itemAt(trackIndex); in packetize()
771 program_info_length += mProgramInfoDescriptors.itemAt(i)->size(); in packetize()
779 const sp<ABuffer> &desc = mProgramInfoDescriptors.itemAt(i); in packetize()
[all …]
/frameworks/base/tools/aapt/
DWorkQueue.cpp84 delete mWorkUnits.itemAt(i); in cancelLocked()
109 mWorkThreads.itemAt(i)->join(); in finish()
126 workUnit = mWorkUnits.itemAt(0); in threadLoop()
DXMLNode.cpp428 const namespace_entry& ne = namespaces.itemAt(i); in build_namespace()
717 const attribute_entry& ae(mAttributes.itemAt(i)); in getAttribute()
729 const attribute_entry& ae(mAttributes.itemAt(i)); in removeAttribute()
780 sp<XMLNode> found = mChildren.itemAt(i)->searchElement(tagNamespace, tagName); in searchElement()
792 sp<XMLNode> child = mChildren.itemAt(i); in getChildElement()
882 String8(mAttributes.itemAt(attrIdx).name).string(), in setAttributeResID()
883 String8(mAttributes.itemAt(attrIdx).string).string(), in setAttributeResID()
934 sp<XMLNode> node = mChildren.itemAt(i); in removeWhitespace()
1005 status_t err = mChildren.itemAt(i)->parseValues(assets, table); in parseValues()
1023 const attribute_entry& e = mAttributes.itemAt(i); in assignResourceIds()
[all …]
/frameworks/base/libs/hwui/
DFboCache.cpp55 const GLuint fbo = mCache.itemAt(i); in clear()
64 fbo = mCache.itemAt(mCache.size() - 1); in get()
/frameworks/wilhelm/src/android/
DVideoCodec_to_android.cpp97 MediaCodecInfo::ProfileLevel profileLevel = profileLevels.itemAt(i); in android_videoCodec_expose()
188 mProfileLevels.itemAt(plIndex).mProfile); in android_videoCodec_getProfileLevelCombination()
190 mProfileLevels.itemAt(plIndex).mLevel); in android_videoCodec_getProfileLevelCombination()
/frameworks/av/media/libmedia/
DMediaCodecInfo.cpp91 parcel->writeInt32(mProfileLevels.itemAt(i).mProfile); in writeToParcel()
92 parcel->writeInt32(mProfileLevels.itemAt(i).mLevel); in writeToParcel()
97 parcel->writeInt32(mColorFormats.itemAt(i)); in writeToParcel()
126 if (mQuirks.itemAt(ix).equalsIgnoreCase(name)) { in hasQuirk()
184 mQuirks.itemAt(i).writeToParcel(parcel); in writeToParcel()
DIMediaExtractor.cpp249 const String8 desc = trackDescriptions.itemAt(i); in toString()
251 wp<IMediaSource> wSource = tracks.itemAt(i); in toString()
318 const ExtractorInstance &instance = sExtractors.itemAt(i); in dumpExtractors()
/frameworks/base/core/jni/
Dandroid_os_UEventObserver.cpp48 const String8& match = gMatches.itemAt(i); in isMatch()
99 if (gMatches.itemAt(i) == match.c_str()) { in nativeRemoveMatch()
/frameworks/native/libs/binder/
DPermissionCache.cpp45 *granted = mCache.itemAt(index).granted; in check()
57 e.name = mPermissionNamesPool.itemAt(index); in cache()
DBpBinder.cpp220 const Obituary& obit = mObituaries->itemAt(i); in unlinkToDeath()
225 *outRecipient = mObituaries->itemAt(i).recipient; in unlinkToDeath()
269 reportOneDeath(obits->itemAt(i)); in sendObituary()
/frameworks/base/libs/input/
DPointerController.cpp136 delete mLocked.spots.itemAt(i); in ~PointerController()
330 Spot* spot = mLocked.spots.itemAt(i); in setSpots()
555 Spot* spot = mLocked.spots.itemAt(i); in doFadingAnimationLocked()
665 Spot* spot = mLocked.spots.itemAt(i); in getSpotLocked()
678 spot = mLocked.spots.itemAt(0); in createAndAddSpotLocked()
701 Spot* spot = mLocked.spots.itemAt(i); in removeFirstFadingSpotLocked()
729 Spot* spot = mLocked.spots.itemAt(i); in fadeOutAndReleaseAllSpotsLocked()
/frameworks/av/drm/common/
DDrmSupportInfo.cpp51 const String8 item = mMimeTypeVector.itemAt(i); in isSupportedMimeType()
62 const String8 item = mFileSuffixVector.itemAt(i); in isSupportedFileSuffix()
/frameworks/av/media/img_utils/src/
DSortedEntryVector.cpp30 if (itemAt(i)->getTag() == tag) { in indexOfTag()
/frameworks/av/media/libstagefright/httplive/
DM3UParser.cpp215 const Media &item = mMediaItems.itemAt(index); in getTrackInfo()
233 const Media &item = mMediaItems.itemAt(i); in getActiveURI()
310 bool M3UParser::itemAt(size_t index, AString *uri, sp<AMessage> *meta) { in itemAt() function in android::M3UParser
324 *uri = mItems.itemAt(index).mURI; in itemAt()
328 *meta = mItems.itemAt(index).mMeta; in itemAt()
425 sp<AMessage> meta = mItems.itemAt(index).mMeta; in getTypeURI()
430 *uri = mItems.itemAt(index).mURI; in getTypeURI()
466 *uri = mItems.itemAt(index).mURI; in getTypeURI()
705 sp<AMessage> meta = mItems.itemAt(i).mMeta; in parse()
/frameworks/base/media/jni/
Dandroid_media_MediaCodecList.cpp137 jstring obj = env->NewStringUTF(types.itemAt(i).c_str()); in android_media_MediaCodecList_getSupportedTypes()
222 const MediaCodecInfo::ProfileLevel &src = profileLevels.itemAt(i); in android_media_MediaCodecList_getCodecCapabilities()
238 jint val = colorFormats.itemAt(i); in android_media_MediaCodecList_getCodecCapabilities()
/frameworks/native/libs/input/
DInputTransport.cpp543 next = &batch.samples.itemAt(0); in consumeBatch()
644 const TouchState& touchState = mTouchStates.itemAt(index); in updateTouchState()
654 const TouchState& touchState = mTouchStates.itemAt(index); in updateTouchState()
831 const SeqChain& seqChain = mSeqChains.itemAt(i); in sendFinishedSignal()
880 const Batch& batch = mBatches.itemAt(i); in findBatch()
881 const InputMessage& head = batch.samples.itemAt(0); in findBatch()
891 const TouchState& touchState = mTouchStates.itemAt(i); in findTouchState()
954 const InputMessage& head = batch.samples.itemAt(0); in canAddSample()
973 && batch.samples.itemAt(index).body.motion.eventTime <= time) { in findSampleNoLaterThan()
DInput.cpp332 if (mPointerProperties.itemAt(i).id == pointerId) { in findPointerIndex()
496 const PointerProperties& properties = mPointerProperties.itemAt(i); in writeToParcel()
503 parcel->writeInt64(mSampleEventTimes.itemAt(h)); in writeToParcel()
549 delete mKeyEventPool.itemAt(i); in ~PooledInputEventFactory()
552 delete mMotionEventPool.itemAt(i); in ~PooledInputEventFactory()

1234