History log of /frameworks/base/core/java/com/android/internal/util/AsyncChannel.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
19c4883c850c2d1628e844b48778856673d8bfe6 28-Mar-2016 Wei Wang <weiwa@google.com> Add death monitor to AsyncChannel Server.

Bug:27878941
Change-Id: Ia6d12b49979b47434db7969372d6c02f799bc7d4
/frameworks/base/core/java/com/android/internal/util/AsyncChannel.java
d0d420587a462024cdf47eee1d22cf6d52a4a6a0 07-May-2015 Paul Jensen <pauljensen@google.com> Avoid NPE when sendMessage is called after disconnect.

This avoids an NPE that could occur when:
1. disconnect() is called
2. sendMessage() is called but encounters a RemoteException
3. replyDisconnected() will attempt to dereference mSrcHandler
There does not appear to be any callers that rely on the NPE.
All callers erase their reference to the AsyncChannel after
calling disconnect(), except for NetworkAgentInfo which can
cause ConnectivityService to crash. This fix addresses that.

bug:20647016
Change-Id: I89864885dc3371941407a036b7b7647e0ec037b8
/frameworks/base/core/java/com/android/internal/util/AsyncChannel.java
b7fbb9b691f2c8dfe23a327943bd6b05f1a3503e 08-May-2014 Robert Greenwalt <rgreenwalt@google.com> Support multiple calls to AsyncChannel.disconnect

prior to this you'd get a crash if you called it twice.

Change-Id: Ie066b1e00970e17b2ebab5c51a57a9a3459aee26
/frameworks/base/core/java/com/android/internal/util/AsyncChannel.java
1612e29826dfe55f8deca27374046c5931ce5335 06-Dec-2012 Irfan Sheriff <isheriff@android.com> Merge "AsyncChannel to support remote death notification and post a disconnect message to the source handler."
ba059bf54c58e312562ac527d97d2bc1d4dacb45 01-Aug-2012 Vairavan Srinivasan <vairav@codeaurora.org> AsyncChannel to support remote death notification and post a
disconnect message to the source handler.

Change-Id: I7368cb466d9e33f7da8095ef2de25fc70f13d47e
/frameworks/base/core/java/com/android/internal/util/AsyncChannel.java
f3110dfc84f6d7ae0c2c0718db2d1948dfd99240 28-May-2012 Wink Saville <wink@google.com> When we disconnect shutdown the StateMachine.

Need to stop the StateMachine threads and release
all resources when we disconnect.

bug: 6342470
Change-Id: Ibf7a2ebf4f7ecd667c5d95579e66ecd5086103ea
/frameworks/base/core/java/com/android/internal/util/AsyncChannel.java
01ce0ce4724803112e7f2885d9ad49edf7515dca 19-Apr-2012 Wink Saville <wink@google.com> Fix calcuation of CMD_TO_STRING_COUNT.

Change-Id: I03ae1a545474d7dcd4e65c58d9befd020d5b9c54
/frameworks/base/core/java/com/android/internal/util/AsyncChannel.java
583eaaa57c51b28bf14da2a5cc94a2e6091cccf5 14-Apr-2012 Wink Saville <wink@google.com> Enhance the debug output for StateMachines.

Allow some messages to be ignored and allow the subclass to
add additional information. In particular, the information
can be used to decode the msg.what to a string.

Change-Id: I4f53becc6f0cb77399f99702084efef9d8785d67
/frameworks/base/core/java/com/android/internal/util/AsyncChannel.java
0246bbc8d7b646a2344d04d5af41580fa9e17a98 02-May-2011 Wink Saville <wink@google.com> Enhance AsyncChannel.

- Use Protocol for BASE of CMD's.
- Add synchronous connect methods.
- Back port sha1 c23971b3e4f92ac31996d4f9f32eef3cb4ef65fd from master

Change-Id: If0b3f6cbbb8d4268cad6ca19d26ab2ee42390d86
/frameworks/base/core/java/com/android/internal/util/AsyncChannel.java
cfce303cbdd59a3883957e4bc96a0476ceeb86ac 02-Dec-2010 Wink Saville <wink@google.com> Remove the need for a token parameter from AsyncChannel.

By returning the channel object it self it is unnecessary
to have a token. Also, no current code needed it, if its
needed in the future it can be added back.

Change-Id: Ie1d2a1e885f9cd74e95663711ccefb760811bf16
/frameworks/base/core/java/com/android/internal/util/AsyncChannel.java
33c54e3365d621fcc5b9f7564f18b33dc1e300df 15-Nov-2010 Wink Saville <wink@google.com> Add html formatting to AsyncChannel & Hsm class comments.

Change-Id: Ic42fdb4e8970166a92f173317210353ab8a2fa6a
/frameworks/base/core/java/com/android/internal/util/AsyncChannel.java
9d9f0c20a6a8e2693b8534cc0a5c314bdb3a0090 28-Oct-2010 Wink Saville <wink@google.com> Remove an @Override that is not needed.

Change-Id: I23d216c387ea44073eed1e3acb05d07104784e16
/frameworks/base/core/java/com/android/internal/util/AsyncChannel.java
d20a5d6b5a821e28d73eba6502a2135134014a84 21-Oct-2010 Wink Saville <wink@google.com> Add AsyncChannel and AsyncService.

Change-Id: Ie6f9aed58f49defcd1c051611ce791e2e62a9474
/frameworks/base/core/java/com/android/internal/util/AsyncChannel.java