You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
953 B

# Copyright 2016 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""An adapter to remotely access the bluetooth facade on DUT."""
from autotest_lib.server.cros.bluetooth.bluetooth_device import BluetoothDevice
class BluetoothFacadeRemoteAdapter(BluetoothDevice):
"""This is an adapter to remotely control DUT bluetooth.
The Autotest host object representing the remote DUT, passed to this
class on initialization, can be accessed from its _client property.
"""
def __init__(self, host, remote_facade_proxy):
"""Construct an BluetoothFacadeRemoteAdapter.
@param host: Host object representing a remote host.
@param remote_facade_proxy: RemoteFacadeProxy object.
"""
self._client = host
super(BluetoothFacadeRemoteAdapter,
self).__init__(host, remote_facade_proxy)