Python3 Migration: fix bytes vs strings issues

Some bytes vs strings issues were only showing up at run time
since data were passed using XMLRPC methods. This patch fixed
such issues.

TEST=Follow the steps to make and install with python 3
(cr) make PY_VERSION=python3
(cr) make remote-install "${CHAMELEON_HOST}" PY_VERSION=python3
(cr) Run bluetooth_AdapterQuickHealth.AVL.
     All tests should pass.

Change-Id: I643967e46f4503b32c76e703d77e806de71514b0
Commit-Queue: Shyh-In Hwang <>
Tested-by: Shyh-In Hwang <>
Reviewed-by: Yu-Hsuan Hsu <>
4 files changed