Home
last modified time | relevance | path

Searched refs:keyAt (Results 1 – 25 of 527) sorted by relevance

12345678910>>...22

/frameworks/base/services/core/java/com/android/server/utils/
DWatchedSparseBooleanArray.java77 put(src.keyAt(i), src.valueAt(i)); in copyFrom()
88 dst.put(keyAt(i), valueAt(i)); in copyTo()
169 public int keyAt(int index) { in keyAt() method in WatchedSparseBooleanArray
170 return mStorage.keyAt(index); in keyAt()
210 if (mStorage.keyAt(index) != key) { in setKeyAt()
313 dst.put(src.keyAt(i), src.valueAt(i)); in snapshot()
DSnapshots.java57 dst.put(src.keyAt(i), src.valueAt(i)); in copy()
76 dst.add(src.keyAt(i), src.valueAt(i, j)); in copy()
92 dst.put(src.keyAt(i), src.valueAt(i)); in snapshot()
110 dst.put(src.keyAt(i), src.valueAt(i).snapshot()); in snapshot()
129 dst.add(src.keyAt(i), src.valueAt(i, j).snapshot()); in snapshot()
DWatchedSparseIntArray.java77 put(src.keyAt(i), src.valueAt(i)); in copyFrom()
88 dst.put(keyAt(i), valueAt(i)); in copyTo()
172 public int keyAt(int index) { in keyAt() method in WatchedSparseIntArray
173 return mStorage.keyAt(index); in keyAt()
318 dst.put(src.keyAt(i), src.valueAt(i)); in snapshot()
DWatchedLongSparseArray.java164 put(src.keyAt(i), src.valueAt(i)); in copyFrom()
175 dst.put(keyAt(i), valueAt(i)); in copyTo()
268 public long keyAt(int index) { in keyAt() method in WatchedLongSparseArray
269 return mStorage.keyAt(index); in keyAt()
412 final long key = src.keyAt(i); in snapshot()
DWatchedSparseArray.java166 put(src.keyAt(i), src.valueAt(i)); in copyFrom()
177 dst.put(keyAt(i), valueAt(i)); in copyTo()
322 public int keyAt(int index) { in keyAt() method in WatchedSparseArray
323 return mStorage.keyAt(index); in keyAt()
492 final int key = src.keyAt(i); in snapshot()
DWatchedArrayMap.java184 put(src.keyAt(i), src.valueAt(i)); in copyFrom()
196 dst.put(keyAt(i), valueAt(i)); in copyTo()
354 public K keyAt(int index) { in keyAt() method in WatchedArrayMap
355 return mStorage.keyAt(index); in keyAt()
467 final K key = src.keyAt(i); in snapshot()
/frameworks/base/services/core/java/com/android/server/am/
DPackageList.java80 callback.accept(mPkgList.keyAt(i)); in forEachPackage()
88 callback.accept(mPkgList.keyAt(i), mPkgList.valueAt(i)); in forEachPackage()
105 R r = callback.apply(mPkgList.keyAt(i)); in searchEachPackage()
135 list[i] = mPkgList.keyAt(i); in getPackageList()
149 list.add(new VersionedPackage(mPkgList.keyAt(i), mPkgList.valueAt(i).appVersion)); in getPackageListWithVersionCode()
160 pw.print(mPkgList.keyAt(i)); in dump()
DBroadcastStats.java139 pw.print(ae.mPackages.keyAt(j)); in dumpStats()
148 pw.print(ae.mBackgroundCheckViolations.keyAt(j)); in dumpStats()
171 pw.print(mActions.keyAt(i)); in dumpCheckinStats()
183 pw.print(ae.mPackages.keyAt(j)); in dumpCheckinStats()
191 pw.print(ae.mBackgroundCheckViolations.keyAt(j)); in dumpCheckinStats()
/frameworks/base/services/core/java/com/android/server/pm/
DRestrictionsSet.java95 final int userId = mUserRestrictions.keyAt(i); in moveRestriction()
146 result.add(getEnforcingUser(mUserRestrictions.keyAt(i), deviceOwnerUserId)); in getEnforcingUsers()
193 serializer.attributeInt(null, USER_ID, mUserRestrictions.keyAt(i)); in writeRestrictions()
230 pw.println(prefix + "User Id: " + mUserRestrictions.keyAt(i)); in dumpRestrictions()
249 public int keyAt(int index) { in keyAt() method in RestrictionsSet
250 return mUserRestrictions.keyAt(index); in keyAt()
/frameworks/base/core/java/android/util/
DSparseDoubleArray.java125 public int keyAt(int index) { in keyAt() method in SparseDoubleArray
126 return mValues.keyAt(index); in keyAt()
157 int key = keyAt(i); in toString()
DSparseArrayMap.java124 public int keyAt(int index) { in keyAt() method in SparseArrayMap
125 return mData.keyAt(index); in keyAt()
130 public K keyAt(int keyIndex, int mapIndex) { in keyAt() method in SparseArrayMap
131 return mData.valueAt(keyIndex).keyAt(mapIndex); in keyAt()
DSparseSetArray.java97 public int keyAt(int index) { in keyAt() method in SparseSetArray
98 return mData.keyAt(index); in keyAt()
/frameworks/base/services/core/java/com/android/server/hdmi/
DUnmodifiableSparseIntArray.java45 public int keyAt(int index) { in keyAt() method in UnmodifiableSparseIntArray
46 return mArray.keyAt(index); in keyAt()
DUnmodifiableSparseArray.java45 public int keyAt(int index) { in keyAt() method in UnmodifiableSparseArray
46 return mArray.keyAt(index); in keyAt()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DConfigurableTexts.java76 mTexts.keyAt(0).post(mUpdateAll); in update()
97 setTextSizeH(mTexts.keyAt(i), mTexts.valueAt(i));
100 setTextLabelH(mTextLabels.keyAt(i), mTextLabels.valueAt(i));
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeUtils.java48 buffer.append(array.keyAt(i)).append("=").append(Arrays.toString(array.valueAt(i))); in toString()
95 if (array.keyAt(i) != otherArray.keyAt(i) in equals()
/frameworks/base/services/core/java/com/android/server/appop/
DDiscreteRegistry.java345 int uid = discreteOps.mUids.keyAt(uidNum); in createAttributionChains()
349 String pkg = pkgs.keyAt(pkgNum); in createAttributionChains()
354 int op = ops.keyAt(opNum); in createAttributionChains()
358 String attributionTag = attrOps.keyAt(attrOpNum); in createAttributionChains()
624 int uid = other.mUids.keyAt(i); in merge()
663 opNamesFilter, attributionTagFilter, flagsFilter, mUids.keyAt(i), in filter()
691 mUids.valueAt(i).applyToHistory(result, mUids.keyAt(i), attributionChains); in applyToHistoricalOps()
706 out.attributeInt(null, ATTR_UID, mUids.keyAt(i)); in writeToStream()
720 pw.print(mUids.keyAt(i)); in dump()
849 String packageName = other.mPackages.keyAt(i); in merge()
[all …]
/frameworks/base/core/java/android/os/
DVibratorInfo.java159 if (mSupportedPrimitives.keyAt(i) != that.mSupportedPrimitives.keyAt(i)) { in equals()
182 hashCode = 31 * hashCode + mSupportedPrimitives.keyAt(i); in hashCode()
230 if (mSupportedBraking.keyAt(i) != Braking.NONE) { in getDefaultBraking()
231 return mSupportedBraking.keyAt(i); in getDefaultBraking()
435 names[i] = VibrationEffect.effectIdToString(mSupportedEffects.keyAt(i)); in getSupportedEffectsNames()
446 switch (mSupportedBraking.keyAt(i)) { in getSupportedBrakingNames()
454 names[i] = Integer.toString(mSupportedBraking.keyAt(i)); in getSupportedBrakingNames()
464 names[i] = VibrationEffect.Composition.primitiveToString(mSupportedPrimitives.keyAt(i)); in getSupportedPrimitivesNames()
/frameworks/base/core/java/android/app/usage/
DTimeSparseArray.java53 key = keyAt(mid); in closestIndexOnOrAfter()
105 if (keyAt(index) == time) { in closestIndexOnOrBefore()
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
DArrayMapWithHistoryTest.java146 assertEquals(arrayMap.keyAt(index), historyMap.keyAt(index)); in compareKeyAtAndValueAtForIndex()
154 "ArrayMap.keyAt(" + index + ")", () -> arrayMap.keyAt(index)); in assertIndexAccessThrowsException()
156 "ArrayMapWithHistory.keyAt(" + index + ")", () -> historyMap.keyAt(index)); in assertIndexAccessThrowsException()
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DArrayMapWithHistory.java110 public K keyAt(int index) { in keyAt() method in ArrayMapWithHistory
114 return mMap.keyAt(index); in keyAt()
142 ipw.println("key idx: " + i + "=" + mMap.keyAt(i)); in dump()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbUserPermissionManager.java421 new DeviceFilter(mDevicePersistentPermissionMap.keyAt(deviceIdx)); in scheduleWritePermissionsLocked()
428 uidsForDevices[deviceIdx][permissionIdx] = permissions.keyAt(permissionIdx); in scheduleWritePermissionsLocked()
440 mAccessoryPersistentPermissionMap.keyAt(accessoryIdx)); in scheduleWritePermissionsLocked()
448 permissions.keyAt(permissionIdx); in scheduleWritePermissionsLocked()
555 String deviceName = mDevicePermissionMap.keyAt(mappingsIdx); in dump()
564 dump.write("uids", UsbDevicePermissionProto.UIDS, uidList.keyAt(uidsIdx)); in dump()
572 UsbAccessory accessory = mAccessoryPermissionMap.keyAt(mappingsIdx); in dump()
583 dump.write("uids", UsbAccessoryPermissionProto.UIDS, uidList.keyAt(uidsIdx)); in dump()
591 DeviceFilter filter = mDevicePersistentPermissionMap.keyAt(mappingsIdx); in dump()
602 dump.write("uid", UsbUidPermissionProto.UID, permissions.keyAt(permissionsIdx)); in dump()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/permission/
DLegacyPermissionState.java58 mUserStates.put(other.mUserStates.keyAt(i), in copyFrom()
65 mMissing.put(other.mMissing.keyAt(i), other.mMissing.valueAt(i)); in copyFrom()
98 final int userId = mUserStates.keyAt(i); in equals()
231 mPermissionStates.put(other.mPermissionStates.keyAt(i), in UserState()
/frameworks/base/tools/aapt/
DCrunchCache.cpp47 const char* rPathPtr = mSourceFiles.keyAt(0).string()+mSourcePath.length(); in crunch()
68 cu->deleteFile(mDestFiles.keyAt(0)); in crunch()
/frameworks/av/media/libstagefright/foundation/
DALooperRoster.cpp88 ALOGV("Unregistering stale handler %d", mHandlers.keyAt(i)); in unregisterStaleHandlers()
137 s.appendFormat(" %d: ", mHandlers.keyAt(i)); in dump()
149 makeFourCC(handler->mMessages.keyAt(j), fourcc, sizeof(fourcc)); in dump()

12345678910>>...22