Home
last modified time | relevance | path

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

1234

/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
DDevicePropertyInfo.java166 propertyMap.put(prefix + "abi", mAbi); in getPropertytMapWithPrefix()
167 propertyMap.put(prefix + "abi2", mAbi2); in getPropertytMapWithPrefix()
168 propertyMap.put(prefix + "abis", mAbis); in getPropertytMapWithPrefix()
169 propertyMap.put(prefix + "abis_32", mAbis32); in getPropertytMapWithPrefix()
170 propertyMap.put(prefix + "abis_64", mAbis64); in getPropertytMapWithPrefix()
171 propertyMap.put(prefix + "board", mBoard); in getPropertytMapWithPrefix()
172 propertyMap.put(prefix + "brand", mBrand); in getPropertytMapWithPrefix()
173 propertyMap.put(prefix + "device", mDevice); in getPropertytMapWithPrefix()
174 propertyMap.put(prefix + "fingerprint", mFingerprint); in getPropertytMapWithPrefix()
175 propertyMap.put(prefix + "vendor_fingerprint", mVendorFingerprint); in getPropertytMapWithPrefix()
[all …]
DCrashUtils.java206 securityCrashes.put(crash); in matchSecurityCrashes()
311 crash.put(PID, pid); in addAllCrashes()
312 crash.put(TID, tid); in addAllCrashes()
313 crash.put(NAME, name); in addAllCrashes()
314 crash.put(PROCESS, process); in addAllCrashes()
315 crash.put(FAULT_ADDRESS, faultAddress == null ? null : faultAddress.toString(16)); in addAllCrashes()
316 crash.put(SIGNAL, signal); in addAllCrashes()
317 crash.put(ABORT_MESSAGE, abortMessage); in addAllCrashes()
320 backtrace.put( in addAllCrashes()
322 .put(FILENAME, frame.getFilename()) in addAllCrashes()
[all …]
DBusinessLogicMapStore.java36 maps.put(mapName, map); in putMap()
47 map.put(key, value); in putMap()
/platform_testing/libraries/collectors-helper/statsd/src/com/android/helpers/
DStatsdStatsHelper.java110 resultMap.put( in populateAtomStats()
113 resultMap.put( in populateAtomStats()
128 resultMap.put( in populateConfigStats()
131 resultMap.put( in populateConfigStats()
134 resultMap.put( in populateConfigStats()
137 resultMap.put( in populateConfigStats()
159 resultMap.put(metricKey, Long.valueOf(dataItem.maxTupleCounts)); in populateMetricStats()
174 resultMap.put(metricKey, Long.valueOf(dataItem.maxTupleCounts)); in populateConditionStats()
189 resultMap.put(metricKey, Long.valueOf(dataItem.matchedTimes)); in populateMatcherStats()
204 resultMap.put(metricKey, Long.valueOf(dataItem.alertedTimes)); in populateAlertStats()
[all …]
DCpuUsageHelper.java119 cpuUsageMap.put(UserTimeKey, userTimeMillis); in getMetrics()
120 cpuUsageMap.put(SystemTimeKey, sysTimeMillis); in getMetrics()
142 cpuUsageFinalMap.put( in getMetrics()
145 cpuUsageFinalMap.put(finalKey, cpuUsage); in getMetrics()
158 cpuUsageFinalMap.put(TOTAL_CPU_USAGE, totalCpuUsage); in getMetrics()
164 cpuUsageFinalMap.put(TOTAL_CPU_TIME, totalCpuTime); in getMetrics()
168 cpuUsageFinalMap.put(CPU_UTILIZATION, (long) utilization); in getMetrics()
/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/automotive-helpers/utility-helper/src/android/platform/helpers/
DAutoSettingsConfigUtility.java80 mSettingsPathMap.put(menu, path); in addPath()
99 mSettingsOptionsMap.put(menu, options); in addAvailableOptions()
173 mApplicationConfigMap.put(AutoConfigConstants.SETTINGS_TITLE_TEXT, SETTINGS_TITLE_TEXT); in loadDefaultSettingsAppConfig()
175 mApplicationConfigMap.put(AutoConfigConstants.SETTINGS_PACKAGE, SETTING_APP_PACKAGE); in loadDefaultSettingsAppConfig()
177 mApplicationConfigMap.put(AutoConfigConstants.SETTINGS_RRO_PACKAGE, SETTING_RRO_PACKAGE); in loadDefaultSettingsAppConfig()
179 mApplicationConfigMap.put(AutoConfigConstants.OPEN_SETTINGS_COMMAND, OPEN_SETTINGS_COMMAND); in loadDefaultSettingsAppConfig()
181 mApplicationConfigMap.put( in loadDefaultSettingsAppConfig()
184 mApplicationConfigMap.put(AutoConfigConstants.SPLIT_SCREEN_UI, "TRUE"); in loadDefaultSettingsAppConfig()
188 mSettingsOptionsMap.put( in loadDefaultSettingOptions()
190 mSettingsOptionsMap.put( in loadDefaultSettingOptions()
[all …]
DAutoAppGridConfigUtility.java153 mApplicationConfigMap.put(AutoConfigConstants.APP_GRID_PACKAGE, APP_GRID_PACKAGE); in loadDefaultAppGridConfig()
155 mApplicationConfigMap.put(AutoConfigConstants.APP_GRID_ACTIVITY, APP_GRID_ACTIVITY); in loadDefaultAppGridConfig()
157 mApplicationConfigMap.put(AutoConfigConstants.OPEN_APP_GRID_COMMAND, OPEN_APP_GRID_COMMAND); in loadDefaultAppGridConfig()
171 mAppGridConfigMap.put(AutoConfigConstants.APP_GRID_VIEW, appGridViewConfiguration); in loadDefaultAppGridViewConfig()
DAutoMediaCenterConfigUtility.java177 mApplicationConfigMap.put(AutoConfigConstants.MEDIA_CENTER_PACKAGE, MEDIA_CENTER_PACKAGE); in loadDefaultMediaCenterAppConfig()
179 mApplicationConfigMap.put(AutoConfigConstants.MEDIA_ACTIVITY, MEDIA_ACTIVITY); in loadDefaultMediaCenterAppConfig()
224 mMediaCenterConfigMap.put( in loadDefaultMediaCenterScreenConfig()
247 mMediaCenterConfigMap.put( in loadDefaultMediaCenterOnHomeScreenConfig()
265 mMediaCenterConfigMap.put( in loadDefaultMediaCenterAppsGridConfig()
297 mMediaCenterConfigMap.put( in loadDefaultMediaApp()
325 mMediaCenterConfigMap.put( in loadDefaultTestMediaApp()
DAutoDialConfigUtility.java170 mApplicationConfigMap.put(AutoConfigConstants.DIAL_PACKAGE, DIAL_APP_PACKAGE); in loadDefaultDialAppConfig()
172 mApplicationConfigMap.put(AutoConfigConstants.PHONE_ACTIVITY, PHONE_ACTIVITY); in loadDefaultDialAppConfig()
174 mApplicationConfigMap.put(AutoConfigConstants.OPEN_DIAL_PAD_COMMAND, OPEN_DIAL_PAD_COMMAND); in loadDefaultDialAppConfig()
213 mDialConfigMap.put(AutoConfigConstants.IN_CALL_VIEW, inCallScreenConfiguration); in loadDefaultInCallConfig()
236 mDialConfigMap.put(AutoConfigConstants.DIAL_PAD_VIEW, dialPadScreenConfiguration); in loadDefaultDialPadConfig()
299 mDialConfigMap.put(AutoConfigConstants.CONTACTS_VIEW, contactsScreenConfig); in loadDefaultContactsConfig()
311 mDialConfigMap.put(AutoConfigConstants.CALL_HISTORY_VIEW, callHistoryScreenConfiguration); in loadDefaultCallHistoryConfig()
319 mDialConfigMap.put(AutoConfigConstants.FAVORITES_VIEW, favoritesScreenConfiguration); in loadDefaultFavoritesConfig()
/platform_testing/libraries/collectors-helper/lyric/src/com/android/helpers/
DLyricCpuUtilizationHelper.java104 metrics.put( in processMatch()
107 metrics.put(String.format(METRIC_KEY, node, "system_time"), parseTime(matcher.group(3))); in processMatch()
108 metrics.put( in processMatch()
110 metrics.put( in processMatch()
112 metrics.put(String.format(METRIC_KEY, node, "user_time"), parseTime(matcher.group(6))); in processMatch()
113 metrics.put(String.format(METRIC_KEY, node, "user_time_max"), parseTime(matcher.group(7))); in processMatch()
114 metrics.put(String.format(METRIC_KEY, node, "user_time_min"), parseTime(matcher.group(8))); in processMatch()
115 metrics.put(String.format(METRIC_KEY, node, "wall_time"), parseTime(matcher.group(9))); in processMatch()
116 metrics.put(String.format(METRIC_KEY, node, "wall_time_max"), parseTime(matcher.group(10))); in processMatch()
117 metrics.put(String.format(METRIC_KEY, node, "wall_time_min"), parseTime(matcher.group(11))); in processMatch()
DLyricMemProfilerHelper.java175 metrics.put("maxNativeHeap", mMaxNativeHeap); in getMetrics()
176 metrics.put("maxTotalPss", mMaxTotalPss); in getMetrics()
177 metrics.put("maxDmabuf", mMaxDmabuf); in getMetrics()
230 if (0 < memInfo.mNativeHeap) metrics.put("nativeHeap", memInfo.mNativeHeap); in processOutput()
231 if (0 < memInfo.mTotalPss) metrics.put("totalPss", memInfo.mTotalPss); in processOutput()
232 if (0 < dmabuf) metrics.put("dmabuf", dmabuf); in processOutput()
/platform_testing/libraries/health/runners/longevity/host/tests/src/android/host/test/longevity/
DLongevitySuiteTest.java64 args.put(LongevitySuite.INVALIDATE_OPTION, "false"); in testDoNotInvalidateTestRuns()
65 args.put(LongevitySuite.QUITTER_OPTION, "true"); in testDoNotInvalidateTestRuns()
78 args.put(LongevitySuite.INVALIDATE_OPTION, "true"); in testInvalidateTestRuns()
79 args.put(LongevitySuite.QUITTER_OPTION, "true"); in testInvalidateTestRuns()
80 args.put(ITERATIONS_OPTION_NAME, String.valueOf(10)); in testInvalidateTestRuns()
110 args.put(LongevitySuite.INVALIDATE_OPTION, "true"); in testTimeoutTestRuns()
111 args.put(TimeoutTerminator.OPTION, "25"); in testTimeoutTestRuns()
112 args.put(ITERATIONS_OPTION_NAME, String.valueOf(10)); in testTimeoutTestRuns()
145 args.put(ITERATIONS_OPTION_NAME, String.valueOf(expectedIterations)); in testChildAccounting()
/platform_testing/libraries/health/rules/tests/src/android/platform/test/rule/
DCoolDownRuleTest.java196 escape_test_cases.put("", ""); in testEscapedOptionStrs()
197 escape_test_cases.put("#", " "); in testEscapedOptionStrs()
198 escape_test_cases.put("##", "#"); in testEscapedOptionStrs()
199 escape_test_cases.put("prefix#", "prefix "); in testEscapedOptionStrs()
200 escape_test_cases.put("prefix##", "prefix#"); in testEscapedOptionStrs()
201 escape_test_cases.put("#postfix", " postfix"); in testEscapedOptionStrs()
202 escape_test_cases.put("##postfix", "#postfix"); in testEscapedOptionStrs()
203 escape_test_cases.put("prefix#postfix", "prefix postfix"); in testEscapedOptionStrs()
204 escape_test_cases.put("prefix##postfix", "prefix#postfix"); in testEscapedOptionStrs()
205 escape_test_cases.put("###", "# "); in testEscapedOptionStrs()
[all …]
/platform_testing/libraries/compatibility-common-util/tests/src/com/android/compatibility/common/util/
DCrashUtilsTest.java59 expectedResults.put( in testGetAllCrashes()
82 expectedResults.put( in testGetAllCrashes()
125 expectedResults.put( in testGetAllCrashes()
168 expectedResults.put( in testGetAllCrashes()
211 expectedResults.put( in testGetAllCrashes()
234 expectedResults.put( in testGetAllCrashes()
245 expectedResults.put( in testGetAllCrashes()
325 expectedResults.put( in testGetAllCrashes()
399 expectedResults.put( in testGetAllCrashes()
422 expectedResults.put( in testGetAllCrashes()
[all …]
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DSfStatsCollectionHelper.java101 results.put(metricKey, parseStatsValue(globalPairs.get(key))); in getMetrics()
105 results.put( in getMetrics()
111 results.put( in getMetrics()
124 results.put( in getMetrics()
132 results.put( in getMetrics()
140 results.put( in getMetrics()
183 pairs.put(keyValueMatcher.group(1), keyValueMatcher.group(2)); in getStatPairs()
213 histogram.put( in getHistogramPairs()
218 pairs.put(key, histogram); in getHistogramPairs()
237 Histogram put(Integer key, Long value) { in put() method in SfStatsCollectionHelper.Histogram
[all …]
/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);
/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()
DPinnerHelper.java120 mPinnerMap.put(OUTPUT_FILE_PATH_KEY, mTestOutputFile); in getMetrics()
188 mPinnerMap.put(String.format("%s_%s", headerName, PINNER_FILES_COUNT_SUFFIX), in parseAndUpdatePinnerInfo()
192 mPinnerMap.put(TOTAL_SIZE_BYTES_KEY, pinnerDetails.get(2).trim()); in parseAndUpdatePinnerInfo()
201 mPinnerMap.put( in parseAndUpdatePinnerInfo()
209 mPinnerMap.put(String.format(TOTAL_FILE_COUNT_KEY), String.valueOf(totalFilesCount)); in parseAndUpdatePinnerInfo()
/platform_testing/tests/jank/dialer/src/com/android/dialer/janktests/
DDialerJankTests.java220 values.put(CallLog.Calls.NUMBER, number); in addNumToCalLog()
221 values.put(CallLog.Calls.DATE, System.currentTimeMillis()); in addNumToCalLog()
222 values.put(CallLog.Calls.DURATION, 0); in addNumToCalLog()
223 values.put(CallLog.Calls.TYPE, CallLog.Calls.OUTGOING_TYPE); in addNumToCalLog()
224 values.put(CallLog.Calls.NEW, 1); in addNumToCalLog()
225 values.put(CallLog.Calls.CACHED_NAME, ""); in addNumToCalLog()
226 values.put(CallLog.Calls.CACHED_NUMBER_TYPE, 0); in addNumToCalLog()
227 values.put(CallLog.Calls.CACHED_NUMBER_LABEL, ""); in addNumToCalLog()

1234