Offset 39, 63 lines modifiedOffset 39, 63 lines modified
39 ········value·=·{39 ········value·=·{
40 ············"(",40 ············"(",
41 ············"Landroid/os/Handler;",41 ············"Landroid/os/Handler;",
42 ············"TBufferType;)V"42 ············"TBufferType;)V"
43 ········}43 ········}
44 ····.end·annotation44 ····.end·annotation
  
45 ····.line·9345 ····.line·91
46 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V46 ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V
  
47 ····.line·9447 ····.line·92
48 ····iput-object·p1,·p0,·Landroid/net/util/FdEventsReader;->mHandler:Landroid/os/Handler;48 ····iput-object·p1,·p0,·Landroid/net/util/FdEventsReader;->mHandler:Landroid/os/Handler;
  
49 ····.line·9549 ····.line·93
50 ····invoke-virtual·{p1},·Landroid/os/Handler;->getLooper()Landroid/os/Looper;50 ····invoke-virtual·{p1},·Landroid/os/Handler;->getLooper()Landroid/os/Looper;
  
51 ····move-result-object·p151 ····move-result-object·p1
  
52 ····invoke-virtual·{p1},·Landroid/os/Looper;->getQueue()Landroid/os/MessageQueue;52 ····invoke-virtual·{p1},·Landroid/os/Looper;->getQueue()Landroid/os/MessageQueue;
  
53 ····move-result-object·p153 ····move-result-object·p1
  
54 ····iput-object·p1,·p0,·Landroid/net/util/FdEventsReader;->mQueue:Landroid/os/MessageQueue;54 ····iput-object·p1,·p0,·Landroid/net/util/FdEventsReader;->mQueue:Landroid/os/MessageQueue;
  
55 ····.line·9655 ····.line·94
56 ····iput-object·p2,·p0,·Landroid/net/util/FdEventsReader;->mBuffer:Ljava/lang/Object;56 ····iput-object·p2,·p0,·Landroid/net/util/FdEventsReader;->mBuffer:Ljava/lang/Object;
  
57 ····return-void57 ····return-void
58 .end·method58 .end·method
  
59 .method·protected·static·closeFd(Ljava/io/FileDescriptor;)V59 .method·protected·static·closeFd(Ljava/io/FileDescriptor;)V
60 ····.locals·060 ····.locals·0
  
61 ····.line·8861 ····.line·86
62 ····:try_start_062 ····:try_start_0
63 ····invoke-static·{p0},·Landroid/net/util/SocketUtils;->closeSocket(Ljava/io/FileDescriptor;)V63 ····invoke-static·{p0},·Landroid/net/util/SocketUtils;->closeSocket(Ljava/io/FileDescriptor;)V
64 ····:try_end_064 ····:try_end_0
65 ····.catch·Ljava/io/IOException;·{:try_start_0·..·:try_end_0}·:catch_065 ····.catch·Ljava/io/IOException;·{:try_start_0·..·:try_end_0}·:catch_0
  
66 ····:catch_066 ····:catch_0
67 ····return-void67 ····return-void
68 .end·method68 .end·method
  
69 .method·private·createAndRegisterFd()Z69 .method·private·createAndRegisterFd()Z
70 ····.locals·570 ····.locals·5
  
71 ····.line·18671 ····.line·184
72 ····iget-object·v0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;72 ····iget-object·v0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;
  
73 ····const/4·v1,·0x173 ····const/4·v1,·0x1
  
74 ····if-eqz·v0,·:cond_074 ····if-eqz·v0,·:cond_0
  
75 ····return·v175 ····return·v1
  
76 ····.line·18976 ····.line·187
77 ····:cond_077 ····:cond_0
78 ····:try_start_078 ····:try_start_0
79 ····invoke-virtual·{p0},·Landroid/net/util/FdEventsReader;->createFd()Ljava/io/FileDescriptor;79 ····invoke-virtual·{p0},·Landroid/net/util/FdEventsReader;->createFd()Ljava/io/FileDescriptor;
  
80 ····move-result-object·v080 ····move-result-object·v0
  
81 ····iput-object·v0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;81 ····iput-object·v0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;
Offset 105, 38 lines modifiedOffset 105, 38 lines modified
105 ····goto·:goto_0105 ····goto·:goto_0
  
