Home
last modified time | relevance | path

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

12345678910>>...16

/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/com/android/internal/app/procstats/
DProcessStats.java222 final SparseArray<SparseArray<PackageState>> uids = pkgMap.valueAt(ip); in add()
225 final SparseArray<PackageState> versions = uids.valueAt(iu); in add()
228 final PackageState otherState = versions.valueAt(iv); in add()
232 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add()
251 ServiceState otherSvc = otherState.mServices.valueAt(isvc); in add()
264 SparseArray<ProcessState> uids = procMap.valueAt(ip); in add()
267 ProcessState otherProc = uids.valueAt(iu); in add()
387 SparseArray<ProcessState> uids = procMap.valueAt(iproc); in computeTotalMemoryUse()
389 final ProcessState proc = uids.valueAt(iu); in computeTotalMemoryUse()
413 final SparseArray<ProcessState> uids = procMap.valueAt(ip); in resetSafely()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DUsageGraph.java119 mPaths.put(points.keyAt(i), points.valueAt(i)); in addPath()
153 int y = mPaths.valueAt(i); in calculateLocalPaths()
168 int lastY = mLocalPaths.valueAt(mLocalPaths.size() - 1); in calculateLocalPaths()
223 int y = mLocalPaths.valueAt(mLocalPaths.size() - 2); in drawProjection()
231 mPath.moveTo(mLocalPaths.keyAt(0), mLocalPaths.valueAt(0)); in drawLinePath()
234 int y = mLocalPaths.valueAt(i); in drawLinePath()
237 mPath.moveTo(mLocalPaths.keyAt(i), mLocalPaths.valueAt(i)); in drawLinePath()
249 mPath.moveTo(mLocalPaths.keyAt(0), mLocalPaths.valueAt(0)); in drawFilledPath()
252 int y = mLocalPaths.valueAt(i); in drawFilledPath()
259 mPath.moveTo(mLocalPaths.keyAt(i), mLocalPaths.valueAt(i)); in drawFilledPath()
/frameworks/base/tools/aapt/
DAaptAssets.cpp546 const sp<AaptFile>& originalFile = mFiles.valueAt(index); in addFile()
565 sp<AaptFile> file = mFiles.valueAt(i); in print()
583 return mFiles.valueAt(0)->getPrintableSource(); in getPrintableSource()
625 return subdir->mDirs.valueAt(i); in makeDir()
749 if (!validateFileName(mFiles.valueAt(i)->getLeaf().string())) { in validate()
750 SourcePos(mFiles.valueAt(i)->getPrintableSource(), -1).error( in validate()
757 if (strcasecmp(mFiles.valueAt(i)->getLeaf().string(), in validate()
758 mFiles.valueAt(j)->getLeaf().string()) == 0) { in validate()
759 SourcePos(mFiles.valueAt(i)->getPrintableSource(), -1).error( in validate()
761 mFiles.valueAt(j)->getPrintableSource().string()); in validate()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DKeySetManagerService.java202 if (!(definedMapping.valueAt(i).size() > 0) in assertScannedPackageValid()
203 || definedMapping.valueAt(i).contains(null)) { in assertScannedPackageValid()
268 KeySetHandle value = mKeySets.valueAt(keySetIndex); in getIdByKeySetLPr()
289 ArraySet<PublicKey> pubKeys = definedMapping.valueAt(i); in addDefinedKeySetsToPackageLPw()
299 decrementKeySetLPw(prevDefinedKeySets.valueAt(i)); in addDefinedKeySetsToPackageLPw()
317 pkg.keySetData.addUpgradeKeySet(upgradeAliases.valueAt(i)); in addUpgradeKeySetsToPackageLPw()
359 mPubKeys.add(mPublicKeys.get(pkIds.valueAt(i)).getKey()); in getPublicKeysFromKeySetLPr()
404 long id = addPublicKeyLPw(keys.valueAt(i)); in addKeySetLPw()
414 decrementPublicKeyLPw(addedKeyIds.valueAt(i)); in addKeySetLPw()
446 decrementPublicKeyLPw(pubKeys.valueAt(i)); in decrementKeySetLPw()
[all …]
DShortcutPackage.java287 final ShortcutInfo si = mShortcuts.valueAt(i); in removeOrphans()
311 final ShortcutInfo si = mShortcuts.valueAt(i); in deleteAllDynamicShortcuts()
415 mShortcuts.valueAt(i).clearFlags(ShortcutInfo.FLAG_PINNED); in refreshPinnedFlags()
428 final String id = pinned.valueAt(i); in refreshPinnedFlags()
556 final ShortcutInfo si = mShortcuts.valueAt(i); in findAll()
593 final ShortcutInfo si = mShortcuts.valueAt(i); in getUsedBitmapFiles()
624 final ShortcutInfo si = mShortcuts.valueAt(i); in areAllActivitiesStillEnabled()
717 final ShortcutInfo si = mShortcuts.valueAt(i); in rescanPackageIfNeeded()
781 final ShortcutInfo si = mShortcuts.valueAt(i); in publishManifestShortcuts()
846 final String id = toDisableList.valueAt(i); in publishManifestShortcuts()
[all …]
DShortcutUser.java218 callback.accept(mPackages.valueAt(i)); in forAllPackages()
225 callback.accept(mLaunchers.valueAt(i)); in forAllLaunchers()
328 saveShortcutPackageItem(out, mLaunchers.valueAt(i), forBackup); in saveToXml()
334 saveShortcutPackageItem(out, mPackages.valueAt(i), forBackup); in saveToXml()
446 mPackages.valueAt(i).resetThrottling(); in resetThrottling()
475 mLaunchers.valueAt(i).dump(pw, prefix); in dump()
479 mPackages.valueAt(i).dump(pw, prefix); in dump()
523 launchers.put(mLaunchers.valueAt(i).dumpCheckin(clear)); in dumpCheckin()
531 packages.put(mPackages.valueAt(i).dumpCheckin(clear)); in dumpCheckin()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioSession.cpp192 valueAt(index)->setInfoProvider(NULL); in removeSession()
201 openCount += valueAt(i)->openCount(); in getOpenCount()
210 if (valueAt(i)->activeCount() != 0) { in getActiveSessions()
211 activeSessions.add(valueAt(i)->session(), valueAt(i)); in getActiveSessions()
225 const sp<AudioSession> audioSession = valueAt(i); in isSourceActive()
242 valueAt(i)->onSessionInfoUpdate(); in onSessionInfoUpdate()
254 valueAt(i)->dump(fd, spaces + 2, i); in dump()
DAudioInputDescriptor.cpp69 return mSessions.size() > 0 ? mSessions.valueAt(0)->inputSource() : in inputSource()
138 return mSessions.valueAt(0)->isSoundTrigger(); in isSoundTrigger()
205 const sp<AudioInputDescriptor> inputDescriptor = valueAt(i); in isSourceActive()
217 inputDesc = valueAt(i); in getInputFromId()
229 const sp<AudioInputDescriptor> inputDescriptor = valueAt(i); in activeInputsCount()
240 const sp<AudioInputDescriptor> inputDescriptor = valueAt(i); in getActiveInput()
267 valueAt(i)->dump(fd); in dump()
DAudioPolicyMix.cpp93 policyMix = valueAt(index); in getAudioPolicyMix()
100 sp<AudioPolicyMix> policyMix = valueAt(i); in closeOutput()
113 sp<AudioPolicyMix> policyMix = valueAt(i); in getOutputForAttr()
236 AudioMix *mix = valueAt(i)->getMix(); in getDeviceAndMixForInputSource()
269 sp<AudioPolicyMix> policyMix = valueAt(i); in getInputMixForAttr()
280 sp<AudioPolicyMix> audioPolicyMix = valueAt(index); in getInputMixForAttr()
DStreamDescriptor.cpp94 mIndexCur.valueAt(i)); in dump()
111 return valueAt(stream).canBeMuted(); in canBeMuted()
135 return valueAt(stream).getVolumeCurvePoint(deviceCategory); in getVolumeCurvePoint()
151 const StreamDescriptor &streamDesc = valueAt(stream); in volIndexToDb()
220 valueAt(i).dump(fd); in dump()
DAudioOutputDescriptor.cpp451 const sp<SwAudioOutputDescriptor> outputDesc = this->valueAt(i); in isStreamActive()
464 const sp<SwAudioOutputDescriptor> outputDesc = valueAt(i); in isStreamActiveRemotely()
480 sp<SwAudioOutputDescriptor> outputDesc = valueAt(i); in getA2dpOutput()
491 const sp<SwAudioOutputDescriptor> outputDesc = valueAt(i); in getPrimaryOutput()
503 outputDesc = valueAt(i); in getOutputFromId()
518 const sp<SwAudioOutputDescriptor> outputDesc = valueAt(i); in isAnyOutputActive()
545 valueAt(i)->dump(fd); in dump()
556 const sp<HwAudioOutputDescriptor> outputDesc = this->valueAt(i); in isStreamActive()
571 const sp<HwAudioOutputDescriptor> outputDesc = valueAt(i); in isAnyOutputActive()
590 valueAt(i)->dump(fd); in dump()
DVolumeCurve.cpp91 snprintf(buffer, SIZE, "%04x : %02d, ", mIndexCur.keyAt(i), mIndexCur.valueAt(i)); in dump()
105 valueAt(i)->dump(fd); in dump()
124 valueAt(i).dump(fd); in dump()
135 valueAt(i).dump(fd, 2, true); in dump()
/frameworks/base/core/java/com/android/internal/os/
DKernelUidCpuTimeReader.java94 userTimeDeltaUs -= mLastUserTimeUs.valueAt(index); in readDelta()
95 systemTimeDeltaUs -= mLastSystemTimeUs.valueAt(index); in readDelta()
96 powerDeltaMaUs -= mLastPowerMaUs.valueAt(index); in readDelta()
106 TimeUtils.formatDuration(mLastUserTimeUs.valueAt(index) / 1000, sb); in readDelta()
108 TimeUtils.formatDuration(mLastSystemTimeUs.valueAt(index) / 1000, sb); in readDelta()
109 sb.append(" p=").append(mLastPowerMaUs.valueAt(index) / 1000); in readDelta()
/frameworks/base/libs/hwui/
DResourceCache.cpp34 ResourceReference* ref = mCache->valueAt(i); in logCache()
36 i, mCache->keyAt(i), mCache->valueAt(i)); in logCache()
71 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr; in incrementRefcountLocked()
90 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr; in decrementRefcountLocked()
112 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : nullptr; in destructorLocked()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp56 delete mInputSources.valueAt(i); in ~AudioPolicyEffects()
61 mInputs.valueAt(i)->mEffects.clear(); in ~AudioPolicyEffects()
62 delete mInputs.valueAt(i); in ~AudioPolicyEffects()
68 delete mOutputStreams.valueAt(i); in ~AudioPolicyEffects()
73 mOutputSessions.valueAt(i)->mEffects.clear(); in ~AudioPolicyEffects()
74 delete mOutputSessions.valueAt(i); in ~AudioPolicyEffects()
103 inputDesc = mInputs.valueAt(idx); in addInputEffects()
109 Vector <EffectDesc *> effects = mInputSources.valueAt(index)->mEffects; in addInputEffects()
143 EffectVector *inputDesc = mInputs.valueAt(index); in releaseInputEffects()
164 if (mInputs.valueAt(index)->mSessionId == audioSession) { in queryDefaultInputEffects()
[all …]
/frameworks/av/drm/mediadrm/plugins/mock/
DMockDrmCryptoPlugin.cpp147 optionalParameters.valueAt(i).string()); in getKeyRequest()
161 request = mByteArrayProperties.valueAt(index); in getKeyRequest()
169 defaultUrl = mStringProperties.valueAt(index); in getKeyRequest()
178 atoi(mStringProperties.valueAt(index).string())); in getKeyRequest()
287 request = mByteArrayProperties.valueAt(index); in getProvisionRequest()
295 defaultUrl = mStringProperties.valueAt(index); in getProvisionRequest()
329 secureStop = mByteArrayProperties.valueAt(index); in getSecureStop()
349 ss1 = mByteArrayProperties.valueAt(index); in getSecureStops()
357 ss2 = mByteArrayProperties.valueAt(index); in getSecureStops()
393 value = mStringProperties.valueAt(index); in getPropertyString()
[all …]
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp266 audio_hw_device_close(mAudioHwDevs.valueAt(i)->hwDevice()); in ~AudioFlinger()
267 delete mAudioHwDevs.valueAt(i); in ~AudioFlinger()
304 AudioHwDevice *audioHwDevice = mAudioHwDevs.valueAt(i); in findSuitableHwDev_l()
329 sp<Client> client = mClients.valueAt(i).promote(); in dumpClients()
433 mPlaybackThreads.valueAt(i)->dump(fd, args); in dump()
438 mRecordThreads.valueAt(i)->dump(fd, args); in dump()
445 mOrphanEffectChains.valueAt(i)->dump(fd, args); in dump()
450 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); in dump()
663 sp<PlaybackThread> t = mPlaybackThreads.valueAt(i); in createTrack()
809 AudioHwDevice *dev = mAudioHwDevs.valueAt(i); in setMasterVolume()
[all …]
/frameworks/base/services/core/java/com/android/server/
DLockGuard.java94 final Object child = info.children.valueAt(i); in guard()
113 sKnown.valueAt(i).children.add(lock); in guard()
141 final LockInfo info = sKnown.valueAt(i); in dump()
144 pw.println(" Child " + lockToString(info.children.valueAt(j))); in dump()
/frameworks/support/fragment/java/android/support/v4/app/
DLoaderManager.java723 LoaderInfo info = mLoaders.valueAt(idx); in destroyLoader()
729 LoaderInfo info = mInactiveLoaders.valueAt(idx); in destroyLoader()
773 mLoaders.valueAt(i).start(); in doStart()
787 mLoaders.valueAt(i).stop(); in doStop()
804 mLoaders.valueAt(i).retain(); in doRetain()
814 mLoaders.valueAt(i).finishRetain(); in finishRetain()
821 mLoaders.valueAt(i).mReportNextStart = true; in doReportNextStart()
827 mLoaders.valueAt(i).reportStart(); in doReportStart()
835 mLoaders.valueAt(i).destroy(); in doDestroy()
842 mInactiveLoaders.valueAt(i).destroy(); in doDestroy()
[all …]
/frameworks/base/core/java/android/app/
DLoaderManager.java727 LoaderInfo info = mLoaders.valueAt(idx); in destroyLoader()
733 LoaderInfo info = mInactiveLoaders.valueAt(idx); in destroyLoader()
776 mLoaders.valueAt(i).start(); in doStart()
790 mLoaders.valueAt(i).stop(); in doStop()
807 mLoaders.valueAt(i).retain(); in doRetain()
817 mLoaders.valueAt(i).finishRetain(); in finishRetain()
824 mLoaders.valueAt(i).mReportNextStart = true; in doReportNextStart()
830 mLoaders.valueAt(i).reportStart(); in doReportStart()
838 mLoaders.valueAt(i).destroy(); in doDestroy()
845 mInactiveLoaders.valueAt(i).destroy(); in doDestroy()
[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/support/v7/recyclerview/src/android/support/v7/util/
DTileList.java46 mLastAccessedTile = mTiles.valueAt(index); in getItemAt()
60 return mTiles.valueAt(index); in getAtIndex()
69 Tile<T> oldTile = mTiles.valueAt(index); in addOrReplace()
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp102 sound_trigger_hw_device_close(mModules.valueAt(i)->hwDevice()); in ~SoundTriggerHwService()
121 modules[i] = mModules.valueAt(i)->descriptor(); in listModules()
144 sp<Module> module = mModules.valueAt(index); in attach()
161 mModules.valueAt(i)->setCaptureState_l(active); in setCaptureState()
287 if (mModules.valueAt(i).get() == module) { in sendRecognitionEvent()
288 strongModule = mModules.valueAt(i); in sendRecognitionEvent()
341 if (mModules.valueAt(i).get() == module) { in sendSoundModelEvent()
342 strongModule = mModules.valueAt(i); in sendSoundModelEvent()
378 if (mModules.valueAt(i).get() == module) { in sendServiceStateEvent_l()
379 strongModule = mModules.valueAt(i); in sendServiceStateEvent_l()
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityCache.java220 AccessibilityWindowInfo window = mWindowCache.valueAt(i); in getWindows()
229 AccessibilityWindowInfo window = sortedWindows.valueAt(i); in getWindows()
325 AccessibilityWindowInfo window = mWindowCache.valueAt(i); in clearWindowCache()
343 AccessibilityNodeInfo info = nodes.valueAt(i); in clearNodesForWindowLocked()
407 AccessibilityWindowInfo window = mWindowCache.valueAt(i); in checkIntegrity()
434 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.valueAt(i); in checkIntegrity()
444 AccessibilityNodeInfo node = nodes.valueAt(j); in checkIntegrity()

12345678910>>...16