Lines Matching refs:arg
454 arg = argv_parser.parse_args()
456 if arg.folder is not None:
458 folder = arg.folder
460 if arg.connection_handle1 is not None and arg.connection_handle2 is not None \
461 and arg.connection_handle1 == arg.connection_handle2:
466 if not (arg.no_start.lower() == "true" or arg.no_start.lower() == "false"):
470 if arg.connection_handle1 is not None:
471 fake_name = "ConnectionHandle" + str(arg.connection_handle1)
474 arg.connection_handle1)
475 if arg.no_start.lower() == "true":
478 update_audio_data(PEER_ADDRESS, fake_name, CODEC, arg.codec)
482 if arg.connection_handle2 is not None:
483 fake_name = "ConnectionHandle" + str(arg.connection_handle2)
486 arg.connection_handle2)
487 if arg.no_start.lower() == "true":
490 update_audio_data(PEER_ADDRESS, fake_name, CODEC, arg.codec)
494 if arg.audio_control_attr_handle is not None:
496 force_audio_control_attr_handle = arg.audio_control_attr_handle
498 if os.path.isfile(arg.BTSNOOP):
499 return arg.BTSNOOP
501 argv_parser.error("BTSNOOP file not found: %s" % arg.BTSNOOP)