Home
last modified time | relevance | path

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

12345678910>>...20

/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/av/services/audiopolicy/common/managerdefinitions/src/
DAudioSession.cpp199 valueAt(index)->setInfoProvider(NULL); in removeSession()
208 openCount += valueAt(i)->openCount(); in getOpenCount()
217 if (valueAt(i)->activeCount() != 0) { in getActiveSessions()
218 activeSessions.add(valueAt(i)->session(), valueAt(i)); in getActiveSessions()
228 if (valueAt(i)->activeCount() != 0) { in getActiveSessionCount()
243 const sp<AudioSession> audioSession = valueAt(i); in isSourceActive()
263 const sp<AudioSession> audioSession = valueAt(i); in getHighestPrioritySource()
279 valueAt(i)->onSessionInfoUpdate(); in onSessionInfoUpdate()
290 valueAt(i)->dump(fd, spaces + 2, i); in dump()
DAudioInputDescriptor.cpp143 return mSessions.valueAt(0)->isSoundTrigger(); in isSoundTrigger()
223 const sp<AudioInputDescriptor> inputDescriptor = valueAt(i); in isSourceActive()
235 inputDesc = valueAt(i); in getInputFromId()
247 const sp<AudioInputDescriptor> inputDescriptor = valueAt(i); in activeInputsCountOnDevices()
262 const sp<AudioInputDescriptor> inputDescriptor = valueAt(i); in getActiveInputs()
289 valueAt(i)->dump(fd); in dump()
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.cpp454 const sp<SwAudioOutputDescriptor> outputDesc = this->valueAt(i); in isStreamActive()
467 const sp<SwAudioOutputDescriptor> outputDesc = valueAt(i); in isStreamActiveRemotely()
483 sp<SwAudioOutputDescriptor> outputDesc = valueAt(i); in getA2dpOutput()
494 const sp<SwAudioOutputDescriptor> outputDesc = valueAt(i); in getPrimaryOutput()
506 outputDesc = valueAt(i); in getOutputFromId()
521 const sp<SwAudioOutputDescriptor> outputDesc = valueAt(i); in isAnyOutputActive()
548 valueAt(i)->dump(fd); in dump()
559 const sp<HwAudioOutputDescriptor> outputDesc = this->valueAt(i); in isStreamActive()
574 const sp<HwAudioOutputDescriptor> outputDesc = valueAt(i); in isAnyOutputActive()
593 valueAt(i)->dump(fd); in dump()
DAudioPolicyMix.cpp147 policyMix = valueAt(index); in getAudioPolicyMix()
154 sp<AudioPolicyMix> policyMix = valueAt(i); in closeOutput()
167 sp<AudioPolicyMix> mix = valueAt(i); in getOutputForAttr()
290 AudioPolicyMix *mix = valueAt(i).get(); in getDeviceAndMixForInputSource()
324 sp<AudioPolicyMix> mix = valueAt(i); in getInputMixForAttr()
334 sp<AudioPolicyMix> audioPolicyMix = valueAt(index); in getInputMixForAttr()
351 valueAt(i)->dump(fd, 2, i); 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/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/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.java264 final ShortcutInfo si = mShortcuts.valueAt(i); in removeOrphans()
288 final ShortcutInfo si = mShortcuts.valueAt(i); in deleteAllDynamicShortcuts()
397 mShortcuts.valueAt(i).clearFlags(ShortcutInfo.FLAG_PINNED); in refreshPinnedFlags()
410 final String id = pinned.valueAt(i); in refreshPinnedFlags()
538 final ShortcutInfo si = mShortcuts.valueAt(i); in findAll()
575 final ShortcutInfo si = mShortcuts.valueAt(i); in getUsedBitmapFiles()
606 final ShortcutInfo si = mShortcuts.valueAt(i); in areAllActivitiesStillEnabled()
704 final ShortcutInfo si = mShortcuts.valueAt(i); in rescanPackageIfNeeded()
766 final ShortcutInfo si = mShortcuts.valueAt(i); in publishManifestShortcuts()
831 final String id = toDisableList.valueAt(i); in publishManifestShortcuts()
[all …]
/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/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareMetrics.java192 if (clients.valueAt(i).getUid() == uid) { in recordAttachSession()
242 WifiAwareClientState client = clients.valueAt(i); in recordDiscoverySession()
247 WifiAwareDiscoverySessionState session = sessions.valueAt(j); in recordDiscoverySession()
556 + mHistogramAwareAvailableDurationMs.valueAt(i)); in dump()
566 + mHistogramAwareEnabledDurationMs.valueAt(i)); in dump()
578 + mAttachStatusData.valueAt(i)); in dump()
583 + mHistogramAttachDuration.valueAt(i)); in dump()
595 + mPublishStatusData.valueAt(i)); in dump()
600 + mSubscribeStatusData.valueAt(i)); in dump()
605 + mHistogramPublishDuration.valueAt(i)); in dump()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp64 delete mInputSources.valueAt(i); in ~AudioPolicyEffects()
69 mInputSessions.valueAt(i)->mEffects.clear(); in ~AudioPolicyEffects()
70 delete mInputSessions.valueAt(i); in ~AudioPolicyEffects()
76 delete mOutputStreams.valueAt(i); in ~AudioPolicyEffects()
81 mOutputSessions.valueAt(i)->mEffects.clear(); in ~AudioPolicyEffects()
82 delete mOutputSessions.valueAt(i); in ~AudioPolicyEffects()
111 sessionDesc = mInputSessions.valueAt(idx); in addInputEffects()
118 Vector <EffectDesc *> effects = mInputSources.valueAt(index)->mEffects; in addInputEffects()
154 EffectVector *sessionDesc = mInputSessions.valueAt(index); in releaseInputEffects()
175 if (mInputSessions.valueAt(index)->mSessionId == audioSession) { in queryDefaultInputEffects()
[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/usb/java/com/android/server/usb/
DUsbSettingsManager.java129 mSettingsByProfileGroup.valueAt(i).removeAllDefaultsForUser(userToRemove); in remove()
145 final UsbUserSettingsManager settings = mSettingsByUser.valueAt(i); in dump()
160 final UsbProfileGroupSettingsManager settings = mSettingsByProfileGroup.valueAt(i); in dump()
181 mSettingsByUser.valueAt(i).removeDevicePermissions(device); in usbDeviceRemoved()
204 mSettingsByUser.valueAt(i).removeAccessoryPermissions(accessory); in usbAccessoryRemoved()
/frameworks/base/core/java/android/app/
DLoaderManager.java734 LoaderInfo info = mLoaders.valueAt(idx); in destroyLoader()
740 LoaderInfo info = mInactiveLoaders.valueAt(idx); in destroyLoader()
783 mLoaders.valueAt(i).start(); in doStart()
797 mLoaders.valueAt(i).stop(); in doStop()
814 mLoaders.valueAt(i).retain(); in doRetain()
824 mLoaders.valueAt(i).finishRetain(); in finishRetain()
831 mLoaders.valueAt(i).mReportNextStart = true; in doReportNextStart()
837 mLoaders.valueAt(i).reportStart(); in doReportStart()
845 mLoaders.valueAt(i).destroy(); in doDestroy()
852 mInactiveLoaders.valueAt(i).destroy(); in doDestroy()
[all …]
/frameworks/support/fragment/java/android/support/v4/app/
DLoaderManager.java720 LoaderInfo info = mLoaders.valueAt(idx); in destroyLoader()
726 LoaderInfo info = mInactiveLoaders.valueAt(idx); in destroyLoader()
770 mLoaders.valueAt(i).start(); in doStart()
784 mLoaders.valueAt(i).stop(); in doStop()
801 mLoaders.valueAt(i).retain(); in doRetain()
811 mLoaders.valueAt(i).finishRetain(); in finishRetain()
818 mLoaders.valueAt(i).mReportNextStart = true; in doReportNextStart()
824 mLoaders.valueAt(i).reportStart(); in doReportStart()
832 mLoaders.valueAt(i).destroy(); in doDestroy()
839 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/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/av/services/audioflinger/
DAudioFlinger.cpp245 delete mAudioHwDevs.valueAt(i); in ~AudioFlinger()
364 AudioHwDevice *audioHwDevice = mAudioHwDevs.valueAt(i); in findSuitableHwDev_l()
391 sp<Client> client = mClients.valueAt(i).promote(); in dumpClients()
500 mPlaybackThreads.valueAt(i)->dump(fd, args); in dump()
505 mRecordThreads.valueAt(i)->dump(fd, args); in dump()
510 mMmapThreads.valueAt(i)->dump(fd, args); in dump()
517 mOrphanEffectChains.valueAt(i)->dump(fd, args); in dump()
522 sp<DeviceHalInterface> dev = mAudioHwDevs.valueAt(i)->hwDevice(); in dump()
733 sp<PlaybackThread> t = mPlaybackThreads.valueAt(i); in createTrack()
880 AudioHwDevice *dev = mAudioHwDevs.valueAt(i); in setMasterVolume()
[all …]
/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/base/services/core/java/com/android/server/
DLockGuard.java113 final Object child = info.children.valueAt(i); in guard()
132 sKnown.valueAt(i).children.add(lock); in guard()
203 final LockInfo info = sKnown.valueAt(i); in dump()
206 pw.println(" Child " + lockToString(info.children.valueAt(j))); in dump()
/frameworks/base/core/java/android/os/
DRemoteCallbackList.java171 Callback cb = mCallbacks.valueAt(cbi); in kill()
251 active[i] = mCallbacks.valueAt(i); in beginBroadcast()
375 return mCallbacks.valueAt(index).mCallback; in getRegisteredCallbackItem()
398 return mCallbacks.valueAt(index).mCookie; in getRegisteredCallbackCookie()
/frameworks/base/core/java/com/android/internal/os/
DKernelUidCpuTimeReader.java85 userTimeDeltaUs -= mLastUserTimeUs.valueAt(index); in readDelta()
86 systemTimeDeltaUs -= mLastSystemTimeUs.valueAt(index); in readDelta()
96 TimeUtils.formatDuration(mLastUserTimeUs.valueAt(index) / 1000, sb); in readDelta()
98 TimeUtils.formatDuration(mLastSystemTimeUs.valueAt(index) / 1000, sb); in readDelta()

12345678910>>...20