106 ····:catch_0106 ····:catch_0
107 ····move-exception·v0107 ····move-exception·v0
  
108 ····const-string·v2,·"Failed·to·create·socket:·"108 ····const-string·v2,·"Failed·to·create·socket:·"
  
109 ····.line·191109 ····.line·189
110 ····invoke-virtual·{p0,·v2,·v0},·Landroid/net/util/FdEventsReader;->logError(Ljava/lang/String;Ljava/lang/Exception;)V110 ····invoke-virtual·{p0,·v2,·v0},·Landroid/net/util/FdEventsReader;->logError(Ljava/lang/String;Ljava/lang/Exception;)V
  
111 ····.line·192111 ····.line·190
112 ····iget-object·v0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;112 ····iget-object·v0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;
  
113 ····invoke-static·{v0},·Landroid/net/util/FdEventsReader;->closeFd(Ljava/io/FileDescriptor;)V113 ····invoke-static·{v0},·Landroid/net/util/FdEventsReader;->closeFd(Ljava/io/FileDescriptor;)V
  
114 ····const/4·v0,·0x0114 ····const/4·v0,·0x0
  
115 ····.line·193115 ····.line·191
116 ····iput-object·v0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;116 ····iput-object·v0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;
  
117 ····.line·196117 ····.line·194
118 ····:goto_0118 ····:goto_0
119 ····iget-object·v0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;119 ····iget-object·v0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;
  
120 ····if-nez·v0,·:cond_1120 ····if-nez·v0,·:cond_1
  
121 ····const/4·p0,·0x0121 ····const/4·p0,·0x0
  
122 ····return·p0122 ····return·p0
  
123 ····.line·198123 ····.line·196
124 ····:cond_1124 ····:cond_1
125 ····invoke-virtual·{p0},·Landroid/net/util/FdEventsReader;->getMessageQueue()Landroid/os/MessageQueue;125 ····invoke-virtual·{p0},·Landroid/net/util/FdEventsReader;->getMessageQueue()Landroid/os/MessageQueue;
  
126 ····move-result-object·v0126 ····move-result-object·v0
  
127 ····iget-object·v2,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;127 ····iget-object·v2,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;
  
Offset 144, 94 lines modifiedOffset 144, 94 lines modified
  
144 ····new-instance·v4,·Landroid/net/util/-$$Lambda$FdEventsReader$t47DgB7XhHMFh6zjMyOAmdKEeDo;144 ····new-instance·v4,·Landroid/net/util/-$$Lambda$FdEventsReader$t47DgB7XhHMFh6zjMyOAmdKEeDo;
  
145 ····invoke-direct·{v4,·p0},·Landroid/net/util/-$$Lambda$FdEventsReader$t47DgB7XhHMFh6zjMyOAmdKEeDo;-><init>(Landroid/net/util/FdEventsReader;)V145 ····invoke-direct·{v4,·p0},·Landroid/net/util/-$$Lambda$FdEventsReader$t47DgB7XhHMFh6zjMyOAmdKEeDo;-><init>(Landroid/net/util/FdEventsReader;)V
  
146 ····invoke-virtual·{v0,·v2,·v3,·v4},·Landroid/os/MessageQueue;->addOnFileDescriptorEventListener(Ljava/io/FileDescriptor;ILandroid/os/MessageQueue$OnFileDescriptorEventListener;)V146 ····invoke-virtual·{v0,·v2,·v3,·v4},·Landroid/os/MessageQueue;->addOnFileDescriptorEventListener(Ljava/io/FileDescriptor;ILandroid/os/MessageQueue$OnFileDescriptorEventListener;)V
  
147 ····.line·211147 ····.line·209
148 ····invoke-virtual·{p0},·Landroid/net/util/FdEventsReader;->onStart()V148 ····invoke-virtual·{p0},·Landroid/net/util/FdEventsReader;->onStart()V
  
149 ····return·v1149 ····return·v1
150 .end·method150 .end·method
  
151 .method·private·handleInput()Z151 .method·private·handleInput()Z
152 ····.locals·7152 ····.locals·7
  
153 ····const-string·v0,·"readPacket·error:·"153 ····const-string·v0,·"readPacket·error:·"
  
154 ····.line·221154 ····.line·219
155 ····:goto_0155 ····:goto_0
156 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z156 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z
  
