Home
last modified time | relevance | path

Searched refs:manager (Results 1 – 22 of 22) 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/javatests/com/android/tradefed/device/
DDeviceManagerTest.java274 DeviceManager manager = createDeviceManager(null, mMockIDevice); in testAllocateDevice() local
275 assertNotNull(manager.allocateDevice(mDeviceSelections)); in testAllocateDevice()
288 DeviceManager manager = createDeviceManager(null, mMockIDevice); in testAllocateDevice_match() local
289 assertEquals(mMockTestDevice, manager.allocateDevice(mDeviceSelections, false)); in testAllocateDevice_match()
312 DeviceManager manager = createDeviceManager(null); in testAllocateDevice_match_temporary() local
313 assertEquals(mMockTestDevice, manager.allocateDevice(mDeviceSelections, true)); in testAllocateDevice_match_temporary()
318 manager.freeDevice(mMockTestDevice, FreeDeviceState.AVAILABLE); in testAllocateDevice_match_temporary()
324 assertNull(manager.allocateDevice(validation, false)); in testAllocateDevice_match_temporary()
387 DeviceManager manager = createDeviceManagerNoInit(); in testFreeDevice_emulator() local
388 manager.setMaxEmulators(1); in testFreeDevice_emulator()
[all …]
/tools/netsim/rust/daemon/src/wireless/
Dpacket.rs180 let manager = PacketManager::new(); in test_register_transport() localVariable
182 manager.register_transport(chip_id, val); in test_register_transport()
184 assert!(manager.transports.read().unwrap().contains_key(&chip_id)); in test_register_transport()
190 let manager = PacketManager::new(); in test_unregister_transport() localVariable
192 manager.register_transport(chip_id, Box::new(TestTransport {})); in test_unregister_transport()
193 manager.unregister_transport(chip_id); in test_unregister_transport()
194 assert!(manager.transports.read().unwrap().get(&chip_id).is_none()); in test_unregister_transport()
/tools/netsim/rust/daemon/src/devices/
Ddevices_handler.rs169 let manager = get_manager(); in add_chip() localVariable
170 let (device_id, _) = manager.get_or_create_device( in add_chip()
181 let _ = manager in add_chip()
190 manager.update_timestamp(); in add_chip()
334 let manager = get_manager(); in remove_chip() localVariable
335 let (is_empty, radio_stats) = match manager.devices.write().unwrap().entry(device_id) { in remove_chip()
344 remove_device(manager.clone(), &device_id)?; in remove_chip()
346 manager.update_timestamp(); in remove_chip()
350 remaining_nonbuiltin_devices: manager in remove_chip()
404 let manager = get_manager(); in create_device() localVariable
[all …]
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DLocalEmulatorSnapshot.java43 IDeviceManager manager = GlobalConfiguration.getDeviceManagerInstance(); in setUp() local
47 manager.launchEmulator(allocatedDevice, mBootTimeout.toMillis(), runUtil, args); in setUp()
DLocalEmulatorLaunch.java45 IDeviceManager manager = GlobalConfiguration.getDeviceManagerInstance(); in setUp() local
50 manager.launchEmulator(allocatedDevice, mBootTimeout.toMillis(), runUtil, args); in setUp()
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/lvpm_stock/
Dmonsoon.py104 manager = multiprocessing.Manager()
106 assembly_line_builder = AssemblyLineBuilder(manager.Queue,
121 manager.shutdown()
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/api/hvpm/
Dmonsoon.py122 manager = multiprocessing.Manager()
124 assembly_line_builder = AssemblyLineBuilder(manager.Queue,
139 manager.shutdown()
/tools/test/connectivity/acts/framework/acts/controllers/sl4a_lib/
Dsl4a_manager.py89 manager = Sl4aManager(adb)
90 _all_sl4a_managers[adb.serial] = manager
91 return manager
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java1224 IDeviceManager manager = getDeviceManager(); in run() local
1230 manager.addDeviceMonitor(new AvailDeviceMonitor()); in run()
1237 processReadyCommands(manager); in run()
1249 manager.terminateDeviceRecovery(); in run()
1250 manager.terminateDeviceMonitor(); in run()
1254 exit(manager); in run()
1304 protected void processReadyCommands(IDeviceManager manager) { in processReadyCommands() argument
1318 DeviceAllocationResult allocationResults = allocateDevices(config, manager); in processReadyCommands()
1404 private void exit(IDeviceManager manager) { in exit() argument
1405 if (manager != null) { in exit()
[all …]
DConsole.java650 IDeviceManager manager = GlobalConfiguration.getDeviceManagerInstance(); in addDefaultCommands()
651 manager.displayDevicesInfo(new PrintWriter(System.out, true), false); in addDefaultCommands()
660 IDeviceManager manager = GlobalConfiguration.getDeviceManagerInstance(); in addDefaultCommands()
661 manager.displayDevicesInfo(new PrintWriter(System.out, true), true); in addDefaultCommands()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterCommandScheduler.java526 protected void processReadyCommands(IDeviceManager manager) { in processReadyCommands() argument
527 super.processReadyCommands(manager); in processReadyCommands()
534 MultiMap<String, DeviceDescriptor> devices = getAvailableDevices(manager); in processReadyCommands()
542 devices = getDevices(manager, false); in processReadyCommands()
562 MultiMap<String, DeviceDescriptor> getAvailableDevices(IDeviceManager manager) { in getAvailableDevices() argument
563 return getDevices(manager, true); in getAvailableDevices()
573 MultiMap<String, DeviceDescriptor> getDevices(IDeviceManager manager, boolean availableOnly) { in getDevices() argument
576 for (final DeviceDescriptor device : manager.listAllDevices()) { in getDevices()
/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/aadevtools/avd/
DREADME.md5 These scripts provide simple steps to add AVD images. So users can use them by the AVD manager GUI …
/tools/tradefederation/core/
DAndroid.bp104 name: "tradefed-device-manager-grpc",
217 "tradefed-device-manager-grpc",
/tools/acloud/public/data/
Ddefault.config55 # AVD manager of android sdk.
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandSchedulerTest.java410 IDeviceManager manager,
414 ((MockDeviceManager) manager).addDevice(mockDevice);
415 allocated.put("device", ((MockDeviceManager) manager).allocateDevice());
1562 IDeviceManager manager, in testExecCommand_versioning()
1566 ((MockDeviceManager) manager).addDevice(mockDevice); in testExecCommand_versioning()
1567 allocated.put("device", ((MockDeviceManager) manager).allocateDevice()); in testExecCommand_versioning()
/tools/tradefederation/core/global_configuration/com/android/tradefed/config/
DGlobalConfiguration.java610 public void setDeviceManager(IDeviceManager manager) { in setDeviceManager() argument
611 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/javatests/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java928 private IDeviceManager manager = new MockDeviceManager(1);
949 return manager;
954 return manager;
/tools/repohooks/tools/
Dspelling.txt917 manger||manager
/tools/dexter/testdata/expected/
Dmedium.compact_cfg13475 .local v0, "manager", android.view.accessibility.AccessibilityManager
13845 .params "manager"
13870 .params "manager"
13928 .params "manager"
13955 .params "manager"
74917 .local v11, "manager", android.preference.PreferenceManager
102396 .params "cr", "context", "manager"
103721 .params "context", "manager", "alarmTime"
103736 .params "context", "manager", "alarmTime", "quietUpdate"
103797 .params "context", "manager", "alarmTime"
[all …]