1# Copyright 2017 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5import dbus 6 7 8def iface(): 9 """Returns the interface object for debugd.""" 10 bus = dbus.SystemBus() 11 proxy = bus.get_object('org.chromium.debugd', '/org/chromium/debugd') 12 return dbus.Interface(proxy, dbus_interface='org.chromium.debugd') 13