/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | ShardBuildCloner.java | 40 for (String deviceName : context.getDeviceConfigNames()) { in cloneBuildInfos() 41 IBuildInfo toBuild = context.getBuildInfo(deviceName).clone(); in cloneBuildInfos() 43 toConfig.getDeviceConfigByName(deviceName) in cloneBuildInfos() 48 .getDeviceConfigByName(deviceName) in cloneBuildInfos()
|
D | ShardHelper.java | 133 for (String deviceName : context.getDeviceConfigNames()) { in shardConfig() 134 config.getDeviceConfigByName(deviceName) in shardConfig() 136 .cleanUp(context.getBuildInfo(deviceName)); in shardConfig()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationExecution.java | 86 for (String deviceName : context.getDeviceConfigNames()) { in fetchBuild() 87 currentDeviceName = deviceName; in fetchBuild() 89 ITestDevice device = context.getDevice(deviceName); in fetchBuild() 90 IDeviceConfiguration deviceConfig = config.getDeviceConfigByName(deviceName); in fetchBuild() 105 context.addDeviceBuildInfo(deviceName, info); in fetchBuild() 174 for (String deviceName : context.getDeviceConfigNames()) { in doSetup() 175 ITestDevice device = context.getDevice(deviceName); in doSetup() 178 ((ITestLoggerReceiver) context.getDevice(deviceName)).setTestLogger(listener); in doSetup() 181 device.preInvocationSetup(context.getBuildInfo(deviceName)); in doSetup() 184 config.getDeviceConfigByName(deviceName).getTargetPreparers()) { in doSetup() [all …]
|
D | IInvocationContext.java | 54 public void addAllocatedDevice(String deviceName, ITestDevice testDevice); in addAllocatedDevice() argument 92 public ITestDevice getDevice(String deviceName); in getDevice() argument 110 public IBuildInfo getBuildInfo(String deviceName); in getBuildInfo() argument 123 public void addDeviceBuildInfo(String deviceName, IBuildInfo buildinfo); in addDeviceBuildInfo() argument
|
D | InvocationContext.java | 162 public ITestDevice getDevice(String deviceName) { in getDevice() argument 163 return mNameAndDeviceMap.get(deviceName); in getDevice() 170 public IBuildInfo getBuildInfo(String deviceName) { in getBuildInfo() argument 171 return mNameAndBuildinfoMap.get(deviceName); in getBuildInfo() 178 public void addDeviceBuildInfo(String deviceName, IBuildInfo buildinfo) { in addDeviceBuildInfo() argument 179 mNameAndBuildinfoMap.put(deviceName, buildinfo); in addDeviceBuildInfo() 180 mAllocatedDeviceAndBuildMap.put(getDevice(deviceName), buildinfo); in addDeviceBuildInfo()
|
D | ShardMasterResultForwarder.java | 185 for (String deviceName : shard.getDeviceConfigNames()) { in copyShardBuildInfoToMain() 186 IBuildInfo shardBuild = shard.getBuildInfo(deviceName); in copyShardBuildInfoToMain() 187 IBuildInfo mainBuild = main.getBuildInfo(deviceName); in copyShardBuildInfoToMain() 196 deviceName); in copyShardBuildInfoToMain()
|
D | TestInvocation.java | 402 for (String deviceName : context.getDeviceConfigNames()) { in resume() 403 resumeConfig.getDeviceConfigByName(deviceName).getBuildProvider() in resume() 404 .cleanUp(context.getBuildInfo(deviceName)); in resume() 621 for (String deviceName : context.getDeviceConfigNames()) { in invoke() 622 context.getDevice(deviceName).clearLastConnectedWifiNetwork(); in invoke() 623 context.getDevice(deviceName) in invoke() 624 .setOptions(config.getDeviceConfigByName(deviceName).getDeviceOptions()); in invoke() 625 if (config.getDeviceConfigByName(deviceName) in invoke() 628 if (!(context.getDevice(deviceName).getIDevice() instanceof StubDevice)) { in invoke() 629 context.getDevice(deviceName).startLogcat(); in invoke() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | DeviceMetricData.java | 58 String deviceName = mContext.getDeviceName(mContext.getDevices().get(0)); in addMetric() local 59 actualKey = String.format(DEVICE_NAME_FORMAT_KEY, deviceName, key); in addMetric() 79 String deviceName = mContext.getDeviceName(device); in addMetricForDevice() local 80 actualKey = String.format(DEVICE_NAME_FORMAT_KEY, deviceName, key); in addMetricForDevice()
|
/tools/tradefederation/core/prod-tests/src/com/android/tradefed/ |
D | HelloWorldMultiDevices.java | 75 for (String deviceName : mContext.getDeviceConfigNames()) { in run() 78 mContext.getDevice(deviceName).getSerialNumber(), deviceName); in run()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | DeviceConfigurationHolder.java | 53 public DeviceConfigurationHolder(String deviceName) { in DeviceConfigurationHolder() argument 54 this(deviceName, false); in DeviceConfigurationHolder() 57 public DeviceConfigurationHolder(String deviceName, boolean isFake) { in DeviceConfigurationHolder() argument 58 mDeviceName = deviceName; in DeviceConfigurationHolder()
|
D | ConfigurationXmlParser.java | 119 String deviceName = attributes.getValue("name"); in startElement() local 120 if (deviceName == null) { in startElement() 124 if (deviceName.equals(ConfigurationDef.DEFAULT_DEVICE_NAME)) { in startElement() 129 if (deviceName.contains(String.valueOf(OptionSetter.NAMESPACE_SEPARATOR))) { in startElement() 135 mCurrentDeviceObject = deviceName; in startElement() 282 String deviceName = attributes.getValue("name"); in addObject() local 283 if (!mListDevice.contains(deviceName)) { in addObject() 284 mListDevice.add(deviceName); in addObject() 288 String resp = mConfigDef.addExpectedDevice(deviceName, isFake); in addObject()
|
D | OptionSetter.java | 612 Map<String, OptionFieldsForName> optionMap, Integer index, String deviceName) in addOptionsForObject() argument 658 if (deviceName != null) { in addOptionsForObject() 660 String.format("{%s}%s", deviceName, option.name()), field); in addOptionsForObject() 664 deviceName); in addOptionsForObject() 673 String.valueOf(option.shortName()), field, index, deviceName); in addOptionsForObject() 679 if (deviceName != null) { in addOptionsForObject() 680 addNameToMap(optionMap, optionSource, String.format("{%s}%s", deviceName, in addOptionsForObject() 685 field, index, deviceName); in addOptionsForObject() 897 Object optionSource, String name, Field field, int index, String deviceName) in addNamespacedOptionToMap() argument 904 addNamespacedAliasOptionToMap(optionMap, optionSource, name, field, index, deviceName, in addNamespacedOptionToMap() [all …]
|
D | IConfiguration.java | 413 public boolean isDeviceConfiguredFake(String deviceName); in isDeviceConfiguredFake() argument
|
D | Configuration.java | 844 public boolean isDeviceConfiguredFake(String deviceName) { in isDeviceConfiguredFake() argument 845 IDeviceConfiguration deviceConfig = getDeviceConfigByName(deviceName); in isDeviceConfiguredFake()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinition.java | 305 for (String deviceName : mModuleInvocationContext.getDeviceConfigNames()) { in run() 306 ITestDevice device = mModuleInvocationContext.getDevice(deviceName); in run() 307 for (ITargetPreparer preparer : mPreparersPerDevice.get(deviceName)) { in run() 311 mModuleInvocationContext.getBuildInfo(deviceName), in run() 640 for (String deviceName : mModuleInvocationContext.getDeviceConfigNames()) { in runTearDown() 641 ITestDevice device = mModuleInvocationContext.getDevice(deviceName); in runTearDown() 642 List<ITargetPreparer> preparers = mPreparersPerDevice.get(deviceName); in runTearDown() 654 device, mModuleInvocationContext.getBuildInfo(deviceName), null); in runTearDown() 712 List<ITargetPreparer> getTargetPreparerForDevice(String deviceName) { in getTargetPreparerForDevice() argument 713 return mPreparersPerDevice.get(deviceName); in getTargetPreparerForDevice()
|
D | ITestSuite.java | 427 for (String deviceName : mContext.getDeviceConfigNames()) { in run() 429 .addAllocatedDevice(deviceName, mContext.getDevice(deviceName)); in run() 431 .addDeviceBuildInfo(deviceName, mContext.getBuildInfo(deviceName)); in run()
|