Home
last modified time | relevance | path

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

12345678910>>...30

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiSelector.java914 builder.append("TEXT=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
917 builder.append("TEXT_REGEX=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
920 builder.append("START_TEXT=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
923 builder.append("CONTAINS_TEXT=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
926 builder.append("CLASS=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
929 builder.append("CLASS_REGEX=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
932 builder.append("DESCRIPTION=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
935 builder.append("DESCRIPTION_REGEX=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
938 builder.append("START_DESCRIPTION=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
941 builder.append("CONTAINS_DESCRIPTION=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
[all …]
/frameworks/base/core/java/android/database/
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()
/frameworks/base/services/core/java/com/android/server/utils/
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 …]
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()
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 …]
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()
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()
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()
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()
/frameworks/base/core/java/com/android/internal/util/
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()
/frameworks/base/core/java/android/util/
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()
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()
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()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
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()
/frameworks/base/services/core/java/com/android/server/am/
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()
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()
DPhantomProcessList.java140 final ProcessRecord app = mService.mPidsSelfLocked.valueAt(i); in lookForPhantomProcessesLocked()
253 final ProcessRecord current = mPhantomToAppProcessMap.valueAt(index); in addChildPidLocked()
279 final InputStream inputStream = mCgroupProcsFds.valueAt(index); in onAppDied()
302 final PhantomProcessRecord proc = mPhantomProcesses.valueAt(index); in getOrCreatePhantomProcessIfNeededLocked()
313 final PhantomProcessRecord proc = mZombiePhantomProcesses.valueAt(idx); in getOrCreatePhantomProcessIfNeededLocked()
394 SparseArray<PhantomProcessRecord> array = mAppPhantomProcessMap.valueAt(index); in onPhantomProcessKilledLocked()
427 mTempPhantomProcesses.add(mPhantomProcesses.valueAt(i)); in trimPhantomProcessesIfNecessary()
468 final PhantomProcessRecord proc = mPhantomProcesses.valueAt(i); in pruneStaleProcessesLocked()
477 final PhantomProcessRecord proc = mZombiePhantomProcesses.valueAt(i); in pruneStaleProcessesLocked()
496 mAppPhantomProcessMap.valueAt(index); in killPhantomProcessGroupLocked()
[all …]
/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java291 final SparseArray<LongSparseArray<PackageState>> uids = pkgMap.valueAt(ip); in add()
294 final LongSparseArray<PackageState> versions = uids.valueAt(iu); in add()
297 final PackageState otherState = versions.valueAt(iv); in add()
302 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add()
321 ServiceState otherSvc = otherState.mServices.valueAt(isvc); in add()
329 AssociationState otherAsc = otherState.mAssociations.valueAt(iasc); in add()
342 SparseArray<ProcessState> uids = procMap.valueAt(ip); in add()
345 ProcessState otherProc = uids.valueAt(iu); in add()
478 SparseArray<ProcessState> uids = procMap.valueAt(iproc); in computeTotalMemoryUse()
480 final ProcessState proc = uids.valueAt(iu); in computeTotalMemoryUse()
[all …]
/frameworks/base/tools/aapt/
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()
750 if (!validateFileName(mFiles.valueAt(i)->getLeaf().string())) { in validate()
751 SourcePos(mFiles.valueAt(i)->getPrintableSource(), -1).error( in validate()
758 if (strcasecmp(mFiles.valueAt(i)->getLeaf().string(), in validate()
759 mFiles.valueAt(j)->getLeaf().string()) == 0) { in validate()
760 SourcePos(mFiles.valueAt(i)->getPrintableSource(), -1).error( in validate()
762 mFiles.valueAt(j)->getPrintableSource().string()); in validate()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
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()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransitionController.java133 && (!openingWcs.isEmpty() && openingWcs.valueAt(0).asTask() != null) in getOldWallpaper()
332 final ActivityRecord activity = openingApps.valueAt(i); in getTransitCompatType()
342 if (closingApps.valueAt(i).fillsParent()) { in getTransitCompatType()
391 && openingWcs.valueAt(0).asActivityRecord() != null; in getTransitCompatType()
393 && closingWcs.valueAt(0).asActivityRecord() != null; in getTransitCompatType()
418 if (closingApps.valueAt(i).visibleIgnoringKeyguard) { in getTransitCompatType()
511 result.add(array1.valueAt(i).getActivityType()); in collectActivityTypes()
514 result.add(array2.valueAt(i).getActivityType()); in collectActivityTypes()
517 result.add(array3.valueAt(i).getActivityType()); in collectActivityTypes()
532 ? array1.valueAt(i) in lookForHighestTokenWithFilter()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationSettings.java114 DomainVerificationPkgState pkgState = active.valueAt(activeIndex); in readSettings()
130 DomainVerificationPkgState pkgState = restored.valueAt(restoredIndex); in readSettings()
158 DomainVerificationPkgState newState = stateList.valueAt(stateIndex); in restoreSettings()
179 Integer stateInteger = stateMap.valueAt(index); in restoreSettings()
231 Integer newStateCode = newStateMap.valueAt(index); in mergePkgState()
255 DomainVerificationInternalUserState newUserState = newSelectionStates.valueAt(index); in mergePkgState()
297 mPendingPkgStates.valueAt(index).removeUser(userId); in removeUser()
304 mRestoredPkgStates.valueAt(index).removeUser(userId); in removeUser()
DDomainVerificationDebug.java75 DomainVerificationPkgState pkgState = stateMap.valueAt(index); in printState()
122 userIdToApprovalLevelToOwners.valueAt(userIndex); in printOwners()
144 List<String> owners = approvalLevelToOwners.valueAt(approvalIndex); in printOwners()
177 String domain = declaredDomains.valueAt(declaredIndex); in printState()
205 writer.println(invalidDomains.valueAt(index)); in printState()
215 Integer state = reusedMap.valueAt(stateIndex); in printState()
245 DomainVerificationInternalUserState userState = userStates.valueAt(index); in printState()
296 writer.println(enabledHosts.valueAt(enabledIndex)); in printState()
305 writer.println(reusedSet.valueAt(disabledIndex)); in printState()
/frameworks/base/core/java/com/android/internal/infra/
DWhitelistHelper.java70 mWhitelistedPackages.put(packageNames.valueAt(i), null); in setWhitelist()
76 final ComponentName component = components.valueAt(i); in setWhitelist()
172 final ArraySet<ComponentName> components = mWhitelistedPackages.valueAt(i); in dump()
179 pw.print("["); pw.print(components.valueAt(0)); in dump()
181 pw.print(", "); pw.print(components.valueAt(j)); in dump()
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp148 optionalParameters.valueAt(i).string()); in getKeyRequest()
162 request = mByteArrayProperties.valueAt(index); in getKeyRequest()
170 defaultUrl = mStringProperties.valueAt(index); in getKeyRequest()
179 atoi(mStringProperties.valueAt(index).string())); in getKeyRequest()
288 request = mByteArrayProperties.valueAt(index); in getProvisionRequest()
296 defaultUrl = mStringProperties.valueAt(index); in getProvisionRequest()
330 secureStop = mByteArrayProperties.valueAt(index); in getSecureStop()
350 ss1 = mByteArrayProperties.valueAt(index); in getSecureStops()
358 ss2 = mByteArrayProperties.valueAt(index); in getSecureStops()
394 value = mStringProperties.valueAt(index); in getPropertyString()
[all …]

12345678910>>...30