Home
last modified time | relevance | path

Searched refs:getOptions (Results 1 – 25 of 34) sorted by relevance

12

/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDevice.java95 mGceHandler = new GceManager(getDeviceDescriptor(), getOptions(), info); in preInvocationSetup()
102 long remainingTime = getOptions().getGceCmdTimeout() - (getCurrentTime() - startTime); in preInvocationSetup()
106 "Failed to launch GCE after %sms", getOptions().getGceCmdTimeout()), in preInvocationSetup()
147 if (getOptions().isLogcatCaptureEnabled()) { in preInvocationSetup()
195 mTestLogger, mGceAvd, getOptions(), getRunUtil()); in postInvocationTearDown()
199 mTestLogger, mGceAvd, getOptions(), getRunUtil()); in postInvocationTearDown()
204 if (!getOptions().shouldSkipTearDown()) { in postInvocationTearDown()
226 InstanceType type = getOptions().getInstanceType(); in getSshBugreport()
231 GceManager.getBugreportzWithSsh(mGceAvd, getOptions(), getRunUtil()); in getSshBugreport()
235 mGceAvd, getOptions(), getRunUtil()); in getSshBugreport()
[all …]
DManagedRemoteDevice.java80 TestDeviceOptions options = getOptions(); in preInvocationSetup()
124 mTestLogger, mGceAvd, getOptions(), getRunUtil()); in postInvocationTearDown()
127 if (!getOptions().shouldSkipTearDown()) { in postInvocationTearDown()
162 for (int attempt = 0; attempt < getOptions().getGceMaxAttempt(); attempt++) { in launchGce()
169 attempt + 1, getOptions().getGceMaxAttempt(), tse); in launchGce()
188 GceManager.getNestedDeviceSshBugreportz(mGceAvd, getOptions(), getRunUtil()); in getSshBugreport()
218 public TestDeviceOptions getOptions() { in getOptions() method in ManagedRemoteDevice
221 TestDeviceOptions options = super.getOptions(); in getOptions()
DNestedRemoteDevice.java138 CommonLogRemoteFileUtil.KNOWN_FILES_TO_FETCH.get(getOptions().getInstanceType()); in logDebugFiles()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/
DTestMappingTest.java99 testOptions.addAll(test.getOptions()); in testparseTestMapping()
113 testOptions.addAll(test.getOptions()); in testparseTestMapping()
353 assertTrue(test1.getOptions().isEmpty()); in testMergeSuccess()
360 assertTrue(test1.getOptions().isEmpty()); in testMergeSuccess()
367 assertTrue(test1.getOptions().isEmpty()); in testMergeSuccess()
385 assertEquals(2, test1.getOptions().size()); in testMergeSuccess_2Filters()
386 assertTrue(new HashSet<TestOption>(test1.getOptions()).contains(option1)); in testMergeSuccess_2Filters()
387 assertTrue(new HashSet<TestOption>(test1.getOptions()).contains(option2)); in testMergeSuccess_2Filters()
421 assertEquals(5, test1.getOptions().size()); in testMergeSuccess_multiFilters()
422 Set<TestOption> mergedOptions = new HashSet<TestOption>(test1.getOptions()); in testMergeSuccess_multiFilters()
[all …]
DTestInfoTest.java41 assertEquals("option1", info.getOptions().get(0).getName()); in testAddOption()
42 assertEquals("value1", info.getOptions().get(0).getValue()); in testAddOption()
43 assertEquals("option2", info.getOptions().get(1).getName()); in testAddOption()
44 assertEquals("value2", info.getOptions().get(1).getValue()); in testAddOption()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DNativeDeviceTest.java741 EasyMock.expect(mMockWifi.checkConnectivity(mTestDevice.getOptions().getConnCheckUrl())) in testConnectToWifiNetworkIfNeeded_alreadyConnected()
753 mTestDevice.getOptions().getConnCheckUrl(), false)).andReturn(true); in testConnectToWifiNetwork_success()
770 mTestDevice.getOptions().getConnCheckUrl(), false)).andReturn(false) in testConnectToWifiNetwork_failure()
771 .times(mTestDevice.getOptions().getWifiAttempts()); in testConnectToWifiNetwork_failure()
775 .times(mTestDevice.getOptions().getWifiAttempts()); in testConnectToWifiNetwork_failure()
777 EasyMock.expectLastCall().times(mTestDevice.getOptions().getWifiAttempts() - 1); in testConnectToWifiNetwork_failure()
791 OptionSetter deviceOptionSetter = new OptionSetter(mTestDevice.getOptions()); in testConnectToWifiNetwork_maxConnectTime()
799 mTestDevice.getOptions().getConnCheckUrl(), in testConnectToWifiNetwork_maxConnectTime()
819 mTestDevice.getOptions().getConnCheckUrl(), true)).andReturn(true); in testConnectToWifiNetwork_scanSsid()
835 EasyMock.expect(mMockWifi.checkConnectivity(mTestDevice.getOptions().getConnCheckUrl())) in testCheckWifiConnection()
[all …]
DTestDeviceTest.java202 boolean enableRoot = mTestDevice.getOptions().isEnableAdbRoot(); in testEnableAdbRoot_noEnableRoot()
203 OptionSetter setter = new OptionSetter(mTestDevice.getOptions()); in testEnableAdbRoot_noEnableRoot()
1189 mTestDevice.getOptions().setUseFastbootErase(true); in testUnencryptDevice_wipe()
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/
DTestInfo.java63 public List<TestOption> getOptions() { in getOptions() method in TestInfo
129 Set<TestOption> commonOptions = new HashSet<TestOption>(test.getOptions()); in merge()
193 test.getOptions() in merge()
202 test.getOptions() in merge()
207 test.getOptions() in merge()
216 test.getOptions() in merge()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDeviceTest.java523 OptionSetter setter = new OptionSetter(mTestDevice.getOptions()); in testDeviceNotStoreShutdownState()
626 OptionSetter setter = new OptionSetter(mTestDevice.getOptions()); in testDevice_skipTearDown()
713 OptionSetter setter = new OptionSetter(mTestDevice.getOptions()); in testDeviceBoot_offline()
792 OptionSetter setter = new OptionSetter(mTestDevice.getOptions()); in testGetRemoteTombstone()
DManagedRemoteDeviceTest.java68 TestDeviceOptions get = mDevice.getOptions(); in testGetOptions()
70 TestDeviceOptions get2 = mDevice.getOptions(); in testGetOptions()
75 TestDeviceOptions get3 = mDevice.getOptions(); in testGetOptions()
DNestedRemoteDeviceTest.java69 public TestDeviceOptions getOptions() { in setUp()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DLongevityHostRunner.java112 private Map<String, String> getOptions() { in getOptions() method in LongevityHostRunner
156 mSuiteKlass, new DeviceJUnit4ClassRunnerBuilder(), getOptions()); in constructSuite()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunner.java278 for (TestOption option : testInfo.getOptions()) { in parseOptions()
324 String nameOption = testInfo.getName() + testInfo.getOptions().toString(); in dedupTestInfos()
/tools/tradefederation/core/src/com/android/tradefed/device/
DLocalAndroidVirtualDevice.java91 result = acloudCreate(report, getOptions()); in preInvocationSetup()
124 TestDeviceOptions options = getOptions(); in postInvocationTearDown()
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/
DTestMappingsValidation.java276 for (TestOption options : test.getOptions()) { in validateFilterOption()
317 for (TestOption options : test.getOptions()) { in getDetailedErrors()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DRemoteInvocationExecution.java132 TestDeviceOptions options = device.getOptions(); in customizeDevicePreInvocation()
152 TestDeviceOptions options = device.getOptions(); in runTests()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceSetup.java433 if (device.getOptions().isEnableAdbRoot() && !device.enableAdbRoot()) { in setUp()
713 if (mSetProps.size() > 0 && !device.getOptions().isEnableAdbRoot()) { in changeSystemProps()
DDeviceUpdateTargetPreparer.java95 if (device.getOptions().isEnableAdbRoot()) { in setUp()
/tools/tradefederation/core/src/com/android/tradefed/config/yaml/
DYamlTestRunners.java73 public Multimap<String, String> getOptions() { in getOptions() method in YamlTestRunners
DConfigurationYamlParser.java194 for (Entry<String, String> options : tests.getOptions().entries()) { in convertTestsToObjects()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DLogcatOnFailureCollector.java92 device, LOGCAT_COLLECT_CMD, device.getOptions().getMaxLogcatDataSize(), 0); in createLogcatReceiver()
/tools/loganalysis/test_framework/com/android/tradefed/device/metric/
DLogcatTimingMetricCollector.java187 return new LogcatReceiver(device, logcatCmd, device.getOptions().getMaxLogcatDataSize(), 0); in createLogcatReceiver()
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/
DLogcatTimingMetricCollector.java225 return new LogcatReceiver(device, logcatCmd, device.getOptions().getMaxLogcatDataSize(), 0); in createLogcatReceiver()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DITestDevice.java574 public TestDeviceOptions getOptions(); in getOptions() method
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDeviceFlashPreparerTest.java72 EasyMock.expect(mMockDevice.getOptions()).andReturn(new TestDeviceOptions()).anyTimes(); in setUp()

12