Diff
checker
Texto
Texto
Imagens
Documentos
Excel
Pastas
Legal
Enterprise
Aplicativo para desktop
Preços
Fazer login
Baixar o Diffchecker Desktop
Comparar texto
Encontre a diferença entre dois arquivos de texto
Ferramentas
Histórico
Exibição
Layout
Dividido
Unificado
Editor live
Ocultar espaços em branco
Recolher inalteradas
Sem quebra de linha
Nível de detalhe
Inteligente
Sintaxe
Nenhum
Alterar aparência
Processamento
Ignorar
Transformar texto
Ir à primeira mudança
Editar entrada
Diffchecker Desktop
A maneira mais segura de usar o Diffchecker. Obtenha o aplicativo Diffchecker Desktop: seus diffs nunca saem do seu computador!
Obter Desktop
Untitled diff
Criado
há 8 anos
O diff nunca expira
Limpar
Exportar
Compartilhar
Explicar
142 remoções
Linhas
Total
Removido
Caracteres
Total
Removido
Para continuar usando este recurso, atualize para
Diff
checker
Pro
Ver preços
168 linhas
Copiar tudo
15 adições
Linhas
Total
Adicionado
Caracteres
Total
Adicionado
Para continuar usando este recurso, atualize para
Diff
checker
Pro
Ver preços
42 linhas
Copiar tudo
[adb.adb_commands] Now inside def Shell(self, command, timeout_ms=None) (line 378)
[adb.adb_commands] Now inside def Shell(self, command, timeout_ms=None) (line 378)
[adb.adb_commands] command: dumpsys power | grep "Display Power"
[adb.adb_commands] command: dumpsys power | grep "Display Power"
[adb.adb_commands] timeout_ms: None
[adb.adb_commands] timeout_ms: None
[adb.adb_protocol] Inside StreamingCommand(cls, usb, service, command='', timeout_ms=None) (line 518)
[adb.adb_protocol] Inside StreamingCommand(cls, usb, service, command='', timeout_ms=None) (line 518)
[adb.adb_protocol] command before type test: dumpsys power | grep "Display Power" (<class 'str'>)
[adb.adb_protocol] command before type test: dumpsys power | grep "Display Power" (<class 'str'>)
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
[adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18>
[adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18>
[adb.adb_protocol] service: b'shell'
[adb.adb_protocol] service: b'shell'
[adb.adb_protocol] command after type test: b'dumpsys power | grep "Display Power"' (<class 'bytes'>)
[adb.adb_protocol] command after type test: b'dumpsys power | grep "Display Power"' (<class 'bytes'>)
[adb.adb_protocol] timeout_ms: None
[adb.adb_protocol] timeout_ms: None
[adb.adb_protocol] Now inside def Open (line 429)
[adb.adb_protocol] Now inside def Open (line 429)
[adb.adb_protocol] destination: b'shell:dumpsys power | grep "Display Power"'
[adb.adb_protocol] destination: b'shell:dumpsys power | grep "Display Power"'
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
[adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18>
[adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18>
Copiar
Copiado
Copiar
Copiado
[adb.adb_protocol] Sending msg: <adb.adb_protocol.AdbMessage object at
0x7fb45822f860
>
[adb.adb_protocol] Sending msg: <adb.adb_protocol.AdbMessage object at
0x7fb494b63d30
>
[adb.adb_protocol] Now inside def Pack(self) (line 251)
[adb.adb_protocol] Now inside def Pack(self) (line 251)
[adb.adb_protocol] self.format: b'<6I'
[adb.adb_protocol] self.format: b'<6I'
[adb.adb_protocol] self.command: 1313165391
[adb.adb_protocol] self.command: 1313165391
[adb.adb_protocol] self.arg0: 1
[adb.adb_protocol] self.arg0: 1
[adb.adb_protocol] self.arg1: 0
[adb.adb_protocol] self.arg1: 0
[adb.adb_protocol] len(self.data)): 43
[adb.adb_protocol] len(self.data)): 43
[adb.adb_protocol] self.checksum: 3973
[adb.adb_protocol] self.checksum: 3973
[adb.adb_protocol] self.magic: 2981801904
[adb.adb_protocol] self.magic: 2981801904
[adb.adb_protocol] packed: b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00+\x00\x00\x00\x85\x0f\x00\x00\xb0\xaf\xba\xb1'
[adb.adb_protocol] packed: b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00+\x00\x00\x00\x85\x0f\x00\x00\xb0\xaf\xba\xb1'
[adb.adb_protocol] Now inside def Unpack (line 271)
[adb.adb_protocol] Now inside def Unpack (line 271)
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
Copiar
Copiado
Copiar
Copiado
[adb.adb_protocol] message: b'CLSE\xedk\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
[adb.adb_protocol] message: b'WRTE\
xf8k
\x00\x00\x01\x00\x00\x00\x1
8
\x00\x00\x00
b
\x08\x00\x00\xa8\xad\xab\xba'
[adb.adb_protocol] cmd: 1163086915
[adb.adb_protocol] arg0: 27629
[adb.adb_protocol] arg1: 1
[adb.adb_protocol] data_length: 0
[adb.adb_protocol] data_checksum: 0
[adb.adb_protocol] unused_magic: 3131880380
[adb.adb_protocol] Now inside def Read (line 296)
[adb.adb_protocol] msg: b'CLSE\xedk\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
[adb.adb_protocol] cmd: 1163086915
[adb.adb_protocol] arg0: 27629
[adb.adb_protocol] arg1: 1
[adb.adb_protocol] data_length: 0
[adb.adb_protocol] data_checksum: 0
[adb.adb_protocol] command: b'CLSE'
[adb.adb_protocol] expected_cmds: [b'CLSE', b'OKAY']
[adb.adb_protocol] Received following results from cls.Read. Now back inside Open
[adb.adb_protocol] cmd: b'CLSE'
[adb.adb_protocol] remote_id: 27629
[adb.adb_protocol] their_local_id: 1
[adb.adb_protocol] _: b''
[adb.adb_protocol] Inside if cmd == b'CLSE': (line 450)
[adb.adb_protocol] Now inside def Unpack (line 271)
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
[adb.adb_protocol] message: b'OKAY\xeek\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
[adb.adb_protocol] cmd: 1497451343
[adb.adb_protocol] arg0: 27630
[adb.adb_protocol] arg1: 1
[adb.adb_protocol] data_length: 0
[adb.adb_protocol] data_checksum: 0
[adb.adb_protocol] unused_magic: 2797515952
[adb.adb_protocol] Now inside def Read (line 296)
[adb.adb_protocol] msg: b'OKAY\xeek\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
[adb.adb_protocol] cmd: 1497451343
[adb.adb_protocol] arg0: 27630
[adb.adb_protocol] arg1: 1
[adb.adb_protocol] data_length: 0
[adb.adb_protocol] data_checksum: 0
[adb.adb_protocol] command: b'OKAY'
[adb.adb_protocol] expected_cmds: [b'CLSE', b'OKAY']
[adb.adb_protocol] cmd: b'OKAY'
[adb.adb_protocol] remote_id: 27630
[adb.adb_protocol] their_local_id: 1
[adb.adb_protocol] _: b''
[adb.adb_protocol] connection: <adb.adb_protocol._AdbConnection object at 0x7fb458115c88>
[adb.adb_protocol] Now inside _AdbConnection class def ReadUntil (line 143)
[adb.adb_protocol] self.usb: <adb.common.TcpHandle object at 0x7fb494cf5c18>
[adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE')
[adb.adb_protocol] self.timeout_ms: None
[adb.adb_protocol] Now inside def Unpack (line 271)
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
[adb.adb_protocol] message: b'WRTE\
xeek
\x00\x00\x01\x00\x00\x00\x1
9
\x00\x00\x00
\xa0
\x08\x00\x00\xa8\xad\xab\xba'
[adb.adb_protocol] cmd: 1163154007
[adb.adb_protocol] cmd: 1163154007
Copiar
Copiado
Copiar
Copiado
[adb.adb_protocol] arg0: 276
3
0
[adb.adb_protocol] arg0: 276
4
0
[adb.adb_protocol] arg1: 1
[adb.adb_protocol] arg1: 1
Copiar
Copiado
Copiar
Copiado
[adb.adb_protocol] data_length:
25
[adb.adb_protocol] data_length:
24
[adb.adb_protocol] data_checksum:
2208
[adb.adb_protocol] data_checksum:
2146
[adb.adb_protocol] unused_magic: 3131813288
[adb.adb_protocol] unused_magic: 3131813288
[adb.adb_protocol] Now inside def Read (line 296)
[adb.adb_protocol] Now inside def Read (line 296)
Copiar
Copiado
Copiar
Copiado
[adb.adb_protocol] msg: b'WRTE\
xeek
\x00\x00\x01\x00\x00\x00\x1
9
\x00\x00\x00
\xa0
\x08\x00\x00\xa8\xad\xab\xba'
[adb.adb_protocol] msg: b'WRTE\
xf8k
\x00\x00\x01\x00\x00\x00\x1
8
\x00\x00\x00
b
\x08\x00\x00\xa8\xad\xab\xba'
[adb.adb_protocol] cmd: 1163154007
[adb.adb_protocol] cmd: 1163154007
Copiar
Copiado
Copiar
Copiado
[adb.adb_protocol] arg0: 276
3
0
[adb.adb_protocol] arg0: 276
4
0
[adb.adb_protocol] arg1: 1
[adb.adb_protocol] arg1: 1
Copiar
Copiado
Copiar
Copiado
[adb.adb_protocol] data_length:
25
[adb.adb_protocol] data_length:
24
[adb.adb_protocol] data_checksum:
2208
[adb.adb_protocol] data_checksum:
2146
[adb.adb_protocol] command: b'WRTE'
[adb.adb_protocol] command: b'WRTE'
Copiar
Copiado
Copiar
Copiado
[adb.adb_protocol] expected_cmds:
(
b'CLSE',
b'WRTE')
[adb.adb_protocol] expected_cmds:
[
b'CLSE',
b'OKAY']
[adb.adb_protocol] Back inside _AdbConnection class def ReadUntil (line 149) after returning from AdbMessage.Read(...)
[adb.adb_protocol] cmd: b'WRTE'
[adb.adb_protocol] remote_id: 27630
[adb.adb_protocol] local_id: 1
[adb.adb_protocol] data: b'Display Power: state=OFF\n'
[adb.adb_protocol] self.remote_id: 27630
[adb.adb_protocol] Inside class _AdbConnection(object) def _Send (line 115)
[adb.adb_protocol] command: b'OKAY'
[adb.adb_protocol] arg0: 1
[adb.adb_protocol] arg1: 27630
[adb.adb_protocol] data: b''
[adb.adb_protocol] message: <adb.adb_protocol.AdbMessage object at 0x7fb458115748>
[adb.adb_protocol] Now inside def Pack(self) (line 251)
[adb.adb_protocol] self.format: b'<6I'
[adb.adb_protocol] self.command: 1497451343
[adb.adb_protocol] self.arg0: 1
[adb.adb_protocol] self.arg1: 27630
[adb.adb_protocol] len(self.data)): 0
[adb.adb_protocol] self.checksum: 0
[adb.adb_protocol] self.magic: 2797515952
[adb.adb_protocol] packed: b'OKAY\x01\x00\x00\x00\xeek\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
[adb.adb_protocol] Now inside _AdbConnection class def ReadUntilClose (line 170) after turning from self.ReadUntil(...)
[adb.adb_protocol] cmd: b'WRTE'
[adb.adb_protocol] data: b'Display Power: state=OFF\n'
[adb.adb_protocol] data.decode('utf8') (line 532): Display Power: state=OFF
[adb.adb_protocol] Now inside _AdbConnection class def ReadUntil (line 143)
[adb.adb_protocol] self.usb: <adb.common.TcpHandle object at 0x7fb494cf5c18>
[adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE')
[adb.adb_protocol] self.timeout_ms: None
[adb.adb_protocol] Now inside def Unpack (line 271)
[adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
[adb.adb_protocol] message: b'CLSE\xeek\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
[adb.adb_protocol] cmd: 1163086915
[adb.adb_protocol] arg0: 27630
[adb.adb_protocol] arg1: 1
[adb.adb_protocol] data_length: 0
[adb.adb_protocol] data_checksum: 0
[adb.adb_protocol] unused_magic: 3131880380
[adb.adb_protocol] Now inside def Read (line 296)
[adb.adb_protocol] msg: b'CLSE\xeek\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
[adb.adb_protocol] cmd: 1163086915
[adb.adb_protocol] arg0: 27630
[adb.adb_protocol] arg1: 1
[adb.adb_protocol] data_length: 0
[adb.adb_protocol] data_checksum: 0
[adb.adb_protocol] command: b'CLSE'
[adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE')
[adb.adb_protocol] Back inside _AdbConnection class def ReadUntil (line 149) after returning from AdbMessage.Read(...)
[adb.adb_protocol] cmd: b'CLSE'
[adb.adb_protocol] remote_id: 27630
[adb.adb_protocol] local_id: 1
[adb.adb_protocol] data: b''
[adb.adb_protocol] self.remote_id: 27630
[adb.adb_protocol] Now inside _AdbConnection class def ReadUntilClose (line 170) after turning from self.ReadUntil(...)
[adb.adb_protocol] cmd: b'CLSE'
[adb.adb_protocol] data: b''
[adb.adb_protocol] About to self._Send(b'CLSE', arg0=self.local_id, arg1=self.remote_id) from ReadUntilClose(self) (line 174)
[adb.adb_protocol] self.local_id: 1
[adb.adb_protocol] self.remote_id: 27630
[adb.adb_protocol] Inside class _AdbConnection(object) def _Send (line 115)
[adb.adb_protocol] command: b'CLSE'
[adb.adb_protocol] arg0: 1
[adb.adb_protocol] arg1: 27630
[adb.adb_protocol] data: b''
[adb.adb_protocol] message: <adb.adb_protocol.AdbMessage object at 0x7fb458115748>
[adb.adb_protocol] Now inside def Pack(self) (line 251)
[adb.adb_protocol] self.format: b'<6I'
[adb.adb_protocol] self.command: 1163086915
[adb.adb_protocol] self.arg0: 1
[adb.adb_protocol] self.arg1: 27630
[adb.adb_protocol] len(self.data)): 0
[adb.adb_protocol] self.checksum: 0
[adb.adb_protocol] self.magic: 3131880380
[adb.adb_protocol] packed: b'CLSE\x01\x00\x00\x00\xeek\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
Diferenças salvas
Texto original
Abrir arquivo
[adb.adb_commands] Now inside def Shell(self, command, timeout_ms=None) (line 378) [adb.adb_commands] command: dumpsys power | grep "Display Power" [adb.adb_commands] timeout_ms: None [adb.adb_protocol] Inside StreamingCommand(cls, usb, service, command='', timeout_ms=None) (line 518) [adb.adb_protocol] command before type test: dumpsys power | grep "Display Power" (<class 'str'>) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18> [adb.adb_protocol] service: b'shell' [adb.adb_protocol] command after type test: b'dumpsys power | grep "Display Power"' (<class 'bytes'>) [adb.adb_protocol] timeout_ms: None [adb.adb_protocol] Now inside def Open (line 429) [adb.adb_protocol] destination: b'shell:dumpsys power | grep "Display Power"' [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18> [adb.adb_protocol] Sending msg: <adb.adb_protocol.AdbMessage object at 0x7fb45822f860> [adb.adb_protocol] Now inside def Pack(self) (line 251) [adb.adb_protocol] self.format: b'<6I' [adb.adb_protocol] self.command: 1313165391 [adb.adb_protocol] self.arg0: 1 [adb.adb_protocol] self.arg1: 0 [adb.adb_protocol] len(self.data)): 43 [adb.adb_protocol] self.checksum: 3973 [adb.adb_protocol] self.magic: 2981801904 [adb.adb_protocol] packed: b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00+\x00\x00\x00\x85\x0f\x00\x00\xb0\xaf\xba\xb1' [adb.adb_protocol] Now inside def Unpack (line 271) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] message: b'CLSE\xedk\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba' [adb.adb_protocol] cmd: 1163086915 [adb.adb_protocol] arg0: 27629 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 0 [adb.adb_protocol] data_checksum: 0 [adb.adb_protocol] unused_magic: 3131880380 [adb.adb_protocol] Now inside def Read (line 296) [adb.adb_protocol] msg: b'CLSE\xedk\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba' [adb.adb_protocol] cmd: 1163086915 [adb.adb_protocol] arg0: 27629 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 0 [adb.adb_protocol] data_checksum: 0 [adb.adb_protocol] command: b'CLSE' [adb.adb_protocol] expected_cmds: [b'CLSE', b'OKAY'] [adb.adb_protocol] Received following results from cls.Read. Now back inside Open [adb.adb_protocol] cmd: b'CLSE' [adb.adb_protocol] remote_id: 27629 [adb.adb_protocol] their_local_id: 1 [adb.adb_protocol] _: b'' [adb.adb_protocol] Inside if cmd == b'CLSE': (line 450) [adb.adb_protocol] Now inside def Unpack (line 271) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] message: b'OKAY\xeek\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6' [adb.adb_protocol] cmd: 1497451343 [adb.adb_protocol] arg0: 27630 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 0 [adb.adb_protocol] data_checksum: 0 [adb.adb_protocol] unused_magic: 2797515952 [adb.adb_protocol] Now inside def Read (line 296) [adb.adb_protocol] msg: b'OKAY\xeek\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6' [adb.adb_protocol] cmd: 1497451343 [adb.adb_protocol] arg0: 27630 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 0 [adb.adb_protocol] data_checksum: 0 [adb.adb_protocol] command: b'OKAY' [adb.adb_protocol] expected_cmds: [b'CLSE', b'OKAY'] [adb.adb_protocol] cmd: b'OKAY' [adb.adb_protocol] remote_id: 27630 [adb.adb_protocol] their_local_id: 1 [adb.adb_protocol] _: b'' [adb.adb_protocol] connection: <adb.adb_protocol._AdbConnection object at 0x7fb458115c88> [adb.adb_protocol] Now inside _AdbConnection class def ReadUntil (line 143) [adb.adb_protocol] self.usb: <adb.common.TcpHandle object at 0x7fb494cf5c18> [adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE') [adb.adb_protocol] self.timeout_ms: None [adb.adb_protocol] Now inside def Unpack (line 271) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] message: b'WRTE\xeek\x00\x00\x01\x00\x00\x00\x19\x00\x00\x00\xa0\x08\x00\x00\xa8\xad\xab\xba' [adb.adb_protocol] cmd: 1163154007 [adb.adb_protocol] arg0: 27630 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 25 [adb.adb_protocol] data_checksum: 2208 [adb.adb_protocol] unused_magic: 3131813288 [adb.adb_protocol] Now inside def Read (line 296) [adb.adb_protocol] msg: b'WRTE\xeek\x00\x00\x01\x00\x00\x00\x19\x00\x00\x00\xa0\x08\x00\x00\xa8\xad\xab\xba' [adb.adb_protocol] cmd: 1163154007 [adb.adb_protocol] arg0: 27630 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 25 [adb.adb_protocol] data_checksum: 2208 [adb.adb_protocol] command: b'WRTE' [adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE') [adb.adb_protocol] Back inside _AdbConnection class def ReadUntil (line 149) after returning from AdbMessage.Read(...) [adb.adb_protocol] cmd: b'WRTE' [adb.adb_protocol] remote_id: 27630 [adb.adb_protocol] local_id: 1 [adb.adb_protocol] data: b'Display Power: state=OFF\n' [adb.adb_protocol] self.remote_id: 27630 [adb.adb_protocol] Inside class _AdbConnection(object) def _Send (line 115) [adb.adb_protocol] command: b'OKAY' [adb.adb_protocol] arg0: 1 [adb.adb_protocol] arg1: 27630 [adb.adb_protocol] data: b'' [adb.adb_protocol] message: <adb.adb_protocol.AdbMessage object at 0x7fb458115748> [adb.adb_protocol] Now inside def Pack(self) (line 251) [adb.adb_protocol] self.format: b'<6I' [adb.adb_protocol] self.command: 1497451343 [adb.adb_protocol] self.arg0: 1 [adb.adb_protocol] self.arg1: 27630 [adb.adb_protocol] len(self.data)): 0 [adb.adb_protocol] self.checksum: 0 [adb.adb_protocol] self.magic: 2797515952 [adb.adb_protocol] packed: b'OKAY\x01\x00\x00\x00\xeek\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6' [adb.adb_protocol] Now inside _AdbConnection class def ReadUntilClose (line 170) after turning from self.ReadUntil(...) [adb.adb_protocol] cmd: b'WRTE' [adb.adb_protocol] data: b'Display Power: state=OFF\n' [adb.adb_protocol] data.decode('utf8') (line 532): Display Power: state=OFF [adb.adb_protocol] Now inside _AdbConnection class def ReadUntil (line 143) [adb.adb_protocol] self.usb: <adb.common.TcpHandle object at 0x7fb494cf5c18> [adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE') [adb.adb_protocol] self.timeout_ms: None [adb.adb_protocol] Now inside def Unpack (line 271) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] message: b'CLSE\xeek\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba' [adb.adb_protocol] cmd: 1163086915 [adb.adb_protocol] arg0: 27630 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 0 [adb.adb_protocol] data_checksum: 0 [adb.adb_protocol] unused_magic: 3131880380 [adb.adb_protocol] Now inside def Read (line 296) [adb.adb_protocol] msg: b'CLSE\xeek\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba' [adb.adb_protocol] cmd: 1163086915 [adb.adb_protocol] arg0: 27630 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 0 [adb.adb_protocol] data_checksum: 0 [adb.adb_protocol] command: b'CLSE' [adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE') [adb.adb_protocol] Back inside _AdbConnection class def ReadUntil (line 149) after returning from AdbMessage.Read(...) [adb.adb_protocol] cmd: b'CLSE' [adb.adb_protocol] remote_id: 27630 [adb.adb_protocol] local_id: 1 [adb.adb_protocol] data: b'' [adb.adb_protocol] self.remote_id: 27630 [adb.adb_protocol] Now inside _AdbConnection class def ReadUntilClose (line 170) after turning from self.ReadUntil(...) [adb.adb_protocol] cmd: b'CLSE' [adb.adb_protocol] data: b'' [adb.adb_protocol] About to self._Send(b'CLSE', arg0=self.local_id, arg1=self.remote_id) from ReadUntilClose(self) (line 174) [adb.adb_protocol] self.local_id: 1 [adb.adb_protocol] self.remote_id: 27630 [adb.adb_protocol] Inside class _AdbConnection(object) def _Send (line 115) [adb.adb_protocol] command: b'CLSE' [adb.adb_protocol] arg0: 1 [adb.adb_protocol] arg1: 27630 [adb.adb_protocol] data: b'' [adb.adb_protocol] message: <adb.adb_protocol.AdbMessage object at 0x7fb458115748> [adb.adb_protocol] Now inside def Pack(self) (line 251) [adb.adb_protocol] self.format: b'<6I' [adb.adb_protocol] self.command: 1163086915 [adb.adb_protocol] self.arg0: 1 [adb.adb_protocol] self.arg1: 27630 [adb.adb_protocol] len(self.data)): 0 [adb.adb_protocol] self.checksum: 0 [adb.adb_protocol] self.magic: 3131880380 [adb.adb_protocol] packed: b'CLSE\x01\x00\x00\x00\xeek\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
Texto alterado
Abrir arquivo
[adb.adb_commands] Now inside def Shell(self, command, timeout_ms=None) (line 378) [adb.adb_commands] command: dumpsys power | grep "Display Power" [adb.adb_commands] timeout_ms: None [adb.adb_protocol] Inside StreamingCommand(cls, usb, service, command='', timeout_ms=None) (line 518) [adb.adb_protocol] command before type test: dumpsys power | grep "Display Power" (<class 'str'>) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18> [adb.adb_protocol] service: b'shell' [adb.adb_protocol] command after type test: b'dumpsys power | grep "Display Power"' (<class 'bytes'>) [adb.adb_protocol] timeout_ms: None [adb.adb_protocol] Now inside def Open (line 429) [adb.adb_protocol] destination: b'shell:dumpsys power | grep "Display Power"' [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18> [adb.adb_protocol] Sending msg: <adb.adb_protocol.AdbMessage object at 0x7fb494b63d30> [adb.adb_protocol] Now inside def Pack(self) (line 251) [adb.adb_protocol] self.format: b'<6I' [adb.adb_protocol] self.command: 1313165391 [adb.adb_protocol] self.arg0: 1 [adb.adb_protocol] self.arg1: 0 [adb.adb_protocol] len(self.data)): 43 [adb.adb_protocol] self.checksum: 3973 [adb.adb_protocol] self.magic: 2981801904 [adb.adb_protocol] packed: b'OPEN\x01\x00\x00\x00\x00\x00\x00\x00+\x00\x00\x00\x85\x0f\x00\x00\xb0\xaf\xba\xb1' [adb.adb_protocol] Now inside def Unpack (line 271) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'> [adb.adb_protocol] message: b'WRTE\xf8k\x00\x00\x01\x00\x00\x00\x18\x00\x00\x00b\x08\x00\x00\xa8\xad\xab\xba' [adb.adb_protocol] cmd: 1163154007 [adb.adb_protocol] arg0: 27640 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 24 [adb.adb_protocol] data_checksum: 2146 [adb.adb_protocol] unused_magic: 3131813288 [adb.adb_protocol] Now inside def Read (line 296) [adb.adb_protocol] msg: b'WRTE\xf8k\x00\x00\x01\x00\x00\x00\x18\x00\x00\x00b\x08\x00\x00\xa8\xad\xab\xba' [adb.adb_protocol] cmd: 1163154007 [adb.adb_protocol] arg0: 27640 [adb.adb_protocol] arg1: 1 [adb.adb_protocol] data_length: 24 [adb.adb_protocol] data_checksum: 2146 [adb.adb_protocol] command: b'WRTE' [adb.adb_protocol] expected_cmds: [b'CLSE', b'OKAY']
Encontrar Diferença