157 ····move-result·v1157 ····move-result·v1
  
158 ····if-eqz·v1,·:cond_3158 ····if-eqz·v1,·:cond_3
  
159 ····const/4·v1,·0x1159 ····const/4·v1,·0x1
  
160 ····.line·225160 ····.line·223
161 ····:try_start_0161 ····:try_start_0
162 ····iget-object·v2,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;162 ····iget-object·v2,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;
  
163 ····iget-object·v3,·p0,·Landroid/net/util/FdEventsReader;->mBuffer:Ljava/lang/Object;163 ····iget-object·v3,·p0,·Landroid/net/util/FdEventsReader;->mBuffer:Ljava/lang/Object;
  
164 ····invoke-virtual·{p0,·v2,·v3},·Landroid/net/util/FdEventsReader;->readPacket(Ljava/io/FileDescriptor;Ljava/lang/Object;)I164 ····invoke-virtual·{p0,·v2,·v3},·Landroid/net/util/FdEventsReader;->readPacket(Ljava/io/FileDescriptor;Ljava/lang/Object;)I
  
165 ····move-result·v2165 ····move-result·v2
  
166 ····if-ge·v2,·v1,·:cond_0166 ····if-ge·v2,·v1,·:cond_0
  
167 ····.line·227167 ····.line·225
168 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z168 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z
  
169 ····move-result·v2169 ····move-result·v2
  
170 ····if-eqz·v2,·:cond_3170 ····if-eqz·v2,·:cond_3
  
171 ····const-string·v2,·"Socket·closed,·exiting"171 ····const-string·v2,·"Socket·closed,·exiting"
  
172 ····const/4·v3,·0x0172 ····const/4·v3,·0x0
  
173 ····invoke-virtual·{p0,·v2,·v3},·Landroid/net/util/FdEventsReader;->logError(Ljava/lang/String;Ljava/lang/Exception;)V173 ····invoke-virtual·{p0,·v2,·v3},·Landroid/net/util/FdEventsReader;->logError(Ljava/lang/String;Ljava/lang/Exception;)V
  
174 ····goto·:goto_1174 ····goto·:goto_1
  
175 ····.line·230175 ····.line·228
176 ····:cond_0176 ····:cond_0
177 ····iget-wide·v3,·p0,·Landroid/net/util/FdEventsReader;->mPacketsReceived:J177 ····iget-wide·v3,·p0,·Landroid/net/util/FdEventsReader;->mPacketsReceived:J
  
178 ····const-wide/16·v5,·0x1178 ····const-wide/16·v5,·0x1
  
179 ····add-long/2addr·v3,·v5179 ····add-long/2addr·v3,·v5
  
180 ····iput-wide·v3,·p0,·Landroid/net/util/FdEventsReader;->mPacketsReceived:J180 ····iput-wide·v3,·p0,·Landroid/net/util/FdEventsReader;->mPacketsReceived:J
181 ····:try_end_0181 ····:try_end_0
182 ····.catch·Landroid/system/ErrnoException;·{:try_start_0·..·:try_end_0}·:catch_2182 ····.catch·Landroid/system/ErrnoException;·{:try_start_0·..·:try_end_0}·:catch_2
183 ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_1183 ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_1
  
184 ····.line·247184 ····.line·245
185 ····:try_start_1185 ····:try_start_1
186 ····iget-object·v1,·p0,·Landroid/net/util/FdEventsReader;->mBuffer:Ljava/lang/Object;186 ····iget-object·v1,·p0,·Landroid/net/util/FdEventsReader;->mBuffer:Ljava/lang/Object;
  
187 ····invoke-virtual·{p0,·v1,·v2},·Landroid/net/util/FdEventsReader;->handlePacket(Ljava/lang/Object;I)V187 ····invoke-virtual·{p0,·v1,·v2},·Landroid/net/util/FdEventsReader;->handlePacket(Ljava/lang/Object;I)V
188 ····:try_end_1188 ····:try_end_1
189 ····.catch·Ljava/lang/Exception;·{:try_start_1·..·:try_end_1}·:catch_0189 ····.catch·Ljava/lang/Exception;·{:try_start_1·..·:try_end_1}·:catch_0
  
190 ····goto·:goto_0190 ····goto·:goto_0
  
