Home
last modified time | relevance | path

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

123456

/frameworks/av/media/libstagefright/foundation/
DALooperRoster.cpp57 ssize_t index = mHandlers.indexOfKey(handlerID); in unregisterHandler()
118 ssize_t index = mHandlers.indexOfKey(msg->target()); in deliverMessage()
144 ssize_t index = mHandlers.indexOfKey(handlerID); in findLooper()
181 while ((index = mReplies.indexOfKey(replyID)) < 0) { in postAndAwaitResponse()
194 CHECK(mReplies.indexOfKey(replyID) < 0); in postReply()
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp153 index = mByteArrayProperties.indexOfKey(String8("mock-request")); in getKeyRequest()
161 index = mStringProperties.indexOfKey(String8("mock-defaultUrl")); in getKeyRequest()
269 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-request")); in getProvisionRequest()
277 index = mStringProperties.indexOfKey(String8("mock-defaultUrl")); in getProvisionRequest()
318 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-secure-stop1")); in getSecureStops()
326 index = mByteArrayProperties.indexOfKey(String8("mock-secure-stop2")); in getSecureStops()
355 ssize_t index = mStringProperties.indexOfKey(name); in getPropertyString()
368 ssize_t index = mByteArrayProperties.indexOfKey(name); in getPropertyByteArray()
390 ssize_t index = mByteArrayProperties.indexOfKey(String8("mock-event-session-id")); in setPropertyString()
396 index = mByteArrayProperties.indexOfKey(String8("mock-event-data")); in setPropertyString()
[all …]
/frameworks/av/media/img_utils/src/
DTiffWriter.cpp157 ssize_t index = mTagMaps[i].indexOfKey(tag); in lookupDefinition()
171 ssize_t index = mNamedIfds.indexOfKey(ifd); in getEntry()
180 ssize_t index = mNamedIfds.indexOfKey(ifd); in removeEntry()
196 ssize_t index = mNamedIfds.indexOfKey(ifd); in addEntry()
209 ssize_t index = mNamedIfds.indexOfKey(ifd); in addStrip()
219 ssize_t index = mNamedIfds.indexOfKey(ifd); in addIfd()
242 ssize_t index = mNamedIfds.indexOfKey(ifd); in addSubIfd()
248 ssize_t parentIndex = mNamedIfds.indexOfKey(parentIfd); in addSubIfd()
331 ssize_t index = mNamedIfds.indexOfKey(ifd); in hasIfd()
/frameworks/av/media/libstagefright/omx/
DOMXMaster.cpp83 if (mPluginByComponentName.indexOfKey(name8) >= 0) { in addPlugin()
130 ssize_t index = mPluginByComponentName.indexOfKey(String8(name)); in makeComponentInstance()
153 ssize_t index = mPluginByInstance.indexOfKey(component); in destroyComponentInstance()
192 ssize_t index = mPluginByComponentName.indexOfKey(String8(name)); in getRolesOfComponent()
DOMX.cpp174 ssize_t index = mLiveNodes.indexOfKey(the_late_who); in binderDied()
180 index = mDispatchers.indexOfKey(instance->nodeID()); in binderDied()
259 ssize_t index = mLiveNodes.indexOfKey(instance->observer()->asBinder()); in freeNode()
274 ssize_t index = mDispatchers.indexOfKey(node); in freeNode()
500 ssize_t index = mNodeIDToInstance.indexOfKey(node); in findInstance()
508 ssize_t index = mDispatchers.indexOfKey(node); in findDispatcher()
/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/libmedia/
DAudioParameter.cpp54 if (mParameters.indexOfKey(key) < 0) { in AudioParameter()
89 if (mParameters.indexOfKey(key) < 0) { in add()
122 if (mParameters.indexOfKey(key) >= 0) { in remove()
132 if (mParameters.indexOfKey(key) >= 0) { in get()
/frameworks/base/libs/hwui/
DResourceCache.cpp83 ssize_t index = mCache->indexOfKey(resource); in incrementRefcountLocked()
134 ssize_t index = mCache->indexOfKey(resource); in decrementRefcountLocked()
170 ssize_t index = mCache->indexOfKey(resource); in destructorLocked()
193 ssize_t index = mCache->indexOfKey(resource); in destructorLocked()
216 ssize_t index = mCache->indexOfKey(resource); in destructorLocked()
249 ssize_t index = mCache->indexOfKey(resource); in recycleLocked()
DAssetAtlas.cpp78 ssize_t index = mEntries.indexOfKey(bitmap); in getEntry()
83 ssize_t index = mEntries.indexOfKey(bitmap); in getEntryTexture()
DProgram.cpp113 ssize_t index = mAttributes.indexOfKey(name); in getAttrib()
127 ssize_t index = mUniforms.indexOfKey(name); in getUniform()
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
DUiSelector.java809 if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_INSTANCE) >= 0) { in matchOrUpdateInstance()
815 if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_COUNT) >= 0) { in matchOrUpdateInstance()
836 if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_CHILD) < 0 && in isLeaf()
837 mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_PARENT) < 0) { in isLeaf()
844 if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_CHILD) < 0) { in hasChildSelector()
851 if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_PATTERN) < 0) { in hasPatternSelector()
858 if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_CONTAINER) < 0) { in hasContainerSelector()
865 if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_PARENT) < 0) { in hasParentSelector()
879 if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_CHILD) >= 0) { in getLastSubSelector()
885 } else if (mSelectorAttributes.indexOfKey(UiSelector.SELECTOR_PARENT) >= 0) { in getLastSubSelector()
/frameworks/av/include/camera/
DCameraParameters2.h136 ssize_t i = indexOfKey(key); in valueFor()
142 ssize_t indexOfKey(const KeyT& key) const { in indexOfKey() function
154 size_t vectorIdx = (size_t) indexOfKey(key); in removeItem()
/frameworks/native/services/sensorservice/
DSensorDevice.cpp148 ALOGD_IF(DEBUG_CONNECTIONS, "enable index=%zd", info.batchParams.indexOfKey(ident)); in activate()
150 if (info.batchParams.indexOfKey(ident) >= 0) { in activate()
160 ALOGD_IF(DEBUG_CONNECTIONS, "disable index=%zd", info.batchParams.indexOfKey(ident)); in activate()
231 if (info.batchParams.indexOfKey(ident) < 0) { in batch()
288 ssize_t index = info.batchParams.indexOfKey(ident); in setDelay()
318 ssize_t index = batchParams.indexOfKey(ident); in setBatchParamsForIdent()
/frameworks/av/camera/
DVendorTagDescriptor.cpp128 if ((reverseIndex = desc->mReverseMapping.indexOfKey(sectionString)) < 0) { in createDescriptorFromOps()
241 if ((reverseIndex = desc->mReverseMapping.indexOfKey(sectionString)) < 0) { in createFromParcel()
268 ssize_t index = mTagToSectionMap.indexOfKey(tag); in getSectionName()
276 ssize_t index = mTagToNameMap.indexOfKey(tag); in getTagName()
284 ssize_t index = mTagToNameMap.indexOfKey(tag); in getTagType()
332 ssize_t index = mReverseMapping.indexOfKey(section); in lookupTag()
338 ssize_t nameIndex = mReverseMapping[index]->indexOfKey(name); in lookupTag()
DCameraParameters2.cpp126 ssize_t idx = mMap.indexOfKey(String8(key)); in get()
162 ssize_t index1 = mMap.indexOfKey(String8(key1)); in compareSetOrder()
163 ssize_t index2 = mMap.indexOfKey(String8(key2)); in compareSetOrder()
/frameworks/av/drm/drmserver/
DDrmManager.cpp108 if (mSupportInfoToPlugInIdMap.indexOfKey(*info) < 0) { in loadPlugIns()
278 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in consumeRights()
289 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in setPlaybackStatus()
353 if (mConvertSessionMap.indexOfKey(convertId) != NAME_NOT_FOUND) { in convertData()
364 if (mConvertSessionMap.indexOfKey(convertId) != NAME_NOT_FOUND) { in closeConvertSession()
495 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in closeDecryptSession()
509 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in initializeDecryptUnit()
521 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in decrypt()
533 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in finalizeDecryptUnit()
545 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in pread()
/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/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/media/libstagefright/
DMetaData.cpp49 ssize_t i = mItems.indexOfKey(key); in remove()
195 ssize_t i = mItems.indexOfKey(key); in setData()
212 ssize_t i = mItems.indexOfKey(key); in findData()
226 ssize_t i = mItems.indexOfKey(key); in hasData()
/frameworks/base/core/java/android/text/method/
DMultiTapKeyListener.java137 if (sRecs.indexOfKey(keyCode) == rec) { in onKeyDown()
158 rec = sRecs.indexOfKey(keyCode); in onKeyDown()
165 rec = sRecs.indexOfKey(keyCode); in onKeyDown()
/frameworks/av/services/audiopolicy/
DAudioPolicyEffects.cpp91 ssize_t index = mInputSources.indexOfKey(aliasSource); in addInputEffects()
96 ssize_t idx = mInputs.indexOfKey(input); in addInputEffects()
139 ssize_t index = mInputs.indexOfKey(input); in releaseInputEffects()
229 ssize_t index = mOutputStreams.indexOfKey(stream); in addOutputSessionEffects()
235 ssize_t idx = mOutputSessions.indexOfKey(audioSession); in addOutputSessionEffects()
280 ssize_t index = mOutputSessions.indexOfKey(audioSession); in releaseOutputSessionEffects()
/frameworks/wilhelm/src/android/
Dandroid_Effect.cpp517 ssize_t index = outputMix->mAndroidEffect.mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_fxSend_attachToAux()
757 if (0 <= iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid))) { in android_genericFx_createEffect()
789 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_releaseEffect()
805 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_setEnabled()
820 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_isEnabled()
837 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); in android_genericFx_sendCommand()
862 return( 0 <= iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid))); in android_genericFx_hasEffect()
/frameworks/av/media/libmediaplayerservice/
DCrypto.cpp92 ssize_t index = mUUIDToLibraryPathMap.indexOfKey(uuidVector); in findFactoryForScheme()
143 ssize_t index = mLibraryPathToOpenLibraryMap.indexOfKey(path); in loadLibraryForScheme()
/frameworks/support/v4/java/android/support/v4/util/
DSimpleArrayMap.java273 return indexOfKey(key) >= 0; in containsKey()
282 public int indexOfKey(Object key) { in indexOfKey() method in SimpleArrayMap
323 final int index = indexOfKey(key); in get()
451 final int index = indexOfKey(key); in remove()

123456