Home
last modified time | relevance | path

Searched refs:getDeviceName (Results 1 – 22 of 22) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/device/internal/
DDeviceReleaseReporterTest.java65 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/
DDeviceMetricData.java58 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/
DInvocationContextTest.java72 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/
DDeviceSnapshotHandler.java79 args.put(DeviceSnapshotFeature.DEVICE_NAME, mContext.getDeviceName(device)); in snapshotDevice()
150 args.put(DeviceSnapshotFeature.DEVICE_NAME, mContext.getDeviceName(device)); in restoreSnapshotDevice()
DDeviceReleaseReporter.java62 args.put(context.getDeviceName(entry.getKey()), entry.getValue().name()); in releaseDevices()
DDeviceResetHandler.java81 args.put(DeviceResetFeature.DEVICE_NAME, mContext.getDeviceName(device)); in resetDevice()
/tools/tradefederation/core/src/com/android/tradefed/config/
DIDeviceConfiguration.java33 public String getDeviceName(); in getDeviceName() method
DDeviceConfigurationHolder.java68 public String getDeviceName() { in getDeviceName() method in DeviceConfigurationHolder
264 return clone(getDeviceName()); in clone()
DConfigurationDef.java298 if (matcher.group(1).equals(iDevConfig.getDeviceName())) { in createConfiguration()
DConfiguration.java500 if (deviceHolder.getDeviceName().equals(nameDevice)) { in getDeviceConfigByName()
1457 serializer.attribute(null, "name", deviceConfig.getDeviceName()); in dumpXml()
DOptionSetter.java618 ((IDeviceConfiguration)objectSource).getDeviceName()); in makeOptionMap()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DLogcatTimingMetricCollectorTest.java80 when(mContext.getDeviceName(same(mockDevice))).thenReturn("device1"); in setup()
126 when(mContext.getDeviceName(same(mockDevice))).thenReturn("device2"); in testCollect_multipleDevice_perRun()
DRebootReasonCollectorTest.java205 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/
DIInvocationContext.java111 public String getDeviceName(ITestDevice device); in getDeviceName() method
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java162 ? 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/
DModuleSplitter.java268 res.put(holder.getDeviceName(), preparers); in clonePreparersMap()
DITestSuite.java732 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/
DLoopSummary.java337 String deviceName = context.getDeviceName(context.getDevices().get(0)); in getActualMetricKey()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationContext.java250 public String getDeviceName(ITestDevice device) { in getDeviceName() method in InvocationContext
DRemoteInvocationExecution.java133 String deviceName = config.getDeviceConfig().get(0).getDeviceName(); in fetchBuild()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java1882 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/
DConfigurationFactoryTest.java1746 config.getDeviceConfig().get(0).getDeviceName()); in testCreateConfiguration_singleDeviceConfig_withFake()