/tools/tradefederation/core/javatests/com/android/tradefed/device/internal/ |
D | DeviceReleaseReporterTest.java | 65 when(mInvocationContext.getDeviceName(mTestDevice1)).thenReturn(DEVICE_1_NAME); in releaseDevices_oneDevice() 83 when(mInvocationContext.getDeviceName(mTestDevice1)).thenReturn(DEVICE_1_NAME); in releaseDevices_multipleDevices() 84 when(mInvocationContext.getDeviceName(mTestDevice2)).thenReturn(DEVICE_2_NAME); in releaseDevices_multipleDevices()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | DeviceMetricData.java | 58 String deviceName = mContext.getDeviceName(mContext.getDevices().get(0)); in addMetric() 79 String deviceName = mContext.getDeviceName(device); in addMetricForDevice()
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/ |
D | InvocationContextTest.java | 72 assertNull(mContext.getDeviceName(device1)); in testGetDeviceName() 74 assertEquals("test1", mContext.getDeviceName(device1)); in testGetDeviceName() 75 assertNull(mContext.getDeviceName(device2)); in testGetDeviceName()
|
/tools/tradefederation/core/src/com/android/tradefed/device/internal/ |
D | DeviceSnapshotHandler.java | 79 args.put(DeviceSnapshotFeature.DEVICE_NAME, mContext.getDeviceName(device)); in snapshotDevice() 150 args.put(DeviceSnapshotFeature.DEVICE_NAME, mContext.getDeviceName(device)); in restoreSnapshotDevice()
|
D | DeviceReleaseReporter.java | 62 args.put(context.getDeviceName(entry.getKey()), entry.getValue().name()); in releaseDevices()
|
D | DeviceResetHandler.java | 81 args.put(DeviceResetFeature.DEVICE_NAME, mContext.getDeviceName(device)); in resetDevice()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | IDeviceConfiguration.java | 33 public String getDeviceName(); in getDeviceName() method
|
D | DeviceConfigurationHolder.java | 68 public String getDeviceName() { in getDeviceName() method in DeviceConfigurationHolder 264 return clone(getDeviceName()); in clone()
|
D | ConfigurationDef.java | 298 if (matcher.group(1).equals(iDevConfig.getDeviceName())) { in createConfiguration()
|
D | Configuration.java | 500 if (deviceHolder.getDeviceName().equals(nameDevice)) { in getDeviceConfigByName() 1457 serializer.attribute(null, "name", deviceConfig.getDeviceName()); in dumpXml()
|
D | OptionSetter.java | 618 ((IDeviceConfiguration)objectSource).getDeviceName()); in makeOptionMap()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/ |
D | LogcatTimingMetricCollectorTest.java | 80 when(mContext.getDeviceName(same(mockDevice))).thenReturn("device1"); in setup() 126 when(mContext.getDeviceName(same(mockDevice))).thenReturn("device2"); in testCollect_multipleDevice_perRun()
|
D | RebootReasonCollectorTest.java | 205 doReturn(DEVICE_SERIAL_1).when(mContext).getDeviceName(testDevice1); in testAddingMetrics_multiDevice() 206 doReturn(DEVICE_SERIAL_2).when(mContext).getDeviceName(testDevice2); in testAddingMetrics_multiDevice()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/ |
D | IInvocationContext.java | 111 public String getDeviceName(ITestDevice device); in getDeviceName() method
|
/tools/tradefederation/core/src/com/android/tradefed/sandbox/ |
D | TradefedSandbox.java | 162 ? String.format("{%s}", deviceConfig.getDeviceName()) in run() 168 .getDevice(deviceConfig.getDeviceName()) in run() 182 .getDevice(deviceConfig.getDeviceName()) in run()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleSplitter.java | 268 res.put(holder.getDeviceName(), preparers); in clonePreparersMap()
|
D | ITestSuite.java | 732 res.put(holder.getDeviceName(), preparers); in getPreparerPerDevice() 768 res.put(holder.getDeviceName(), preparers); in getAllowedPreparerPerDevice()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/ |
D | LoopSummary.java | 337 String deviceName = context.getDeviceName(context.getDevices().get(0)); in getActualMetricKey()
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/ |
D | InvocationContext.java | 250 public String getDeviceName(ITestDevice device) { in getDeviceName() method in InvocationContext
|
D | RemoteInvocationExecution.java | 133 String deviceName = config.getDeviceConfig().get(0).getDeviceName(); in fetchBuild()
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandScheduler.java | 1882 String deviceName = deviceConfig.getDeviceName(); in execCommand() 1923 allocatedDevices.put(config.getDeviceName(), reservedDevices.get(iReserved++)); in getAllocatedDevices() 1974 if (excludeDevices.contains(deviceConfig.getDeviceName())) { in allocateDevices() 1981 devices.put(deviceConfig.getDeviceName(), device); in allocateDevices() 1984 deviceConfig.getDeviceName(), in allocateDevices()
|
/tools/tradefederation/core/javatests/com/android/tradefed/config/ |
D | ConfigurationFactoryTest.java | 1746 config.getDeviceConfig().get(0).getDeviceName()); in testCreateConfiguration_singleDeviceConfig_withFake()
|