Home
last modified time | relevance | path

Searched refs:put (Results 1 – 25 of 46) sorted by relevance

12

/platform_testing/libraries/junitxml/src/com/android/junitxml/
DAtestRunListener.java76 moduleStartEventData.put(MODULE_NAME_KEY, mSuiteName); in testRunStarted()
80 testRunEventData.put(TESTCOUNT_KEY, mTotalCount); in testRunStarted()
81 testRunEventData.put(ATTEMPT_KEY, 0); in testRunStarted()
82 testRunEventData.put(RUNNAME_KEY, mSuiteName); in testRunStarted()
89 eventData.put(TIME_KEY, result.getRunTime()); in testRunFinished()
98 eventData.put(CLASSNAME_KEY, description.getClassName()); in testFailure()
99 eventData.put(TESTNAME_KEY, description.getMethodName()); in testFailure()
100 eventData.put(TRACE_KEY, failure.getTrace()); in testFailure()
107 eventData.put(START_TIME_KEY, System.currentTimeMillis()); in testStarted()
108 eventData.put(CLASSNAME_KEY, description.getClassName()); in testStarted()
[all …]
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DDataCollector.java45 private void put(LogGenerator key, Long interval) { in put() method in DataCollector
47 generatorsWithIntervals.put(key, interval); in put()
60 put(LogGenerator.BUGREPORTZ, bugreportzInterval); in DataCollector()
66 put(LogGenerator.BUGREPORT, bugreportInterval); in DataCollector()
68 put(LogGenerator.CPU_INFO, cpuinfoInterval); in DataCollector()
69 put(LogGenerator.FRAGMENTATION, fragmentationInterval); in DataCollector()
70 put(LogGenerator.GRAPHICS_STATS, graphicsInterval); in DataCollector()
71 put(LogGenerator.ION_HEAP, ionHeapInterval); in DataCollector()
72 put(LogGenerator.MEM_INFO, meminfoInterval); in DataCollector()
73 put(LogGenerator.PAGETYPE_INFO, pagetypeinfoInterval); in DataCollector()
[all …]
/platform_testing/libraries/health/runners/longevity/host/tests/src/android/host/test/longevity/
DLongevitySuiteTest.java62 args.put(LongevitySuite.INVALIDATE_OPTION, "false"); in testDoNotInvalidateTestRuns()
63 args.put(LongevitySuite.QUITTER_OPTION, "true"); in testDoNotInvalidateTestRuns()
76 args.put(LongevitySuite.INVALIDATE_OPTION, "true"); in testInvalidateTestRuns()
77 args.put(LongevitySuite.QUITTER_OPTION, "true"); in testInvalidateTestRuns()
78 args.put(ITERATIONS_OPTION_NAME, String.valueOf(10)); in testInvalidateTestRuns()
113 args.put(ITERATIONS_OPTION_NAME, String.valueOf(expectedIterations)); in testChildAccounting()
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DSfStatsCollectionHelper.java99 results.put(metricKey, parseStatsValue(globalPairs.get(key))); in getMetrics()
103 results.put( in getMetrics()
109 results.put( in getMetrics()
120 results.put( in getMetrics()
123 results.put( in getMetrics()
126 results.put( in getMetrics()
166 pairs.put(keyValueMatcher.group(1), keyValueMatcher.group(2)); in getStatPairs()
196 histogram.put( in getHistogramPairs()
201 pairs.put(key, histogram); in getHistogramPairs()
220 Histogram put(Integer key, Long value) { in put() method in SfStatsCollectionHelper.Histogram
[all …]
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DCpuUsageHelper.java126 cpuUsageMap.put(UserTimeKey, userTimeMillis); in getMetrics()
127 cpuUsageMap.put(SystemTimeKey, sysTimeMillis); in getMetrics()
140 cpuUsageMap.put(finalFreqIndexKey, timeInFreq); in getMetrics()
164 cpuUsageFinalMap.put( in getMetrics()
167 cpuUsageFinalMap.put(finalKey, cpuUsage); in getMetrics()
172 cpuUsageFinalMap.put(key, cpuUsage); in getMetrics()
187 cpuUsageFinalMap.put(TOTAL_CPU_USAGE, totalCpuUsage); in getMetrics()
190 cpuUsageFinalMap.put(TOTAL_CPU_USAGE_FREQ, totalCpuFreq); in getMetrics()
196 cpuUsageFinalMap.put(TOTAL_CPU_TIME, totalCpuTime); in getMetrics()
200 cpuUsageFinalMap.put(CPU_UTILIZATION, (long) utilization); in getMetrics()
DCrashHelper.java67 appCrashResultMap.put(TOTAL_PREFIX + EVENT_JAVA_CRASH, 0); in getMetrics()
68 appCrashResultMap.put(TOTAL_PREFIX + EVENT_NATIVE_CRASH, 0); in getMetrics()
69 appCrashResultMap.put(TOTAL_PREFIX + EVENT_ANR, 0); in getMetrics()
/platform_testing/libraries/health/composers/host/tests/src/android/host/test/composer/
DIterateTest.java34 args.put(IterateTestBase.ITERATIONS_OPTION_NAME, String.valueOf(mIterations)); in build()
37 args.put( in build()
42 args.put(IterateTestBase.ORDER_OPTION_NAME, mOrder); in build()
DShuffleTest.java37 args.put(SHUFFLE_OPTION_NAME, String.valueOf(shuffle)); in getArguments()
38 args.put(SEED_OPTION_NAME, String.valueOf(seed)); in getArguments()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DDataRecord.java41 mCurrentStringMetrics.put(key, value); in addStringMetric()
52 mCurrentFileMetrics.put(fileKey, value); in addFileMetric()
62 mCurrentBinaryMetrics.put(key, value); in addBinaryMetric()
80 res.put(entry.getKey(), entry.getValue().getAbsolutePath()); in getStringMetrics()
DShowmapSnapshotListener.java52 put("pagecache", 1);
53 put("slab", 2);
54 put("all", 3);
DScheduledRunCollectionListener.java138 sumMap.put(key, value.doubleValue() + sumMap.getOrDefault(key, 0.)); in update()
140 countMap.put(key, 1 + countMap.getOrDefault(key, 0L)); in update()
147 res.put(key + MIN_SUFFIX, minMap.get(key).toString()); in getStatistics()
150 res.put(key + MAX_SUFFIX, maxMap.get(key).toString()); in getStatistics()
155 res.put(key + MEAN_SUFFIX, Double.toString(mean)); in getStatistics()
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/
DDownloadAppTestHelper.java200 mDownloadedItems.put(fileName, new DlObjSizeTimePair(size, timeInMiliSec)); in populateContentInDLApp()
221 values.put("title", title); in addToDownloadContentDB()
222 values.put("description", description); in addToDownloadContentDB()
223 values.put("mimetype", mimeType); in addToDownloadContentDB()
224 values.put("is_public_api", true); in addToDownloadContentDB()
225 values.put("scanned", isMediaScannerScannable); in addToDownloadContentDB()
226 values.put("is_visible_in_downloads_ui", Boolean.TRUE); in addToDownloadContentDB()
227 values.put("destination", 6); // 6: show the download item in app in addToDownloadContentDB()
228 values.put("_data", path); // location to save the downloaded file in addToDownloadContentDB()
229 values.put("status", 200); // 200 : STATUS_SUCCESS in addToDownloadContentDB()
[all …]
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DProcessShowmapHelper.java106 showmapFinalMap.put(constructKey(processName, PSS), endMetrics.pss); in getMetrics()
107 showmapFinalMap.put(constructKey(processName, RSS), endMetrics.rss); in getMetrics()
108 showmapFinalMap.put(constructKey(processName, VSS), endMetrics.vss); in getMetrics()
115 showmapFinalMap.put( in getMetrics()
117 showmapFinalMap.put( in getMetrics()
119 showmapFinalMap.put( in getMetrics()
DFreeMemHelper.java106 results.put(PROC_MEMINFO_MEM_AVAILABLE, (memAvailableProc * 1024)); in getMetrics()
109 results.put(PROC_MEMINFO_MEM_FREE, (memFreeProc * 1024)); in getMetrics()
152 results.put(DUMPSYS_CACHED_PROC_MEMORY, (cachedProcMemory * 1024)); in getMetrics()
155 results.put(MEM_AVAILABLE_CACHE_PROC_DIRTY, (cacheProcDirty * 1024)); in getMetrics()
DShowmapSnapshotHelper.java153 mMemoryMap.put(PROCESS_COUNT, Integer.toString(mProcessNames.length - 1)); in getMetrics()
155 mMemoryMap.put(OUTPUT_FILE_PATH_KEY, mTestOutputFile); in getMetrics()
266 mMemoryMap.put(metricKey, Long.toString(currValue + in parseAndUpdateMemoryInfo()
269 mMemoryMap.put(metricKey, Long.toString(Long.parseLong( in parseAndUpdateMemoryInfo()
311 mMetricNameIndexMap.put(Integer.parseInt( in setMetricNameIndex()
DTotalPssHelper.java114 mPssFinalMap.put(constructKey(PSS_METRIC_PREFIX, processName), pss * 1024); in measureMemory()
123 mPssFinalMap.put(constructKey(PSS_METRIC_PREFIX, processName), average(pssData) * 1024); in measureMemory()
DDumpsysMeminfoHelper.java146 metrics.put( in parseMetrics()
157 metrics.put( in parseMetrics()
/platform_testing/tests/jank/dialer/src/com/android/dialer/janktests/
DDialerJankTests.java223 values.put(CallLog.Calls.NUMBER, number); in addNumToCalLog()
224 values.put(CallLog.Calls.DATE, System.currentTimeMillis()); in addNumToCalLog()
225 values.put(CallLog.Calls.DURATION, 0); in addNumToCalLog()
226 values.put(CallLog.Calls.TYPE, CallLog.Calls.OUTGOING_TYPE); in addNumToCalLog()
227 values.put(CallLog.Calls.NEW, 1); in addNumToCalLog()
228 values.put(CallLog.Calls.CACHED_NAME, ""); in addNumToCalLog()
229 values.put(CallLog.Calls.CACHED_NUMBER_TYPE, 0); in addNumToCalLog()
230 values.put(CallLog.Calls.CACHED_NUMBER_LABEL, ""); in addNumToCalLog()
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/
DSquare.java87 vertexBuffer.put(squareCoords); in Square()
96 drawListBuffer.put(drawOrder); in Square()
DTriangle.java86 vertexBuffer.put(triangleCoords); in Triangle()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DHelperManager.java231 mappedExceptions.put( in getAll()
239 mappedExceptions.put( in getAll()
245 mappedExceptions.put( in getAll()
249 mappedExceptions.put( in getAll()
/platform_testing/tests/functional/devicehealthtests/src/com/android/devicehealth/tests/
DKnownFailures.java54 mKnownFailures.put(dropboxLabel, knownFailures); in addKnownFailure()
/platform_testing/tests/functional/devicehealthchecks/src/com/android/devicehealthchecks/
DKnownFailures.java59 mKnownFailures.put(dropboxLabel, knownFailures); in addKnownFailure()
/platform_testing/libraries/health/runners/longevity/host/tests/src/android/host/test/longevity/listener/
DTimeoutTerminatorTest.java45 args.put(TimeoutTerminator.OPTION, String.valueOf(50L)); in setupListener()
/platform_testing/libraries/health/runners/longevity/platform/tests/src/android/platform/test/longevity/listener/
DTimeoutTerminatorTest.java48 args.put(TimeoutTerminator.OPTION, String.valueOf(50L)); in setupListener()

12