Ejemplo n.º 1
0
def getConfigFile():
    _data = Parcel()
    _reply = Parcel()
    _data.writeInterfaceToken(DESCRIPTOR)
    mRemote.transact(TRANSACTION_getConfigFile, _data,_reply,0)
    _reply.readExceptionCode()
    return _reply.readString16()
Ejemplo n.º 2
0
def getDeviceNameList():
    data = Parcel()
    reply = Parcel()
    data.writeInterfaceToken(DESCRIPTOR)
    mRemote.transact(TRANSACTION_getDeviceNameList, data,reply,0)
    reply.readExceptionCode()
    result = reply.readInt32()
    arr = []
    for i in range(result):
        arr.append(reply.readString16())
    return arr
Ejemplo n.º 3
0
def getDeviceNameList():
    data = Parcel()
    reply = Parcel()
    data.writeInterfaceToken(DESCRIPTOR)
    mRemote.transact(TRANSACTION_getDeviceNameList, data, reply, 0)
    reply.readExceptionCode()
    result = reply.readInt32()
    arr = []
    for i in range(result):
        arr.append(reply.readString16())
    return arr