Home
last modified time | relevance | path

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

12345678910

/frameworks/base/core/java/android/database/
DRedactingCursor.java83 final int i = mRedactions.indexOfKey(columnIndex); in getDouble()
93 final int i = mRedactions.indexOfKey(columnIndex); in getFloat()
103 final int i = mRedactions.indexOfKey(columnIndex); in getInt()
113 final int i = mRedactions.indexOfKey(columnIndex); in getLong()
123 final int i = mRedactions.indexOfKey(columnIndex); in getShort()
133 final int i = mRedactions.indexOfKey(columnIndex); in getString()
143 final int i = mRedactions.indexOfKey(columnIndex); in copyStringToBuffer()
154 final int i = mRedactions.indexOfKey(columnIndex); in getBlob()
164 final int i = mRedactions.indexOfKey(columnIndex); in getType()
174 final int i = mRedactions.indexOfKey(columnIndex); in isNull()
/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/base/core/java/com/android/internal/os/
DKernelCpuUidBpfMapReader.java97 int firstIndex = mData.indexOfKey(startUid); in removeUidsInRange()
100 firstIndex = mData.indexOfKey(startUid); in removeUidsInRange()
102 int lastIndex = mData.indexOfKey(endUid); in removeUidsInRange()
105 lastIndex = mData.indexOfKey(endUid); in removeUidsInRange()
/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/
DOMXStore.cpp113 if (mPluginByComponentName.indexOfKey(name8) >= 0) { in addPlugin()
161 ssize_t index = mPluginByComponentName.indexOfKey(String8(name)); in makeComponentInstance()
184 ssize_t index = mPluginByInstance.indexOfKey(component); in destroyComponentInstance()
223 ssize_t index = mPluginByComponentName.indexOfKey(String8(name)); in getRolesOfComponent()
/frameworks/av/services/audiopolicy/engine/common/include/
DVolumeCurve.h88 if (indexOfKey(device) < 0) { in getCurvesFor()
140 ALOG_ASSERT(mOriginVolumeCurves.indexOfKey(deviceCategory) >= 0, "Invalid device category"); in getOriginVolumeCurve()
145 ALOG_ASSERT(indexOfKey(deviceCategory) >= 0, "Invalid device category for Volume Curve"); in setVolumeCurve()
152 ssize_t index = indexOfKey(deviceCategory); in add()
/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/libstagefright/mpeg2ts/
DCasManager.cpp83 ssize_t index = mStreamPidToCasMap.indexOfKey(elementaryPID); in addStream()
118 ssize_t index = mStreamPidToCasMap.indexOfKey(elementaryPID); in getCasSession()
283 ssize_t index = mProgramCasMap.indexOfKey(programNumber); in addProgram()
301 ssize_t index = mProgramCasMap.indexOfKey(programNumber); in addStream()
320 ssize_t index = mProgramCasMap.indexOfKey(programNumber); in getCasInfo()
334 ssize_t index = mCAPidToSessionIdMap.indexOfKey(pid); in parsePID()
/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/services/core/java/com/android/server/am/
DPendingTempWhitelists.java56 int indexOfKey(int key) { in indexOfKey() method in PendingTempWhitelists
57 return mPendingTempWhitelist.indexOfKey(key); in indexOfKey()
DActiveUids.java71 int indexOfKey(int uid) { in indexOfKey() method in ActiveUids
72 return mActiveUids.indexOfKey(uid); in indexOfKey()
/frameworks/av/media/libmediahelper/
DAudioParameter.cpp75 if (mParameters.indexOfKey(key) < 0) { in AudioParameter()
112 if (mParameters.indexOfKey(key) < 0) { in add()
150 if (mParameters.indexOfKey(key) >= 0) { in remove()
160 if (mParameters.indexOfKey(key) >= 0) { in get()
/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()
489 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/native/services/inputflinger/reader/
DInputReader.cpp182 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in addDeviceLocked()
214 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in removeDeviceLocked()
318 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in processEventsForDeviceLocked()
481 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in getStateLocked()
508 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in toggleCapsLockState()
535 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in markSupportedKeyCodesLocked()
571 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in vibrate()
581 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in cancelVibrate()
591 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in isInputDeviceEnabled()
603 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in canDispatchToDisplay()
/frameworks/base/tools/aapt/
DAaptUtil.h45 ssize_t idx = keyedVector.indexOfKey(key); in appendValue()
55 ssize_t idx = keyedVector.indexOfKey(key); in appendValue()
/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/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()
135 ssize_t index = mAxes.indexOfKey(scanCode); in mapAxis()
259 if (map.indexOfKey(code) >= 0) { in parseKey()
314 if (mMap->mAxes.indexOfKey(scanCode) >= 0) { in parseAxis()
423 if (map.indexOfKey(code) >= 0) { in parseLed()
/frameworks/av/media/extractors/mp4/
DItemTable.cpp501 ssize_t itemIndex = itemIdToItemMap.indexOfKey(mItemId); in apply()
515 itemIndex = itemIdToItemMap.indexOfKey(mRefs[i]); in apply()
529 ssize_t itemIndex = itemIdToItemMap.indexOfKey(mItemId); in apply()
542 itemIndex = itemIdToItemMap.indexOfKey(mRefs[i]); in apply()
558 ssize_t itemIndex = itemIdToExifMap.indexOfKey(mItemId); in apply()
566 itemIndex = itemIdToItemMap.indexOfKey(mRefs[i]); in apply()
579 ssize_t itemIndex = itemIdToItemMap.indexOfKey(mItemId); in apply()
1370 ssize_t itemIndex = mItemIdToItemMap.indexOfKey(info.itemId); in buildImageItemsIfPossible()
1376 ssize_t ilocIndex = mItemLocs.indexOfKey(info.itemId); in buildImageItemsIfPossible()
1463 ssize_t itemIndex = mItemIdToItemMap.indexOfKey(association.itemId); in attachProperty()
[all …]
/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/av/media/libstagefright/omx/1.0/
DOmx.cpp170 ssize_t index = mLiveNodes.indexOfKey(who); in serviceDied()
192 ssize_t observerIndex = mNode2Observer.indexOfKey(instance.get()); in freeNode()
195 ssize_t nodeIndex = mLiveNodes.indexOfKey(observer); in freeNode()
/frameworks/base/core/java/android/hardware/camera2/params/
DStreamConfigurationMap.java309 mOutputFormats.indexOfKey(HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED) < 0) { in StreamConfigurationMap()
445 return mDepthOutputFormats.indexOfKey(internalFormat) >= 0; in isOutputSupportedFor()
447 return mDynamicDepthOutputFormats.indexOfKey(internalFormat) >= 0; in isOutputSupportedFor()
449 return mHeicOutputFormats.indexOfKey(internalFormat) >= 0; in isOutputSupportedFor()
451 return getFormatsMap(/*output*/true).indexOfKey(internalFormat) >= 0; in isOutputSupportedFor()
1154 if (mDepthOutputFormats.indexOfKey(internalFormat) >= 0) { in checkArgumentFormatSupported()
1158 if (mDynamicDepthOutputFormats.indexOfKey(internalFormat) >= 0) { in checkArgumentFormatSupported()
1162 if (mHeicOutputFormats.indexOfKey(internalFormat) >= 0) { in checkArgumentFormatSupported()
1166 if (mAllOutputFormats.indexOfKey(internalFormat) >= 0) { in checkArgumentFormatSupported()
1171 if (mInputFormats.indexOfKey(internalFormat) >= 0) { in checkArgumentFormatSupported()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DEffectDescriptor.cpp76 ssize_t index = indexOfKey(id); in getEffect()
107 ssize_t index = indexOfKey(id); in setEffectEnabled()
118 ssize_t index = indexOfKey(id); in isEffectEnabled()

12345678910