/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | RemoteAndroidVirtualDevice.java | 95 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 …]
|
D | ManagedRemoteDevice.java | 80 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()
|
D | NestedRemoteDevice.java | 138 CommonLogRemoteFileUtil.KNOWN_FILES_TO_FETCH.get(getOptions().getInstanceType()); in logDebugFiles()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/ |
D | TestInfoTest.java | 41 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()
|
D | TestMappingTest.java | 99 testOptions.addAll(test.getOptions()); in testparseTestMapping() 113 testOptions.addAll(test.getOptions()); in testparseTestMapping() 351 assertTrue(test1.getOptions().isEmpty()); in testMergeSuccess() 358 assertTrue(test1.getOptions().isEmpty()); in testMergeSuccess() 365 assertTrue(test1.getOptions().isEmpty()); in testMergeSuccess() 383 assertEquals(2, test1.getOptions().size()); in testMergeSuccess_2Filters() 384 assertTrue(new HashSet<TestOption>(test1.getOptions()).contains(option1)); in testMergeSuccess_2Filters() 385 assertTrue(new HashSet<TestOption>(test1.getOptions()).contains(option2)); in testMergeSuccess_2Filters() 419 assertEquals(5, test1.getOptions().size()); in testMergeSuccess_multiFilters() 420 Set<TestOption> mergedOptions = new HashSet<TestOption>(test1.getOptions()); in testMergeSuccess_multiFilters() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/ |
D | TestInfo.java | 63 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/ |
D | ManagedRemoteDeviceTest.java | 68 TestDeviceOptions get = mDevice.getOptions(); in testGetOptions() 70 TestDeviceOptions get2 = mDevice.getOptions(); in testGetOptions() 75 TestDeviceOptions get3 = mDevice.getOptions(); in testGetOptions()
|
D | NestedRemoteDeviceTest.java | 69 public TestDeviceOptions getOptions() { in setUp()
|
D | RemoteAndroidVirtualDeviceTest.java | 523 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()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/ |
D | LongevityHostRunner.java | 112 private Map<String, String> getOptions() { in getOptions() method in LongevityHostRunner 156 mSuiteKlass, new DeviceJUnit4ClassRunnerBuilder(), getOptions()); in constructSuite()
|
/tools/tradefederation/core/src/com/android/tradefed/config/yaml/ |
D | YamlTestRunners.java | 73 public Multimap<String, String> getOptions() { in getOptions() method in YamlTestRunners
|
D | ConfigurationYamlParser.java | 184 for (Entry<String, String> options : tests.getOptions().entries()) { in convertTestsToObjects()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | TestMappingSuiteRunner.java | 258 for (TestOption option : testInfo.getOptions()) { in parseOptions() 304 String nameOption = testInfo.getName() + testInfo.getOptions().toString(); in dedupTestInfos()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DeviceUpdateTargetPreparer.java | 94 if (device.getOptions().isEnableAdbRoot()) { in setUp()
|
D | DeviceSetup.java | 433 if (device.getOptions().isEnableAdbRoot() && !device.enableAdbRoot()) { in setUp() 713 if (mSetProps.size() > 0 && !device.getOptions().isEnableAdbRoot()) { in changeSystemProps()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | NativeDeviceTest.java | 741 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 …]
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | LogcatOnFailureCollector.java | 92 device, LOGCAT_COLLECT_CMD, device.getOptions().getMaxLogcatDataSize(), 0); in createLogcatReceiver()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/ |
D | TestMappingsValidation.java | 276 for (TestOption options : test.getOptions()) { in validateFilterOption() 317 for (TestOption options : test.getOptions()) { in getDetailedErrors()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | LocalAndroidVirtualDevice.java | 91 result = acloudCreate(report, getOptions()); in preInvocationSetup() 124 TestDeviceOptions options = getOptions(); in postInvocationTearDown()
|
/tools/loganalysis/test_framework/com/android/tradefed/device/metric/ |
D | LogcatTimingMetricCollector.java | 187 return new LogcatReceiver(device, logcatCmd, device.getOptions().getMaxLogcatDataSize(), 0); in createLogcatReceiver()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/device/metric/ |
D | LogcatTimingMetricCollector.java | 225 return new LogcatReceiver(device, logcatCmd, device.getOptions().getMaxLogcatDataSize(), 0); in createLogcatReceiver()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | ITestDevice.java | 574 public TestDeviceOptions getOptions(); in getOptions() method
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | RemoteInvocationExecution.java | 132 TestDeviceOptions options = device.getOptions(); in customizeDevicePreInvocation() 152 TestDeviceOptions options = device.getOptions(); in runTests()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | DeviceFlashPreparerTest.java | 72 EasyMock.expect(mMockDevice.getOptions()).andReturn(new TestDeviceOptions()).anyTimes(); in setUp()
|
D | GkiDeviceFlashPreparerTest.java | 83 EasyMock.expect(mMockDevice.getOptions()).andReturn(new TestDeviceOptions()).anyTimes(); in setUp()
|