Lines Matching refs:arg
550 arg = argv_parser.parse_args()
552 if arg.folder is not None:
554 folder = arg.folder
556 if arg.connection_handle1 is not None and arg.connection_handle2 is not None \
557 and arg.connection_handle1 == arg.connection_handle2:
562 if not (arg.no_start.lower() == "true" or arg.no_start.lower() == "false"):
566 if arg.connection_handle1 is not None:
567 fake_name = "ConnectionHandle" + str(arg.connection_handle1)
569 update_audio_data(PEER_ADDRESS, fake_name, CONNECTION_HANDLE, arg.connection_handle1)
570 if arg.no_start.lower() == "true":
573 update_audio_data(PEER_ADDRESS, fake_name, CODEC, arg.codec)
577 if arg.connection_handle2 is not None:
578 fake_name = "ConnectionHandle" + str(arg.connection_handle2)
580 update_audio_data(PEER_ADDRESS, fake_name, CONNECTION_HANDLE, arg.connection_handle2)
581 if arg.no_start.lower() == "true":
584 update_audio_data(PEER_ADDRESS, fake_name, CODEC, arg.codec)
588 if arg.audio_control_attr_handle is not None:
590 force_audio_control_attr_handle = arg.audio_control_attr_handle
594 if arg.full_debug.lower() == "true":
597 elif arg.simple_debug.lower() == "true":
600 if os.path.isfile(arg.BTSNOOP):
601 return arg.BTSNOOP
603 argv_parser.error("BTSNOOP file not found: %s" % arg.BTSNOOP)