Searched refs:companion (Results 1 – 8 of 8) sorted by relevance
18 package com.android.tradefed.targetprep.companion;62 ITestDevice companion = getDeviceManager().allocateDevice(opt, false); in allocateCompanionDevice() local63 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() local87 if (!TestDeviceState.ONLINE.equals(companion.getDeviceState())) { in freeCompanionDevice()91 getDeviceManager().freeDevice(companion, deviceState); in freeCompanionDevice()[all …]
18 package com.android.tradefed.targetprep.companion;40 ITestDevice companion = CompanionDeviceTracker.getInstance().getCompanionDevice(device); in getDevice() local41 if (companion == null) { in getDevice()45 return companion; in getDevice()
18 package com.android.tradefed.targetprep.companion;35 ITestDevice companion = in getDevice() local37 if (companion == null) { in getDevice()44 return companion; in getDevice()
18 package com.android.tradefed.targetprep.companion;
17 package com.android.tradefed.targetprep.companion;
37 ITestDevice companion = null; in setUpMultiDevice() local49 if (companion != null) { in setUpMultiDevice()53 companion = entry.getKey(); in setUpMultiDevice()61 if (companion == null) { in setUpMultiDevice()64 return companion; in setUpMultiDevice()
20 import com.android.tradefed.targetprep.companion.CompanionAllocator;21 import com.android.tradefed.targetprep.companion.CompanionDeviceTracker;