/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | RemoteAndroidVirtualDevice.java | 101 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 …]
|
D | ManagedRemoteDevice.java | 72 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()
|
D | NestedRemoteDevice.java | 139 CommonLogRemoteFileUtil.KNOWN_FILES_TO_FETCH.get(getOptions().getInstanceType()); in logDebugFiles()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/ |
D | TestMappingTest.java | 96 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 …]
|
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()
|
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/ |
D | TestInfo.java | 65 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/ |
D | NativeDeviceTest.java | 739 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 …]
|
D | TestDeviceTest.java | 197 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/ |
D | LongevityHostRunner.java | 133 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/ |
D | TestMappingsValidation.java | 176 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/ |
D | RemoteAndroidVirtualDeviceTest.java | 456 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()
|
D | NestedRemoteDeviceTest.java | 69 public TestDeviceOptions getOptions() { in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | LogcatOnFailureCollector.java | 85 return new LogcatReceiver(device, "logcat", device.getOptions().getMaxLogcatDataSize(), 0); in createLogcatReceiver()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | TestMappingSuiteRunner.java | 119 for (TestOption option : test.getOptions()) { in loadTests()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DeviceSetup.java | 426 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/ |
D | ITestDevice.java | 553 public TestDeviceOptions getOptions(); in getOptions() method
|
D | NativeDevice.java | 3650 public TestDeviceOptions getOptions() { in getOptions() method in NativeDevice 4448 if (!getOptions().shouldUseContentProvider()) { in getContentProvider()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/ |
D | DeviceFlashPreparerTest.java | 68 EasyMock.expect(mMockDevice.getOptions()).andReturn(new TestDeviceOptions()).anyTimes(); in setUp()
|
D | DeviceSetupTest.java | 1265 EasyMock.expect(mMockDevice.getOptions()).andReturn(options).atLeastOnce(); in doSetupExpectations()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | RemoteInvocationExecution.java | 128 TestDeviceOptions options = device.getOptions(); in runTests()
|