Home
last modified time | relevance | path

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

1234

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp125 mDeviceTypes |= itemAt(i)->type(); in refreshTypes()
133 if (itemAt(i)->equals(item)) { // item may be null sp<>, i.e. AUDIO_DEVICE_NONE in indexOf()
218 if (itemAt(i)->type() == type) { in getDevice()
222 if (((address == "" || itemAt(i)->address() == address) && in getDevice()
224 (itemAt(i)->supportsFormat(format) && format != AUDIO_FORMAT_DEFAULT)) { in getDevice()
225 device = itemAt(i); in getDevice()
226 if (itemAt(i)->address() == address) { in getDevice()
255 bool curIsOutput = audio_is_output_devices(itemAt(i)->type()); in getDevicesFromTypeMask()
256 audio_devices_t curType = itemAt(i)->type() & ~AUDIO_DEVICE_BIT_IN; in getDevicesFromTypeMask()
258 devices.add(itemAt(i)); in getDevicesFromTypeMask()
[all …]
DAudioPolicyMix.cpp79 const sp<AudioPolicyMix>& registeredMix = itemAt(i); in registerMix()
102 const sp<AudioPolicyMix>& registeredMix = itemAt(i); in unregisterMix()
125 if (itemAt(i)->mDeviceAddress.compare(address) == 0) { in getAudioPolicyMix()
126 policyMix = itemAt(i); in getAudioPolicyMix()
141 sp<AudioPolicyMix> policyMix = itemAt(i); in closeOutput()
157 sp<AudioPolicyMix> policyMix = itemAt(i); in getOutputForAttr()
343 if (itemAt(i)->getOutput() == output) { in getDeviceAndMixForOutput()
345 audio_devices_t deviceType = itemAt(i)->mDeviceType; in getDeviceAndMixForOutput()
346 String8 address = itemAt(i)->mDeviceAddress; in getDeviceAndMixForOutput()
361 AudioPolicyMix *mix = itemAt(i).get(); in getDeviceAndMixForInputSource()
[all …]
DAudioProfile.cpp327 const sp<AudioProfile> &profile = itemAt(profileIndex); in addProfileFromHal()
369 const sp<AudioProfile> profile = itemAt(i); in checkCompatibleProfile()
396 sp<AudioProfile> profile = itemAt(--i); in clearProfiles()
478 if (itemAt(i)->isValid()) { in getFirstValidProfile()
479 return itemAt(i); in getFirstValidProfile()
488 if (itemAt(i)->isValid() && itemAt(i)->getFormat() == format) { in getFirstValidProfileFor()
489 return itemAt(i); in getFirstValidProfileFor()
499 if (itemAt(i)->hasValidFormat()) { in getSupportedFormats()
500 supportedFormats.add(itemAt(i)->getFormat()); in getSupportedFormats()
509 sp<AudioProfile> profile = itemAt(i); in hasDynamicChannelsFor()
[all …]
DAudioCollections.cpp46 itemAt(i)->dump(dst, 4); in dump()
/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/
DWorkQueue.cpp84 delete mWorkUnits.itemAt(i); in cancelLocked()
109 mWorkThreads.itemAt(i)->join(); in finish()
126 workUnit = mWorkUnits.itemAt(0); in threadLoop()
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 …]
/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.cpp272 const Obituary& obit = mObituaries->itemAt(i); in unlinkToDeath()
277 *outRecipient = mObituaries->itemAt(i).recipient; in unlinkToDeath()
321 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/img_utils/src/
DSortedEntryVector.cpp30 if (itemAt(i)->getTag() == tag) { in indexOfTag()
/frameworks/av/media/libstagefright/httplive/
DM3UParser.cpp217 const Media &item = mMediaItems.itemAt(index); in getTrackInfo()
235 const Media &item = mMediaItems.itemAt(i); in getActiveURI()
316 bool M3UParser::itemAt(size_t index, AString *uri, sp<AMessage> *meta) { in itemAt() function in android::M3UParser
330 *uri = mItems.itemAt(index).makeURL(mBaseURI.c_str()); in itemAt()
334 *meta = mItems.itemAt(index).mMeta; in itemAt()
431 sp<AMessage> meta = mItems.itemAt(index).mMeta; in getTypeURI()
436 *uri = mItems.itemAt(index).makeURL(mBaseURI.c_str()); in getTypeURI()
472 *uri = mItems.itemAt(index).makeURL(mBaseURI.c_str()); in getTypeURI()
735 sp<AMessage> meta = mItems.itemAt(i).mMeta; in parse()
DPlaylistFetcher.cpp208 CHECK(mPlaylist->itemAt( in getSegmentStartTimeUs()
232 CHECK(mPlaylist->itemAt( in getSegmentDurationUs()
263 CHECK(mPlaylist->itemAt(n - 1, NULL /* uri */, &itemMeta)); in delayUsToRefreshPlaylist()
311 CHECK(mPlaylist->itemAt(i, &uri, &itemMeta)); in decryptBuffer()
1048 if (!mPlaylist->itemAt(index, NULL /* uri */, &itemMeta) in initSeqNumberForLiveStream()
1238 CHECK(mPlaylist->itemAt( in initDownloadState()
1587 CHECK(mPlaylist->itemAt(index, NULL /* uri */, &itemMeta)); in adjustSeqNumberWithAnchorTime()
1600 CHECK(mPlaylist->itemAt(index, NULL /* uri */, &itemMeta)); in adjustSeqNumberWithAnchorTime()
1627 CHECK(mPlaylist->itemAt( index, NULL /* uri */, &itemMeta)); in getSeqNumberForDiscontinuity()
1648 CHECK(mPlaylist->itemAt( in getSeqNumberForTime()
[all …]
/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/
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()
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()
/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/rtsp/
DASessionDescription.cpp176 *value = mFormats.itemAt(index); in getFormat()
186 const Attribs &track = mTracks.itemAt(index); in findAttribute()
/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