Advertisement
caffeinatedmike

Correctly Closing

Nov 14th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.46 KB | None | 0 0
  1. [adb.adb_commands] Now inside def Shell(self, command, timeout_ms=None) (line 378)
  2. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_commands] command: dumpsys power | grep "Display Power"
  3. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_commands] timeout_ms: None
  4. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Inside StreamingCommand(cls, usb, service, command='', timeout_ms=None) (line 518)
  5. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] command before type test: dumpsys power | grep "Display Power" (<class 'str'>)
  6. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
  7. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18>
  8. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] service: b'shell'
  9. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] command after type test: b'dumpsys power | grep "Display Power"' (<class 'bytes'>)
  10. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] timeout_ms: None
  11. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Now inside def Open (line 429)
  12. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] destination: b'shell:dumpsys power | grep "Display Power"'
  13. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
  14. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] usb: <adb.common.TcpHandle object at 0x7fb494cf5c18>
  15. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Sending msg: <adb.adb_protocol.AdbMessage object at 0x7fb47ca23978>
  16. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Now inside def Pack(self) (line 251)
  17. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.format: b'<6I'
  18. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.command: 1313165391
  19. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.arg0: 1
  20. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.arg1: 0
  21. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] len(self.data)): 43
  22. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.checksum: 3973
  23. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.magic: 2981801904
  24. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [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'
  25. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Now inside def Unpack (line 271)
  26. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
  27. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] message: b'OKAY\xf7k\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
  28. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] cmd: 1497451343
  29. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] arg0: 27639
  30. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] arg1: 1
  31. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data_length: 0
  32. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data_checksum: 0
  33. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] unused_magic: 2797515952
  34. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Now inside def Read (line 296)
  35. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] msg: b'OKAY\xf7k\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
  36. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] cmd: 1497451343
  37. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] arg0: 27639
  38. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] arg1: 1
  39. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data_length: 0
  40. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data_checksum: 0
  41. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] command: b'OKAY'
  42. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] expected_cmds: [b'CLSE', b'OKAY']
  43. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Received following results from cls.Read. Now back inside Open
  44. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] cmd: b'OKAY'
  45. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] remote_id: 27639
  46. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] their_local_id: 1
  47. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] _: b''
  48. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] connection: <adb.adb_protocol._AdbConnection object at 0x7fb4f8747048>
  49. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Now inside _AdbConnection class def ReadUntil (line 143)
  50. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.usb: <adb.common.TcpHandle object at 0x7fb494cf5c18>
  51. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE')
  52. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.timeout_ms: None
  53. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Now inside def Unpack (line 271)
  54. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
  55. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] message: b'WRTE\xf7k\x00\x00\x01\x00\x00\x00\x18\x00\x00\x00b\x08\x00\x00\xa8\xad\xab\xba'
  56. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] cmd: 1163154007
  57. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] arg0: 27639
  58. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] arg1: 1
  59. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data_length: 24
  60. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data_checksum: 2146
  61. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] unused_magic: 3131813288
  62. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Now inside def Read (line 296)
  63. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] msg: b'WRTE\xf7k\x00\x00\x01\x00\x00\x00\x18\x00\x00\x00b\x08\x00\x00\xa8\xad\xab\xba'
  64. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] cmd: 1163154007
  65. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] arg0: 27639
  66. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] arg1: 1
  67. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data_length: 24
  68. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data_checksum: 2146
  69. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] command: b'WRTE'
  70. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE')
  71. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Back inside _AdbConnection class def ReadUntil (line 149) after returning from AdbMessage.Read(...)
  72. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] cmd: b'WRTE'
  73. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] remote_id: 27639
  74. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] local_id: 1
  75. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data: b'Display Power: state=ON\n'
  76. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.remote_id: 27639
  77. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Inside class _AdbConnection(object) def _Send (line 115)
  78. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] command: b'OKAY'
  79. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] arg0: 1
  80. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] arg1: 27639
  81. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data: b''
  82. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] message: <adb.adb_protocol.AdbMessage object at 0x7fb47ca23978>
  83. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Now inside def Pack(self) (line 251)
  84. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.format: b'<6I'
  85. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.command: 1497451343
  86. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.arg0: 1
  87. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.arg1: 27639
  88. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] len(self.data)): 0
  89. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.checksum: 0
  90. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.magic: 2797515952
  91. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] packed: b'OKAY\x01\x00\x00\x00\xf7k\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xb0\xb4\xbe\xa6'
  92. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Now inside _AdbConnection class def ReadUntilClose (line 170) after turning from self.ReadUntil(...)
  93. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] cmd: b'WRTE'
  94. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data: b'Display Power: state=ON\n'
  95. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data.decode('utf8') (line 532): Display Power: state=ON
  96.  
  97. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Now inside _AdbConnection class def ReadUntil (line 143)
  98. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.usb: <adb.common.TcpHandle object at 0x7fb494cf5c18>
  99. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE')
  100. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.timeout_ms: None
  101. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Now inside def Unpack (line 271)
  102. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] cls: <class 'adb.adb_protocol.AdbMessage'>
  103. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] message: b'CLSE\xf7k\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
  104. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] cmd: 1163086915
  105. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] arg0: 27639
  106. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] arg1: 1
  107. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data_length: 0
  108. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data_checksum: 0
  109. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] unused_magic: 3131880380
  110. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Now inside def Read (line 296)
  111. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] msg: b'CLSE\xf7k\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
  112. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] cmd: 1163086915
  113. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] arg0: 27639
  114. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] arg1: 1
  115. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data_length: 0
  116. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data_checksum: 0
  117. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] command: b'CLSE'
  118. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] expected_cmds: (b'CLSE', b'WRTE')
  119. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Back inside _AdbConnection class def ReadUntil (line 149) after returning from AdbMessage.Read(...)
  120. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] cmd: b'CLSE'
  121. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] remote_id: 27639
  122. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] local_id: 1
  123. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data: b''
  124. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.remote_id: 27639
  125. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Now inside _AdbConnection class def ReadUntilClose (line 170) after turning from self.ReadUntil(...)
  126. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] cmd: b'CLSE'
  127. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data: b''
  128. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] About to self._Send(b'CLSE', arg0=self.local_id, arg1=self.remote_id) from ReadUntilClose(self) (line 174)
  129. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.local_id: 1
  130. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.remote_id: 27639
  131. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Inside class _AdbConnection(object) def _Send (line 115)
  132. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] command: b'CLSE'
  133. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] arg0: 1
  134. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] arg1: 27639
  135. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] data: b''
  136. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] message: <adb.adb_protocol.AdbMessage object at 0x7fb4583b5080>
  137. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] Now inside def Pack(self) (line 251)
  138. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.format: b'<6I'
  139. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.command: 1163086915
  140. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.arg0: 1
  141. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.arg1: 27639
  142. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] len(self.data)): 0
  143. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.checksum: 0
  144. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] self.magic: 3131880380
  145. 2018-11-12 13:22:49 INFO (ThreadPoolExecutor-0_1) [adb.adb_protocol] packed: b'CLSE\x01\x00\x00\x00\xf7k\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xbc\xb3\xac\xba'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement