'Provides scoped access to ``adb`` module propertise, in the context
of this device.
>>> property = \'ro.build.fingerprint\'
>>> device = adb.wait_for_device()
>>> adb.getprop(property) == device.getprop(property)
True'

def __getattr__(self, name):

    with context.local(device=self):
        g = globals()
        if (name not in g):
            raise AttributeError(('%r    object    has    no    attribute    %r' % (type(self).__name__, name)))
        value = g[name]
    if (not hasattr(value, '__call__')):
        return value
    return self.__wrapped(value)
