8902097bb686752ff207e3bda12713be1a8c74eb |
|
01-May-2012 |
Insun Kang <insun@google.com> |
Improve notifying TimedText by reducing marshall/unmarshalling. o Removes mParcel from TimedText class. o Converts native parcel into java parcel object directly without copying to an intermediate byte array. o JNIMediaPlayerListener::notify checks for Java exceptions, logs them, and clears the exception state. related-to-bug: 6405934 Change-Id: I8b82d3cd5b9b3ef8cad27e805202a0e445a88a45
/frameworks/base/core/jni/android_os_Parcel.cpp
|
047238ced42eea812de9d39a9f32e94d002bfa5c |
|
08-Mar-2012 |
Jeff Sharkey <jsharkey@android.com> |
Switch Parcel to static JNI calls, pass pointer. Instead of using parcelForJavaObject(), pass down the mNativeObj pointer explicitly. Benchmarks show that writeInt() is roughly 3x faster with this approach. Change-Id: I24ca235c334c44be716070aa8066ec8a429eadb7
/frameworks/base/core/jni/android_os_Parcel.cpp
|
d84e1ce0b535128f03416145554fb405f9fade3e |
|
07-Mar-2012 |
Jeff Sharkey <jsharkey@android.com> |
Split Parcel JNI details away from Binder. This is purely a refactoring, with no change to the underlying functionality. Change-Id: I41b59f14e57d1cc144274a01f77658d99a1bfe02
/frameworks/base/core/jni/android_os_Parcel.cpp
|