Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 798) sorted by relevance

12345678910>>...32

/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DLogcatParserTest.java54 assertEquals(312, logcat.getAnrs().get(0).getPid().intValue()); in testParse_anr()
55 assertEquals(366, logcat.getAnrs().get(0).getTid().intValue()); in testParse_anr()
56 assertEquals("", logcat.getAnrs().get(0).getLastPreamble()); in testParse_anr()
57 assertEquals("", logcat.getAnrs().get(0).getProcessPreamble()); in testParse_anr()
58 assertEquals(parseTime("2012-04-25 17:17:08.445"), logcat.getAnrs().get(0).getEventTime()); in testParse_anr()
78 assertEquals(1234, logcat.getAnrs().get(0).getPid().intValue()); in testParse_anr_pid()
79 assertNull(logcat.getAnrs().get(0).getTid()); in testParse_anr_pid()
80 assertEquals("", logcat.getAnrs().get(0).getLastPreamble()); in testParse_anr_pid()
81 assertEquals("", logcat.getAnrs().get(0).getProcessPreamble()); in testParse_anr_pid()
82 assertEquals(parseTime("2012-04-25 17:17:08.445"), logcat.getAnrs().get(0).getEventTime()); in testParse_anr_pid()
[all …]
DTimingsLogParserTest.java105 assertEquals("ZygoteStartTime", items.get(0).getName()); in testParseGenericTiming_multiplePattern_oneOccurrenceEach()
106 assertEquals(5000.0, items.get(0).getDuration()); in testParseGenericTiming_multiplePattern_oneOccurrenceEach()
108 assertEquals("BootToAnimEnd", items.get(1).getName()); in testParseGenericTiming_multiplePattern_oneOccurrenceEach()
109 assertEquals(20320.0, items.get(1).getDuration()); in testParseGenericTiming_multiplePattern_oneOccurrenceEach()
111 assertEquals("FakeServiceStartTime", items.get(2).getName()); in testParseGenericTiming_multiplePattern_oneOccurrenceEach()
112 assertEquals(6942.0, items.get(2).getDuration()); in testParseGenericTiming_multiplePattern_oneOccurrenceEach()
114 assertEquals("ZygoteToApp", items.get(3).getName()); in testParseGenericTiming_multiplePattern_oneOccurrenceEach()
115 assertEquals(12728.0, items.get(3).getDuration()); in testParseGenericTiming_multiplePattern_oneOccurrenceEach()
117 assertEquals("BootToAppStart", items.get(4).getName()); in testParseGenericTiming_multiplePattern_oneOccurrenceEach()
118 assertEquals(22474.0, items.get(4).getDuration()); in testParseGenericTiming_multiplePattern_oneOccurrenceEach()
[all …]
DMemHealthParserTest.java53 assertNotNull(processes.get("com.google.android.gm")); in testOneForegroundProc()
54 Map<String, Long> process = processes.get("com.google.android.gm"); in testOneForegroundProc()
55 assertEquals(10910, process.get("native_avg").longValue()); in testOneForegroundProc()
56 assertEquals(8011, process.get("dalvik_avg").longValue()); in testOneForegroundProc()
57 assertEquals(90454, process.get("pss_avg").longValue()); in testOneForegroundProc()
58 assertEquals(11136, process.get("native_peak").longValue()); in testOneForegroundProc()
59 assertEquals(9812, process.get("dalvik_peak").longValue()); in testOneForegroundProc()
60 assertEquals(95161, process.get("pss_peak").longValue()); in testOneForegroundProc()
61 assertEquals(8223, process.get("summary_java_heap_avg").longValue()); in testOneForegroundProc()
62 assertEquals(3852, process.get("summary_native_heap_avg").longValue()); in testOneForegroundProc()
[all …]
DDumpsysProcessMeminfoParserTest.java57 dump.get(DumpsysProcessMeminfoItem.NATIVE).get(DumpsysProcessMeminfoItem.MAX)); in testDumpsysProcessMeminfoParser()
60 dump.get(DumpsysProcessMeminfoItem.DALVIK).get(DumpsysProcessMeminfoItem.MAX)); in testDumpsysProcessMeminfoParser()
62 dump.get(DumpsysProcessMeminfoItem.OTHER) in testDumpsysProcessMeminfoParser()
66 dump.get(DumpsysProcessMeminfoItem.TOTAL).get(DumpsysProcessMeminfoItem.MAX)); in testDumpsysProcessMeminfoParser()
69 dump.get(DumpsysProcessMeminfoItem.TOTAL).get(DumpsysProcessMeminfoItem.PSS)); in testDumpsysProcessMeminfoParser()
71 Long.valueOf(3662L), dump.get("Dalvik Other").get(DumpsysProcessMeminfoItem.PSS)); in testDumpsysProcessMeminfoParser()
72 assertEquals(Long.valueOf(111L), dump.get("GL mtrack").get(DumpsysProcessMeminfoItem.PSS)); in testDumpsysProcessMeminfoParser()
75 dump.get("GL mtrack").get(DumpsysProcessMeminfoItem.SWAPPABLE_PSS)); in testDumpsysProcessMeminfoParser()
78 dump.get("GL mtrack").get(DumpsysProcessMeminfoItem.SHARED_DIRTY)); in testDumpsysProcessMeminfoParser()
81 dump.get("GL mtrack").get(DumpsysProcessMeminfoItem.SHARED_CLEAN)); in testDumpsysProcessMeminfoParser()
[all …]
DBugreportParserTest.java185 assertNotNull(bugreport.getSystemLog().getAnrs().get(0).getTrace()); in testParse()
235 assertEquals("value", bugreport.getCommandLine().get("key")); in testParse_command_line()
240 assertEquals("value1", bugreport.getCommandLine().get("key1")); in testParse_command_line()
241 assertEquals("value2", bugreport.getCommandLine().get("key2")); in testParse_command_line()
247 assertEquals("value=withequals", bugreport.getCommandLine().get("key1")); in testParse_command_line()
248 assertEquals("", bugreport.getCommandLine().get("key2")); in testParse_command_line()
253 assertEquals("value1", bugreport.getCommandLine().get("key1")); in testParse_command_line()
254 assertEquals("", bugreport.getCommandLine().get("key2")); in testParse_command_line()
255 assertNull(bugreport.getCommandLine().get("nonkey")); in testParse_command_line()
272 bugreport.getLastKmsg().getEvents().get(0).getStack()); in testParse_bootreason_kernel_good()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java111 String jarName = configAndJar.get(configName); in testLoadAllConfigs()
120 if (classInContribJars.get(contribJar).contains(o.mClassName)) { in testLoadAllConfigs()
216 assertEquals("1a", map.get(config1a)); in testConfigId_hashKey()
217 assertEquals("1a", map.get(config1b)); in testConfigId_hashKey()
220 assertEquals("1b", map.get(config1a)); in testConfigId_hashKey()
221 assertEquals("1b", map.get(config1b)); in testConfigId_hashKey()
229 assertEquals("3a", map.get(config3a)); in testConfigId_hashKey()
230 assertEquals("3a", map.get(config3b)); in testConfigId_hashKey()
233 assertEquals("3b", map.get(config3a)); in testConfigId_hashKey()
234 assertEquals("3b", map.get(config3b)); in testConfigId_hashKey()
[all …]
DArgsOptionParserTest.java372 assertEquals(expectedValue, (boolean) object.mMyOption.get(expectedKey)); in testParse_oneMapArg()
387 assertEquals(expectedValue, object.mMyOption.get(expectedKey)); in testParse_oneMapArg_emptyString()
627 assertEquals(leftoverOption, leftovers.get(0)); in testParseBestEffort_oneArg_oneLeftover()
644 assertEquals(badOption, leftovers.get(0)); in testParseBestEffort_oneLeftover_oneArg()
645 assertEquals(goodOption, leftovers.get(1)); in testParseBestEffort_oneLeftover_oneArg()
646 assertEquals(value, leftovers.get(2)); in testParseBestEffort_oneLeftover_oneArg()
663 assertEquals(badOption, leftovers.get(0)); in testParseBestEffort_manualStop()
664 assertEquals(goodOption, leftovers.get(1)); in testParseBestEffort_manualStop()
665 assertEquals(value, leftovers.get(2)); in testParseBestEffort_manualStop()
683 assertEquals(bareWord, leftovers.get(0)); in testParseBestEffort_bareWord()
[all …]
DConfigurationXmlParserTest.java66 configDef.getObjectClassMap().get("test").get(0).mClassName); in testParse()
67 assertEquals("junit.framework.TestCase:1:opName", configDef.getOptionList().get(0).name); in testParse()
68 assertEquals("val", configDef.getOptionList().get(0).value); in testParse()
111 configDef.getObjectClassMap().get("test").get(0).mClassName); in testParse_globalOption()
113 assertEquals("opName", configDef.getOptionList().get(0).name); in testParse_globalOption()
114 assertEquals("val", configDef.getOptionList().get(0).value); in testParse_globalOption()
138 configDef.getObjectClassMap().get("test").get(0).mClassName); in testParse_multiple()
139 …ertEquals("com.android.tradefed.testtype.HostTest:1:class", configDef.getOptionList().get(0).name); in testParse_multiple()
140 assertEquals("val1", configDef.getOptionList().get(0).value); in testParse_multiple()
144 configDef.getObjectClassMap().get("test").get(1).mClassName); in testParse_multiple()
[all …]
DConfigurationTest.java144 assertEquals(testConfigObject, configList.get(0)); in testGetConfigurationObjectList()
244 assertEquals(prep, mConfig.getTargetPreparers().get(0)); in testGetTargetPreparers()
253 .get(0) in testGetTests()
257 assertEquals(test1, mConfig.getTests().get(0)); in testGetTests()
288 ITestInvocationListener defaultListener = mConfig.getTestInvocationListeners().get(0); in testGetTestInvocationListeners()
295 assertEquals(listener1, mConfig.getTestInvocationListeners().get(0)); in testGetTestInvocationListeners()
343 OptionDef optionDef = mConfig.getConfigurationDescription().getRerunOptions().get(0); in testInjectOptionValue()
360 assertNotNull(map.get(key)); in testInjectMapOptionValue()
361 assertTrue(map.get(key).booleanValue()); in testInjectMapOptionValue()
411 assertNotNull(map.get(key)); in testInjectParsedMapOptionValue()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DStrictShardHelperTest.java158 assertNotEquals(test, mConfig.getTests().get(0)); in testShardConfig_internal_shardIndex()
189 assertSame(test, mConfig.getTests().get(0)); in testShardConfig_internal_shardIndex_notShardable_shard0()
294 assertTrue(res.get(0) instanceof ITestSuite); in testMergeSuite_shard0()
295 assertEquals("module3", ((ITestSuite) res.get(0)).getDirectModule().getId()); in testMergeSuite_shard0()
296 assertEquals(2, ((ITestSuite) res.get(0)).getDirectModule().numTests()); in testMergeSuite_shard0()
298 assertTrue(res.get(1) instanceof ITestSuite); in testMergeSuite_shard0()
299 assertEquals("module1", ((ITestSuite) res.get(1)).getDirectModule().getId()); in testMergeSuite_shard0()
300 assertEquals(1, ((ITestSuite) res.get(1)).getDirectModule().numTests()); in testMergeSuite_shard0()
302 assertTrue(res.get(2) instanceof ITestSuite); in testMergeSuite_shard0()
303 assertEquals("module2", ((ITestSuite) res.get(2)).getDirectModule().getId()); in testMergeSuite_shard0()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DGranularRetriableTestWrapperTest.java130 if (mBecomePass.get(td) != null) { in run()
131 passAttempt = mBecomePass.get(td); in run()
133 if (mShouldFail.get(td)) { in run()
236 List<TestDescription> testCases = mRunTestsMap.get(runName); in run()
240 TestDescription td = testCases.get(idx); in run()
247 if (mBecomePass.get(td) != null) { in run()
248 passAttempt = mBecomePass.get(td); in run()
250 if (mShouldFail.get(td)) { in run()
337 granularTestWrapper.getTestRunResultCollected().get(RUN_NAME).get(0); in testIntraModuleRun_catchDeviceUnresponsiveException()
365 maxRunCount, granularTestWrapper.getTestRunResultCollected().get(RUN_NAME).size()); in testRun_withMultipleRun()
[all …]
DModuleSplitterTest.java77 initialPreparers.get(0), in testSplitModule_configNotShardable()
78 res.get(0).getTargetPreparerForDevice(DEFAULT_DEVICE).get(0)); in testSplitModule_configNotShardable()
80 assertSame(test, res.get(0).getTests().get(0)); in testSplitModule_configNotShardable()
113 initialPreparers.get(0), in testSplitModule_configNotStrictShardable_dynamic()
114 res.get(0).getTargetPreparerForDevice(DEFAULT_DEVICE).get(0)); in testSplitModule_configNotStrictShardable_dynamic()
116 assertNotSame(test, res.get(0).getTests().get(0)); in testSplitModule_configNotStrictShardable_dynamic()
148 initialPreparers.get(0), in testSplitModule_configNotStrictShardable_notDynamic()
149 res.get(0).getTargetPreparerForDevice(DEFAULT_DEVICE).get(0)); in testSplitModule_configNotStrictShardable_notDynamic()
151 assertSame(test, res.get(0).getTests().get(0)); in testSplitModule_configNotStrictShardable_notDynamic()
177 initialPreparers.get(0), in testSplitModule_noIntraModuleSharding()
[all …]
DSuiteModuleLoaderTest.java254 assertNotNull(res.get("armeabi-v7a module1[test]")); in testInjectConfigOptions_moduleArgs()
255 IConfiguration config = res.get("armeabi-v7a module1[test]"); in testInjectConfigOptions_moduleArgs()
257 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_moduleArgs()
268 assertEquals("moreoption", checker.testMap.get("set-option")); in testInjectConfigOptions_moduleArgs()
269 assertEquals("", checker.testMap.get("empty-option")); in testInjectConfigOptions_moduleArgs()
325 assertNotNull(res.get("armeabi-v7a module1")); in testInjectConfigOptions_testArgs()
326 IConfiguration config = res.get("armeabi-v7a module1"); in testInjectConfigOptions_testArgs()
328 PreparerInject preparer = (PreparerInject) config.getTargetPreparers().get(0); in testInjectConfigOptions_testArgs()
331 TestInject checker = (TestInject) config.getTests().get(0); in testInjectConfigOptions_testArgs()
342 assertEquals("moreoption", checker.testMap.get("set-option")); in testInjectConfigOptions_testArgs()
[all …]
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java106 StoredEntry z = azf.get("z/"); in readAlmostEmptyZip()
119 StoredEntry e0 = azf.get("dir/"); in readZipWithTwoFilesOneDirectory()
123 StoredEntry e1 = azf.get("dir/inside"); in readZipWithTwoFilesOneDirectory()
132 StoredEntry e2 = azf.get("file.txt"); in readZipWithTwoFilesOneDirectory()
325 StoredEntry file2 = zf.get("file2");
336 file2 = zf.get("file2");
342 StoredEntry file2 = zf2.get("file2");
365 StoredEntry file3 = zf.get("file3");
377 file3 = zf.get("file3");
383 StoredEntry file3 = zf2.get("file3");
[all …]
DExtraFieldTest.java98 StoredEntry foo = zf.get("foo"); in readEntryWithNoExtraField()
126 StoredEntry foo = zf.get("foo"); in readSingleExtraField()
132 assertEquals(0x0A0B, segments.get(0).getHeaderId()); in readSingleExtraField()
134 segments.get(0).write(ByteBuffer.wrap(segData)); in readSingleExtraField()
173 StoredEntry foo = zf.get("foo"); in readMultipleExtraFields()
180 assertEquals(0x0A01, segments.get(0).getHeaderId()); in readMultipleExtraFields()
182 segments.get(0).write(ByteBuffer.wrap(segData)); in readMultipleExtraFields()
185 assertEquals(0x0A02, segments.get(1).getHeaderId()); in readMultipleExtraFields()
187 segments.get(1).write(ByteBuffer.wrap(segData)); in readMultipleExtraFields()
190 assertEquals(0x0A02, segments.get(2).getHeaderId()); in readMultipleExtraFields()
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/abstract_devices/
Dbluetooth_device.py446 peer_info = self.peer_mapping.get(peer_identifier)
454 peer_info.get('bluetooth_gatt'), self.discovered_services_index,
458 peer_info.get('gatt_callback'))
476 peer_info = self.peer_mapping.get(peer_identifier)
484 peer_info.get('bluetooth_gatt'), self.discovered_services_index,
488 peer_info.get('gatt_callback'))
504 peer_info = self.peer_mapping.get(peer_identifier)
512 peer_info.get('bluetooth_gatt'), self.discovered_services_index,
516 peer_info.get('gatt_callback'))
536 peer_info = self.peer_mapping.get(peer_identifier)
[all …]
/tools/test/connectivity/acts_tests/tests/google/bt/pts/
DGattPtsTest.py208 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1'))
214 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1'))
220 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1'))
226 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1'))
232 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1'))
238 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1'))
244 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1'))
250 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1'))
256 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1'))
262 gatt_test_database.GATT_SERVER_DB_MAPPING.get('LARGE_DB_1'))
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/
DAggregatePostProcessorTest.java85 metricBuilder.getMeasurementsBuilder().setSingleString(singularDoubleMetrics.get(i)); in testSingularDoubleMetric()
96 singularDoubleStats.get(STATS_KEY_MIN), in testSingularDoubleMetric()
98 .get(String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_MIN)) in testSingularDoubleMetric()
106 singularDoubleStats.get(STATS_KEY_MAX), in testSingularDoubleMetric()
108 .get(String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_MAX)) in testSingularDoubleMetric()
116 singularDoubleStats.get(STATS_KEY_MEAN), in testSingularDoubleMetric()
118 .get(String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_MEAN)) in testSingularDoubleMetric()
126 singularDoubleStats.get(STATS_KEY_VAR), in testSingularDoubleMetric()
128 .get(String.join(STATS_KEY_SEPARATOR, singularDoubleKey, STATS_KEY_VAR)) in testSingularDoubleMetric()
136 singularDoubleStats.get(STATS_KEY_STDEV), in testSingularDoubleMetric()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGoogleBenchmarkResultParserTest.java119 assertEquals("5", resultTest1.get("cpu_time").getMeasurements().getSingleString()); in testParseSimpleFile()
120 assertEquals("5", resultTest1.get("real_time").getMeasurements().getSingleString()); in testParseSimpleFile()
121 assertEquals("BM_one", resultTest1.get("name").getMeasurements().getSingleString()); in testParseSimpleFile()
123 "109451958", resultTest1.get("iterations").getMeasurements().getSingleString()); in testParseSimpleFile()
128 assertEquals("11", resultTest2.get("cpu_time").getMeasurements().getSingleString()); in testParseSimpleFile()
129 assertEquals("1", resultTest2.get("real_time").getMeasurements().getSingleString()); in testParseSimpleFile()
130 assertEquals("BM_two", resultTest2.get("name").getMeasurements().getSingleString()); in testParseSimpleFile()
131 assertEquals("50906784", resultTest2.get("iterations").getMeasurements().getSingleString()); in testParseSimpleFile()
136 assertEquals("60", resultTest3.get("cpu_time").getMeasurements().getSingleString()); in testParseSimpleFile()
137 assertEquals("60", resultTest3.get("real_time").getMeasurements().getSingleString()); in testParseSimpleFile()
[all …]
/tools/tradefederation/core/atest/
Dmodule_info.py49 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP)
63 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP, '/')
64 out_dir = os.environ.get(constants.ANDROID_PRODUCT_OUT, root_dir)
77 os.environ.get(constants.ANDROID_PRODUCT_OUT), _MODULE_INFO)
124 if mod_name != mod_info.get(constants.MODULE_NAME, ''):
126 for path in mod_info.get(constants.MODULE_PATH, []):
141 info = self.name_to_module_info.get(name)
143 return info.get(constants.MODULE_PATH, [])
155 return [m.get(constants.MODULE_NAME)
156 for m in self.path_to_module_info.get(rel_module_path, [])]
[all …]
/tools/asuite/atest/
Dmodule_info.py51 self.root_dir = os.environ.get(constants.ANDROID_BUILD_TOP)
65 root_dir = os.environ.get(constants.ANDROID_BUILD_TOP, '/')
66 out_dir = os.environ.get(constants.ANDROID_PRODUCT_OUT, root_dir)
79 os.environ.get(constants.ANDROID_PRODUCT_OUT), _MODULE_INFO)
126 if mod_name != mod_info.get(constants.MODULE_NAME, ''):
128 for path in mod_info.get(constants.MODULE_PATH, []):
143 info = self.name_to_module_info.get(name)
145 return info.get(constants.MODULE_PATH, [])
157 return [m.get(constants.MODULE_NAME)
158 for m in self.path_to_module_info.get(rel_module_path, [])]
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DFlashingResourcesParserTest.java58 MultiMap<String, String> result = fullInfo.get(null); in testParseAndroidInfo()
61 List<String> boards = result.get(FlashingResourcesParser.BOARD_KEY); in testParseAndroidInfo()
63 assertEquals("board1", boards.get(0)); in testParseAndroidInfo()
64 assertEquals("board2", boards.get(1)); in testParseAndroidInfo()
65 List<String> bootloaders = result.get(FlashingResourcesParser.BOOTLOADER_VERSION_KEY); in testParseAndroidInfo()
66 assertEquals("1.0.1", bootloaders.get(0)); in testParseAndroidInfo()
82 MultiMap<String, String> result = fullInfo.get(null); in testParseAndroidInfo_withConstraint()
85 List<String> boards = result.get(FlashingResourcesParser.BOARD_KEY); in testParseAndroidInfo_withConstraint()
87 assertEquals("board1", boards.get(0)); in testParseAndroidInfo_withConstraint()
88 assertEquals("board2", boards.get(1)); in testParseAndroidInfo_withConstraint()
[all …]
/tools/loganalysis/tests/src/com/android/loganalysis/item/
DGenericItemTest.java80 assertNull(attributes.get("string")); in testMergeAttributes()
81 assertNull(attributes.get("integer")); in testMergeAttributes()
84 assertNull(attributes.get("string")); in testMergeAttributes()
85 assertNull(attributes.get("integer")); in testMergeAttributes()
88 assertNull(attributes.get("string")); in testMergeAttributes()
89 assertNull(attributes.get("integer")); in testMergeAttributes()
92 assertEquals(mStringAttribute, attributes.get("string")); in testMergeAttributes()
93 assertNull(attributes.get("integer")); in testMergeAttributes()
96 assertEquals(mStringAttribute, attributes.get("string")); in testMergeAttributes()
97 assertNull(attributes.get("integer")); in testMergeAttributes()
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
DTelephonyBaseTest.py107 tries = int(self.user_params.get("telephony_auto_rerun", 1))
133 if self.user_params.get("check_crash", True):
154 self.wifi_network_ssid = self.user_params.get(
155 "wifi_network_ssid") or self.user_params.get(
156 "wifi_network_ssid_2g") or self.user_params.get(
158 self.wifi_network_pass = self.user_params.get(
159 "wifi_network_pass") or self.user_params.get(
160 "wifi_network_pass_2g") or self.user_params.get(
164 self.qxdm_log = self.user_params.get("qxdm_log", True)
165 self.sdm_log = self.user_params.get("sdm_log", False)
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DGceRemoteCmdFormatterTest.java38 assertEquals("ssh", res.get(0)); in testFormatSsh()
39 assertEquals("-o", res.get(1)); in testFormatSsh()
40 assertEquals("UserKnownHostsFile=/dev/null", res.get(2)); in testFormatSsh()
41 assertEquals("-o", res.get(3)); in testFormatSsh()
42 assertEquals("StrictHostKeyChecking=no", res.get(4)); in testFormatSsh()
43 assertEquals("-o", res.get(5)); in testFormatSsh()
44 assertEquals("ServerAliveInterval=10", res.get(6)); in testFormatSsh()
45 assertEquals("-i", res.get(7)); in testFormatSsh()
46 assertEquals("/tmp/key", res.get(8)); in testFormatSsh()
47 assertEquals("root@127.0.0.1", res.get(9)); in testFormatSsh()
[all …]

12345678910>>...32