Get the global device factory instance. Returns: The device factory instance.
()
| 155 | |
| 156 | |
| 157 | def get_device_factory() -> DeviceFactory: |
| 158 | """ |
| 159 | Get the global device factory instance. |
| 160 | |
| 161 | Returns: |
| 162 | The device factory instance. |
| 163 | """ |
| 164 | global _device_factory |
| 165 | if _device_factory is None: |
| 166 | _device_factory = DeviceFactory(DeviceType.ADB) # Default to ADB |
| 167 | return _device_factory |
no test coverage detected