Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDevice.java101 getDeviceDescriptor(), getOptions(), info, testResourceBuildInfos); in preInvocationSetup()
109 long remainingTime = getOptions().getGceCmdTimeout() - (getCurrentTime() - startTime); in preInvocationSetup()
113 "Failed to launch GCE after %sms", getOptions().getGceCmdTimeout()), in preInvocationSetup()
152 if (getOptions().isLogcatCaptureEnabled()) { in preInvocationSetup()
198 mTestLogger, mGceAvd, getOptions(), getRunUtil()); in postInvocationTearDown()
201 if (!getOptions().shouldSkipTearDown()) { in postInvocationTearDown()
224 InstanceType type = getOptions().getInstanceType(); in getSshBugreport()
229 GceManager.getBugreportzWithSsh(mGceAvd, getOptions(), getRunUtil()); in getSshBugreport()
233 mGceAvd, getOptions(), getRunUtil()); in getSshBugreport()
250 for (int attempt = 0; attempt < getOptions().getGceMaxAttempt(); attempt++) { in launchGce()
[all …]
DManagedRemoteDevice.java72 new GceManager(getDeviceDescriptor(), getOptions(), info, testResourceBuildInfos); in preInvocationSetup()
79 long remainingTime = getOptions().getGceCmdTimeout() - (getCurrentTime() - startTime); in preInvocationSetup()
83 "Failed to launch GCE after %sms", getOptions().getGceCmdTimeout()), in preInvocationSetup()
113 mTestLogger, mGceAvd, getOptions(), getRunUtil()); in postInvocationTearDown()
116 if (!getOptions().shouldSkipTearDown()) { in postInvocationTearDown()
145 for (int attempt = 0; attempt < getOptions().getGceMaxAttempt(); attempt++) { in launchGce()
152 attempt + 1, getOptions().getGceMaxAttempt(), tse); in launchGce()
171 GceManager.getNestedDeviceSshBugreportz(mGceAvd, getOptions(), getRunUtil()); in getSshBugreport()
DNestedRemoteDevice.java139 CommonLogRemoteFileUtil.KNOWN_FILES_TO_FETCH.get(getOptions().getInstanceType()); in logDebugFiles()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/
DTestMappingTest.java96 testOptions.addAll(test.getOptions()); in testparseTestMapping()
110 testOptions.addAll(test.getOptions()); in testparseTestMapping()
175 assertTrue(test.getOptions().isEmpty()); in testGetTests()
263 assertTrue(test1.getOptions().isEmpty()); in testMergeSuccess()
270 assertTrue(test1.getOptions().isEmpty()); in testMergeSuccess()
277 assertTrue(test1.getOptions().isEmpty()); in testMergeSuccess()
295 assertEquals(2, test1.getOptions().size()); in testMergeSuccess_2Filters()
296 assertTrue(new HashSet<TestOption>(test1.getOptions()).contains(option1)); in testMergeSuccess_2Filters()
297 assertTrue(new HashSet<TestOption>(test1.getOptions()).contains(option2)); in testMergeSuccess_2Filters()
331 assertEquals(5, test1.getOptions().size()); 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/src/com/android/tradefed/util/testmapping/
DTestInfo.java65 public List<TestOption> getOptions() { in getOptions() method in TestInfo
131 Set<TestOption> commonOptions = new HashSet<TestOption>(test.getOptions()); in merge()
195 test.getOptions() in merge()
204 test.getOptions() in merge()
209 test.getOptions() in merge()
218 test.getOptions() in merge()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DNativeDeviceTest.java739 EasyMock.expect(mMockWifi.checkConnectivity(mTestDevice.getOptions().getConnCheckUrl())) in testConnectToWifiNetworkIfNeeded_alreadyConnected()
751 mTestDevice.getOptions().getConnCheckUrl(), false)).andReturn(true); in testConnectToWifiNetwork_success()
768 mTestDevice.getOptions().getConnCheckUrl(), false)).andReturn(false) in testConnectToWifiNetwork_failure()
769 .times(mTestDevice.getOptions().getWifiAttempts()); in testConnectToWifiNetwork_failure()
773 .times(mTestDevice.getOptions().getWifiAttempts()); in testConnectToWifiNetwork_failure()
775 EasyMock.expectLastCall().times(mTestDevice.getOptions().getWifiAttempts() - 1); in testConnectToWifiNetwork_failure()
789 OptionSetter deviceOptionSetter = new OptionSetter(mTestDevice.getOptions()); in testConnectToWifiNetwork_maxConnectTime()
797 mTestDevice.getOptions().getConnCheckUrl(), in testConnectToWifiNetwork_maxConnectTime()
817 mTestDevice.getOptions().getConnCheckUrl(), true)).andReturn(true); in testConnectToWifiNetwork_scanSsid()
833 EasyMock.expect(mMockWifi.checkConnectivity(mTestDevice.getOptions().getConnCheckUrl())) in testCheckWifiConnection()
[all …]
DTestDeviceTest.java197 boolean enableRoot = mTestDevice.getOptions().isEnableAdbRoot(); in testEnableAdbRoot_noEnableRoot()
198 OptionSetter setter = new OptionSetter(mTestDevice.getOptions()); in testEnableAdbRoot_noEnableRoot()
1175 mTestDevice.getOptions().setUseFastbootErase(true); in testUnencryptDevice_wipe()
/tools/tradefederation/core/src/com/android/tradefed/testtype/junit4/
DLongevityHostRunner.java133 private Map<String, String> getOptions() { in getOptions() method in LongevityHostRunner
177 mSuiteKlass, new DeviceJUnit4ClassRunnerBuilder(), getOptions()); in constructSuite()
/tools/tradefederation/contrib/src/com/android/tradefed/presubmit/
DTestMappingsValidation.java176 for (TestOption options : test.getOptions()) { in validateFilterOption()
217 for (TestOption options : test.getOptions()) { in getDetailedErrors()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDeviceTest.java456 OptionSetter setter = new OptionSetter(testDevice.getOptions()); in testDeviceNotStoreShutdownState()
559 OptionSetter setter = new OptionSetter(testDevice.getOptions()); in testDevice_skipTearDown()
646 OptionSetter setter = new OptionSetter(testDevice.getOptions()); in testDeviceBoot_offline()
DNestedRemoteDeviceTest.java69 public TestDeviceOptions getOptions() { in setUp()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DLogcatOnFailureCollector.java85 return new LogcatReceiver(device, "logcat", device.getOptions().getMaxLogcatDataSize(), 0); in createLogcatReceiver()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunner.java119 for (TestOption option : test.getOptions()) { in loadTests()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceSetup.java426 if (device.getOptions().isEnableAdbRoot() && !device.enableAdbRoot()) { in setUp()
706 if (mSetProps.size() > 0 && !device.getOptions().isEnableAdbRoot()) { in changeSystemProps()
/tools/tradefederation/core/src/com/android/tradefed/device/
DITestDevice.java553 public TestDeviceOptions getOptions(); in getOptions() method
DNativeDevice.java3650 public TestDeviceOptions getOptions() { in getOptions() method in NativeDevice
4448 if (!getOptions().shouldUseContentProvider()) { in getContentProvider()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DDeviceFlashPreparerTest.java68 EasyMock.expect(mMockDevice.getOptions()).andReturn(new TestDeviceOptions()).anyTimes(); in setUp()
DDeviceSetupTest.java1265 EasyMock.expect(mMockDevice.getOptions()).andReturn(options).atLeastOnce(); in doSetupExpectations()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DRemoteInvocationExecution.java128 TestDeviceOptions options = device.getOptions(); in runTests()