Home
last modified time | relevance | path

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

1234

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyMix.cpp78 const sp<AudioPolicyMix>& registeredMix = itemAt(i); in registerMix()
101 const sp<AudioPolicyMix>& registeredMix = itemAt(i); in unregisterMix()
124 if (itemAt(i)->mDeviceAddress.compare(address) == 0) { in getAudioPolicyMix()
125 policyMix = itemAt(i); in getAudioPolicyMix()
140 sp<AudioPolicyMix> policyMix = itemAt(i); in closeOutput()
156 sp<AudioPolicyMix> policyMix = itemAt(i); in getOutputForAttr()
342 if (itemAt(i)->getOutput() == output) { in getDeviceAndMixForOutput()
344 audio_devices_t deviceType = itemAt(i)->mDeviceType; in getDeviceAndMixForOutput()
345 String8 address = itemAt(i)->mDeviceAddress; in getDeviceAndMixForOutput()
360 AudioPolicyMix *mix = itemAt(i).get(); in getDeviceAndMixForInputSource()
[all …]
DDeviceDescriptor.cpp185 mDeviceTypes.insert(itemAt(i)->type()); in refreshTypes()
193 if (itemAt(i)->equals(item)) { // item may be null sp<>, i.e. AUDIO_DEVICE_NONE in indexOf()
267 if (itemAt(i)->type() == type) { in getDevice()
271 if (((address == "" || (itemAt(i)->address().compare(address.c_str()) == 0)) && in getDevice()
273 (itemAt(i)->supportsFormat(format) && format != AUDIO_FORMAT_DEFAULT)) { in getDevice()
274 device = itemAt(i); in getDevice()
275 if (itemAt(i)->address().compare(address.c_str()) == 0) { in getDevice()
305 if (types.count(itemAt(i)->type()) != 0) { in getDevicesFromTypes()
306 devices.add(itemAt(i)); in getDevicesFromTypes()
308 __func__, itemAt(i)->type(), itemAt(i).get()); in getDevicesFromTypes()
[all …]
DAudioCollections.cpp46 audioRouteVector.itemAt(i)->dump(dst, 4); in dumpAudioRouteVector()
/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.cpp452 assetName.string(), mAssetPaths.itemAt(i).path.string()); in open()
481 … ALOGV("Looking for non-asset '%s' in '%s'\n", fileName, mAssetPaths.itemAt(i).path.string()); in openNonAsset()
503 mAssetPaths.itemAt(which).path.string()); in openNonAsset()
994 const asset_path& ap = mAssetPaths.itemAt(i); in openDir()
1008 pMergedInfo->itemAt(i).getFileType(), in openDir()
1009 (const char*) pMergedInfo->itemAt(i).getFileName()); in openDir()
1043 const asset_path& ap = mAssetPaths.itemAt(which); in openNonAssetDir()
1057 pMergedInfo->itemAt(i).getFileType(), in openNonAssetDir()
1058 (const char*) pMergedInfo->itemAt(i).getFileName()); in openNonAssetDir()
1103 name = pContents->itemAt(i).getFileName().string(); in scanAndMergeDirLocked()
[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/base/tools/aapt/
DXMLNode.cpp425 const namespace_entry& ne = namespaces.itemAt(i); in build_namespace()
714 const attribute_entry& ae(mAttributes.itemAt(i)); in getAttribute()
726 const attribute_entry& ae(mAttributes.itemAt(i)); in removeAttribute()
777 sp<XMLNode> found = mChildren.itemAt(i)->searchElement(tagNamespace, tagName); in searchElement()
789 sp<XMLNode> child = mChildren.itemAt(i); in getChildElement()
879 String8(mAttributes.itemAt(attrIdx).name).string(), in setAttributeResID()
880 String8(mAttributes.itemAt(attrIdx).string).string(), in setAttributeResID()
931 sp<XMLNode> node = mChildren.itemAt(i); in removeWhitespace()
1002 status_t err = mChildren.itemAt(i)->parseValues(assets, table); in parseValues()
1020 const attribute_entry& e = mAttributes.itemAt(i); in assignResourceIds()
[all …]
DWorkQueue.cpp84 delete mWorkUnits.itemAt(i); in cancelLocked()
109 mWorkThreads.itemAt(i)->join(); in finish()
126 workUnit = mWorkUnits.itemAt(0); in threadLoop()
DResourceTable.cpp2584 sp<Package> p = mOrderedPackages.itemAt(pi); in assignResourceIds()
2604 sp<Type> t = p->getOrderedTypes().itemAt(ti); in assignResourceIds()
2610 sp<ConfigList> c = t->getOrderedConfigs().itemAt(ci); in assignResourceIds()
2647 sp<Type> t = p->getOrderedTypes().itemAt(ti); in assignResourceIds()
2664 sp<ConfigList> c = t->getOrderedConfigs().itemAt(ei); in assignResourceIds()
2675 sp<Type> t = p->getOrderedTypes().itemAt(ti); in assignResourceIds()
2682 sp<ConfigList> c = t->getOrderedConfigs().itemAt(ci); in assignResourceIds()
2712 sp<Package> p = mOrderedPackages.itemAt(pi); in addSymbols()
2722 sp<Type> t = p->getOrderedTypes().itemAt(ti); in addSymbols()
2740 sp<ConfigList> c = t->getOrderedConfigs().itemAt(ci); in addSymbols()
[all …]
/frameworks/wilhelm/src/android/
DVideoCodec_to_android.cpp98 MediaCodecInfo::ProfileLevel profileLevel = profileLevels.itemAt(i); in android_videoCodec_expose()
189 mProfileLevels.itemAt(plIndex).mProfile); in android_videoCodec_getProfileLevelCombination()
191 mProfileLevels.itemAt(plIndex).mLevel); in android_videoCodec_getProfileLevelCombination()
/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.cpp295 const Obituary& obit = mObituaries->itemAt(i); in unlinkToDeath()
300 *outRecipient = mObituaries->itemAt(i).recipient; in unlinkToDeath()
344 reportOneDeath(obits->itemAt(i)); in sendObituary()
/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/libstagefright/httplive/
DM3UParser.cpp218 const Media &item = mMediaItems.itemAt(index); in getTrackInfo()
236 const Media &item = mMediaItems.itemAt(i); in getActiveURI()
317 bool M3UParser::itemAt(size_t index, AString *uri, sp<AMessage> *meta) { in itemAt() function in android::M3UParser
331 *uri = mItems.itemAt(index).makeURL(mBaseURI.c_str()); in itemAt()
335 *meta = mItems.itemAt(index).mMeta; in itemAt()
432 sp<AMessage> meta = mItems.itemAt(index).mMeta; in getTypeURI()
437 *uri = mItems.itemAt(index).makeURL(mBaseURI.c_str()); in getTypeURI()
473 *uri = mItems.itemAt(index).makeURL(mBaseURI.c_str()); in getTypeURI()
736 sp<AMessage> meta = mItems.itemAt(i).mMeta; in parse()
DPlaylistFetcher.cpp209 CHECK(mPlaylist->itemAt( in getSegmentStartTimeUs()
233 CHECK(mPlaylist->itemAt( in getSegmentDurationUs()
264 CHECK(mPlaylist->itemAt(n - 1, NULL /* uri */, &itemMeta)); in delayUsToRefreshPlaylist()
312 CHECK(mPlaylist->itemAt(i, &uri, &itemMeta)); in decryptBuffer()
1049 if (!mPlaylist->itemAt(index, NULL /* uri */, &itemMeta) in initSeqNumberForLiveStream()
1239 CHECK(mPlaylist->itemAt( in initDownloadState()
1588 CHECK(mPlaylist->itemAt(index, NULL /* uri */, &itemMeta)); in adjustSeqNumberWithAnchorTime()
1601 CHECK(mPlaylist->itemAt(index, NULL /* uri */, &itemMeta)); in adjustSeqNumberWithAnchorTime()
1628 CHECK(mPlaylist->itemAt( index, NULL /* uri */, &itemMeta)); in getSeqNumberForDiscontinuity()
1649 CHECK(mPlaylist->itemAt( in getSeqNumberForTime()
[all …]
/frameworks/av/media/img_utils/src/
DSortedEntryVector.cpp30 if (itemAt(i)->getTag() == tag) { in indexOfTag()
/frameworks/native/libs/input/
DInput.cpp359 if (mPointerProperties.itemAt(i).id == pointerId) { in findPointerIndex()
527 const PointerProperties& properties = mPointerProperties.itemAt(i); in writeToParcel()
534 parcel->writeInt64(mSampleEventTimes.itemAt(h)); in writeToParcel()
580 delete mKeyEventPool.itemAt(i); in ~PooledInputEventFactory()
583 delete mMotionEventPool.itemAt(i); in ~PooledInputEventFactory()
/frameworks/av/drm/drmserver/
DDrmManager.cpp137 IDrmEngine& rDrmEngine = mPlugInManager.getPlugIn(plugInIdList.itemAt(index)); in addClient()
148 IDrmEngine& rDrmEngine = mPlugInManager.getPlugIn(plugInIdList.itemAt(index)); in removeClient()
317 IDrmEngine& rDrmEngine = mPlugInManager.getPlugIn(plugInIdList.itemAt(index)); in removeAllRights()
411 const String8& plugInId = plugInIdList.itemAt(index); in openDecryptSession()
439 const String8& plugInId = plugInIdList.itemAt(index); in openDecryptSession()
468 const String8& plugInId = plugInIdList.itemAt(index); in openDecryptSession()
/frameworks/av/media/libmedia/
DIMediaExtractor.cpp244 const String8 desc = trackDescriptions.itemAt(i); in toString()
246 wp<IMediaSource> wSource = tracks.itemAt(i); in toString()
321 const ExtractorInstance &instance = sExtractors.itemAt(i); in dumpExtractors()
DMediaCodecInfo.cpp93 parcel->writeInt32(mProfileLevels.itemAt(i).mProfile); in writeToParcel()
94 parcel->writeInt32(mProfileLevels.itemAt(i).mLevel); in writeToParcel()
99 parcel->writeInt32(mColorFormats.itemAt(i)); in writeToParcel()
/frameworks/base/media/jni/
Dandroid_media_MediaCodecList.cpp217 jstring obj = env->NewStringUTF(types.itemAt(i).c_str()); in android_media_MediaCodecList_getSupportedTypes()
296 const MediaCodecInfo::ProfileLevel &src = profileLevels.itemAt(i); in android_media_MediaCodecList_getCodecCapabilities()
312 jint val = colorFormats.itemAt(i); in android_media_MediaCodecList_getCodecCapabilities()
/frameworks/av/media/libstagefright/omx/
DSimpleSoftOMXComponent.cpp117 return !mPorts.itemAt(portIndex).mDef.bEnabled; in isSetParameterAllowed()
154 &mPorts.itemAt(defParams->nPortIndex); in internalGetParameter()
633 const PortInfo &port = mPorts.itemAt(i); in checkTransitions()
647 const PortInfo &port = mPorts.itemAt(i); in checkTransitions()
/frameworks/av/cmds/stagefright/
DSimplePlayer.cpp353 const sp<ABuffer> &srcBuffer = state->mCSD.itemAt(j); in onPrepare()
359 const sp<MediaCodecBuffer> &dstBuffer = state->mBuffers[0].itemAt(index); in onPrepare()
487 state->mBuffers[0].itemAt(index); in onDoMoreStuff()
537 state->mBuffers[1].itemAt(info->mIndex); in onDoMoreStuff()

1234