Home
last modified time | relevance | path

Searched refs:manager (Results 1 – 16 of 16) sorted by relevance

/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/
Dsl4a_manager_test.py127 manager = sl4a_manager.Sl4aManager(adb)
130 manager.sessions[1] = session_1
133 manager.sessions[2] = session_2
136 manager.sessions[3] = session_3
139 manager.sessions[4] = session_4
142 manager.sessions[5] = session_5
144 returned_ports = manager.sl4a_ports_in_use
168 manager = sl4a_manager.create_sl4a_manager(adb)
169 manager._get_open_listening_port = mock.Mock(side_effect=side_effects)
171 found_port = manager.start_sl4a_server(0)
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceManagerTest.java311 DeviceManager manager = createDeviceManager(null, mMockIDevice); in testAllocateDevice() local
312 assertNotNull(manager.allocateDevice(mDeviceSelections)); in testAllocateDevice()
328 DeviceManager manager = createDeviceManager(null, mMockIDevice); in testAllocateDevice_match() local
329 assertEquals(mMockTestDevice, manager.allocateDevice(mDeviceSelections, false)); in testAllocateDevice_match()
356 DeviceManager manager = createDeviceManager(null); in testAllocateDevice_match_temporary() local
357 assertEquals(mMockTestDevice, manager.allocateDevice(mDeviceSelections, true)); in testAllocateDevice_match_temporary()
362 manager.freeDevice(mMockTestDevice, FreeDeviceState.AVAILABLE); in testAllocateDevice_match_temporary()
368 assertNull(manager.allocateDevice(validation, false)); in testAllocateDevice_match_temporary()
435 DeviceManager manager = createDeviceManagerNoInit(); in testFreeDevice_emulator() local
436 manager.setMaxEmulators(1); in testFreeDevice_emulator()
[all …]
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/lvpm_stock/
Dmonsoon.py103 manager = multiprocessing.Manager()
105 assembly_line_builder = AssemblyLineBuilder(manager.Queue,
120 manager.shutdown()
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/hvpm/
Dmonsoon.py121 manager = multiprocessing.Manager()
123 assembly_line_builder = AssemblyLineBuilder(manager.Queue,
138 manager.shutdown()
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Dsl4a_manager.py87 manager = Sl4aManager(adb)
88 _all_sl4a_managers[adb.serial] = manager
89 return manager
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandScheduler.java442 protected void processReadyCommands(IDeviceManager manager) { in processReadyCommands() argument
443 super.processReadyCommands(manager); in processReadyCommands()
450 MultiMap<String, DeviceDescriptor> devices = getAvailableDevices(manager); in processReadyCommands()
458 devices = getDevices(manager, false); in processReadyCommands()
473 MultiMap<String, DeviceDescriptor> getAvailableDevices(IDeviceManager manager) { in getAvailableDevices() argument
474 return getDevices(manager, true); in getAvailableDevices()
484 MultiMap<String, DeviceDescriptor> getDevices(IDeviceManager manager, boolean availableOnly) { in getDevices() argument
487 for (final DeviceDescriptor device : manager.listAllDevices()) { in getDevices()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java998 IDeviceManager manager = getDeviceManager(); in run() local
1006 manager.addDeviceMonitor(new AvailDeviceMonitor()); in run()
1013 processReadyCommands(manager); in run()
1025 manager.terminateDeviceRecovery(); in run()
1026 manager.terminateDeviceMonitor(); in run()
1033 exit(manager); in run()
1057 protected void processReadyCommands(IDeviceManager manager) { in processReadyCommands() argument
1071 Map<String, ITestDevice> devices = allocateDevices(config, manager); in processReadyCommands()
1152 private void exit(IDeviceManager manager) { in exit() argument
1153 if (manager != null) { in exit()
[all …]
DConsole.java549 IDeviceManager manager = in addDefaultCommands()
551 manager.displayDevicesInfo(new PrintWriter(System.out, true), false); in addDefaultCommands()
557 IDeviceManager manager = in addDefaultCommands()
559 manager.displayDevicesInfo(new PrintWriter(System.out, true), true); in addDefaultCommands()
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/engine/
Dassembly_line.py229 self.manager = multiprocessing.Manager()
230 super().__init__(self.manager.Queue, ProcessAssemblyLine)
/tools/acloud/public/data/
Ddefault.config55 # AVD manager of android sdk.
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerTest.java369 IConfiguration config, IDeviceManager manager) { in testExecCommand()
371 ((MockDeviceManager) manager).addDevice(mockDevice); in testExecCommand()
372 allocated.put("device", ((MockDeviceManager) manager).allocateDevice()); in testExecCommand()
1283 IConfiguration config, IDeviceManager manager) { in testExecCommand_versioning()
1285 ((MockDeviceManager) manager).addDevice(mockDevice); in testExecCommand_versioning()
1286 allocated.put("device", ((MockDeviceManager) manager).allocateDevice()); in testExecCommand_versioning()
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DRemoteManager.java117 public RemoteManager(IDeviceManager manager, ICommandScheduler scheduler) { in RemoteManager() argument
119 mDeviceManager = manager; in RemoteManager()
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/
DGlobalConfiguration.java582 public void setDeviceManager(IDeviceManager manager) { in setDeviceManager() argument
583 setConfigurationObjectNoThrow(DEVICE_MANAGER_TYPE_NAME, manager); in setDeviceManager()
/tools/acloud/internal/proto/
Duser_config.proto51 // * They are created in the cloud project console -> API manager.
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java875 private IDeviceManager manager = new MockDeviceManager(1);
896 return manager;
901 return manager;
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...