| | | | |
| Offset 39, 63 lines modified | Offset 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·annotation | 44 | ····.end·annotation |
| | |
| 45 | ····.line·93 | 45 | ····.line·91 |
| 46 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V | 46 | ····invoke-direct·{p0},·Ljava/lang/Object;-><init>()V |
| | |
| 47 | ····.line·94 | 47 | ····.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·95 | 49 | ····.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·p1 | 51 | ····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·p1 | 53 | ····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·96 | 55 | ····.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-void | 57 | ····return-void |
| 58 | .end·method | 58 | .end·method |
| | |
| 59 | .method·protected·static·closeFd(Ljava/io/FileDescriptor;)V | 59 | .method·protected·static·closeFd(Ljava/io/FileDescriptor;)V |
| 60 | ····.locals·0 | 60 | ····.locals·0 |
| | |
| 61 | ····.line·88 | 61 | ····.line·86 |
| 62 | ····:try_start_0 | 62 | ····:try_start_0 |
| 63 | ····invoke-static·{p0},·Landroid/net/util/SocketUtils;->closeSocket(Ljava/io/FileDescriptor;)V | 63 | ····invoke-static·{p0},·Landroid/net/util/SocketUtils;->closeSocket(Ljava/io/FileDescriptor;)V |
| 64 | ····:try_end_0 | 64 | ····:try_end_0 |
| 65 | ····.catch·Ljava/io/IOException;·{:try_start_0·..·:try_end_0}·:catch_0 | 65 | ····.catch·Ljava/io/IOException;·{:try_start_0·..·:try_end_0}·:catch_0 |
| | |
| 66 | ····:catch_0 | 66 | ····:catch_0 |
| 67 | ····return-void | 67 | ····return-void |
| 68 | .end·method | 68 | .end·method |
| | |
| 69 | .method·private·createAndRegisterFd()Z | 69 | .method·private·createAndRegisterFd()Z |
| 70 | ····.locals·5 | 70 | ····.locals·5 |
| | |
| 71 | ····.line·186 | 71 | ····.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,·0x1 | 73 | ····const/4·v1,·0x1 |
| | |
| 74 | ····if-eqz·v0,·:cond_0 | 74 | ····if-eqz·v0,·:cond_0 |
| | |
| 75 | ····return·v1 | 75 | ····return·v1 |
| | |
| 76 | ····.line·189 | 76 | ····.line·187 |
| 77 | ····:cond_0 | 77 | ····:cond_0 |
| 78 | ····:try_start_0 | 78 | ····: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·v0 | 80 | ····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 modified | Offset 105, 38 lines modified |
| 105 | ····goto·:goto_0 | 105 | ····goto·:goto_0 |
| | |
| 106 | ····:catch_0 | 106 | ····:catch_0 |
| 107 | ····move-exception·v0 | 107 | ····move-exception·v0 |
| | |
| 108 | ····const-string·v2,·"Failed·to·create·socket:·" | 108 | ····const-string·v2,·"Failed·to·create·socket:·" |
| | |
| 109 | ····.line·191 | 109 | ····.line·189 |
| 110 | ····invoke-virtual·{p0,·v2,·v0},·Landroid/net/util/FdEventsReader;->logError(Ljava/lang/String;Ljava/lang/Exception;)V | 110 | ····invoke-virtual·{p0,·v2,·v0},·Landroid/net/util/FdEventsReader;->logError(Ljava/lang/String;Ljava/lang/Exception;)V |
| | |
| 111 | ····.line·192 | 111 | ····.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;)V | 113 | ····invoke-static·{v0},·Landroid/net/util/FdEventsReader;->closeFd(Ljava/io/FileDescriptor;)V |
| | |
| 114 | ····const/4·v0,·0x0 | 114 | ····const/4·v0,·0x0 |
| | |
| 115 | ····.line·193 | 115 | ····.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·196 | 117 | ····.line·194 |
| 118 | ····:goto_0 | 118 | ····: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_1 | 120 | ····if-nez·v0,·:cond_1 |
| | |
| 121 | ····const/4·p0,·0x0 | 121 | ····const/4·p0,·0x0 |
| | |
| 122 | ····return·p0 | 122 | ····return·p0 |
| | |
| 123 | ····.line·198 | 123 | ····.line·196 |
| 124 | ····:cond_1 | 124 | ····: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·v0 | 126 | ····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 modified | Offset 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;)V | 145 | ····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;)V | 146 | ····invoke-virtual·{v0,·v2,·v3,·v4},·Landroid/os/MessageQueue;->addOnFileDescriptorEventListener(Ljava/io/FileDescriptor;ILandroid/os/MessageQueue$OnFileDescriptorEventListener;)V |
| | |
| 147 | ····.line·211 | 147 | ····.line·209 |
| 148 | ····invoke-virtual·{p0},·Landroid/net/util/FdEventsReader;->onStart()V | 148 | ····invoke-virtual·{p0},·Landroid/net/util/FdEventsReader;->onStart()V |
| | |
| 149 | ····return·v1 | 149 | ····return·v1 |
| 150 | .end·method | 150 | .end·method |
| | |
| 151 | .method·private·handleInput()Z | 151 | .method·private·handleInput()Z |
| 152 | ····.locals·7 | 152 | ····.locals·7 |
| | |
| 153 | ····const-string·v0,·"readPacket·error:·" | 153 | ····const-string·v0,·"readPacket·error:·" |
| | |
| 154 | ····.line·221 | 154 | ····.line·219 |
| 155 | ····:goto_0 | 155 | ····:goto_0 |
| 156 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z | 156 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z |
| | |
| 157 | ····move-result·v1 | 157 | ····move-result·v1 |
| | |
| 158 | ····if-eqz·v1,·:cond_3 | 158 | ····if-eqz·v1,·:cond_3 |
| | |
| 159 | ····const/4·v1,·0x1 | 159 | ····const/4·v1,·0x1 |
| | |
| 160 | ····.line·225 | 160 | ····.line·223 |
| 161 | ····:try_start_0 | 161 | ····: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;)I | 164 | ····invoke-virtual·{p0,·v2,·v3},·Landroid/net/util/FdEventsReader;->readPacket(Ljava/io/FileDescriptor;Ljava/lang/Object;)I |
| | |
| 165 | ····move-result·v2 | 165 | ····move-result·v2 |
| | |
| 166 | ····if-ge·v2,·v1,·:cond_0 | 166 | ····if-ge·v2,·v1,·:cond_0 |
| | |
| 167 | ····.line·227 | 167 | ····.line·225 |
| 168 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z | 168 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z |
| | |
| 169 | ····move-result·v2 | 169 | ····move-result·v2 |
| | |
| 170 | ····if-eqz·v2,·:cond_3 | 170 | ····if-eqz·v2,·:cond_3 |
| | |
| 171 | ····const-string·v2,·"Socket·closed,·exiting" | 171 | ····const-string·v2,·"Socket·closed,·exiting" |
| | |
| 172 | ····const/4·v3,·0x0 | 172 | ····const/4·v3,·0x0 |
| | |
| 173 | ····invoke-virtual·{p0,·v2,·v3},·Landroid/net/util/FdEventsReader;->logError(Ljava/lang/String;Ljava/lang/Exception;)V | 173 | ····invoke-virtual·{p0,·v2,·v3},·Landroid/net/util/FdEventsReader;->logError(Ljava/lang/String;Ljava/lang/Exception;)V |
| | |
| 174 | ····goto·:goto_1 | 174 | ····goto·:goto_1 |
| | |
| 175 | ····.line·230 | 175 | ····.line·228 |
| 176 | ····:cond_0 | 176 | ····:cond_0 |
| 177 | ····iget-wide·v3,·p0,·Landroid/net/util/FdEventsReader;->mPacketsReceived:J | 177 | ····iget-wide·v3,·p0,·Landroid/net/util/FdEventsReader;->mPacketsReceived:J |
| | |
| 178 | ····const-wide/16·v5,·0x1 | 178 | ····const-wide/16·v5,·0x1 |
| | |
| 179 | ····add-long/2addr·v3,·v5 | 179 | ····add-long/2addr·v3,·v5 |
| | |
| 180 | ····iput-wide·v3,·p0,·Landroid/net/util/FdEventsReader;->mPacketsReceived:J | 180 | ····iput-wide·v3,·p0,·Landroid/net/util/FdEventsReader;->mPacketsReceived:J |
| 181 | ····:try_end_0 | 181 | ····:try_end_0 |
| 182 | ····.catch·Landroid/system/ErrnoException;·{:try_start_0·..·:try_end_0}·:catch_2 | 182 | ····.catch·Landroid/system/ErrnoException;·{:try_start_0·..·:try_end_0}·:catch_2 |
| 183 | ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_1 | 183 | ····.catch·Ljava/lang/Exception;·{:try_start_0·..·:try_end_0}·:catch_1 |
| | |
| 184 | ····.line·247 | 184 | ····.line·245 |
| 185 | ····:try_start_1 | 185 | ····: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)V | 187 | ····invoke-virtual·{p0,·v1,·v2},·Landroid/net/util/FdEventsReader;->handlePacket(Ljava/lang/Object;I)V |
| 188 | ····:try_end_1 | 188 | ····:try_end_1 |
| 189 | ····.catch·Ljava/lang/Exception;·{:try_start_1·..·:try_end_1}·:catch_0 | 189 | ····.catch·Ljava/lang/Exception;·{:try_start_1·..·:try_end_1}·:catch_0 |
| | |
| 190 | ····goto·:goto_0 | 190 | ····goto·:goto_0 |
| | |
| 191 | ····:catch_0 | 191 | ····:catch_0 |
| 192 | ····move-exception·v1 | 192 | ····move-exception·v1 |
| | |
| 193 | ····const-string·v2,·"handlePacket·error:·" | 193 | ····const-string·v2,·"handlePacket·error:·" |
| | |
| 194 | ····.line·249 | 194 | ····.line·247 |
| 195 | ····invoke-virtual·{p0,·v2,·v1},·Landroid/net/util/FdEventsReader;->logError(Ljava/lang/String;Ljava/lang/Exception;)V | 195 | ····invoke-virtual·{p0,·v2,·v1},·Landroid/net/util/FdEventsReader;->logError(Ljava/lang/String;Ljava/lang/Exception;)V |
| | |
| 196 | ····.line·250 | 196 | ····.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·v2 | 199 | ····move-result-object·v2 |
| | |
| 200 | ····const-string·v3,·"Error·handling·packet" | 200 | ····const-string·v3,·"Error·handling·packet" |
| Offset 239, 46 lines modified | Offset 239, 46 lines modified |
| 239 | ····invoke-static·{v2,·v3,·v1},·Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I | 239 | ····invoke-static·{v2,·v3,·v1},·Landroid/util/Log;->wtf(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I |
| | |
| 240 | ····goto·:goto_0 | 240 | ····goto·:goto_0 |
| | |
| 241 | ····:catch_1 | 241 | ····:catch_1 |
| 242 | ····move-exception·v1 | 242 | ····move-exception·v1 |
| | |
| 243 | ····.line·242 | 243 | ····.line·240 |
| 244 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z | 244 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z |
| | |
| 245 | ····move-result·v2 | 245 | ····move-result·v2 |
| | |
| 246 | ····if-eqz·v2,·:cond_3 | 246 | ····if-eqz·v2,·:cond_3 |
| | |
| 247 | ····invoke-virtual·{p0,·v0,·v1},·Landroid/net/util/FdEventsReader;->logError(Ljava/lang/String;Ljava/lang/Exception;)V | 247 | ····invoke-virtual·{p0,·v0,·v1},·Landroid/net/util/FdEventsReader;->logError(Ljava/lang/String;Ljava/lang/Exception;)V |
| | |
| 248 | ····goto·:goto_1 | 248 | ····goto·:goto_1 |
| | |
| 249 | ····:catch_2 | 249 | ····:catch_2 |
| 250 | ····move-exception·v2 | 250 | ····move-exception·v2 |
| | |
| 251 | ····.line·232 | 251 | ····.line·230 |
| 252 | ····iget·v3,·v2,·Landroid/system/ErrnoException;->errno:I | 252 | ····iget·v3,·v2,·Landroid/system/ErrnoException;->errno:I |
| | |
| 253 | ····sget·v4,·Landroid/system/OsConstants;->EAGAIN:I | 253 | ····sget·v4,·Landroid/system/OsConstants;->EAGAIN:I |
| | |
| 254 | ····if-ne·v3,·v4,·:cond_1 | 254 | ····if-ne·v3,·v4,·:cond_1 |
| | |
| 255 | ····return·v1 | 255 | ····return·v1 |
| | |
| 256 | ····.line·235 | 256 | ····.line·233 |
| 257 | ····:cond_1 | 257 | ····:cond_1 |
| 258 | ····sget·v1,·Landroid/system/OsConstants;->EINTR:I | 258 | ····sget·v1,·Landroid/system/OsConstants;->EINTR:I |
| | |
| 259 | ····if-ne·v3,·v1,·:cond_2 | 259 | ····if-ne·v3,·v1,·:cond_2 |
| | |
| 260 | ····goto·:goto_0 | 260 | ····goto·:goto_0 |
| | |
| 261 | ····.line·238 | 261 | ····.line·236 |
| 262 | ····:cond_2 | 262 | ····:cond_2 |
| 263 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z | 263 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z |
| | |
| 264 | ····move-result·v1 | 264 | ····move-result·v1 |
| | |
| 265 | ····if-eqz·v1,·:cond_3 | 265 | ····if-eqz·v1,·:cond_3 |
| | |
| Offset 290, 15 lines modified | Offset 290, 15 lines modified |
| | |
| 290 | ····return·p0 | 290 | ····return·p0 |
| 291 | .end·method | 291 | .end·method |
| | |
| 292 | .method·private·isRunning()Z | 292 | .method·private·isRunning()Z |
| 293 | ····.locals·0 | 293 | ····.locals·0 |
| | |
| 294 | ····.line·216 | 294 | ····.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_0 | 296 | ····if-eqz·p0,·:cond_0 |
| | |
| 297 | ····invoke-virtual·{p0},·Ljava/io/FileDescriptor;->valid()Z | 297 | ····invoke-virtual·{p0},·Ljava/io/FileDescriptor;->valid()Z |
| | |
| 298 | ····move-result·p0 | 298 | ····move-result·p0 |
| Offset 315, 15 lines modified | Offset 315, 15 lines modified |
| 315 | ····:goto_0 | 315 | ····:goto_0 |
| 316 | ····return·p0 | 316 | ····return·p0 |
| 317 | .end·method | 317 | .end·method |
| | |
| 318 | .method·private·synthetic·lambda$createAndRegisterFd$0(Ljava/io/FileDescriptor;I)I | 318 | .method·private·synthetic·lambda$createAndRegisterFd$0(Ljava/io/FileDescriptor;I)I |
| 319 | ····.locals·0 | 319 | ····.locals·0 |
| | |
| 320 | ····.line·205 | 320 | ····.line·203 |
| 321 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z | 321 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->isRunning()Z |
| | |
| 322 | ····move-result·p1 | 322 | ····move-result·p1 |
| | |
| 323 | ····if-eqz·p1,·:cond_1 | 323 | ····if-eqz·p1,·:cond_1 |
| | |
| 324 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->handleInput()Z | 324 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->handleInput()Z |
| Offset 335, 28 lines modified | Offset 335, 28 lines modified |
| 335 | ····goto·:goto_0 | 335 | ····goto·:goto_0 |
| | |
| 336 | ····:cond_0 | 336 | ····:cond_0 |
| 337 | ····const/4·p0,·0x5 | 337 | ····const/4·p0,·0x5 |
| | |
| 338 | ····return·p0 | 338 | ····return·p0 |
| | |
| 339 | ····.line·206 | 339 | ····.line·204 |
| 340 | ····:cond_1 | 340 | ····:cond_1 |
| 341 | ····:goto_0 | 341 | ····:goto_0 |
| 342 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->unregisterAndDestroyFd()V | 342 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->unregisterAndDestroyFd()V |
| | |
| 343 | ····const/4·p0,·0x0 | 343 | ····const/4·p0,·0x0 |
| | |
| 344 | ····return·p0 | 344 | ····return·p0 |
| 345 | .end·method | 345 | .end·method |
| | |
| 346 | .method·private·onCorrectThread()Z | 346 | .method·private·onCorrectThread()Z |
| 347 | ····.locals·1 | 347 | ····.locals·1 |
| | |
| 348 | ····.line·267 | 348 | ····.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·p0 | 351 | ····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 modified | Offset 375, 56 lines modified |
| 375 | ····:goto_0 | 375 | ····:goto_0 |
| 376 | ····return·p0 | 376 | ····return·p0 |
| 377 | .end·method | 377 | .end·method |
| | |
| 378 | .method·private·unregisterAndDestroyFd()V | 378 | .method·private·unregisterAndDestroyFd()V |
| 379 | ····.locals·2 | 379 | ····.locals·2 |
| | |
| 380 | ····.line·258 | 380 | ····.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_0 | 382 | ····if-nez·v0,·:cond_0 |
| | |
| 383 | ····return-void | 383 | ····return-void |
| | |
| 384 | ····.line·260 | 384 | ····.line·258 |
| 385 | ····:cond_0 | 385 | ····: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·v0 | 387 | ····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;)V | 389 | ····invoke-virtual·{v0,·v1},·Landroid/os/MessageQueue;->removeOnFileDescriptorEventListener(Ljava/io/FileDescriptor;)V |
| | |
| 390 | ····.line·261 | 390 | ····.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;)V | 392 | ····invoke-static·{v0},·Landroid/net/util/FdEventsReader;->closeFd(Ljava/io/FileDescriptor;)V |
| | |
| 393 | ····const/4·v0,·0x0 | 393 | ····const/4·v0,·0x0 |
| | |
| 394 | ····.line·262 | 394 | ····.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·263 | 396 | ····.line·261 |
| 397 | ····invoke-virtual·{p0},·Landroid/net/util/FdEventsReader;->onStop()V | 397 | ····invoke-virtual·{p0},·Landroid/net/util/FdEventsReader;->onStop()V |
| | |
| 398 | ····return-void | 398 | ····return-void |
| 399 | .end·method | 399 | .end·method |
| | |
| | |
| 400 | #·virtual·methods | 400 | #·virtual·methods |
| 401 | .method·protected·abstract·createFd()Ljava/io/FileDescriptor; | 401 | .method·protected·abstract·createFd()Ljava/io/FileDescriptor; |
| 402 | .end·method | 402 | .end·method |
| | |
| 403 | .method·protected·getMessageQueue()Landroid/os/MessageQueue; | 403 | .method·protected·getMessageQueue()Landroid/os/MessageQueue; |
| 404 | ····.locals·0 | 404 | ····.locals·0 |
| | |
| 405 | ····.line·102 | 405 | ····.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·p0 | 407 | ····return-object·p0 |
| 408 | .end·method | 408 | .end·method |
| | |
| 409 | .method·protected·handlePacket(Ljava/lang/Object;I)V | 409 | .method·protected·handlePacket(Ljava/lang/Object;I)V |
| 410 | ····.locals·0 | 410 | ····.locals·0 |
| Offset 480, 55 lines modified | Offset 480, 55 lines modified |
| 480 | ········} | 480 | ········} |
| 481 | ····.end·annotation | 481 | ····.end·annotation |
| 482 | .end·method | 482 | .end·method |
| | |
| 483 | .method·public·start()Z | 483 | .method·public·start()Z |
| 484 | ····.locals·1 | 484 | ····.locals·1 |
| | |
| 485 | ····.line·107 | 485 | ····.line·105 |
| 486 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->onCorrectThread()Z | 486 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->onCorrectThread()Z |
| | |
| 487 | ····move-result·v0 | 487 | ····move-result·v0 |
| | |
| 488 | ····if-eqz·v0,·:cond_0 | 488 | ····if-eqz·v0,·:cond_0 |
| | |
| 489 | ····.line·111 | 489 | ····.line·109 |
| 490 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->createAndRegisterFd()Z | 490 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->createAndRegisterFd()Z |
| | |
| 491 | ····move-result·p0 | 491 | ····move-result·p0 |
| | |
| 492 | ····return·p0 | 492 | ····return·p0 |
| | |
| 493 | ····.line·108 | 493 | ····.line·106 |
| 494 | ····:cond_0 | 494 | ····: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;)V | 497 | ····invoke-direct·{p0,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| | |
| 498 | ····throw·p0 | 498 | ····throw·p0 |
| 499 | .end·method | 499 | .end·method |
| | |
| 500 | .method·public·stop()V | 500 | .method·public·stop()V |
| 501 | ····.locals·1 | 501 | ····.locals·1 |
| | |
| 502 | ····.line·116 | 502 | ····.line·114 |
| 503 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->onCorrectThread()Z | 503 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->onCorrectThread()Z |
| | |
| 504 | ····move-result·v0 | 504 | ····move-result·v0 |
| | |
| 505 | ····if-eqz·v0,·:cond_0 | 505 | ····if-eqz·v0,·:cond_0 |
| | |
| 506 | ····.line·120 | 506 | ····.line·118 |
| 507 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->unregisterAndDestroyFd()V | 507 | ····invoke-direct·{p0},·Landroid/net/util/FdEventsReader;->unregisterAndDestroyFd()V |
| | |
| 508 | ····return-void | 508 | ····return-void |
| | |
| 509 | ····.line·117 | 509 | ····.line·115 |
| 510 | ····:cond_0 | 510 | ····: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;)V | 513 | ····invoke-direct·{p0,·v0},·Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V |
| | |