Changeset 60548 in vbox for trunk/src/VBox/ValidationKit/tests/usb
- Timestamp:
- Apr 18, 2016 5:33:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/usb/usbgadget2.py
r60522 r60548 1295 1295 self.sImpersonation = g_ksGadgetImpersonationInvalid; 1296 1296 self.idGadget = None; 1297 self.iBusId = None; 1298 self.iDevId = None; 1297 1299 self.iUsbIpPort = None; 1298 1300 … … 1306 1308 fRc = self.oUtsSession.syncGadgetDestroy(self.idGadget); 1307 1309 self.idGadget = None; 1310 self.iBusId = None; 1311 self.iDevId = None; 1308 1312 1309 1313 return fRc; … … 1340 1344 fRc = True; 1341 1345 self.idGadget = getU32(abPayload, 16); 1346 self.iBusId = getU32(abPayload, 20); 1347 self.iDevId = getU32(abPayload, 24); 1342 1348 else: 1343 1349 reporter.log('Invalid or unsupported impersonation'); … … 1351 1357 """ 1352 1358 return self.iUsbIpPort; 1359 1360 def getGadgetBusAndDevId(self): 1361 """ 1362 Returns the bus ad device ID of the gadget as a tuple. 1363 """ 1364 return (self.iBusId, self.iDevId); 1353 1365 1354 1366 def connectTo(self, cMsTimeout, sHostname, uPort = None, fUsbIpSupport = True, cMsIdleFudge = 0):
Note:
See TracChangeset
for help on using the changeset viewer.