/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiSelector.java | 914 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/ |
D | RedactingCursor.java | 85 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/core/java/android/util/ |
D | SparseArrayMap.java | 49 mData.valueAt(i).clear(); in clear() 130 return mData.valueAt(keyIndex).keyAt(mapIndex); in keyAt() 146 public T valueAt(int keyIndex, int mapIndex) { in valueAt() method in SparseArrayMap 147 return mData.valueAt(keyIndex).valueAt(mapIndex); in valueAt() 153 ArrayMap<String, T> data = mData.valueAt(i); in forEach() 155 consumer.accept(data.valueAt(j)); in forEach()
|
D | SparseSetArray.java | 102 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/ |
D | EffectDescriptor.cpp | 80 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 if (valueAt(i)->mIo == io) { in getEffectsForIo() 210 effects.add(keyAt(i), valueAt(i)); in getEffectsForIo() 230 valueAt(i)->dump(dst, spaces + 2); in dump()
|
D | AudioInputDescriptor.cpp | 310 if (mEnabledEffects.valueAt(i)->mSession == client->session()) { in addClient() 311 client->trackEffectEnabled(mEnabledEffects.valueAt(i), true); in addClient() 380 clientEffects.push_back(effectsList.valueAt(i)->mDesc); in updateClientRecordingConfiguration() 386 effects.push_back(effectsList.valueAt(i)->mDesc); in updateClientRecordingConfiguration() 496 sp<EffectDescriptor> effect = mEnabledEffects.valueAt(i); in checkSuspendEffects() 529 const sp<AudioInputDescriptor> inputDescriptor = valueAt(i); in isSourceActive() 540 const sp<AudioInputDescriptor> inputDescriptor = valueAt(i); in getInputFromId() 552 const sp<AudioInputDescriptor> inputDescriptor = valueAt(i); in activeInputsCountOnDevices() 566 const sp<AudioInputDescriptor> inputDescriptor = valueAt(i); in getActiveInputs() 577 sp<AudioInputDescriptor> inputDesc = valueAt(i); in getInputForClient() [all …]
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | ProcessStats.java | 289 final SparseArray<LongSparseArray<PackageState>> uids = pkgMap.valueAt(ip); in add() 292 final LongSparseArray<PackageState> versions = uids.valueAt(iu); in add() 295 final PackageState otherState = versions.valueAt(iv); in add() 300 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add() 319 ServiceState otherSvc = otherState.mServices.valueAt(isvc); in add() 327 AssociationState otherAsc = otherState.mAssociations.valueAt(iasc); in add() 340 SparseArray<ProcessState> uids = procMap.valueAt(ip); in add() 343 ProcessState otherProc = uids.valueAt(iu); in add() 476 SparseArray<ProcessState> uids = procMap.valueAt(iproc); in computeTotalMemoryUse() 478 final ProcessState proc = uids.valueAt(iu); in computeTotalMemoryUse() [all …]
|
/frameworks/base/tools/aapt/ |
D | AaptAssets.cpp | 547 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/ |
D | RestrictionsSet.java | 94 final Bundle from = mUserRestrictions.valueAt(i); in moveRestriction() 131 UserRestrictionsUtils.merge(result, mUserRestrictions.valueAt(i)); in mergeAll() 143 if (UserRestrictionsUtils.contains(mUserRestrictions.valueAt(i), restriction)) { in getEnforcingUsers() 192 UserRestrictionsUtils.writeRestrictions(serializer, mUserRestrictions.valueAt(i), in writeRestrictions() 229 UserRestrictionsUtils.dumpRestrictions(pw, prefix + " ", mUserRestrictions.valueAt(i)); in dumpRestrictions() 252 public Bundle valueAt(int index) { in valueAt() method in RestrictionsSet 253 return mUserRestrictions.valueAt(index); in valueAt()
|
D | KeySetManagerService.java | 271 KeySetHandle value = mKeySets.valueAt(keySetIndex); in getIdByKeySetLPr() 301 decrementKeySetLPw(prevDefinedKeySets.valueAt(i)); in addDefinedKeySetsToPackageLPw() 394 mPubKeys.add(mPublicKeys.get(pkIds.valueAt(i)).getKey()); in getPublicKeysFromKeySetLPr() 439 long id = addPublicKeyLPw(keys.valueAt(i)); in addKeySetLPw() 449 decrementPublicKeyLPw(addedKeyIds.valueAt(i)); in addKeySetLPw() 481 decrementPublicKeyLPw(pubKeys.valueAt(i)); in decrementKeySetLPw() 529 ArraySet<Long> value = mKeySetMapping.valueAt(keyMapIndex); in getIdFromKeyIdsLPr() 543 PublicKey value = mPublicKeys.valueAt(publicKeyIndex).getKey(); in getIdForPublicKeyLPr() 583 decrementKeySetLPw(definedKeySets.valueAt(i)); in removeAppKeySetDataLPw() 645 pw.print(Long.toString(definedKeySets.valueAt(i))); in dumpLPr() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/ |
D | WifiAwareMetrics.java | 212 if (clients.valueAt(i).getUid() == uid) { in recordAttachSession() 281 WifiAwareClientState client = clients.valueAt(i); in recordDiscoverySessionInternal() 286 WifiAwareDiscoverySessionState session = sessions.valueAt(j); in recordDiscoverySessionInternal() 674 + mHistogramAwareAvailableDurationMs.valueAt(i)); in dump() 684 + mHistogramAwareEnabledDurationMs.valueAt(i)); in dump() 696 + mAttachStatusData.valueAt(i)); in dump() 701 + mHistogramAttachDuration.valueAt(i)); in dump() 713 + mPublishStatusData.valueAt(i)); in dump() 718 + mSubscribeStatusData.valueAt(i)); in dump() 723 + mHistogramPublishDuration.valueAt(i)); in dump() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppTransitionController.java | 311 result.add(array1.valueAt(i).getActivityType()); in collectActivityTypes() 314 result.add(array2.valueAt(i).getActivityType()); in collectActivityTypes() 317 result.add(array3.valueAt(i).getActivityType()); in collectActivityTypes() 332 ? array1.valueAt(i) in lookForHighestTokenWithFilter() 334 ? array2.valueAt(i - array2base) in lookForHighestTokenWithFilter() 335 : array3.valueAt(i - array3base)); in lookForHighestTokenWithFilter() 348 if (apps.valueAt(i).mVoiceInteraction) { 372 final WindowContainer wc = wcs.valueAt(i); in applyAnimations() 379 final ActivityRecord app = apps.valueAt(j); in applyAnimations() 405 final ActivityRecord app = apps.valueAt(i); in getAnimationTargets() [all …]
|
/frameworks/base/core/java/com/android/internal/infra/ |
D | WhitelistHelper.java | 70 mWhitelistedPackages.put(packageNames.valueAt(i), null); in setWhitelist() 76 final ComponentName component = components.valueAt(i); in setWhitelist() 163 final ArraySet<ComponentName> components = mWhitelistedPackages.valueAt(i); in dump() 170 pw.print("["); pw.print(components.valueAt(0)); in dump() 172 pw.print(", "); pw.print(components.valueAt(j)); in dump()
|
/frameworks/av/drm/mediadrm/plugins/mock/ |
D | MockDrmCryptoPlugin.cpp | 148 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 …]
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | ContentObserverController.java | 211 JobInstance inst = mJobs.valueAt(i); in onChange() 359 JobStatus js = mTrackedTasks.valueAt(i); in dumpControllerStateLocked() 381 ObserverInstance obs = observersOfUser.valueAt(observerIdx); in dumpControllerStateLocked() 385 JobInstance inst = obs.mJobs.valueAt(j); in dumpControllerStateLocked() 405 JobInstance inst = obs.mJobs.valueAt(j); in dumpControllerStateLocked() 424 pw.println(inst.mChangedAuthorities.valueAt(k)); in dumpControllerStateLocked() 429 pw.println(inst.mChangedUris.valueAt(k)); in dumpControllerStateLocked() 452 JobStatus js = mTrackedTasks.valueAt(i); in dumpControllerStateLocked() 477 ObserverInstance obs = observersOfUser.valueAt(observerIdx); in dumpControllerStateLocked() 481 JobInstance inst = obs.mJobs.valueAt(j); in dumpControllerStateLocked() [all …]
|
D | ConnectivityController.java | 168 final Network network = mAvailableNetworks.valueAt(i); in isNetworkAvailable() 265 evaluateStateLocked(jobs.valueAt(i)); in reevaluateStateLocked() 480 changed |= updateTrackedJobsLocked(mTrackedJobs.valueAt(i), in updateTrackedJobs() 499 final Network network = mConnManager.getActiveNetworkForUid(jobs.valueAt(0).getSourceUid()); in updateTrackedJobsLocked() 510 final JobStatus js = jobs.valueAt(i); in updateTrackedJobsLocked() 529 final ArraySet<JobStatus> jobs = mTrackedJobs.valueAt(i); in onNetworkActive() 531 final JobStatus js = jobs.valueAt(j); in onNetworkActive() 624 pw.print(mRequestedWhitelistJobs.valueAt(i).size()); in dumpControllerStateLocked() 633 pw.println(mAvailableNetworks.valueAt(i)); in dumpControllerStateLocked() 640 final ArraySet<JobStatus> jobs = mTrackedJobs.valueAt(i); in dumpControllerStateLocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppExitInfoTracker.java | 714 records.valueAt(j).writeToProto(proto, AppsExitInfoProto.Package.USERS); in persistProcessExitInfo() 815 array.valueAt(i).dumpLocked(pw, prefix + " ", sdf); in dumpHistoryProcessExitInfoLocked() 843 switch (callback.apply(map.keyAt(i), map.valueAt(i))) { in forEachPackageLocked() 845 final SparseArray<AppExitInfoContainer> records = map.valueAt(i); in forEachPackageLocked() 847 records.valueAt(j).destroyLocked(); in forEachPackageLocked() 868 final SparseArray<File> array = mActiveAppTraces.valueAt(idx); in removePackageLocked() 870 array.valueAt(i).delete(); in removePackageLocked() 882 array.valueAt(i).destroyLocked(); in removePackageLocked() 888 array.valueAt(i).destroyLocked(); in removePackageLocked() 915 records.valueAt(i).destroyLocked(); in removeByUserIdLocked() [all …]
|
D | BroadcastStats.java | 113 actions.add(mActions.valueAt(i)); in dumpStats() 141 PackageEntry pe = ae.mPackages.valueAt(j); in dumpStats() 150 ViolationEntry ve = ae.mBackgroundCheckViolations.valueAt(j); in dumpStats() 166 ActionEntry ae = mActions.valueAt(i); in dumpCheckinStats() 184 PackageEntry pe = ae.mPackages.valueAt(j); in dumpCheckinStats() 192 ViolationEntry ve = ae.mBackgroundCheckViolations.valueAt(j); in dumpCheckinStats()
|
/frameworks/base/core/java/android/app/usage/ |
D | UsageStats.java | 276 final int event = right.valueAt(i); in mergeEventMap() 279 left.put(instanceId, Math.max(left.valueAt(index), event)); in mergeEventMap() 290 final Integer event = right.valueAt(i); in mergeEventMap() 337 ArrayMap<String, Integer> counts = right.mChooserCounts.valueAt(i); in add() 345 int rightValue = counts.valueAt(j); in add() 360 if (mActivities.valueAt(i) == ACTIVITY_RESUMED) { in hasForegroundActivity() 374 final int type = mActivities.valueAt(i); in hasVisibleActivity() 445 final int lastEvent = mActivities.valueAt(index); in updateActivity() 630 ArrayMap<String, Integer> counts = mChooserCounts.valueAt(i); in writeToParcel() 634 currentCounts.putInt(counts.keyAt(j), counts.valueAt(j)); in writeToParcel() [all …]
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 331 ConnectStats stats = mNetworkMetrics.valueAt(i).connectMetrics; in flushStatistics() 338 DnsEvent ev = mNetworkMetrics.valueAt(i).dnsMetrics; in flushStatistics() 345 events.add(IpConnectivityEventBuilder.toProto(mWakeupStats.valueAt(i))); in flushStatistics() 354 pw.println(mNetworkMetrics.valueAt(i).connectMetrics); in list() 357 pw.println(mNetworkMetrics.valueAt(i).dnsMetrics); in list() 367 pw.println(mWakeupStats.valueAt(i)); in list() 380 list.add(IpConnectivityEventBuilder.toProto(mNetworkMetrics.valueAt(i).connectMetrics)); in listAsProtos() 383 list.add(IpConnectivityEventBuilder.toProto(mNetworkMetrics.valueAt(i).dnsMetrics)); in listAsProtos() 386 list.add(IpConnectivityEventBuilder.toProto(mWakeupStats.valueAt(i))); in listAsProtos() 414 NetworkMetrics.Summary s = networkMetrics.valueAt(i).getPendingStats(); in collect()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/ |
D | CarrierDisplayNameResolver.java | 198 EfData p = mEf.valueAt(i); in toString() 239 if (mEf.valueAt(i).getServiceProviderNameDisplayCondition() in getDisplayRule() 242 mEf.valueAt(i).getServiceProviderNameDisplayCondition()); in getDisplayRule() 251 if (mEf.valueAt(i).getServiceProviderDisplayInformation() != null) { in getEfSpdi() 252 return mEf.valueAt(i).getServiceProviderDisplayInformation(); in getEfSpdi() 261 if (!TextUtils.isEmpty(mEf.valueAt(i).getServiceProviderName())) { in getEfSpn() 262 return mEf.valueAt(i).getServiceProviderName(); in getEfSpn() 271 if (mEf.valueAt(i).getOperatorPlmnList() != null) { in getEfOpl() 272 return mEf.valueAt(i).getOperatorPlmnList(); in getEfOpl() 281 if (mEf.valueAt(i).getPlmnNetworkNameList() != null) { in getEfPnn() [all …]
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbUserPermissionManager.java | 210 return permissionsForDevice.valueAt(idx); in hasPermission() 239 return permissionsForAccessory.valueAt(idx); in hasPermission() 262 isChanged = permissionsForDevice.valueAt(idx) != isGranted; in setDevicePersistentPermission() 289 isChanged = permissionsForAccessory.valueAt(idx) != isGranted; in setAccessoryPersistentPermission() 330 mDevicePersistentPermissionMap.valueAt(idx); in readPermission() 342 mAccessoryPersistentPermissionMap.valueAt(idx); in readPermission() 406 mDevicePersistentPermissionMap.valueAt(deviceIdx); in scheduleWritePermissionsLocked() 413 permissions.valueAt(permissionIdx); in scheduleWritePermissionsLocked() 425 mAccessoryPersistentPermissionMap.valueAt(accessoryIdx); in scheduleWritePermissionsLocked() 433 permissions.valueAt(permissionIdx); in scheduleWritePermissionsLocked() [all …]
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyEffects.cpp | 67 delete mInputSources.valueAt(i); in ~AudioPolicyEffects() 72 mInputSessions.valueAt(i)->mEffects.clear(); in ~AudioPolicyEffects() 73 delete mInputSessions.valueAt(i); in ~AudioPolicyEffects() 79 delete mOutputStreams.valueAt(i); in ~AudioPolicyEffects() 84 mOutputSessions.valueAt(i)->mEffects.clear(); in ~AudioPolicyEffects() 85 delete mOutputSessions.valueAt(i); in ~AudioPolicyEffects() 114 sessionDesc = mInputSessions.valueAt(idx); in addInputEffects() 121 Vector <EffectDesc *> effects = mInputSources.valueAt(index)->mEffects; in addInputEffects() 157 EffectVector *sessionDesc = mInputSessions.valueAt(index); in releaseInputEffects() 178 if (mInputSessions.valueAt(index)->mSessionId == audioSession) { in queryDefaultInputEffects() [all …]
|
/frameworks/base/core/java/android/app/ |
D | LoaderManager.java | 742 LoaderInfo info = mLoaders.valueAt(idx); in destroyLoader() 748 LoaderInfo info = mInactiveLoaders.valueAt(idx); in destroyLoader() 791 mLoaders.valueAt(i).start(); in doStart() 805 mLoaders.valueAt(i).stop(); in doStop() 822 mLoaders.valueAt(i).retain(); in doRetain() 832 mLoaders.valueAt(i).finishRetain(); in finishRetain() 839 mLoaders.valueAt(i).mReportNextStart = true; in doReportNextStart() 845 mLoaders.valueAt(i).reportStart(); in doReportStart() 853 mLoaders.valueAt(i).destroy(); in doDestroy() 860 mInactiveLoaders.valueAt(i).destroy(); in doDestroy() [all …]
|
/frameworks/base/services/core/java/com/android/server/utils/quota/ |
D | UptcMap.java | 131 return mData.valueAt(userIndex, packageIndex).keyAt(tagIndex); in getTagAtIndex() 152 public T valueAt(int userIndex, int packageIndex, int tagIndex) { in valueAt() method in UptcMap 153 final ArrayMap<String, T> data = mData.valueAt(userIndex, packageIndex); in valueAt() 154 return data != null ? data.valueAt(tagIndex) : null; in valueAt() 160 consumer.accept(tagMap.valueAt(i)); in forEach()
|