Home
last modified time | relevance | path

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

12345678910>>...12

/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DFrameworkPerfTest.java64 .put("ReadFile",FILE)
65 .put("CreateWriteFile",FILE)
66 .put("CreateWriteSyncFile",FILE)
67 .put("WriteFile",FILE)
68 .put("CreateFile",FILE)
70 .put("CreateRecycleBitmap",BITMAP)
71 .put("LoadLargeScaledBitmap",BITMAP)
72 .put("LoadSmallScaledBitmap",BITMAP)
73 .put("LoadRecycleSmallBitmap",BITMAP)
74 .put("LoadLargeBitmap",BITMAP)
[all …]
/tools/tradefederation/contrib/src/com/android/media/tests/
DVideoEditingPerformanceTest.java82 mPatternMap.put("ImageItemCreate", in VideoEditingPerformanceTest()
84 mPatternMap.put("mageItemAdd", in VideoEditingPerformanceTest()
86 mPatternMap.put("ImageItemRemove", in VideoEditingPerformanceTest()
88 mPatternMap.put("ImageItemCreate640x480", in VideoEditingPerformanceTest()
90 mPatternMap.put("ImageItemAdd640x480", in VideoEditingPerformanceTest()
92 mPatternMap.put("ImageItemRemove640x480", in VideoEditingPerformanceTest()
94 mPatternMap.put("CrossFadeTransitionCreate", in VideoEditingPerformanceTest()
96 mPatternMap.put("CrossFadeTransitionAdd", in VideoEditingPerformanceTest()
98 mPatternMap.put("CrossFadeTransitionRemove", in VideoEditingPerformanceTest()
100 mPatternMap.put("VideoItemCreate", in VideoEditingPerformanceTest()
[all …]
DAudioJitterTest.java53 result.put("min_jitter_ticks", "min_jitter_ticks"); in createMetricsKeyMap()
54 result.put("min_jitter_ms", "min_jitter_ms"); in createMetricsKeyMap()
55 result.put("min_jitter_period_id", "min_jitter_period_id"); in createMetricsKeyMap()
56 result.put("max_jitter_ticks", "max_jitter_ticks"); in createMetricsKeyMap()
57 result.put("max_jitter_ms", "max_jitter_ms"); in createMetricsKeyMap()
58 result.put("max_jitter_period_id", "max_jitter_period_id"); in createMetricsKeyMap()
59 result.put("mark_jitter_ticks", "mark_jitter_ticks"); in createMetricsKeyMap()
60 result.put("mark_jitter_ms", "mark_jitter_ms"); in createMetricsKeyMap()
61 result.put("max_cb_done_delay_ms", "max_cb_done_delay_ms"); in createMetricsKeyMap()
62 result.put("max_thread_delay_ms", "max_thread_delay_ms"); in createMetricsKeyMap()
[all …]
DCameraLatencyTest.java113 map.put("FirstCameraStartup", "^First Camera Startup: (\\d+)"); in testInfoSetup()
114 map.put("CameraStartup", "^Camera average startup time: (\\d+) ms"); in testInfoSetup()
122 map.put("FirstCameraStartup", "^First Camera Startup: (\\d+)"); in testInfoSetup()
123 map.put("CameraStartup", "^Camera average startup time: (\\d+) ms"); in testInfoSetup()
124 map.put("FirstVideoStartup", "^First Video Startup: (\\d+)"); in testInfoSetup()
125 map.put("VideoStartup", "^Video average startup time: (\\d+) ms"); in testInfoSetup()
134 map.put("AutoFocus", "^Avg AutoFocus = (\\d+)"); in testInfoSetup()
135 map.put("ShutterLag", "^Avg mShutterLag = (\\d+)"); in testInfoSetup()
136 map.put("Preview", "^Avg mShutterToPictureDisplayedTime = (\\d+)"); in testInfoSetup()
137 map.put("RawPictureGeneration", "^Avg mPictureDisplayedToJpegCallbackTime = (\\d+)"); in testInfoSetup()
[all …]
/tools/loganalysis/src/com/android/loganalysis/item/
DCompactMemInfoItem.java76 proc.put(PID_JSON_KEY, pid); in toJson()
77 proc.put(NAME_JSON_KEY, getName(pid)); in toJson()
78 proc.put(PSS_JSON_KEY, getPss(pid)); in toJson()
79 proc.put(SWAP_JSON_KEY, getSwap(pid)); in toJson()
80 proc.put(TYPE_JSON_KEY, getType(pid)); in toJson()
81 proc.put(ACTIVITIES_JSON_KEY, hasActivities(pid)); in toJson()
82 processes.put(proc); in toJson()
88 object.put(PROCESSES_JSON_KEY, processes); in toJson()
90 object.put(LOST_RAM_JSON_KEY, getLostRam()); in toJson()
91 object.put(TOTAL_ZRAM_JSON_KEY, getTotalZram()); in toJson()
[all …]
DDvmLockSampleItem.java47 put(PROCESS_NAME, String.class);
48 put(SENSITIVITY_FLAG, Boolean.class);
49 put(WAITING_THREAD_NAME, String.class);
50 put(WAIT_TIME, Integer.class);
51 put(WAITING_SOURCE_FILE, String.class);
52 put(WAITING_SOURCE_LINE, Integer.class);
53 put(OWNER_FILE_NAME, String.class);
54 put(OWNER_ACQUIRE_SOURCE_LINE, Integer.class);
55 put(SAMPLE_PERCENTAGE, Integer.class);
DGfxInfoItem.java85 proc.put(PID_KEY, pid); in toJson()
86 proc.put(NAME_KEY, getName(pid)); in toJson()
87 proc.put(TOTAL_FRAMES_KEY, getTotalFrames(pid)); in toJson()
88 proc.put(PERCENTILE_90_KEY, getPrecentile90(pid)); in toJson()
89 proc.put(PERCENTILE_95_KEY, getPrecentile95(pid)); in toJson()
90 proc.put(PERCENTILE_99_KEY, getPrecentile99(pid)); in toJson()
91 processes.put(proc); in toJson()
98 object.put(PROCESSES_KEY, processes); in toJson()
135 mRows.put(pid, row); in addRow()
DProcrankItem.java81 mProcrankLines.put(pid, new ProcrankValue(processName, vss, rss, pss, uss)); in addProcrankLine()
187 line.put(PID, entry.getKey()); in toJson()
188 line.put(PROCESS_NAME, procrankValue.mProcessName); in toJson()
189 line.put(VSS, procrankValue.mVss); in toJson()
190 line.put(RSS, procrankValue.mRss); in toJson()
191 line.put(PSS, procrankValue.mPss); in toJson()
192 line.put(USS, procrankValue.mUss); in toJson()
193 lines.put(line); in toJson()
195 object.put(LINES, lines); in toJson()
196 object.put(TEXT, getText()); in toJson()
DCpuInfoItem.java72 proc.put(PID_KEY, pid); in toJson()
73 proc.put(PERCENT_KEY, getPercent(pid)); in toJson()
74 proc.put(NAME_KEY, getName(pid)); in toJson()
75 processes.put(proc); in toJson()
82 object.put(PROCESSES_KEY, processes); in toJson()
107 mRows.put(pid, row); in addRow()
DBatteryStatsDetailedInfoItem.java154 batteryStatsComponent.put(TIME_ON_BATTERY, getTimeOnBattery()); in toJson()
157 batteryStatsComponent.put(SCREEN_ON_TIME, getScreenOnTime()); in toJson()
160 batteryStatsComponent.put(BATTERY_USAGE, mBatteryUsageItem.toJson()); in toJson()
163 batteryStatsComponent.put(WAKELOCKS, mWakelockItem.toJson()); in toJson()
166 batteryStatsComponent.put(INTERRUPTS, mInterruptItem.toJson()); in toJson()
169 batteryStatsComponent.put(PROCESS_USAGE, mprocessUsageItem.toJson()); in toJson()
DQtaguidItem.java72 user.put(UID_KEY, uid); in toJson()
73 user.put(RX_BYTES_KEY, getRxBytes(uid)); in toJson()
74 user.put(TX_BYTES_KEY, getTxBytes(uid)); in toJson()
75 users.put(user); in toJson()
82 object.put(USERS_KEY, users); in toJson()
107 mRows.put(uid, row); in addRow()
/tools/loganalysis/src/com/android/loganalysis/parser/
DMemoryHealthParser.java40 mappings.put("Average Dalvik Heap", MemoryHealthItem.DALVIK_AVG);
41 mappings.put("Average Native Heap", MemoryHealthItem.NATIVE_AVG);
42 mappings.put("Average PSS", MemoryHealthItem.PSS_AVG);
43 mappings.put("Peak Dalvik Heap", MemoryHealthItem.DALVIK_PEAK);
44 mappings.put("Peak Native Heap", MemoryHealthItem.NATIVE_PEAK);
45 mappings.put("Peak PSS", MemoryHealthItem.PSS_PEAK);
47 mappings.put("Average Summary Java Heap", MemoryHealthItem.SUMMARY_JAVA_HEAP_AVG);
48 mappings.put("Average Summary Native Heap", MemoryHealthItem.SUMMARY_NATIVE_HEAP_AVG);
49 mappings.put("Average Summary Code", MemoryHealthItem.SUMMARY_CODE_AVG);
50 mappings.put("Average Summary Stack", MemoryHealthItem.SUMMARY_STACK_AVG);
[all …]
/tools/tradefederation/core/prod-tests/src/com/android/graphics/tests/
DOpenGlPerformanceTest.java84 mPatternMap.put("text1", "Fill screen with text 1 time, (\\d+.\\d+),"); in OpenGlPerformanceTest()
85 mPatternMap.put("text2", "Fill screen with text 3 times, (\\d+.\\d+),"); in OpenGlPerformanceTest()
86 mPatternMap.put("text3", "Fill screen with text 5 times, (\\d+.\\d+),"); in OpenGlPerformanceTest()
88 mPatternMap.put("10xSingleTexture", "Fill screen 10x singletexture, (\\d+.\\d+),"); in OpenGlPerformanceTest()
89 mPatternMap.put("Multitexture", "Fill screen 10x 3tex multitexture, (\\d+.\\d+),"); in OpenGlPerformanceTest()
90 mPatternMap.put("BlendedSingleTexture", "Fill screen 10x blended singletexture, " + in OpenGlPerformanceTest()
92 mPatternMap.put("BlendedMultiTexture", "Fill screen 10x blended 3tex multitexture, " + in OpenGlPerformanceTest()
94 mPatternMap.put("3xModulatedBlendedSingletexture", in OpenGlPerformanceTest()
96 mPatternMap.put("1xModulatedBlendedSingletexture", in OpenGlPerformanceTest()
99 mPatternMap.put("FullScreenMesh10", "Full screen mesh 10 by 10, (\\d+.\\d+),"); in OpenGlPerformanceTest()
[all …]
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFsInfoSector.java146 buffer.put((byte) 0x52); in init()
147 buffer.put((byte) 0x52); in init()
148 buffer.put((byte) 0x61); in init()
149 buffer.put((byte) 0x41); in init()
154 buffer.put((byte) 0x72); in init()
155 buffer.put((byte) 0x72); in init()
156 buffer.put((byte) 0x41); in init()
157 buffer.put((byte) 0x61); in init()
163 buffer.put((byte) 0x55); in init()
164 buffer.put((byte) 0xaa); in init()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DPropertyChangerTest.java44 mOriginal.put("foo1", "bar1"); in setUp()
45 mOriginal.put("foo2", "bar2"); in setUp()
46 mOriginal.put("foo3", "bar3"); in setUp()
47 mOriginal.put("foo4", "bar4"); in setUp()
50 mChanges.put("foo2", "bar2*"); in setUp()
51 mChanges.put("foo3", "bar3*"); in setUp()
52 mChanges.put("foo5", "bar5-new"); in setUp()
54 mExpected.put("foo1", "bar1"); in setUp()
55 mExpected.put("foo2", "bar2*"); in setUp()
56 mExpected.put("foo3", "bar3*"); in setUp()
[all …]
/tools/tradefederation/core/prod-tests/tests/src/com/android/build/tests/
DImageStatsTest.java51 PARSED_TEST_DATA.put("/system/app/WallpapersBReel2017/WallpapersBReel2017.apk",
53 PARSED_TEST_DATA.put("/system/app/Chrome/Chrome.apk",
55 PARSED_TEST_DATA.put("/system/priv-app/Velvet/Velvet.apk",
57 PARSED_TEST_DATA.put("/system/framework/ext.jar",
59 PARSED_TEST_DATA.put("/system/fonts/NotoSansEgyptianHieroglyphs-Regular.ttf",
61 PARSED_TEST_DATA.put("/system/bin/ip6tables",
63 PARSED_TEST_DATA.put("/system/usr/share/zoneinfo/tzdata",
65 PARSED_TEST_DATA.put("/system/fonts/NotoSansCuneiform-Regular.ttf",
67 PARSED_TEST_DATA.put("/system/framework/core-oj.jar",
69 PARSED_TEST_DATA.put("/system/framework/com.quicinc.cne.jar",
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DAbiUtils.java101 ARCH_TO_ABIS.put(BASE_ARCH_ARM, ARM_ABIS); in ARCH_TO_ABIS.put()
102 ARCH_TO_ABIS.put(ARCH_ARM64, ARM_ABIS); in ARCH_TO_ABIS.put()
103 ARCH_TO_ABIS.put(BASE_ARCH_X86, INTEL_ABIS); in ARCH_TO_ABIS.put()
104 ARCH_TO_ABIS.put(ARCH_X86_64, INTEL_ABIS); in ARCH_TO_ABIS.put()
105 ARCH_TO_ABIS.put(BASE_ARCH_MIPS, MIPS_ABIS); in ARCH_TO_ABIS.put()
106 ARCH_TO_ABIS.put(ARCH_MIPS64, MIPS_ABIS); in ARCH_TO_ABIS.put()
112 ABI_TO_ARCH.put(ABI_ARM_V7A, BASE_ARCH_ARM); in ABI_TO_ARCH.put()
113 ABI_TO_ARCH.put(ABI_ARM_64_V8A, ARCH_ARM64); in ABI_TO_ARCH.put()
114 ABI_TO_ARCH.put(ABI_X86, BASE_ARCH_X86); in ABI_TO_ARCH.put()
115 ABI_TO_ARCH.put(ABI_X86_64, ARCH_X86_64); in ABI_TO_ARCH.put()
[all …]
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
DGLBenchmarkTest.java83 result.put("Fill rate - C24Z16", "fill-rate"); in createMetricsKeyMap()
84 result.put("Fill rate - C24Z16 Offscreen", "fill-rate-offscreen"); in createMetricsKeyMap()
85 result.put("Triangle throughput: Textured - C24Z16", "triangle-c24z16"); in createMetricsKeyMap()
86 result.put("Triangle throughput: Textured - C24Z16 Offscreen", in createMetricsKeyMap()
88 result.put("Triangle throughput: Textured - C24Z16 Vertex lit", in createMetricsKeyMap()
90 result.put("Triangle throughput: Textured - C24Z16 Offscreen Vertex lit", in createMetricsKeyMap()
92 result.put("Triangle throughput: Textured - C24Z16 Fragment lit", in createMetricsKeyMap()
94 result.put("Triangle throughput: Textured - C24Z16 Offscreen Fragment lit", in createMetricsKeyMap()
96 result.put("GLBenchmark 2.5 Egypt HD - C24Z16", "egypt-hd-c24z16"); in createMetricsKeyMap()
97 result.put("GLBenchmark 2.5 Egypt HD - C24Z16 Offscreen", "egypt-hd-c24z16-offscreen"); in createMetricsKeyMap()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/command/
DConsole.java286 trie.put(genericHelpRunnable, HELP_PATTERN); in generateHelpListings()
295 trie.put(new Runnable() { in generateHelpListings()
307 trie.put(new Runnable() { in generateHelpListings()
315 trie.put(new ArgRunnable<CaptureList>() { in generateHelpListings()
328 trie.put(new ArgRunnable<CaptureList>() { in generateHelpListings()
433 commandHelp.put(LIST_PATTERN, String.format( in addDefaultCommands()
444 commandHelp.put(DUMP_PATTERN, String.format( in addDefaultCommands()
463 commandHelp.put(RUN_PATTERN, String.format( in addDefaultCommands()
476 commandHelp.put(SET_PATTERN, String.format( in addDefaultCommands()
482 commandHelp.put(REMOVE_PATTERN, String.format( in addDefaultCommands()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DFakeTestTest.java67 t.put("PFE", "PFE"); in testDecodeRle()
68 t.put("P1F1E1", "PFE"); in testDecodeRle()
69 t.put("P2F2E2", "PPFFEE"); in testDecodeRle()
70 t.put("P3F2E1", "PPPFFE"); in testDecodeRle()
71 t.put("", ""); in testDecodeRle()
94 t.put("PFE", "PFE"); in testDecode()
95 t.put("P1F1E1", "PFE"); in testDecode()
96 t.put("P2F2E2", "PPFFEE"); in testDecode()
97 t.put("P3F2E1", "PPPFFE"); in testDecode()
98 t.put("", ""); in testDecode()
[all …]
/tools/tradefederation/core/remote/src/com/android/tradefed/command/remote/
DGetLastCommandResultOp.java73 json.put(SERIAL, mSerial); in packIntoJson()
109 mapBuilder.put(key, value); in unpackResponseFromJson()
121 json.put(STATUS, commandResult.getStatus().name()); in packResponseIntoJson()
123 json.put(INVOCATION_ERROR, commandResult.getInvocationErrorDetails()); in packResponseIntoJson()
126 json.put(FREE_DEVICE_STATE, commandResult.getFreeDeviceState().name()); in packResponseIntoJson()
133 keyValuePairJson.put(RUN_METRICS_KEY, entry.getKey()); in packResponseIntoJson()
134 keyValuePairJson.put(RUN_METRICS_VALUE, entry.getValue()); in packResponseIntoJson()
135 jsonRunMetricsArray.put(keyValuePairJson); in packResponseIntoJson()
137 json.put(RUN_METRICS, jsonRunMetricsArray); in packResponseIntoJson()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DConsoleResultReporterTest.java55 metrics.put("key2", "value2"); in testGetInvocationSummary_test_run_metrics()
56 metrics.put("key1", "value1"); in testGetInvocationSummary_test_run_metrics()
78 metrics.put("key2", "value2"); in testGetInvocationSummary_test_metrics()
79 metrics.put("key1", "value1"); in testGetInvocationSummary_test_metrics()
129 run1Test1Metrics.put("run1_test1_key1", "run1_test1_value1"); in testGetInvocationSummary_all()
130 run1Test1Metrics.put("run1_test1_key2", "run1_test1_value2"); in testGetInvocationSummary_all()
136 run1Test2Metrics.put("run1_test2_key1", "run1_test2_value1"); in testGetInvocationSummary_all()
137 run1Test2Metrics.put("run1_test2_key2", "run1_test2_value2"); in testGetInvocationSummary_all()
144 run1Test3Metrics.put("run1_test3_key1", "run1_test3_value1"); in testGetInvocationSummary_all()
145 run1Test3Metrics.put("run1_test3_key2", "run1_test3_value2"); in testGetInvocationSummary_all()
[all …]
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/utils/
DLittleEndianUtils.java107 output.put((byte) (value & 0xff)); in writeUnsigned4Le()
108 output.put((byte) ((value >> 8) & 0xff)); in writeUnsigned4Le()
109 output.put((byte) ((value >> 16) & 0xff)); in writeUnsigned4Le()
110 output.put((byte) ((value >> 24) & 0xff)); in writeUnsigned4Le()
126 output.put((byte) (value & 0xff)); in writeUnsigned2Le()
127 output.put((byte) ((value >> 8) & 0xff)); in writeUnsigned2Le()
/tools/tradefederation/core/src/com/android/tradefed/util/hostmetric/
DHostMetric.java54 json.put("name", mName); in toJson()
55 json.put("timestamp", mTimestamp); in toJson()
56 json.put("value", mValue); in toJson()
57 json.put("fields", new JSONObject(mData)); in toJson()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfiguration.java141 sObjTypeMap.put(BUILD_PROVIDER_TYPE_NAME, new ObjTypeInfo(IBuildProvider.class, false)); in getObjTypeMap()
142 sObjTypeMap.put(TARGET_PREPARER_TYPE_NAME, in getObjTypeMap()
144 sObjTypeMap.put( in getObjTypeMap()
147 sObjTypeMap.put(MULTI_PREPARER_TYPE_NAME, in getObjTypeMap()
149 sObjTypeMap.put(TEST_TYPE_NAME, new ObjTypeInfo(IRemoteTest.class, true)); in getObjTypeMap()
150 sObjTypeMap.put(DEVICE_RECOVERY_TYPE_NAME, in getObjTypeMap()
152 sObjTypeMap.put(LOGGER_TYPE_NAME, new ObjTypeInfo(ILeveledLogOutput.class, false)); in getObjTypeMap()
153 sObjTypeMap.put(LOG_SAVER_TYPE_NAME, new ObjTypeInfo(ILogSaver.class, false)); in getObjTypeMap()
154 sObjTypeMap.put(RESULT_REPORTER_TYPE_NAME, in getObjTypeMap()
156 sObjTypeMap.put(CMD_OPTIONS_TYPE_NAME, new ObjTypeInfo(ICommandOptions.class, in getObjTypeMap()
[all …]

12345678910>>...12