summaryrefslogtreecommitdiff
path: root/libs/android_runtime_lazy/android_runtime_lazy.cpp
AgeCommit message (Collapse)Author
2020-01-08libbinder_ndk: AParcel_fromJavaParcelSteven Moreland
This allows creating a view into a Java Parcel. Note, that this doesn't allow conversions of both directions. This is mostly out of convenience: Parcel.obtain(long) only allows us to create a view. Also, there isn't currently a usecase for this other API. Bug: 145227478 Test: atest CtsNdkBinderTestCases Change-Id: Iec043741ec778036e167aaf9a2fb275d4309e8f6
2019-03-26Add libandroid_runtime_lazyJooyung Han
Extract lazy loading of libandroid_runtime from libbinder_ndk into its own library. This lib loads libandroid_runtime on demand, so the clients which don't use this can benefit. Do not over-use this lib to mock the build system and pretend not depending on libandroid_runtime. Bug: 125550121 Test: m -j Test: readelf -d $OUT/system/lib64/libbinder_ndk.so | grep NEED # see if there is not libandroid_runtime Test: atest android.binder.cts Change-Id: I4b120686ba34f45e060594641ffc74bc1496c8c9