/frameworks/base/services/core/java/com/android/server/utils/ |
D | WatchedSparseBooleanArray.java | 77 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.mStorage.put(src.keyAt(i), src.valueAt(i)); in snapshot()
|
D | Snapshots.java | 57 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()
|
D | WatchedSparseIntArray.java | 77 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.mStorage.put(src.keyAt(i), src.valueAt(i)); in snapshot()
|
D | WatchedSparseSetArray.java | 119 public int keyAt(int index) { in keyAt() method in WatchedSparseSetArray 120 return mStorage.keyAt(index); in keyAt() 172 dst.mStorage.add(src.keyAt(i), set.valueAt(j)); in snapshot()
|
D | WatchedLongSparseArray.java | 164 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()
|
D | WatchedSparseArray.java | 166 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()
|
D | WatchedArrayMap.java | 184 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/ |
D | PackageList.java | 80 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()
|
D | BroadcastStats.java | 139 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/core/java/android/util/ |
D | SparseArrayMap.java | 132 public int keyAt(int index) { in keyAt() method in SparseArrayMap 133 return mData.keyAt(index); in keyAt() 138 public K keyAt(int keyIndex, int mapIndex) { in keyAt() method in SparseArrayMap 139 return mData.valueAt(keyIndex).keyAt(mapIndex); in keyAt() 194 final int i = mData.keyAt(iIdx); in forEach() 197 consumer.accept(i, data.keyAt(kIdx), data.valueAt(kIdx)); in forEach()
|
D | SparseDoubleArray.java | 142 public int keyAt(int index) { in keyAt() method in SparseDoubleArray 143 return mValues.keyAt(index); in keyAt() 209 int key = keyAt(i); in toString()
|
D | SparseSetArray.java | 39 final int key = src.keyAt(i); in SparseSetArray() 127 public int keyAt(int index) { in keyAt() method in SparseSetArray 128 return mData.keyAt(index); in keyAt()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UserBroadcastResponseStats.java | 56 final BroadcastEvent broadcastEvent = mResponseStats.keyAt(i); in populateAllBroadcastResponseStats() 69 final BroadcastEvent broadcastEvent = mResponseStats.keyAt(i); in clearBroadcastResponseStats() 82 if (mResponseStats.keyAt(i).getTargetPackage().equals(packageName)) { in onPackageRemoved() 90 final BroadcastEvent broadcastEvent = mResponseStats.keyAt(i); in dump()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | RestrictionsSet.java | 95 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/services/core/java/com/android/server/sensorprivacy/ |
D | PersistedState.java | 277 statesCopy.put(new TypeUserSensor(mStates.keyAt(i)), in schedulePersist() 295 TypeUserSensor userSensor = states.keyAt(i); in persist() 331 int toggleType = mStates.keyAt(i).mType; in dump() 332 int userId = mStates.keyAt(i).mUserId; in dump() 333 int sensor = mStates.keyAt(i).mSensor; in dump() 349 int userId = statesMatrix.keyAt(i); in dump() 355 int sensor = userStates.keyAt(j); in dump() 380 TypeUserSensor tus = mStates.keyAt(i); in forEachKnownState() 432 final int sensor = version0.mIndividualEnabled.keyAt(j); in fromPVersion0() 475 int userId = individualEnabled.keyAt(i); in fromPVersion1() [all …]
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | UnmodifiableSparseIntArray.java | 45 public int keyAt(int index) { in keyAt() method in UnmodifiableSparseIntArray 46 return mArray.keyAt(index); in keyAt()
|
D | UnmodifiableSparseArray.java | 45 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/ |
D | ConfigurableTexts.java | 76 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/services/core/java/com/android/server/wm/ |
D | AsyncRotationController.java | 209 final WindowToken token = mTargetWindowTokens.keyAt(i); in keepAppearanceInPreviousRotation() 248 finishOp(mTargetWindowTokens.keyAt(i)); in completeAll() 305 final WindowToken windowToken = mTargetWindowTokens.keyAt(i); in start() 412 Slog.d(TAG, "Setup alpha0 " + mTargetWindowTokens.keyAt(i).getTopChild()); in setupStartTransaction() 426 Slog.d(TAG, "Setup unrotate " + mTargetWindowTokens.keyAt(i).getTopChild()); in setupStartTransaction() 442 + mTargetWindowTokens.keyAt(i).getTopChild()); in setupStartTransaction() 444 mDisplayContent.finishAsyncRotation(mTargetWindowTokens.keyAt(i)); in setupStartTransaction() 462 final WindowToken token = mTargetWindowTokens.keyAt(i); in onTransitionFinished()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | DiscreteRegistry.java | 346 int uid = discreteOps.mUids.keyAt(uidNum); in createAttributionChains() 350 String pkg = pkgs.keyAt(pkgNum); in createAttributionChains() 355 int op = ops.keyAt(opNum); in createAttributionChains() 359 String attributionTag = attrOps.keyAt(attrOpNum); in createAttributionChains() 625 int uid = other.mUids.keyAt(i); in merge() 664 opNamesFilter, attributionTagFilter, flagsFilter, mUids.keyAt(i), in filter() 692 mUids.valueAt(i).applyToHistory(result, mUids.keyAt(i), attributionChains); in applyToHistoricalOps() 707 out.attributeInt(null, ATTR_UID, mUids.keyAt(i)); in writeToStream() 721 pw.print(mUids.keyAt(i)); in dump() 850 String packageName = other.mPackages.keyAt(i); in merge() [all …]
|
/frameworks/base/core/java/android/app/usage/ |
D | TimeSparseArray.java | 53 key = keyAt(mid); in closestIndexOnOrAfter() 105 if (keyAt(index) == time) { in closestIndexOnOrBefore()
|
/frameworks/base/core/java/android/os/ |
D | VibratorInfo.java | 163 if (mSupportedPrimitives.keyAt(i) != that.mSupportedPrimitives.keyAt(i)) { in equals() 186 hashCode = 31 * hashCode + mSupportedPrimitives.keyAt(i); in hashCode() 234 if (mSupportedBraking.keyAt(i) != Braking.NONE) { in getDefaultBraking() 235 return mSupportedBraking.keyAt(i); in getDefaultBraking() 442 names[i] = VibrationEffect.effectIdToString(mSupportedEffects.keyAt(i)); in getSupportedEffectsNames() 453 switch (mSupportedBraking.keyAt(i)) { in getSupportedBrakingNames() 461 names[i] = Integer.toString(mSupportedBraking.keyAt(i)); in getSupportedBrakingNames() 471 names[i] = VibrationEffect.Composition.primitiveToString(mSupportedPrimitives.keyAt(i)) in getSupportedPrimitivesNames()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/ |
D | ArrayMapWithHistoryTest.java | 146 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/ |
D | ArrayMapWithHistory.java | 110 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/ |
D | UsbUserPermissionManager.java | 428 new DeviceFilter(mDevicePersistentPermissionMap.keyAt(deviceIdx)); in scheduleWritePermissionsLocked() 435 uidsForDevices[deviceIdx][permissionIdx] = permissions.keyAt(permissionIdx); in scheduleWritePermissionsLocked() 447 mAccessoryPersistentPermissionMap.keyAt(accessoryIdx)); in scheduleWritePermissionsLocked() 455 permissions.keyAt(permissionIdx); in scheduleWritePermissionsLocked() 562 String deviceName = mDevicePermissionMap.keyAt(mappingsIdx); in dump() 571 dump.write("uids", UsbDevicePermissionProto.UIDS, uidList.keyAt(uidsIdx)); in dump() 579 UsbAccessory accessory = mAccessoryPermissionMap.keyAt(mappingsIdx); in dump() 590 dump.write("uids", UsbAccessoryPermissionProto.UIDS, uidList.keyAt(uidsIdx)); in dump() 598 DeviceFilter filter = mDevicePersistentPermissionMap.keyAt(mappingsIdx); in dump() 609 dump.write("uid", UsbUidPermissionProto.UID, permissions.keyAt(permissionsIdx)); in dump() [all …]
|