Home
last modified time | relevance | path

Searched refs:companion (Results 1 – 8 of 8) sorted by relevance

/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/companion/
DCompanionDeviceTracker.java18 package com.android.tradefed.targetprep.companion;
62 ITestDevice companion = getDeviceManager().allocateDevice(opt, false); in allocateCompanionDevice() local
63 if (companion != null) { in allocateCompanionDevice()
66 device.getSerialNumber(), mDeviceMapping.get(companion).getSerialNumber()); in allocateCompanionDevice()
69 companion.getSerialNumber(), device.getSerialNumber()); in allocateCompanionDevice()
70 mDeviceMapping.put(device, companion); in allocateCompanionDevice()
72 return companion; in allocateCompanionDevice()
85 ITestDevice companion = mDeviceMapping.remove(device); in freeCompanionDevice() local
87 if (!TestDeviceState.ONLINE.equals(companion.getDeviceState())) { in freeCompanionDevice()
91 getDeviceManager().freeDevice(companion, deviceState); in freeCompanionDevice()
[all …]
DCompanionTestAppInstallSetup.java18 package com.android.tradefed.targetprep.companion;
40 ITestDevice companion = CompanionDeviceTracker.getInstance().getCompanionDevice(device); in getDevice() local
41 if (companion == null) { in getDevice()
45 return companion; in getDevice()
DCompanionRunCommandTargetPreparer.java18 package com.android.tradefed.targetprep.companion;
35 ITestDevice companion = in getDevice() local
37 if (companion == null) { in getDevice()
44 return companion; in getDevice()
DCompanionAwarePreparer.java18 package com.android.tradefed.targetprep.companion;
DCompanionAllocator.java17 package com.android.tradefed.targetprep.companion;
DCheckPairingPreparer.java17 package com.android.tradefed.targetprep.companion;
/tools/tradefederation/core/test_framework/com/android/tradefed/util/clockwork/
DClockworkUtils.java37 ITestDevice companion = null; in setUpMultiDevice() local
49 if (companion != null) { in setUpMultiDevice()
53 companion = entry.getKey(); in setUpMultiDevice()
61 if (companion == null) { in setUpMultiDevice()
64 return companion; in setUpMultiDevice()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DCompanionAwareTest.java20 import com.android.tradefed.targetprep.companion.CompanionAllocator;
21 import com.android.tradefed.targetprep.companion.CompanionDeviceTracker;