Home
last modified time | relevance | path

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

12345678910>>...24

/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/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 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()
DAudioInputDescriptor.cpp310 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/
DProcessStats.java269 final SparseArray<LongSparseArray<PackageState>> uids = pkgMap.valueAt(ip); in add()
272 final LongSparseArray<PackageState> versions = uids.valueAt(iu); in add()
275 final PackageState otherState = versions.valueAt(iv); in add()
280 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add()
299 ServiceState otherSvc = otherState.mServices.valueAt(isvc); in add()
307 AssociationState otherAsc = otherState.mAssociations.valueAt(iasc); in add()
320 SparseArray<ProcessState> uids = procMap.valueAt(ip); in add()
323 ProcessState otherProc = uids.valueAt(iu); in add()
454 SparseArray<ProcessState> uids = procMap.valueAt(iproc); in computeTotalMemoryUse()
456 final ProcessState proc = uids.valueAt(iu); in computeTotalMemoryUse()
[all …]
/frameworks/native/services/inputflinger/reader/
DInputReader.cpp75 delete mDevices.valueAt(i); in ~InputReader()
220 device = mDevices.valueAt(deviceIndex); in removeDeviceLocked()
324 InputDevice* device = mDevices.valueAt(deviceIndex); in processEventsForDeviceLocked()
335 InputDevice* device = mDevices.valueAt(i); in timeoutExpiredLocked()
363 InputDevice* device = mDevices.valueAt(i); in refreshConfigurationLocked()
374 InputDevice* device = mDevices.valueAt(i); in updateGlobalMetaStateLocked()
389 InputDevice* device = mDevices.valueAt(i); in getExternalStylusDevicesLocked()
400 InputDevice* device = mDevices.valueAt(i); in dispatchExternalStylusState()
424 InputDevice* device = mDevices.valueAt(i); in fadePointerLocked()
450 InputDevice* device = mDevices.valueAt(i); in getInputDevicesLocked()
[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/
DKeySetManagerService.java204 if (!(definedMapping.valueAt(i).size() > 0) in assertScannedPackageValid()
205 || definedMapping.valueAt(i).contains(null)) { in assertScannedPackageValid()
270 KeySetHandle value = mKeySets.valueAt(keySetIndex); in getIdByKeySetLPr()
291 ArraySet<PublicKey> pubKeys = definedMapping.valueAt(i); in addDefinedKeySetsToPackageLPw()
301 decrementKeySetLPw(prevDefinedKeySets.valueAt(i)); in addDefinedKeySetsToPackageLPw()
319 pkg.keySetData.addUpgradeKeySet(upgradeAliases.valueAt(i)); in addUpgradeKeySetsToPackageLPw()
396 mPubKeys.add(mPublicKeys.get(pkIds.valueAt(i)).getKey()); in getPublicKeysFromKeySetLPr()
441 long id = addPublicKeyLPw(keys.valueAt(i)); in addKeySetLPw()
451 decrementPublicKeyLPw(addedKeyIds.valueAt(i)); in addKeySetLPw()
483 decrementPublicKeyLPw(pubKeys.valueAt(i)); in decrementKeySetLPw()
[all …]
/frameworks/base/core/java/android/util/
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/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareMetrics.java214 if (clients.valueAt(i).getUid() == uid) { in recordAttachSession()
283 WifiAwareClientState client = clients.valueAt(i); in recordDiscoverySessionInternal()
288 WifiAwareDiscoverySessionState session = sessions.valueAt(j); in recordDiscoverySessionInternal()
676 + mHistogramAwareAvailableDurationMs.valueAt(i)); in dump()
686 + mHistogramAwareEnabledDurationMs.valueAt(i)); in dump()
698 + mAttachStatusData.valueAt(i)); in dump()
703 + mHistogramAttachDuration.valueAt(i)); in dump()
715 + mPublishStatusData.valueAt(i)); in dump()
720 + mSubscribeStatusData.valueAt(i)); in dump()
725 + mHistogramPublishDuration.valueAt(i)); in dump()
[all …]
/frameworks/base/core/java/android/app/usage/
DUsageStats.java264 final int event = right.valueAt(i); in mergeEventMap()
267 left.put(instanceId, Math.max(left.valueAt(index), event)); in mergeEventMap()
278 final Integer event = right.valueAt(i); in mergeEventMap()
325 ArrayMap<String, Integer> counts = right.mChooserCounts.valueAt(i); in add()
333 int rightValue = counts.valueAt(j); in add()
348 if (mActivities.valueAt(i) == ACTIVITY_RESUMED) { in hasForegroundActivity()
362 final int type = mActivities.valueAt(i); in hasVisibleActivity()
433 final int lastEvent = mActivities.valueAt(index); in updateActivity()
606 ArrayMap<String, Integer> counts = mChooserCounts.valueAt(i); in writeToParcel()
610 currentCounts.putInt(counts.keyAt(j), counts.valueAt(j)); in writeToParcel()
[all …]
/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 …]
/frameworks/base/services/core/java/com/android/server/job/controllers/
DContentObserverController.java211 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 …]
DConnectivityController.java161 final Network network = mAvailableNetworks.valueAt(i); in isNetworkAvailable()
266 evaluateStateLocked(jobs.valueAt(i)); in reevaluateStateLocked()
462 changed |= updateTrackedJobsLocked(mTrackedJobs.valueAt(i), in updateTrackedJobs()
481 final Network network = mConnManager.getActiveNetworkForUid(jobs.valueAt(0).getSourceUid()); in updateTrackedJobsLocked()
493 final JobStatus js = jobs.valueAt(i); in updateTrackedJobsLocked()
512 final ArraySet<JobStatus> jobs = mTrackedJobs.valueAt(i); in onNetworkActive()
514 final JobStatus js = jobs.valueAt(j); in onNetworkActive()
603 pw.print(mRequestedWhitelistJobs.valueAt(i).size()); in dumpControllerStateLocked()
612 pw.println(mAvailableNetworks.valueAt(i)); in dumpControllerStateLocked()
619 final ArraySet<JobStatus> jobs = mTrackedJobs.valueAt(i); in dumpControllerStateLocked()
[all …]
/frameworks/base/core/java/com/android/internal/infra/
DWhitelistHelper.java71 mWhitelistedPackages.put(packageNames.valueAt(i), null); in setWhitelist()
77 final ComponentName component = components.valueAt(i); in setWhitelist()
164 final ArraySet<ComponentName> components = mWhitelistedPackages.valueAt(i); in dump()
171 pw.print("["); pw.print(components.valueAt(0)); in dump()
173 pw.print(", "); pw.print(components.valueAt(j)); in dump()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetdEventListenerService.java331 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()
376 pw.print(IpConnectivityEventBuilder.toProto(mNetworkMetrics.valueAt(i).connectMetrics)); in listAsProtos()
379 pw.print(IpConnectivityEventBuilder.toProto(mNetworkMetrics.valueAt(i).dnsMetrics)); in listAsProtos()
382 pw.print(IpConnectivityEventBuilder.toProto(mWakeupStats.valueAt(i))); in listAsProtos()
409 NetworkMetrics.Summary s = networkMetrics.valueAt(i).getPendingStats(); in collect()
/frameworks/base/services/core/java/com/android/server/compat/
DCompatConfig.java97 CompatChange c = mChanges.valueAt(i); in getDisabledChanges()
117 if (TextUtils.equals(mChanges.valueAt(i).getName(), name)) { in lookupChangeId()
295 CompatChange change = mChanges.valueAt(i); in removePackageOverrides()
302 mChanges.valueAt(i).removePackageOverride(packageName); in removePackageOverrides()
320 CompatChange change = mChanges.valueAt(i); in getAllowedChangesAfterTargetSdkForPackage()
403 CompatChange c = mChanges.valueAt(i); in dumpConfig()
422 CompatChange c = mChanges.valueAt(i); in getAppConfig()
442 CompatChange change = mChanges.valueAt(i); in dumpChanges()
/frameworks/base/services/core/java/com/android/server/wm/
DAppTransitionController.java303 result.add(array1.valueAt(i).getActivityType()); in collectActivityTypes()
306 result.add(array2.valueAt(i).getActivityType()); in collectActivityTypes()
309 result.add(array3.valueAt(i).getActivityType()); in collectActivityTypes()
324 ? array1.valueAt(i) in lookForHighestTokenWithFilter()
326 ? array2.valueAt(i - array2base) in lookForHighestTokenWithFilter()
327 : array3.valueAt(i - array3base)); in lookForHighestTokenWithFilter()
339 if (apps.valueAt(i).mVoiceInteraction) {
350 AppWindowToken wtoken = openingApps.valueAt(i); in handleOpeningApps()
384 AppWindowToken wtoken = closingApps.valueAt(i); in handleClosingApps()
412 AppWindowToken wtoken = apps.valueAt(i); in handleChangingApps()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp67 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/
DLoaderManager.java742 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/am/
DBroadcastStats.java113 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/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierDisplayNameResolver.java198 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/native/opengl/libagl/
DBufferObjectManager.cpp47 buffer_t* bo = mBuffers.valueAt(i); in ~EGLBufferObjectManager()
58 return mBuffers.valueAt(i); in bind()
93 buffer_t* bo = mBuffers.valueAt(index); in deleteBuffers()
/frameworks/base/core/java/android/view/
DInsetsController.java206 final InsetsSourceConsumer consumer = mSourceConsumers.valueAt(i); in onControlsChanged()
216 final InsetsSourceControl control = mTmpControlArray.valueAt(i); in onControlsChanged()
233 InsetsSourceConsumer consumer = getSourceConsumer(internalTypes.valueAt(i)); in show()
257 InsetsSourceConsumer consumer = getSourceConsumer(internalTypes.valueAt(i)); in hide()
331 InsetsSourceConsumer consumer = getSourceConsumer(internalTypes.valueAt(i)); in collectConsumers()
373 InsetsSourceConsumer consumer = getSourceConsumer(internalTypes.valueAt(i)); in collectPendingConsumers()
413 final InsetsSourceConsumer controller = mSourceConsumers.valueAt(i); in applyLocalVisibilityOverride()
480 final InsetsSourceConsumer consumer = mSourceConsumers.valueAt(i); in sendStateToWindowManager()
553 getSourceConsumer(internalTypes.valueAt(i)).hide(); in hideDirectly()
560 getSourceConsumer(internalTypes.valueAt(i)).show(); in showDirectly()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DEventResultPersister.java199 observerToCall = mObservers.valueAt(i); in onEventReceived()
254 Integer.toString(results.valueAt(i).status)); in writeState()
256 Integer.toString(results.valueAt(i).legacyStatus)); in writeState()
257 if (results.valueAt(i).message != null) { in writeState()
259 results.valueAt(i).message); in writeState()
312 EventResult result = mResults.valueAt(resultIndex); in addObserver()

12345678910>>...24