Home
last modified time | relevance | path

Searched refs:valueAt (Results 1 – 25 of 995) sorted by relevance

12345678910>>...40

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
H A DUsageGraphTest.java75 assertThat(localPaths.valueAt(0)).isEqualTo(0); in calculateLocalPaths_singlePath()
77 assertThat(localPaths.valueAt(1)).isEqualTo(100); in calculateLocalPaths_singlePath()
79 assertThat(localPaths.valueAt(2)).isEqualTo(-1); in calculateLocalPaths_singlePath()
99 assertThat(localPaths.valueAt(0)).isEqualTo(0); in calculateLocalPaths_multiplePaths()
101 assertThat(localPaths.valueAt(1)).isEqualTo(50); in calculateLocalPaths_multiplePaths()
103 assertThat(localPaths.valueAt(2)).isEqualTo(-1); in calculateLocalPaths_multiplePaths()
110 assertThat(localPaths.valueAt(5)).isEqualTo(-1); in calculateLocalPaths_multiplePaths()
126 assertThat(localPaths.valueAt(0)).isEqualTo(0); in calculateLocalPaths_similarPointMiddle()
130 assertThat(localPaths.valueAt(2)).isEqualTo(-1); in calculateLocalPaths_similarPointMiddle()
146 assertThat(localPaths.valueAt(0)).isEqualTo(0); in calculateLocalPaths_similarPointEnd()
[all …]
/aosp12/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiSelector.java914 builder.append("TEXT=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
926 builder.append("CLASS=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
944 builder.append("INDEX=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
947 builder.append("INSTANCE=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
950 builder.append("ENABLED=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
953 builder.append("FOCUSED=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
956 builder.append("FOCUSABLE=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
971 builder.append("CHECKED=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
974 builder.append("SELECTED=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
977 builder.append("ID=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
[all …]
/aosp12/frameworks/base/core/java/android/database/
H A DRedactingCursor.java85 return (double) mRedactions.valueAt(i); in getDouble()
95 return (float) mRedactions.valueAt(i); in getFloat()
105 return (int) mRedactions.valueAt(i); in getInt()
115 return (long) mRedactions.valueAt(i); in getLong()
125 return (short) mRedactions.valueAt(i); in getShort()
135 return (String) mRedactions.valueAt(i); in getString()
145 buffer.data = ((String) mRedactions.valueAt(i)).toCharArray(); in copyStringToBuffer()
156 return (byte[]) mRedactions.valueAt(i); in getBlob()
166 return DatabaseUtils.getTypeOfObject(mRedactions.valueAt(i)); in getType()
176 return mRedactions.valueAt(i) == null; in isNull()
/aosp12/packages/modules/Connectivity/Tethering/tests/privileged/src/com/android/networkstack/tethering/
H A DBpfMapTest.java145 mTestMap.insertEntry(mTestData.keyAt(0), mTestData.valueAt(0)); in testIsEmpty()
160 mTestMap.insertEntry(mTestData.keyAt(0), mTestData.valueAt(0)); in testGetFirstKey()
180 mTestMap.insertEntry(mTestData.keyAt(0), mTestData.valueAt(0)); in testGetNextKey()
181 resultMap.put(mTestData.keyAt(0), mTestData.valueAt(0)); in testGetNextKey()
190 resultMap.put(mTestData.keyAt(1), mTestData.valueAt(1)); in testGetNextKey()
215 final Tether6Value value = mTestData.valueAt(0); in testUpdateEntry()
216 final Tether6Value value2 = mTestData.valueAt(1); in testUpdateEntry()
238 final Tether6Value value = mTestData.valueAt(0); in testInsertOrReplaceEntry()
239 final Tether6Value value2 = mTestData.valueAt(1); in testInsertOrReplaceEntry()
261 final Tether6Value value = mTestData.valueAt(0); in testInsertReplaceEntry()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/utils/
H A DWatchedArraySet.java104 registerChild(mStorage.valueAt(i)); in registerObserver()
119 unregisterChild(mStorage.valueAt(i)); in unregisterObserver()
175 add(src.valueAt(i)); in copyFrom()
187 dst.add(valueAt(i)); in copyTo()
209 unregisterChild(mStorage.valueAt(i)); in clear()
245 public E valueAt(int index) { in valueAt() method in WatchedArraySet
246 return mStorage.valueAt(index); in valueAt()
288 add(array.valueAt(i)); in addAll()
299 add(array.valueAt(i)); in addAll()
342 any = remove(array.valueAt(i)) || any; in removeAll()
[all …]
H A DWatchedLongSparseArray.java103 registerChild(mStorage.valueAt(i)); in registerObserver()
118 unregisterChild(mStorage.valueAt(i)); in unregisterObserver()
164 put(src.keyAt(i), src.valueAt(i)); in copyFrom()
175 dst.put(keyAt(i), valueAt(i)); in copyTo()
228 E old = mStorage.valueAt(index); in removeAt()
286 public E valueAt(int index) { in valueAt() method in WatchedLongSparseArray
287 return mStorage.valueAt(index); in valueAt()
299 E old = mStorage.valueAt(index); in setValueAt()
347 unregisterChild(mStorage.valueAt(i)); in clear()
411 final E val = Snapshots.maybeSnapshot(src.valueAt(i)); in snapshot()
H A DWatchedSparseArray.java105 registerChild(mStorage.valueAt(i)); in registerObserver()
120 unregisterChild(mStorage.valueAt(i)); in unregisterObserver()
166 put(src.keyAt(i), src.valueAt(i)); in copyFrom()
177 dst.put(keyAt(i), valueAt(i)); in copyTo()
250 final E child = mStorage.valueAt(index); in removeAt()
269 children.add(mStorage.valueAt(i + index)); in removeAtRange()
342 public E valueAt(int index) { in valueAt() method in WatchedSparseArray
343 return mStorage.valueAt(index); in valueAt()
357 final E old = mStorage.valueAt(index); in setValueAt()
413 unregisterChild(mStorage.valueAt(i)); in clear()
[all …]
H A DWatchedSparseBooleanArray.java77 put(src.keyAt(i), src.valueAt(i)); in copyFrom()
88 dst.put(keyAt(i), valueAt(i)); in copyTo()
189 public boolean valueAt(int index) { in valueAt() method in WatchedSparseBooleanArray
190 return mStorage.valueAt(index); in valueAt()
202 if (mStorage.valueAt(index) != value) { in setValueAt()
313 dst.put(src.keyAt(i), src.valueAt(i)); in snapshot()
H A DWatchedSparseIntArray.java77 put(src.keyAt(i), src.valueAt(i)); in copyFrom()
88 dst.put(keyAt(i), valueAt(i)); in copyTo()
192 public int valueAt(int index) { in valueAt() method in WatchedSparseIntArray
193 return mStorage.valueAt(index); in valueAt()
205 if (mStorage.valueAt(index) != value) { in setValueAt()
318 dst.put(src.keyAt(i), src.valueAt(i)); in snapshot()
H A 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()
H A DWatchedArrayMap.java110 registerChild(mStorage.valueAt(i)); in registerObserver()
125 unregisterChild(mStorage.valueAt(i)); in unregisterObserver()
184 put(src.keyAt(i), src.valueAt(i)); in copyFrom()
196 dst.put(keyAt(i), valueAt(i)); in copyTo()
219 unregisterChild(mStorage.valueAt(i)); in clear()
367 public V valueAt(int index) { in valueAt() method in WatchedArrayMap
368 return mStorage.valueAt(index); in valueAt()
466 final V val = Snapshots.maybeSnapshot(src.valueAt(i)); in snapshot()
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DHeavyHitterSketch.java196 mFrequencies.setValueAt(index, mFrequencies.valueAt(index) + 1); in addToMGSummary()
202 final int val = mFrequencies.valueAt(i) - 1; in addToMGSummary()
227 mFrequencies.setValueAt(index, mFrequencies.valueAt(index) + 1); in validate()
233 final int val = mFrequencies.valueAt(i); in validate()
269 final int val = mFrequencies.valueAt(i); in getTopHeavyHitters()
281 Collections.sort(indexes, (a, b) -> mFrequencies.valueAt(b) - mFrequencies.valueAt(a)); in getTopHeavyHitters()
287 final T obj = mObjects.valueAt(index); in getTopHeavyHitters()
291 freqs.add((float) mFrequencies.valueAt(index) / mPassSize); in getTopHeavyHitters()
315 final T obj = mObjects.valueAt(i); in getCandidates()
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DEffectDescriptor.cpp80 return valueAt(index); in getEffect()
113 return setEffectEnabled(valueAt(index), enabled); in setEffectEnabled()
122 return valueAt(index)->mEnabled; in isEffectEnabled()
158 sp<EffectDescriptor> effectDesc = valueAt(i); in isNonOffloadableEffectEnabled()
185 sp<EffectDescriptor> effect = valueAt(i); in moveEffects()
198 sp<EffectDescriptor> effect = valueAt(i); in moveEffects()
209 sp<EffectDescriptor> effect = valueAt(i); in getIoForSession()
222 if (valueAt(i)->mIo == io) { in getEffectsForIo()
223 effects.add(keyAt(i), valueAt(i)); in getEffectsForIo()
243 valueAt(i)->dump(dst, spaces + 2); in dump()
/aosp12/frameworks/base/services/core/java/com/android/server/wallpaper/
H A DLocalColorRepository.java112 for (int j = 0; j < mLocalColorAreas.valueAt(i).size(); j++) { in removeAreas()
113 for (int k = 0; k < mLocalColorAreas.valueAt(i).valueAt(j).size(); k++) { in removeAreas()
114 purged.remove(mLocalColorAreas.valueAt(i).valueAt(j).valueAt(k)); in removeAreas()
129 SparseArray<ArraySet<RectF>> displays = mLocalColorAreas.valueAt(i); in getAreasByDisplayId()
134 areas.add(displayAreas.valueAt(j)); in getAreasByDisplayId()
/aosp12/frameworks/base/core/java/android/util/
H A DSparseArrayMap.java50 mData.valueAt(i).clear(); in clear()
131 return mData.valueAt(keyIndex).keyAt(mapIndex); in keyAt()
147 public V valueAt(int keyIndex, int mapIndex) { in valueAt() method in SparseArrayMap
148 return mData.valueAt(keyIndex).valueAt(mapIndex); in valueAt()
154 ArrayMap<K, V> data = mData.valueAt(i); in forEach()
156 consumer.accept(data.valueAt(j)); in forEach()
H A DSparseDoubleArray.java88 return valueAt(index); in get()
136 public double valueAt(int index) { in valueAt() method in SparseDoubleArray
137 return Double.longBitsToDouble(mValues.valueAt(index)); in valueAt()
160 double value = valueAt(i); in toString()
H A DSparseSetArray.java102 final ArraySet<T> set = mData.valueAt(index); in sizeAt()
109 public T valueAt(int intIndex, int valueIndex) { in valueAt() method in SparseSetArray
110 return mData.valueAt(intIndex).valueAt(valueIndex); in valueAt()
/aosp12/frameworks/base/core/java/com/android/internal/app/procstats/
H A DProcessStats.java342 SparseArray<ProcessState> uids = procMap.valueAt(ip); in add()
345 ProcessState otherProc = uids.valueAt(iu); in add()
480 final ProcessState proc = uids.valueAt(iu); in computeTotalMemoryUse()
506 uids.valueAt(iu).tmpNumInUse = 0; in resetSafely()
565 ProcessState ps = uids.valueAt(iu); in resetSafely()
837 SparseArray<ProcessState> uids = procMap.valueAt(ip); in writeToParcel()
840 uids.valueAt(iu).commitStateTime(now); in writeToParcel()
853 PackageState pkgState = vpkgs.valueAt(iv); in writeToParcel()
911 final ProcessState proc = uids.valueAt(iu); in writeToParcel()
1749 final ProcessState proc = uids.valueAt(iu); in dumpLocked()
[all …]
/aosp12/frameworks/base/tools/aapt/
H A DAaptAssets.cpp547 const sp<AaptFile>& originalFile = mFiles.valueAt(index); in addFile()
566 sp<AaptFile> file = mFiles.valueAt(i); in print()
584 return mFiles.valueAt(0)->getPrintableSource(); in getPrintableSource()
626 return subdir->mDirs.valueAt(i); in makeDir()
799 status_t err = mDirs.valueAt(i)->validate(); in validate()
813 getDirs().valueAt(i)->print(prefix); in print()
818 getFiles().valueAt(i)->print(prefix); in print()
921 group = dir->getFiles().valueAt(i); in addFile()
939 dir = dir->getDirs().valueAt(i); in addFile()
1365 sp<AaptGroup> grp = dir->getFiles().valueAt(j); in filter()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DProcessServiceRecord.java176 ConnectionRecord cr = mConnections.valueAt(i); in updateHasAboveClientLocked()
283 return mServices.valueAt(index); in getRunningServiceAt()
299 return mExecutingServices.valueAt(index); in getExecutingServiceAt()
319 return mConnections.valueAt(index); in getConnectionAt()
341 mServices.valueAt(j).getConnections(); in updateBoundClientUids()
344 ArrayList<ConnectionRecord> c = conns.valueAt(conni); in updateBoundClientUids()
360 ArrayList<ConnectionRecord> c = conns.valueAt(conni); in addBoundClientUidsOfNewService()
427 pw.print(prefix); pw.print(" - "); pw.println(mServices.valueAt(i)); in dump()
434 pw.print(prefix); pw.print(" - "); pw.println(mExecutingServices.valueAt(i)); in dump()
440 pw.print(prefix); pw.print(" - "); pw.println(mConnections.valueAt(i)); in dump()
H A DProcessReceiverRecord.java47 return mCurReceivers.valueAt(index); in getCurReceiverAt()
67 return mReceivers.valueAt(index); in getReceiverAt()
87 mService.removeReceiverLocked(mReceivers.valueAt(i)); in onCleanupApplicationRecordLocked()
96 pw.print(prefix); pw.print(" - "); pw.println(mCurReceivers.valueAt(i)); in dump()
102 pw.print(prefix); pw.print(" - "); pw.println(mReceivers.valueAt(i)); in dump()
H A DPhantomProcessList.java142 final ProcessRecord app = mService.mPidsSelfLocked.valueAt(i); in lookForPhantomProcessesLocked()
281 final InputStream inputStream = mCgroupProcsFds.valueAt(index); in onAppDied()
304 final PhantomProcessRecord proc = mPhantomProcesses.valueAt(index); in getOrCreatePhantomProcessIfNeededLocked()
433 mTempPhantomProcesses.add(mPhantomProcesses.valueAt(i)); in trimPhantomProcessesIfNecessary()
474 final PhantomProcessRecord proc = mPhantomProcesses.valueAt(i); in pruneStaleProcessesLocked()
483 final PhantomProcessRecord proc = mZombiePhantomProcesses.valueAt(i); in pruneStaleProcessesLocked()
502 mAppPhantomProcessMap.valueAt(index); in killPhantomProcessGroupLocked()
504 final PhantomProcessRecord r = array.valueAt(i); in killPhantomProcessGroupLocked()
527 mAppPhantomProcessMap.valueAt(index); in forEachPhantomProcessOfApp()
529 final PhantomProcessRecord r = array.valueAt(i); in forEachPhantomProcessOfApp()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DAppTransitionController.java387 if (closingApps.valueAt(i).fillsParent()) { in getTransitCompatType()
436 ? openingWcs.valueAt(0) : null; in getTransitCompatType()
438 ? closingWcs.valueAt(0) : null; in getTransitCompatType()
745 ? array1.valueAt(i) in lookForHighestTokenWithFilter()
761 if (apps.valueAt(i).mVoiceInteraction) {
785 final WindowContainer wc = wcs.valueAt(i); in applyAnimations()
792 final ActivityRecord app = apps.valueAt(j); in applyAnimations()
818 final ActivityRecord app = apps.valueAt(i); in getAnimationTargets()
1026 WindowContainer wc = apps.valueAt(i); in handleChangingApps()
1081 WindowContainer wc = apps.valueAt(i); in transitionGoodToGo()
[all …]
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
H A DWifiAwareMetrics.java218 if (clients.valueAt(i).getUid() == uid) { in recordAttachSession()
287 WifiAwareClientState client = clients.valueAt(i); in recordDiscoverySessionInternal()
704 + mAttachStatusData.valueAt(i)); in dump()
709 + mHistogramAttachDuration.valueAt(i)); in dump()
721 + mPublishStatusData.valueAt(i)); in dump()
726 + mSubscribeStatusData.valueAt(i)); in dump()
773 + mInBandNdpStatusData.valueAt(i)); in dump()
778 + mOutOfBandNdpStatusData.valueAt(i)); in dump()
795 + mHistogramNdpDuration.valueAt(i)); in dump()
846 protoArray[i].count = histogram.valueAt(i); in histogramToProtoArray()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/pm/
H A DRestrictionsSet.java96 final Bundle from = mUserRestrictions.valueAt(i); in moveRestriction()
133 UserRestrictionsUtils.merge(result, mUserRestrictions.valueAt(i)); in mergeAll()
145 if (UserRestrictionsUtils.contains(mUserRestrictions.valueAt(i), restriction)) { in getEnforcingUsers()
194 UserRestrictionsUtils.writeRestrictions(serializer, mUserRestrictions.valueAt(i), in writeRestrictions()
231 UserRestrictionsUtils.dumpRestrictions(pw, prefix + " ", mUserRestrictions.valueAt(i)); in dumpRestrictions()
254 public Bundle valueAt(int index) { in valueAt() method in RestrictionsSet
255 return mUserRestrictions.valueAt(index); in valueAt()

12345678910>>...40