191 ····:catch_0191 ····:catch_0
192 ····move-exception·v1192 ····move-exception·v1
  
193 ····const-string·v2,·"handlePacket·error:·"193 ····const-string·v2,·"handlePacket·error:·"
  
194 ····.line·249194 ····.line·247
195 ····invoke-virtual·{p0,·v2,·v1},·Landroid/net/util/FdEventsReader;->logError(Ljava/lang/String;Ljava/lang/Exception;)V195 ····invoke-virtual·{p0,·v2,·v1},·Landroid/net/util/FdEventsReader;->logError(Ljava/lang/String;Ljava/lang/Exception;)V
  
196 ····.line·250196 ····.line·248
197 ····const-class·v2,·Landroid/net/util/FdEventsReader;197 ····const-class·v2,·Landroid/net/util/FdEventsReader;
  
198 ····invoke-virtual·{v2},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String;198 ····invoke-virtual·{v2},·Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
  
199 ····move-result-object·v2199 ····move-result-object·v2
  
200 ····const-string·v3,·"Error·handling·packet"200 ····const-string·v3,·"Error·handling·packet"
Offset 239, 46 lines modifiedOffset 239, 46 lines modified
239 ····invoke-static·{v2,·v3,·v1},·Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I239 ····invoke-static·{v2,·v3,·v1},·Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
  
240 ····goto·:goto_0240 ····goto·:goto_0
  
241 ····:catch_1241 ····:catch_1
242 ····move-exception·v1242 ····move-exception·v1
  
243 ····.line·242243 ····.line·240
244 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z244 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z
  
245 ····move-result·v2245 ····move-result·v2
  
246 ····if-eqz·v2,·:cond_3246 ····if-eqz·v2,·:cond_3
  
247 ····invoke-virtual·{p0,·v0,·v1},·Landroid/net/util/FdEventsReader;->logError(Ljava/lang/String;Ljava/lang/Exception;)V247 ····invoke-virtual·{p0,·v0,·v1},·Landroid/net/util/FdEventsReader;->logError(Ljava/lang/String;Ljava/lang/Exception;)V
  
248 ····goto·:goto_1248 ····goto·:goto_1
  
249 ····:catch_2249 ····:catch_2
250 ····move-exception·v2250 ····move-exception·v2
  
251 ····.line·232251 ····.line·230
252 ····iget·v3,·v2,·Landroid/system/ErrnoException;->errno:I252 ····iget·v3,·v2,·Landroid/system/ErrnoException;->errno:I
  
253 ····sget·v4,·Landroid/system/OsConstants;->EAGAIN:I253 ····sget·v4,·Landroid/system/OsConstants;->EAGAIN:I
  
254 ····if-ne·v3,·v4,·:cond_1254 ····if-ne·v3,·v4,·:cond_1
  
255 ····return·v1255 ····return·v1
  
256 ····.line·235256 ····.line·233
257 ····:cond_1257 ····:cond_1
258 ····sget·v1,·Landroid/system/OsConstants;->EINTR:I258 ····sget·v1,·Landroid/system/OsConstants;->EINTR:I
  
259 ····if-ne·v3,·v1,·:cond_2259 ····if-ne·v3,·v1,·:cond_2
  
260 ····goto·:goto_0260 ····goto·:goto_0
  
261 ····.line·238261 ····.line·236
262 ····:cond_2262 ····:cond_2
263 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z263 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z
  
264 ····move-result·v1264 ····move-result·v1
  
265 ····if-eqz·v1,·:cond_3265 ····if-eqz·v1,·:cond_3
  
Offset 290, 15 lines modifiedOffset 290, 15 lines modified
  
290 ····return·p0290 ····return·p0
291 .end·method291 .end·method
  
292 .method·private·isRunning()Z292 .method·private·isRunning()Z
293 ····.locals·0293 ····.locals·0
  
294 ····.line·216294 ····.line·214
295 ····iget-object·p0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;295 ····iget-object·p0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;
  
296 ····if-eqz·p0,·:cond_0296 ····if-eqz·p0,·:cond_0
  
297 ····invoke-virtual·{p0},·Ljava/io/FileDescriptor;->valid()Z297 ····invoke-virtual·{p0},·Ljava/io/FileDescriptor;->valid()Z
  
