Home
last modified time | relevance | path

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

1234567891011

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiSelector.java911 builder.append("TEXT=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
914 builder.append("TEXT_REGEX=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
917 builder.append("START_TEXT=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
920 builder.append("CONTAINS_TEXT=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
923 builder.append("CLASS=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
926 builder.append("CLASS_REGEX=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
929 builder.append("DESCRIPTION=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
932 builder.append("DESCRIPTION_REGEX=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
935 builder.append("START_DESCRIPTION=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
938 builder.append("CONTAINS_DESCRIPTION=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
[all …]
/frameworks/base/tools/aapt/
DAaptAssets.cpp570 const sp<AaptFile>& originalFile = mFiles.valueAt(index); in addFile()
589 sp<AaptFile> file = mFiles.valueAt(i); in print()
607 return mFiles.valueAt(0)->getPrintableSource(); in getPrintableSource()
649 return subdir->mDirs.valueAt(i); in makeDir()
773 if (!validateFileName(mFiles.valueAt(i)->getLeaf().string())) { in validate()
774 SourcePos(mFiles.valueAt(i)->getPrintableSource(), -1).error( in validate()
781 if (strcasecmp(mFiles.valueAt(i)->getLeaf().string(), in validate()
782 mFiles.valueAt(j)->getLeaf().string()) == 0) { in validate()
783 SourcePos(mFiles.valueAt(i)->getPrintableSource(), -1).error( in validate()
785 mFiles.valueAt(j)->getPrintableSource().string()); in validate()
[all …]
DResource.cpp111 file = group->getFiles().valueAt(mGroupPos++); in next()
115 mGroup = group = mSet->valueAt(mSetPos++); in next()
119 file = group->getFiles().valueAt(0); in next()
220 grp->getFiles().valueAt(0)->getPrintableSource().string()); in parsePackage()
223 sp<AaptFile> file = grp->getFiles().valueAt(0); in parsePackage()
389 const sp<AaptGroup>& group = groups.valueAt(i); in collect_files()
398 String8 resType = files.valueAt(0)->getResourceType(); in collect_files()
409 sp<ResourceTypeSet> set = resources->valueAt(index); in collect_files()
416 sp<AaptGroup> existingGroup = set->valueAt(index); in collect_files()
421 files.valueAt(j)->getSourceFile().string(), in collect_files()
[all …]
/frameworks/base/libs/hwui/
DResourceCache.cpp39 ResourceReference* ref = mCache->valueAt(i); in logCache()
41 i, mCache->keyAt(i), mCache->valueAt(i)); in logCache()
84 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; in incrementRefcountLocked()
123 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; in decrementRefcountLocked()
153 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; in destructorLocked()
176 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; in destructorLocked()
198 ResourceReference* ref = index >= 0 ? mCache->valueAt(index) : NULL; in destructorLocked()
239 ResourceReference* ref = mCache->valueAt(index); in recycleLocked()
DAssetAtlas.cpp74 AssetAtlas::Entry* entry = mEntries.valueAt(i); in updateTextureId()
85 return index >= 0 ? mEntries.valueAt(index) : NULL; in getEntry()
90 return index >= 0 ? mEntries.valueAt(index)->texture : NULL; in getEntryTexture()
/frameworks/av/services/audiopolicy/
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.cpp145 optionalParameters.valueAt(i).string()); in getKeyRequest()
158 request = mByteArrayProperties.valueAt(index); in getKeyRequest()
166 defaultUrl = mStringProperties.valueAt(index); in getKeyRequest()
274 request = mByteArrayProperties.valueAt(index); in getProvisionRequest()
282 defaultUrl = mStringProperties.valueAt(index); in getProvisionRequest()
321 secureStop = mByteArrayProperties.valueAt(index); in getSecureStop()
341 ss1 = mByteArrayProperties.valueAt(index); in getSecureStops()
349 ss2 = mByteArrayProperties.valueAt(index); in getSecureStops()
385 value = mStringProperties.valueAt(index); in getPropertyString()
398 value = mByteArrayProperties.valueAt(index); in getPropertyByteArray()
[all …]
/frameworks/av/media/libstagefright/foundation/
DALooperRoster.cpp63 const HandlerInfo &info = mHandlers.valueAt(index); in unregisterHandler()
81 const HandlerInfo &info = mHandlers.valueAt(i); in unregisterStaleHandlers()
125 const HandlerInfo &info = mHandlers.valueAt(index); in deliverMessage()
150 sp<ALooper> looper = mHandlers.valueAt(index).mLooper.promote(); in findLooper()
185 *response = mReplies.valueAt(index); in postAndAwaitResponse()
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp250 audio_hw_device_close(mAudioHwDevs.valueAt(i)->hwDevice()); in ~AudioFlinger()
251 delete mAudioHwDevs.valueAt(i); in ~AudioFlinger()
287 AudioHwDevice *audioHwDevice = mAudioHwDevs.valueAt(i); in findSuitableHwDev_l()
312 sp<Client> client = mClients.valueAt(i).promote(); in dumpClients()
413 mPlaybackThreads.valueAt(i)->dump(fd, args); in dump()
418 mRecordThreads.valueAt(i)->dump(fd, args); in dump()
425 mOrphanEffectChains.valueAt(i)->dump(fd, args); in dump()
430 audio_hw_device_t *dev = mAudioHwDevs.valueAt(i)->hwDevice(); in dump()
606 sp<PlaybackThread> t = mPlaybackThreads.valueAt(i); in createTrack()
741 AudioHwDevice *dev = mAudioHwDevs.valueAt(i); in setMasterVolume()
[all …]
/frameworks/av/services/soundtrigger/
DSoundTriggerHwService.cpp101 sound_trigger_hw_device_close(mModules.valueAt(i)->hwDevice()); in ~SoundTriggerHwService()
120 modules[i] = mModules.valueAt(i)->descriptor(); in listModules()
143 sp<Module> module = mModules.valueAt(index); in attach()
160 mModules.valueAt(i)->setCaptureState_l(active); in setCaptureState()
279 if (mModules.valueAt(i).get() == module) { in sendRecognitionEvent()
280 strongModule = mModules.valueAt(i); in sendRecognitionEvent()
333 if (mModules.valueAt(i).get() == module) { in sendSoundModelEvent()
334 strongModule = mModules.valueAt(i); in sendSoundModelEvent()
370 if (mModules.valueAt(i).get() == module) { in sendServiceStateEvent_l()
371 strongModule = mModules.valueAt(i); in sendServiceStateEvent_l()
[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/app/
DLoaderManager.java723 LoaderInfo info = mLoaders.valueAt(idx); in destroyLoader()
729 LoaderInfo info = mInactiveLoaders.valueAt(idx); in destroyLoader()
772 mLoaders.valueAt(i).start(); in doStart()
786 mLoaders.valueAt(i).stop(); in doStop()
803 mLoaders.valueAt(i).retain(); in doRetain()
813 mLoaders.valueAt(i).finishRetain(); in finishRetain()
820 mLoaders.valueAt(i).mReportNextStart = true; in doReportNextStart()
826 mLoaders.valueAt(i).reportStart(); in doReportStart()
834 mLoaders.valueAt(i).destroy(); in doDestroy()
841 mInactiveLoaders.valueAt(i).destroy(); in doDestroy()
[all …]
/frameworks/support/v4/java/android/support/v4/app/
DLoaderManager.java665 LoaderInfo info = mLoaders.valueAt(idx); in destroyLoader()
671 LoaderInfo info = mInactiveLoaders.valueAt(idx); in destroyLoader()
714 mLoaders.valueAt(i).start(); in doStart()
728 mLoaders.valueAt(i).stop(); in doStop()
745 mLoaders.valueAt(i).retain(); in doRetain()
755 mLoaders.valueAt(i).finishRetain(); in finishRetain()
762 mLoaders.valueAt(i).mReportNextStart = true; in doReportNextStart()
768 mLoaders.valueAt(i).reportStart(); in doReportStart()
776 mLoaders.valueAt(i).destroy(); in doDestroy()
783 mInactiveLoaders.valueAt(i).destroy(); in doDestroy()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DUnmodifiableSparseIntArray.java49 public int valueAt(int index) { in valueAt() method in UnmodifiableSparseIntArray
50 return mArray.valueAt(index); in valueAt()
DUnmodifiableSparseArray.java49 public E valueAt(int index) { in valueAt() method in UnmodifiableSparseArray
50 return mArray.valueAt(index); in valueAt()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityCache.java196 AccessibilityWindowInfo window = mWindowCache.valueAt(i); in getWindows()
202 AccessibilityWindowInfo window = sortedWindows.valueAt(i); in getWindows()
285 AccessibilityWindowInfo window = mWindowCache.valueAt(i); in clear()
311 AccessibilityNodeInfo info = nodes.valueAt(i); in clearNodesForWindowLocked()
375 AccessibilityWindowInfo window = mWindowCache.valueAt(i); in checkIntegrity()
402 LongSparseArray<AccessibilityNodeInfo> nodes = mNodeCache.valueAt(i); in checkIntegrity()
412 AccessibilityNodeInfo node = nodes.valueAt(j); in checkIntegrity()
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeUtils.java48 buffer.append(array.keyAt(i)).append("=").append(Arrays.toString(array.valueAt(i))); in toString()
96 !Arrays.equals(array.valueAt(i), otherArray.valueAt(i))) { in equals()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java88 files.valueAt(i).delete(); in init()
123 if (files.valueAt(i).getBaseFile().getPath().endsWith(CHECKED_IN_SUFFIX)) { in checkinDailyFiles()
136 UsageStatsXml.read(files.valueAt(i), stats); in checkinDailyFiles()
149 final AtomicFile file = files.valueAt(i); in checkinDailyFiles()
239 final AtomicFile file = files.valueAt(i); in onTimeChanged()
286 final AtomicFile f = mSortedStatFiles[intervalType].valueAt(fileCount - 1); in getLatestUsageStats()
385 final AtomicFile f = intervalStats.valueAt(i); in queryUsageStats()
DUserUsageStatsService.java119 UsageStats pkgStats = stat.packageStats.valueAt(i); in init()
189 accResult.add(new UsageStats(stats.packageStats.valueAt(i)));
206 accResult.add(new ConfigurationStats(stats.configurations.valueAt(i)));
312 final UsageEvents.Event event = stats.events.valueAt(i); in queryEvents()
357 UsageStats pkgStats = stat.packageStats.valueAt(i); in rolloverStats()
376 String name = continuePreviousDay.valueAt(i); in rolloverStats()
500 final UsageStats usageStats = pkgStats.valueAt(i); in printIntervalStats()
514 final ConfigurationStats config = configStats.valueAt(i); in printIntervalStats()
528 final UsageEvents.Event event = events.valueAt(i); in printIntervalStats()
/frameworks/base/services/core/java/com/android/server/am/
DIntentBindRecord.java66 AppBindRecord a = apps.valueAt(i); in dumpInService()
82 final ArraySet<ConnectionRecord> connections = apps.valueAt(i).connections; in collectFlags()
84 flags |= connections.valueAt(j).flags; in collectFlags()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DArrayMapTests.java139 Object gotValue = array.valueAt(i); in compareMaps()
225 Object entry = array.valueAt(i); in compareSets()
234 Object realEntry = array.valueAt(index); in compareSets()
260 realValue = array.valueAt(index); in validateArrayMap()
288 Object realValue = array.valueAt(index); in validateArrayMap()
308 Log.e("test", " " + array.keyAt(i) + " -> " + array.valueAt(i)); in dump()
319 Log.e("test", " " + array.valueAt(i)); in dump()
327 Log.e("test", " " + map1.keyAt(i) + " -> " + map1.valueAt(i)); in dump()
331 Log.e("test", " " + map2.keyAt(i) + " -> " + map2.valueAt(i)); in dump()
/frameworks/av/media/libstagefright/timedtext/
DTimedTextSRTSource.cpp224 mTextVector.valueAt(mTextVector.size() - 1).endTimeUs; in getText()
254 const TextInfo &info = mTextVector.valueAt(mIndex); in getText()
285 int64_t endTimeUs = mTextVector.valueAt(index).endTimeUs; in compareExtendedRangeAndTime()
287 mTextVector.valueAt(index - 1).endTimeUs : 0; in compareExtendedRangeAndTime()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSparseArrayObjectAdapter.java41 return mItems.valueAt(position); in get()
84 if (mItems.valueAt(index) != item) { in set()
/frameworks/av/media/libstagefright/omx/
DOMXMaster.cpp136 OMXPluginBase *plugin = mPluginByComponentName.valueAt(index); in makeComponentInstance()
159 OMXPluginBase *plugin = mPluginByInstance.valueAt(index); in destroyComponentInstance()
198 OMXPluginBase *plugin = mPluginByComponentName.valueAt(index); in getRolesOfComponent()
/frameworks/base/core/java/com/android/internal/app/
DProcessStats.java264 final SparseArray<SparseArray<PackageState>> uids = pkgMap.valueAt(ip); in add()
267 final SparseArray<PackageState> versions = uids.valueAt(iu); in add()
270 final PackageState otherState = versions.valueAt(iv); in add()
274 ProcessState otherProc = otherState.mProcesses.valueAt(iproc); in add()
293 ServiceState otherSvc = otherState.mServices.valueAt(isvc); in add()
306 SparseArray<ProcessState> uids = procMap.valueAt(ip); in add()
309 ProcessState otherProc = uids.valueAt(iu); in add()
732 SparseArray<ProcessState> uids = procMap.valueAt(iproc); in computeTotalMemoryUse()
734 final ProcessState proc = uids.valueAt(iu); in computeTotalMemoryUse()
1315 final SparseArray<ProcessState> uids = procMap.valueAt(ip); in resetSafely()
[all …]

1234567891011