()
| 1248 | |
| 1249 | |
| 1250 | def get_android_model(): |
| 1251 | manufacturer = check_output([ADB, 'shell', 'getprop', 'ro.product.manufacturer']).strip() |
| 1252 | brand = check_output([ADB, 'shell', 'getprop', 'ro.product.brand']).strip() |
| 1253 | model = check_output([ADB, 'shell', 'getprop', 'ro.product.model']).strip() |
| 1254 | board = check_output([ADB, 'shell', 'getprop', 'ro.product.board']).strip() |
| 1255 | device = check_output([ADB, 'shell', 'getprop', 'ro.product.device']).strip() |
| 1256 | name = check_output([ADB, 'shell', 'getprop', 'ro.product.name']).strip() |
| 1257 | return manufacturer + ' ' + brand + ' ' + model + ' ' + board + ' ' + device + ' ' + name |
| 1258 | |
| 1259 | |
| 1260 | def get_android_os_version(): |
no test coverage detected