Sean Kau | b4cb26a | 2017-03-16 14:07:27 -0700 | [diff] [blame] | 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 | |||||
5 | import dbus | ||||
6 | |||||
7 | |||||
8 | def 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') |