298 ····move-result·p0298 ····move-result·p0
Offset 315, 15 lines modifiedOffset 315, 15 lines modified
315 ····:goto_0315 ····:goto_0
316 ····return·p0316 ····return·p0
317 .end·method317 .end·method
  
318 .method·private·synthetic·lambda$createAndRegisterFd$0(Ljava/io/FileDescriptor;I)I318 .method·private·synthetic·lambda$createAndRegisterFd$0(Ljava/io/FileDescriptor;I)I
319 ····.locals·0319 ····.locals·0
  
320 ····.line·205320 ····.line·203
321 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z321 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z
  
322 ····move-result·p1322 ····move-result·p1
  
323 ····if-eqz·p1,·:cond_1323 ····if-eqz·p1,·:cond_1
  
324 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->handleInput()Z324 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->handleInput()Z
Offset 335, 28 lines modifiedOffset 335, 28 lines modified
335 ····goto·:goto_0335 ····goto·:goto_0
  
336 ····:cond_0336 ····:cond_0
337 ····const/4·p0,·0x5337 ····const/4·p0,·0x5
  
338 ····return·p0338 ····return·p0
  
339 ····.line·206339 ····.line·204
340 ····:cond_1340 ····:cond_1
341 ····:goto_0341 ····:goto_0
342 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->unregisterAndDestroyFd()V342 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->unregisterAndDestroyFd()V
  
343 ····const/4·p0,·0x0343 ····const/4·p0,·0x0
  
344 ····return·p0344 ····return·p0
345 .end·method345 .end·method
  
346 .method·private·onCorrectThread()Z346 .method·private·onCorrectThread()Z
347 ····.locals·1347 ····.locals·1
  
348 ····.line·267348 ····.line·265
349 ····iget-object·p0,·p0,·Landroid/net/util/FdEventsReader;->mHandler:Landroid/os/Handler;349 ····iget-object·p0,·p0,·Landroid/net/util/FdEventsReader;->mHandler:Landroid/os/Handler;
  
350 ····invoke-virtual·{p0},·Landroid/os/Handler;->getLooper()Landroid/os/Looper;350 ····invoke-virtual·{p0},·Landroid/os/Handler;->getLooper()Landroid/os/Looper;
  
351 ····move-result-object·p0351 ····move-result-object·p0
  
352 ····invoke-static·{},·Landroid/os/Looper;->myLooper()Landroid/os/Looper;352 ····invoke-static·{},·Landroid/os/Looper;->myLooper()Landroid/os/Looper;
Offset 375, 56 lines modifiedOffset 375, 56 lines modified
375 ····:goto_0375 ····:goto_0
376 ····return·p0376 ····return·p0
377 .end·method377 .end·method
  
378 .method·private·unregisterAndDestroyFd()V378 .method·private·unregisterAndDestroyFd()V
379 ····.locals·2379 ····.locals·2
  
380 ····.line·258380 ····.line·256
381 ····iget-object·v0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;381 ····iget-object·v0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;
  
382 ····if-nez·v0,·:cond_0382 ····if-nez·v0,·:cond_0
  
383 ····return-void383 ····return-void
  
384 ····.line·260384 ····.line·258
385 ····:cond_0385 ····:cond_0
386 ····invoke-virtual·{p0},·Landroid/net/util/FdEventsReader;->getMessageQueue()Landroid/os/MessageQueue;386 ····invoke-virtual·{p0},·Landroid/net/util/FdEventsReader;->getMessageQueue()Landroid/os/MessageQueue;
  
387 ····move-result-object·v0387 ····move-result-object·v0
  
388 ····iget-object·v1,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;388 ····iget-object·v1,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;
  
389 ····invoke-virtual·{v0,·v1},·Landroid/os/MessageQueue;->removeOnFileDescriptorEventListener(Ljava/io/FileDescriptor;)V389 ····invoke-virtual·{v0,·v1},·Landroid/os/MessageQueue;->removeOnFileDescriptorEventListener(Ljava/io/FileDescriptor;)V
  
390 ····.line·261390 ····.line·259
391 ····iget-object·v0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;391 ····iget-object·v0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;
  
