OLD | NEW |
1 # Copyright 2015 The LUCI Authors. All rights reserved. | 1 # Copyright 2015 The LUCI Authors. All rights reserved. |
2 # Use of this source code is governed by the Apache v2.0 license that can be | 2 # Use of this source code is governed under the Apache License, Version 2.0 |
3 # found in the LICENSE file. | 3 # that can be found in the LICENSE file. |
4 | 4 |
5 """Android specific utility functions. | 5 """Android specific utility functions. |
6 | 6 |
7 This file serves as an API to bot_config.py. bot_config.py can be replaced on | 7 This file serves as an API to bot_config.py. bot_config.py can be replaced on |
8 the server to allow additional server-specific functionality. | 8 the server to allow additional server-specific functionality. |
9 """ | 9 """ |
10 | 10 |
11 import collections | 11 import collections |
12 import logging | 12 import logging |
13 import os | 13 import os |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 | 120 |
121 return devices | 121 return devices |
122 | 122 |
123 | 123 |
124 def close_devices(devices): | 124 def close_devices(devices): |
125 return high.CloseDevices(devices) | 125 return high.CloseDevices(devices) |
126 | 126 |
127 | 127 |
128 def kill_adb(): | 128 def kill_adb(): |
129 return adb_commands_safe.KillADB() | 129 return adb_commands_safe.KillADB() |
OLD | NEW |