/frameworks/base/core/java/android/database/ |
D | RedactingCursor.java | 83 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/tests/powerstatstests/src/com/android/server/power/stats/wakeups/ |
D | CpuWakeupStatsTest.java | 184 assertThat(attribution.get(subsystems[i]).indexOfKey(uids[j])).isLessThan(0); in irqAttributionAllCombinations() 211 assertThat(attribution.get(CPU_WAKEUP_SUBSYSTEM_ALARM).indexOfKey(TEST_UID_1)).isLessThan( in alarmIrqAttributionSolo() 213 assertThat(attribution.get(CPU_WAKEUP_SUBSYSTEM_ALARM).indexOfKey(TEST_UID_2)).isLessThan( in alarmIrqAttributionSolo() 217 assertThat(attribution.get(CPU_WAKEUP_SUBSYSTEM_ALARM).indexOfKey(TEST_UID_4)).isLessThan( in alarmIrqAttributionSolo() 245 assertThat(attribution.get(CPU_WAKEUP_SUBSYSTEM_SOUND_TRIGGER).indexOfKey( in soundTriggerIrqAttributionSolo() 247 assertThat(attribution.get(CPU_WAKEUP_SUBSYSTEM_SOUND_TRIGGER).indexOfKey( in soundTriggerIrqAttributionSolo() 251 assertThat(attribution.get(CPU_WAKEUP_SUBSYSTEM_SOUND_TRIGGER).indexOfKey( in soundTriggerIrqAttributionSolo() 278 assertThat(attribution.get(CPU_WAKEUP_SUBSYSTEM_WIFI).indexOfKey(TEST_UID_1)).isLessThan(0); in wifiIrqAttributionSolo() 279 assertThat(attribution.get(CPU_WAKEUP_SUBSYSTEM_WIFI).indexOfKey(TEST_UID_2)).isLessThan(0); in wifiIrqAttributionSolo() 280 assertThat(attribution.get(CPU_WAKEUP_SUBSYSTEM_WIFI).indexOfKey(TEST_UID_3)).isLessThan(0); in wifiIrqAttributionSolo() [all …]
|
D | WakingActivityHistoryTest.java | 80 assertThat(recordedHistory.indexOfKey(timestamp - 1)).isLessThan(0); in recordActivityAppendsUids() 81 assertThat(recordedHistory.indexOfKey(timestamp)).isAtLeast(0); in recordActivityAppendsUids() 82 assertThat(recordedHistory.indexOfKey(timestamp + 1)).isLessThan(0); in recordActivityAppendsUids() 98 assertThat(recordedUids.indexOfKey(1)).isAtLeast(0); in recordActivityAppendsUids() 126 assertThat(recordedHistory.indexOfKey(timestamp - 1)).isLessThan(0); in recordActivityDoesNotDeleteExistingUids() 127 assertThat(recordedHistory.indexOfKey(timestamp)).isAtLeast(0); in recordActivityDoesNotDeleteExistingUids() 128 assertThat(recordedHistory.indexOfKey(timestamp + 1)).isLessThan(0); in recordActivityDoesNotDeleteExistingUids()
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.cpp | 157 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/services/core/java/com/android/server/utils/ |
D | WatchedSparseBooleanMatrix.java | 207 int r = indexOfKey(row, false); in get() 208 int c = indexOfKey(col, false); in get() 221 int r = indexOfKey(row); in put() 222 int c = indexOfKey(col); in put() 228 r = indexOfKey(row, true); in put() 231 c = indexOfKey(col, true); in put() 233 r = indexOfKey(row); in put() 234 c = indexOfKey(col); in put() 250 int i = indexOfKey(key, false); in deleteKey() 386 public int indexOfKey(int key) { in indexOfKey() method in WatchedSparseBooleanMatrix [all …]
|
D | WatchedSparseIntArray.java | 122 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/base/services/permission/java/com/android/server/permission/access/immutable/ |
D | IntSet.kt | 30 fun indexOf(element: Int): Int = array.indexOfKey(element) in isEmpty() 52 val index = array.indexOfKey(element) in isEmpty() 71 private fun SparseBooleanArray.contains(key: Int): Boolean = indexOfKey(key) >= 0
|
D | IntMap.kt | 32 fun indexOfKey(key: Int): Int = array.indexOfKey(key) in isEmpty() method 61 val index = indexOfKey(key) in putReturnOld() 75 val index = indexOfKey(key) in removeReturnOld()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelCpuUidBpfMapReader.java | 98 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/ |
D | TiffWriter.cpp | 156 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/ |
D | SparseDoubleArray.java | 93 final int index = mValues.indexOfKey(key); in get() 132 public int indexOfKey(int key) { in indexOfKey() method in SparseDoubleArray 133 return mValues.indexOfKey(key); in indexOfKey()
|
D | SparseArrayMap.java | 129 public int indexOfKey(int key) { in indexOfKey() method in SparseArrayMap 130 return mData.indexOfKey(key); in indexOfKey() 138 public int indexOfKey(int key, @NonNull K mapKey) { in indexOfKey() method in SparseArrayMap 141 return data.indexOfKey(mapKey); in indexOfKey()
|
/frameworks/av/drm/common/ |
D | DrmInfo.cpp | 50 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/services/audiopolicy/engine/common/include/ |
D | VolumeCurve.h | 88 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/ |
D | PendingTempAllowlists.java | 63 int indexOfKey(int key) { in indexOfKey() method in PendingTempAllowlists 65 return mPendingTempAllowlist.indexOfKey(key); in indexOfKey()
|
D | AppFGSTracker.java | 270 final int indexOfKey = notificationIDs.indexOfKey(notificationId); in handleForegroundServiceNotificationUpdated() local 271 if (indexOfKey >= 0) { in handleForegroundServiceNotificationUpdated() 272 final boolean wasVisible = notificationIDs.valueAt(indexOfKey); in handleForegroundServiceNotificationUpdated() 273 notificationIDs.removeAt(indexOfKey); in handleForegroundServiceNotificationUpdated() 314 final int indexOfKey; in handleNotificationPosted() local 316 || (indexOfKey = notificationIDs.indexOfKey(notificationId)) < 0) { in handleNotificationPosted() 319 if (notificationIDs.valueAt(indexOfKey)) { in handleNotificationPosted() 331 notificationIDs.setValueAt(indexOfKey, true); in handleNotificationPosted() 344 final int indexOfKey; in handleNotificationRemoved() local 346 || (indexOfKey = notificationIDs.indexOfKey(notificationId)) < 0) { in handleNotificationRemoved() [all …]
|
D | ForegroundServiceTypeLoggerModule.java | 162 int fgsIndex = uidState.mRunningFgs.indexOfKey(apiType); in logForegroundServiceStart() 165 fgsIndex = uidState.mRunningFgs.indexOfKey(apiType); in logForegroundServiceStart() 252 final int apiTypeIndex = uidState.mOpenWithFgsCount.indexOfKey(apiType); in logForegroundServiceStop() 302 uidState.mOpenedWithoutFgsCount.indexOfKey(apiType); in logForegroundServiceApiEventBegin() 307 uidState.mOpenedWithoutFgsCount.indexOfKey(apiType); in logForegroundServiceApiEventBegin() 326 int openWithFgsIndex = uidState.mOpenWithFgsCount.indexOfKey(apiType); in logForegroundServiceApiEventBegin() 330 openWithFgsIndex = uidState.mOpenWithFgsCount.indexOfKey(apiType); in logForegroundServiceApiEventBegin() 367 final int apiIndex = uidState.mOpenWithFgsCount.indexOfKey(apiType); in logForegroundServiceApiEventEnd() 395 if (uidState.mOpenedWithoutFgsCount.indexOfKey(apiType) < 0) { in logForegroundServiceApiEventEnd()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | CarrierConfigTracker.java | 153 if (mCallStrengthConfigs.indexOfKey(subId) >= 0) { in getCallStrengthConfig() 171 if (mNoCallingConfigs.indexOfKey(subId) >= 0) { in getNoCallingConfig() 189 if (mCarrierProvisionsWifiMergedNetworks.indexOfKey(subId) >= 0) { in getCarrierProvisionsWifiMergedNetworksBool() 238 if (mShowOperatorNameConfigs.indexOfKey(subId) >= 0) { in getShowOperatorNameInStatusBarConfig()
|
/frameworks/av/media/libmediahelper/ |
D | AudioParameter.cpp | 113 if (mParameters.indexOfKey(key) < 0) { in AudioParameter() 150 if (mParameters.indexOfKey(key) < 0) { in add() 188 if (mParameters.indexOfKey(key) >= 0) { in remove() 198 if (mParameters.indexOfKey(key) >= 0) { in get() 261 return mParameters.indexOfKey(key) >= 0; in containsKey()
|
/frameworks/av/camera/include/camera/ |
D | CameraParameters2.h | 136 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/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiSelector.java | 812 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/omx/ |
D | OMXStore.cpp | 168 if (mPluginByComponentName.indexOfKey(name8) >= 0) { in addPlugin() 216 ssize_t index = mPluginByComponentName.indexOfKey(String8(name)); in makeComponentInstance() 239 ssize_t index = mPluginByInstance.indexOfKey(component); in destroyComponentInstance() 278 ssize_t index = mPluginByComponentName.indexOfKey(String8(name)); in getRolesOfComponent()
|
/frameworks/av/media/module/mpeg2ts/ |
D | CasManager.cpp | 83 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/base/services/core/java/com/android/server/wm/ |
D | MirrorActiveUids.java | 47 final int index = mUidStates.indexOfKey(uid); in onUidProcStateChanged() 59 final int index = mNumNonAppVisibleWindowMap.indexOfKey(uid); in onNonAppSurfaceVisibilityChanged()
|
/frameworks/native/services/inputflinger/tests/ |
D | FakeEventHub.cpp | 240 ssize_t index = mDevices.indexOfKey(deviceId); in getDevice() 270 ssize_t index = device->absoluteAxes.indexOfKey(axis); in getAbsoluteAxisInfo() 283 return device->relativeAxes.indexOfKey(axis) >= 0; in hasRelativeAxis() 326 ssize_t index = device->keysByUsageCode.indexOfKey(usageCode); in getKey() 332 ssize_t index = device->keysByScanCode.indexOfKey(scanCode); in getKey() 385 ssize_t index = device->scanCodeStates.indexOfKey(scanCode); in getScanCodeState() 401 ssize_t index = device->keyCodeStates.indexOfKey(keyCode); in getKeyCodeState() 412 ssize_t index = device->switchStates.indexOfKey(sw); in getSwitchState() 424 ssize_t index = device->absoluteAxisValue.indexOfKey(axis); in getAbsoluteAxisValue() 500 ssize_t index = device->keysByScanCode.indexOfKey(scanCode); in hasScanCode() [all …]
|