392 ····invoke-static·{v0},·Landroid/net/util/FdEventsReader;->closeFd(Ljava/io/FileDescriptor;)V392 ····invoke-static·{v0},·Landroid/net/util/FdEventsReader;->closeFd(Ljava/io/FileDescriptor;)V
  
393 ····const/4·v0,·0x0393 ····const/4·v0,·0x0
  
394 ····.line·262394 ····.line·260
395 ····iput-object·v0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;395 ····iput-object·v0,·p0,·Landroid/net/util/FdEventsReader;->mFd:Ljava/io/FileDescriptor;
  
396 ····.line·263396 ····.line·261
397 ····invoke-virtual·{p0},·Landroid/net/util/FdEventsReader;->onStop()V397 ····invoke-virtual·{p0},·Landroid/net/util/FdEventsReader;->onStop()V
  
398 ····return-void398 ····return-void
399 .end·method399 .end·method
  
  
400 #·virtual·methods400 #·virtual·methods
401 .method·protected·abstract·createFd()Ljava/io/FileDescriptor;401 .method·protected·abstract·createFd()Ljava/io/FileDescriptor;
402 .end·method402 .end·method
  
403 .method·protected·getMessageQueue()Landroid/os/MessageQueue;403 .method·protected·getMessageQueue()Landroid/os/MessageQueue;
404 ····.locals·0404 ····.locals·0
  
405 ····.line·102405 ····.line·100
406 ····iget-object·p0,·p0,·Landroid/net/util/FdEventsReader;->mQueue:Landroid/os/MessageQueue;406 ····iget-object·p0,·p0,·Landroid/net/util/FdEventsReader;->mQueue:Landroid/os/MessageQueue;
  
407 ····return-object·p0407 ····return-object·p0
408 .end·method408 .end·method
  
409 .method·protected·handlePacket(Ljava/lang/Object;I)V409 .method·protected·handlePacket(Ljava/lang/Object;I)V
410 ····.locals·0410 ····.locals·0
Offset 480, 55 lines modifiedOffset 480, 55 lines modified
480 ········}480 ········}
481 ····.end·annotation481 ····.end·annotation
482 .end·method482 .end·method
  
483 .method·public·start()Z483 .method·public·start()Z
484 ····.locals·1484 ····.locals·1
  
485 ····.line·107485 ····.line·105
486 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->onCorrectThread()Z486 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->onCorrectThread()Z
  
487 ····move-result·v0487 ····move-result·v0
  
488 ····if-eqz·v0,·:cond_0488 ····if-eqz·v0,·:cond_0
  
489 ····.line·111489 ····.line·109
490 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->createAndRegisterFd()Z490 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->createAndRegisterFd()Z
  
491 ····move-result·p0491 ····move-result·p0
  
492 ····return·p0492 ····return·p0
  
493 ····.line·108493 ····.line·106
494 ····:cond_0494 ····:cond_0
495 ····new-instance·p0,·Ljava/lang/IllegalStateException;495 ····new-instance·p0,·Ljava/lang/IllegalStateException;
  
496 ····const-string·v0,·"start()·called·from·off-thread"496 ····const-string·v0,·"start()·called·from·off-thread"
  
497 ····invoke-direct·{p0,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V497 ····invoke-direct·{p0,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
  
498 ····throw·p0498 ····throw·p0
499 .end·method499 .end·method
  
500 .method·public·stop()V500 .method·public·stop()V
501 ····.locals·1501 ····.locals·1
  
502 ····.line·116502 ····.line·114
503 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->onCorrectThread()Z503 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->onCorrectThread()Z
  
504 ····move-result·v0504 ····move-result·v0
  
505 ····if-eqz·v0,·:cond_0505 ····if-eqz·v0,·:cond_0
  
506 ····.line·120506 ····.line·118
507 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->unregisterAndDestroyFd()V507 ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->unregisterAndDestroyFd()V
  
508 ····return-void508 ····return-void
  
509 ····.line·117509 ····.line·115
510 ····:cond_0510 ····:cond_0
511 ····new-instance·p0,·Ljava/lang/IllegalStateException;511 ····new-instance·p0,·Ljava/lang/IllegalStateException;
  
512 ····const-string·v0,·"stop()·called·from·off-thread"512 ····const-string·v0,·"stop()·called·from·off-thread"
  
513 ····invoke-direct·{p0,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V513 ····invoke-direct·{p0,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V