Lines Matching refs:configs
126 testParam.config = testParam.device.configs[0]
212 if (gDeviceList[0].configs.length == 0) {
218 for (var j = 0; j < gDeviceList[0].configs.length; j++) {
219 if (gDeviceList[0].configs[j].interfaces.length == 0) {
222 for (var k = 0; k < gDeviceList[0].configs[j].interfaces.length; k++) {
223 var isClaim = usb.claimInterface(gPipe, gDeviceList[0].configs[j].interfaces[k], true)
227 isClaim = usb.releaseInterface(gPipe, gDeviceList[0].configs[j].interfaces[k])
269 for (var j = 0; j < gDeviceList[0].configs.length; j++) {
270 var ret = usb.setConfiguration(gPipe, gDeviceList[0].configs[j])
292 for (var j = 0; j < gDeviceList[0].configs.length; j++) {
293 var config = JSON.parse(JSON.stringify(gDeviceList[0].configs[j]));
316 for (var j = 0; j < gDeviceList[0].configs.length; j++) {
317 var isClaim = usb.claimInterface(gPipe, gDeviceList[0].configs[j].interfaces[0], true)
320 var ret = usb.setInterface(gPipe, gDeviceList[0].configs[j].interfaces[0])
343 for (var j = 0; j < gDeviceList[0].configs.length; j++) {
344 var isClaim = usb.claimInterface(gPipe, gDeviceList[0].configs[j].interfaces[0], true)
347 var tmpInterface = JSON.parse(JSON.stringify(gDeviceList[0].configs[j].interfaces[0]));