/tools/tradefederation/core/javatests/com/android/tradefed/config/ |
D | ConfigurationFactoryTest.java | 1010 assertNotNull(config.getDeviceConfigByName("device1")); in testCreateConfigurationFromArgs_multidevice() 1011 assertEquals("10", config.getDeviceConfigByName("device1") in testCreateConfigurationFromArgs_multidevice() 1013 assertEquals("stub", config.getDeviceConfigByName("device1") in testCreateConfigurationFromArgs_multidevice() 1015 assertEquals(0, config.getDeviceConfigByName("device1") in testCreateConfigurationFromArgs_multidevice() 1018 assertNotNull(config.getDeviceConfigByName("device2")); in testCreateConfigurationFromArgs_multidevice() 1019 assertEquals("0", config.getDeviceConfigByName("device2") in testCreateConfigurationFromArgs_multidevice() 1021 assertEquals("stub", config.getDeviceConfigByName("device2") in testCreateConfigurationFromArgs_multidevice() 1023 assertEquals(1, config.getDeviceConfigByName("device2") in testCreateConfigurationFromArgs_multidevice() 1025 assertTrue(config.getDeviceConfigByName("device2") in testCreateConfigurationFromArgs_multidevice() 1028 assertNotNull(config.getDeviceConfigByName("device3")); in testCreateConfigurationFromArgs_multidevice() [all …]
|
D | ConfigurationTest.java | 770 original.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME), in testDeepClone() 771 copy.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME)); in testDeepClone() 794 original.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME), in testDeepClone_innerDevice() 795 copy.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME)); in testDeepClone_innerDevice() 816 original.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME), in testDeepClone_configReceiver() 817 copy.getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME)); in testDeepClone_configReceiver()
|
D | ConfigurationDefTest.java | 117 OptionTest test = (OptionTest)config.getDeviceConfigByName("device1") in testCreateConfiguration_withDeviceHolder()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | ShardBuildCloner.java | 54 IDeviceConfiguration deviceConfig = toConfig.getDeviceConfigByName(deviceName); in cloneBuildInfos() 65 fromConfig.getDeviceConfigByName(deviceName).getBuildProvider())); in cloneBuildInfos()
|
D | ShardHelper.java | 214 config.getDeviceConfigByName(deviceName) in shardConfig()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/sandbox/ |
D | SandboxedInvocationExecution.java | 65 IDeviceConfiguration deviceConfig = config.getDeviceConfigByName(deviceName); in fetchBuild() 91 preparersToRun.addAll(config.getDeviceConfigByName(deviceName).getTargetPreparers()); in getTargetPreparersToRun()
|
D | ParentSandboxInvocationExecution.java | 133 preparersToRun.addAll(config.getDeviceConfigByName(deviceName).getLabPreparers()); in getLabPreparersToRun()
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/ |
D | TestInvocationMultiTest.java | 145 when(mMockConfig.getDeviceConfigByName("device1")).thenReturn(holder1); in makeTwoDeviceContext() 158 when(mMockConfig.getDeviceConfigByName("device2")).thenReturn(holder2); in makeTwoDeviceContext() 278 when(mMockConfig.getDeviceConfigByName("device1")).thenReturn(holder1); in testResolveDynamicFails()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | Configuration.java | 497 public IDeviceConfiguration getDeviceConfigByName(String nameDevice) { in getDeviceConfigByName() method in Configuration 852 getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME) in addToDefaultDeviceConfig() 1022 getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME).getTargetPreparers().clear(); in setTargetPreparers() 1039 getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME).getLabPreparers().clear(); in setLabPreparers() 1103 IDeviceConfiguration deviceConfig = getDeviceConfigByName(deviceName); in isDeviceConfiguredFake()
|
D | IConfiguration.java | 223 public IDeviceConfiguration getDeviceConfigByName(String nameDevice); in getDeviceConfigByName() method
|
/tools/tradefederation/core/src/com/android/tradefed/device/internal/ |
D | DeviceResetFeature.java | 85 IDeviceConfiguration configHolder = mConfig.getDeviceConfigByName(deviceName); in execute()
|
D | DeviceSnapshotFeature.java | 84 IDeviceConfiguration configHolder = mConfig.getDeviceConfigByName(deviceName); in execute()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationExecution.java | 207 IDeviceConfiguration deviceConfig = config.getDeviceConfigByName(currentDeviceName); in fetchBuild() 275 config.getDeviceConfigByName(cleanUpDevice) in cleanUpBuilds() 313 preparersToRun.addAll(config.getDeviceConfigByName(deviceName).getTargetPreparers()); in getTargetPreparersToRun() 325 preparersToRun.addAll(config.getDeviceConfigByName(deviceName).getLabPreparers()); in getLabPreparersToRun() 803 IDeviceConfiguration deviceConfig = config.getDeviceConfigByName(deviceName); in runSingleDevicePreInvocationSetup() 834 IDeviceConfiguration deviceConfig = config.getDeviceConfigByName(deviceName); in runDevicePostInvocationTearDown()
|
D | TestInvocation.java | 1292 config.getDeviceConfigByName(deviceName).getDeviceOptions()); in invoke() 1293 if (config.getDeviceConfigByName(deviceName) in invoke()
|
/tools/tradefederation/core/javatests/com/android/tradefed/command/ |
D | CommandSchedulerFuncTest.java | 126 when(mSlowConfig.getDeviceConfigByName(Mockito.eq("device"))).thenReturn(mMockConfig); in setUp() 128 when(mFastConfig.getDeviceConfigByName(Mockito.eq("device"))).thenReturn(mMockConfig); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandScheduler.java | 941 if (mCmd.getConfiguration().getDeviceConfigByName(deviceName).getDeviceOptions() in checkDeviceBatteryLevel() 948 .getDeviceConfigByName(deviceName) in checkDeviceBatteryLevel()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinition.java | 473 .getDeviceConfigByName(device) in run()
|