Home
last modified time | relevance | path

Searched refs:indexOfKey (Results 1 – 25 of 254) sorted by relevance

1234567891011

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DSessionRoute.cpp40 return indexOfKey(session) >= 0 && valueFor(session)->mDeviceDescriptor != 0; in hasRoute()
45 if (indexOfKey(session) >= 0) { in hasRouteChanged()
56 sp<SessionRoute> route = indexOfKey(session) >= 0 ? valueFor(session) : 0; in removeRoute()
68 sp<SessionRoute> route = indexOfKey(session) >= 0 ? valueFor(session) : 0; in incRouteActivity()
74 sp<SessionRoute> route = indexOfKey(session) >= 0 ? valueFor(session) : 0; in decRouteActivity()
104 sp<SessionRoute> route = indexOfKey(session) >= 0 ? valueFor(session) : 0; in addRoute()
DAudioPolicyMix.cpp118 ssize_t index = indexOfKey(address); in registerMix()
136 ssize_t index = indexOfKey(address); in unregisterMix()
149 ssize_t index = indexOfKey(address); in getAudioPolicyMix()
336 ssize_t index = indexOfKey(address); in getInputMixForAttr()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DVolumeCurve.h81 if (indexOfKey(device) < 0) { in getCurvesFor()
91 if (mIndexCur.indexOfKey(device) < 0) { in getVolumeIndex()
110 return mIndexCur.indexOfKey(device) >= 0; in hasVolumeIndexForDevice()
115 ALOG_ASSERT(mOriginVolumeCurves.indexOfKey(deviceCategory) >= 0, "Invalid device category"); in getOriginVolumeCurve()
120 ALOG_ASSERT(indexOfKey(deviceCategory) >= 0, "Invalid device category for Volume Curve"); in setVolumeCurve()
127 ssize_t index = indexOfKey(deviceCategory); in add()
223 ALOG_ASSERT(indexOfKey(stream) >= 0, "Invalid stream type for Volume Curve"); in editCurvesFor()
228 ALOG_ASSERT(indexOfKey(stream) >= 0, "Invalid stream type for Volume Curve"); in getCurvesFor()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSparseArrayObjectAdapter.java61 return mItems.indexOfKey(key); in indexOf()
82 int index = mItems.indexOfKey(key); in set()
90 index = mItems.indexOfKey(key); in set()
101 int index = mItems.indexOfKey(key); in clear()
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp157 index = mByteArrayProperties.indexOfKey(String8("mock-request")); in getKeyRequest()
165 index = mStringProperties.indexOfKey(String8("mock-defaultUrl")); in getKeyRequest()
173 index = mStringProperties.indexOfKey(String8("mock-keyRequestType")); in getKeyRequest()
283 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-request")); in getProvisionRequest()
291 index = mStringProperties.indexOfKey(String8("mock-defaultUrl")); in getProvisionRequest()
325 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-secure-stop")); in getSecureStop()
345 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-secure-stop1")); in getSecureStops()
353 index = mByteArrayProperties.indexOfKey(String8("mock-secure-stop2")); in getSecureStops()
389 ssize_t index = mStringProperties.indexOfKey(name); in getPropertyString()
402 ssize_t index = mByteArrayProperties.indexOfKey(name); in getPropertyByteArray()
[all …]
/frameworks/av/media/img_utils/src/
DTiffWriter.cpp156 ssize_t index = mTagMaps[i].indexOfKey(tag); in lookupDefinition()
170 ssize_t index = mNamedIfds.indexOfKey(ifd); in getEntry()
179 ssize_t index = mNamedIfds.indexOfKey(ifd); in removeEntry()
195 ssize_t index = mNamedIfds.indexOfKey(ifd); in addEntry()
208 ssize_t index = mNamedIfds.indexOfKey(ifd); in addStrip()
218 ssize_t index = mNamedIfds.indexOfKey(ifd); in addIfd()
241 ssize_t index = mNamedIfds.indexOfKey(ifd); in addSubIfd()
247 ssize_t parentIndex = mNamedIfds.indexOfKey(parentIfd); in addSubIfd()
330 ssize_t index = mNamedIfds.indexOfKey(ifd); in hasIfd()
/frameworks/av/drm/common/
DDrmInfo.cpp50 if (NAME_NOT_FOUND != mAttributes.indexOfKey(key)) { in get()
56 int DrmInfo::indexOfKey(const String8& key) const { in indexOfKey() function in DrmInfo
57 return mAttributes.indexOfKey(key); in indexOfKey()
/frameworks/av/media/libstagefright/omx/
DOMXMaster.cpp104 if (mPluginByComponentName.indexOfKey(name8) >= 0) { in addPlugin()
152 ssize_t index = mPluginByComponentName.indexOfKey(String8(name)); in makeComponentInstance()
175 ssize_t index = mPluginByInstance.indexOfKey(component); in destroyComponentInstance()
214 ssize_t index = mPluginByComponentName.indexOfKey(String8(name)); in getRolesOfComponent()
/frameworks/av/media/libstagefright/mpeg2ts/
DCasManager.cpp79 ssize_t index = mStreamPidToCasMap.indexOfKey(elementaryPID); in addStream()
114 ssize_t index = mStreamPidToCasMap.indexOfKey(elementaryPID); in getCasSession()
264 ssize_t index = mProgramCasMap.indexOfKey(programNumber); in addProgram()
282 ssize_t index = mProgramCasMap.indexOfKey(programNumber); in addStream()
301 ssize_t index = mProgramCasMap.indexOfKey(programNumber); in getCasInfo()
315 ssize_t index = mCAPidToSessionIdMap.indexOfKey(pid); in parsePID()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiSelector.java812 if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_INSTANCE) >= 0) { in matchOrUpdateInstance()
818 if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_COUNT) >= 0) { in matchOrUpdateInstance()
839 if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_CHILD) < 0 && in isLeaf()
840 mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_PARENT) < 0) { in isLeaf()
847 if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_CHILD) < 0) { in hasChildSelector()
854 if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_PATTERN) < 0) { in hasPatternSelector()
861 if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_CONTAINER) < 0) { in hasContainerSelector()
868 if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_PARENT) < 0) { in hasParentSelector()
882 if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_CHILD) >= 0) { in getLastSubSelector()
888 } else if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_PARENT) >= 0) { in getLastSubSelector()
/frameworks/av/media/libmedia/
DAudioParameter.cpp67 if (mParameters.indexOfKey(key) < 0) { in AudioParameter()
104 if (mParameters.indexOfKey(key) < 0) { in add()
142 if (mParameters.indexOfKey(key) >= 0) { in remove()
152 if (mParameters.indexOfKey(key) >= 0) { in get()
/frameworks/av/camera/include/camera/
DCameraParameters2.h136 ssize_t i = indexOfKey(key); in valueFor()
142 ssize_t indexOfKey(const KeyT& key) const { in indexOfKey() function
154 ssize_t vectorIdx = indexOfKey(key); in removeItem()
/frameworks/base/libs/hwui/
DResourceCache.cpp70 ssize_t index = mCache->indexOfKey(resource); in incrementRefcountLocked()
89 ssize_t index = mCache->indexOfKey(resource); in decrementRefcountLocked()
111 ssize_t index = mCache->indexOfKey(resource); in destructorLocked()
/frameworks/av/drm/drmserver/
DDrmManager.cpp103 if (mSupportInfoToPlugInIdMap.indexOfKey(*info) < 0) { in loadPlugIns()
273 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in consumeRights()
284 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in setPlaybackStatus()
348 if (mConvertSessionMap.indexOfKey(convertId) != NAME_NOT_FOUND) { in convertData()
359 if (mConvertSessionMap.indexOfKey(convertId) != NAME_NOT_FOUND) { in closeConvertSession()
490 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in closeDecryptSession()
504 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in initializeDecryptUnit()
516 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in decrypt()
528 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in finalizeDecryptUnit()
540 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in pread()
/frameworks/base/tools/aapt/
DAaptUtil.h45 ssize_t idx = keyedVector.indexOfKey(key); in appendValue()
55 ssize_t idx = keyedVector.indexOfKey(key); in appendValue()
/frameworks/native/opengl/libagl/
DBufferObjectManager.cpp56 int32_t i = mBuffers.indexOfKey(buffer); in bind()
91 int32_t index = mBuffers.indexOfKey(t); in deleteBuffers()
DTextureObjectManager.cpp257 if (mTextures.indexOfKey(name) >= 0) in createTexture()
272 const ssize_t index = mTextures.indexOfKey(name); in removeTexture()
285 const ssize_t index = mTextures.indexOfKey(name); in replaceTexture()
318 const ssize_t index = mTextures.indexOfKey(name); in texture()
/frameworks/av/drm/mediacas/plugins/mock/
DMockSessionLibrary.cpp63 ssize_t index = mIDToSessionMap.indexOfKey(sessionId); in findSession()
73 ssize_t index = mIDToSessionMap.indexOfKey(sessionId); in destroySession()
/frameworks/native/libs/input/
DKeyLayoutMap.cpp109 ssize_t index = mKeysByUsageCode.indexOfKey(usageCode); in getKey()
115 ssize_t index = mKeysByScanCode.indexOfKey(scanCode); in getKey()
134 ssize_t index = mAxes.indexOfKey(scanCode); in mapAxis()
258 if (map.indexOfKey(code) >= 0) { in parseKey()
313 if (mMap->mAxes.indexOfKey(scanCode) >= 0) { in parseAxis()
422 if (map.indexOfKey(code) >= 0) { in parseLed()
/frameworks/av/drm/mediacas/plugins/clearkey/
DClearKeySessionLibrary.cpp76 ssize_t index = mIDToSessionMap.indexOfKey(sessionId); in findSession()
86 ssize_t index = mIDToSessionMap.indexOfKey(sessionId); in destroySession()
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DTileList.java42 final int index = mTiles.indexOfKey(startPosition); in getItemAt()
64 final int index = mTiles.indexOfKey(newTile.mStartPosition); in addOrReplace()
/frameworks/av/media/libstagefright/omx/1.0/
DOmx.cpp163 ssize_t index = mLiveNodes.indexOfKey(who); in serviceDied()
185 ssize_t observerIndex = mNode2Observer.indexOfKey(instance.get()); in freeNode()
188 ssize_t nodeIndex = mLiveNodes.indexOfKey(observer); in freeNode()
/frameworks/base/core/java/com/android/internal/os/
DKernelUidCpuTimeReader.java83 int index = mLastUserTimeUs.indexOfKey(uid); in readDelta()
133 int index = mLastUserTimeUs.indexOfKey(uid); in removeUid()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3BufferManager.cpp76 ssize_t streamIdx = mStreamSetMap[i].streamInfoMap.indexOfKey(streamId); in registerStream()
86 ssize_t setIdx = mStreamSetMap.indexOfKey(streamSetId); in registerStream()
96 ssize_t streamIdx = currentStreamSet.streamInfoMap.indexOfKey(streamId); in registerStream()
469 ssize_t setIdx = mStreamSetMap.indexOfKey(streamSetId); in checkIfStreamRegisteredLocked()
476 ssize_t streamIdx = mStreamSetMap.valueAt(setIdx).streamInfoMap.indexOfKey(streamId); in checkIfStreamRegisteredLocked()
/frameworks/av/media/libstagefright/foundation/
DAHandler.cpp32 ssize_t idx = mMessages.indexOfKey(what); in deliverMessage()

1234567891011