Home
last modified time | relevance | path

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

12345678910>>...12

/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/base/services/core/java/com/android/server/utils/
DWatchedSparseBooleanMatrix.java199 int r = indexOfKey(row, false); in get()
200 int c = indexOfKey(col, false); in get()
213 int r = indexOfKey(row); in put()
214 int c = indexOfKey(col); in put()
220 r = indexOfKey(row, true); in put()
223 c = indexOfKey(col, true); in put()
225 r = indexOfKey(row); in put()
226 c = indexOfKey(col); in put()
242 int i = indexOfKey(key, false); in deleteKey()
351 public int indexOfKey(int key) { in indexOfKey() method in WatchedSparseBooleanMatrix
[all …]
DWatchedSparseIntArray.java122 final int index = mStorage.indexOfKey(key); in delete()
216 public int indexOfKey(int key) { in indexOfKey() method in WatchedSparseIntArray
217 return mStorage.indexOfKey(key); in indexOfKey()
/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/base/core/java/com/android/internal/os/
DKernelCpuUidBpfMapReader.java98 int firstIndex = mData.indexOfKey(startUid); in removeUidsInRange()
101 firstIndex = mData.indexOfKey(startUid); in removeUidsInRange()
103 int lastIndex = mData.indexOfKey(endUid); in removeUidsInRange()
106 lastIndex = mData.indexOfKey(endUid); in removeUidsInRange()
/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/android/util/
DSparseArrayMap.java106 public int indexOfKey(int key) { in indexOfKey() method in SparseArrayMap
107 return mData.indexOfKey(key); in indexOfKey()
115 public int indexOfKey(int key, @NonNull K mapKey) { in indexOfKey() method in SparseArrayMap
118 return data.indexOfKey(mapKey); in indexOfKey()
/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/services/core/java/com/android/server/am/
DPendingTempAllowlists.java56 int indexOfKey(int key) { in indexOfKey() method in PendingTempAllowlists
57 return mPendingTempAllowlist.indexOfKey(key); in indexOfKey()
DPhantomProcessList.java251 final int index = mPhantomToAppProcessMap.indexOfKey(pid); in addChildPidLocked()
277 final int index = mCgroupProcsFds.indexOfKey(pid); in onAppDied()
300 final int index = mPhantomProcesses.indexOfKey(pid); in getOrCreatePhantomProcessIfNeededLocked()
311 final int idx = mZombiePhantomProcesses.indexOfKey(pid); in getOrCreatePhantomProcessIfNeededLocked()
390 final int index = mAppPhantomProcessMap.indexOfKey(proc.mPpid); in onPhantomProcessKilledLocked()
493 int index = mAppPhantomProcessMap.indexOfKey(proc.mPpid); in killPhantomProcessGroupLocked()
518 int index = mAppPhantomProcessMap.indexOfKey(app.getPid()); in forEachPhantomProcessOfApp()
/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/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/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/media/libmediahelper/
DAudioParameter.cpp83 if (mParameters.indexOfKey(key) < 0) { in AudioParameter()
120 if (mParameters.indexOfKey(key) < 0) { in add()
158 if (mParameters.indexOfKey(key) >= 0) { in remove()
168 if (mParameters.indexOfKey(key) >= 0) { in get()
/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/base/packages/SystemUI/src/com/android/systemui/util/
DCarrierConfigTracker.java77 if (mCallStrengthConfigs.indexOfKey(subId) >= 0) { in getCallStrengthConfig()
93 if (mNoCallingConfigs.indexOfKey(subId) >= 0) { in getNoCallingConfig()
/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/extractors/mp4/
DItemTable.cpp504 ssize_t itemIndex = itemIdToItemMap.indexOfKey(mItemId); in apply()
518 itemIndex = itemIdToItemMap.indexOfKey(mRefs[i]); in apply()
532 ssize_t itemIndex = itemIdToItemMap.indexOfKey(mItemId); in apply()
545 itemIndex = itemIdToItemMap.indexOfKey(mRefs[i]); in apply()
561 ssize_t metaIndex = itemIdToMetaMap.indexOfKey(mItemId); in apply()
569 ssize_t itemIndex = itemIdToItemMap.indexOfKey(mRefs[i]); in apply()
586 ssize_t itemIndex = itemIdToItemMap.indexOfKey(mItemId); in apply()
1429 ssize_t itemIndex = mItemIdToItemMap.indexOfKey(info.itemId); in buildImageItemsIfPossible()
1435 ssize_t ilocIndex = mItemLocs.indexOfKey(info.itemId); in buildImageItemsIfPossible()
1525 ssize_t itemIndex = mItemIdToItemMap.indexOfKey(association.itemId); in attachProperty()
[all …]
/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/av/drm/mediadrm/plugins/clearkey/default/
DDrmPlugin.cpp143 ssize_t index = mByteArrayProperties.indexOfKey(name); in getPropertyByteArray()
168 ssize_t index = mStringProperties.indexOfKey(name); in getPropertyString()
188 ssize_t index = mStringProperties.indexOfKey(name); in setPropertyString()
/frameworks/av/drm/drmserver/
DDrmManager.cpp223 if (mSupportInfoToPlugInIdMap.indexOfKey(*info) < 0) { in loadPlugIns()
432 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in consumeRights()
443 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in setPlaybackStatus()
512 if (mConvertSessionMap.indexOfKey(convertId) != NAME_NOT_FOUND) { in convertData()
523 if (mConvertSessionMap.indexOfKey(convertId) != NAME_NOT_FOUND) { in closeConvertSession()
656 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in closeDecryptSession()
671 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in initializeDecryptUnit()
683 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in decrypt()
695 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in finalizeDecryptUnit()
707 if (mDecryptSessionMap.indexOfKey(decryptHandle->decryptId) != NAME_NOT_FOUND) { in pread()
/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()
1152 if (mDepthOutputFormats.indexOfKey(internalFormat) >= 0) { in checkArgumentFormatSupported()
1156 if (mDynamicDepthOutputFormats.indexOfKey(internalFormat) >= 0) { in checkArgumentFormatSupported()
1160 if (mHeicOutputFormats.indexOfKey(internalFormat) >= 0) { in checkArgumentFormatSupported()
1164 if (mAllOutputFormats.indexOfKey(internalFormat) >= 0) { in checkArgumentFormatSupported()
1169 if (mInputFormats.indexOfKey(internalFormat) >= 0) { in checkArgumentFormatSupported()

12345678910>>...12