[Android] [PATCH 2/4] Add lists of symbols of libcutils and libui

Martin Storsjö martin at martin.st
Fri Jul 25 00:38:54 CEST 2014


From: Thomas Guillem <guillem at archos.com>

---
 Makefile                       |  2 +-
 android-libs/libcutils.symbols | 33 ++++++++++++++++
 android-libs/libui.symbols     | 85 ++++++++++++++++++++++++++++++++++++++++++
 dump-libs.sh                   |  4 +-
 4 files changed, 121 insertions(+), 3 deletions(-)
 create mode 100644 android-libs/libcutils.symbols
 create mode 100644 android-libs/libui.symbols

diff --git a/Makefile b/Makefile
index 2e0ae65..eb2ac34 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ LIBVLCJNI= $(addprefix $(SRC)/obj/local/$(ARCH)/,$(addsuffix .so,$(LIBVLC_LIBS))
 LIBVLCJNI_H=$(SRC)/jni/libvlcjni.h
 
 PRIVATE_LIBDIR=android-libs
-PRIVATE_LIBS=$(PRIVATE_LIBDIR)/libstagefright.so $(PRIVATE_LIBDIR)/libmedia.so $(PRIVATE_LIBDIR)/libutils.so $(PRIVATE_LIBDIR)/libbinder.so
+PRIVATE_LIBS=$(PRIVATE_LIBDIR)/libstagefright.so $(PRIVATE_LIBDIR)/libmedia.so $(PRIVATE_LIBDIR)/libutils.so $(PRIVATE_LIBDIR)/libcutils.so $(PRIVATE_LIBDIR)/libbinder.so $(PRIVATE_LIBDIR)/libui.so
 
 ifneq ($(V),)
 ANT_OPTS += -v
diff --git a/android-libs/libcutils.symbols b/android-libs/libcutils.symbols
new file mode 100644
index 0000000..56b3163
--- /dev/null
+++ b/android-libs/libcutils.symbols
@@ -0,0 +1,33 @@
+android_atomic_acquire_cas
+android_atomic_acquire_load
+android_atomic_acquire_store
+android_atomic_add
+android_atomic_and
+android_atomic_cas
+android_atomic_dec
+android_atomic_inc
+android_atomic_or
+android_atomic_release_cas
+android_atomic_release_load
+android_atomic_release_store
+android_log_addFilterString
+android_log_formatFromString
+str_parms_add_float
+str_parms_add_int
+str_parms_add_str
+str_parms_create
+str_parms_create_str
+str_parms_del
+str_parms_destroy
+str_parms_dump
+str_parms_get_float
+str_parms_get_int
+str_parms_get_str
+str_parms_to_str
+strcpy8to16
+strcpylen8to16
+strdup8to16
+strlen8to16
+strncpy16to8
+strndup16to8
+strnlen16to8
diff --git a/android-libs/libui.symbols b/android-libs/libui.symbols
new file mode 100644
index 0000000..f7cb31d
--- /dev/null
+++ b/android-libs/libui.symbols
@@ -0,0 +1,85 @@
+_ZGVN7android9SingletonINS_19GraphicBufferMapperEE5sLockE
+_ZGVN7android9SingletonINS_22GraphicBufferAllocatorEE5sLockE
+_ZN7android12InputChannel20openInputChannelPairERKNS_7String8ERNS_2spIS0_EES6_
+_ZN7android12InputChannelC1ERKNS_7String8Eiii
+_ZN7android12InputChannelC2ERKNS_7String8Eiii
+_ZN7android12KeyLayoutMap4loadERKNS_7String8EPPS0_
+_ZN7android13GraphicBuffer10reallocateEjjij
+_ZN7android13GraphicBuffer11free_handleEv
+_ZN7android13GraphicBuffer26dumpAllocationsToSystemLogEv
+_ZN7android13GraphicBuffer4lockEP10GGLSurfacej
+_ZN7android13GraphicBuffer4lockEjPPv
+_ZN7android13GraphicBuffer4lockEjRKNS_4RectEPPv
+_ZN7android13GraphicBuffer6unlockEv
+_ZN7android13GraphicBuffer8initSizeEjjij
+_ZN7android13GraphicBuffer8setIndexEi
+_ZN7android13GraphicBuffer9unflattenEPKvjPij
+_ZN7android13GraphicBufferC1EP19ANativeWindowBufferb
+_ZN7android13GraphicBufferC1Ejjij
+_ZN7android13GraphicBufferC1EjjijjP13native_handleb
+_ZN7android13GraphicBufferC1Ev
+_ZN7android13GraphicBufferC2EP19ANativeWindowBufferb
+_ZN7android13GraphicBufferC2Ejjij
+_ZN7android13GraphicBufferC2EjjijjP13native_handleb
+_ZN7android13GraphicBufferC2Ev
+_ZN7android13GraphicBufferD0Ev
+_ZN7android13GraphicBufferD1Ev
+_ZN7android13GraphicBufferD2Ev
+_ZN7android13VirtualKeyMap4loadERKNS_7String8EPPS0_
+_ZN7android15InputDeviceInfo10initializeEiRKNS_7String8E
+_ZN7android15KeyCharacterMap4loadERKNS_7String8EPPS0_
+_ZN7android15KeyCharacterMap6Parser13parseModifierERKNS_7String8EPi
+_ZN7android19GraphicBufferMapper14registerBufferEPK13native_handle
+_ZN7android19GraphicBufferMapper16unregisterBufferEPK13native_handle
+_ZN7android19GraphicBufferMapper4lockEPK13native_handleiRKNS_4RectEPPv
+_ZN7android19GraphicBufferMapper6unlockEPK13native_handle
+_ZN7android19GraphicBufferMapperC1Ev
+_ZN7android19GraphicBufferMapperC2Ev
+_ZN7android22GraphicBufferAllocator10sAllocListE
+_ZN7android22GraphicBufferAllocator15dumpToSystemLogEv
+_ZN7android22GraphicBufferAllocator4freeEPK13native_handle
+_ZN7android22GraphicBufferAllocator5allocEjjiiPPK13native_handlePi
+_ZN7android22GraphicBufferAllocator5sLockE
+_ZN7android22GraphicBufferAllocatorC1Ev
+_ZN7android22GraphicBufferAllocatorC2Ev
+_ZN7android22GraphicBufferAllocatorD1Ev
+_ZN7android22GraphicBufferAllocatorD2Ev
+_ZN7android23FramebufferNativeWindow4dumpERNS_7String8E
+_ZN7android41getInputDeviceConfigurationFilePathByNameERKNS_7String8ENS_32InputDeviceConfigurationFileTypeE
+_ZN7android6KeyMap11probeKeyMapERKNS_21InputDeviceIdentifierERKNS_7String8E
+_ZN7android6KeyMap13loadKeyLayoutERKNS_21InputDeviceIdentifierERKNS_7String8E
+_ZN7android6KeyMap19loadKeyCharacterMapERKNS_21InputDeviceIdentifierERKNS_7String8E
+_ZN7android6KeyMap7getPathERKNS_21InputDeviceIdentifierERKNS_7String8ENS_32InputDeviceConfigurationFileTypeE
+_ZN7android9SingletonINS_19GraphicBufferMapperEE11getInstanceEv
+_ZN7android9SingletonINS_19GraphicBufferMapperEE11hasInstanceEv
+_ZN7android9SingletonINS_19GraphicBufferMapperEE5sLockE
+_ZN7android9SingletonINS_19GraphicBufferMapperEE9sInstanceE
+_ZN7android9SingletonINS_19GraphicBufferMapperEEC1Ev
+_ZN7android9SingletonINS_19GraphicBufferMapperEEC2Ev
+_ZN7android9SingletonINS_19GraphicBufferMapperEED1Ev
+_ZN7android9SingletonINS_19GraphicBufferMapperEED2Ev
+_ZN7android9SingletonINS_22GraphicBufferAllocatorEE11getInstanceEv
+_ZN7android9SingletonINS_22GraphicBufferAllocatorEE11hasInstanceEv
+_ZN7android9SingletonINS_22GraphicBufferAllocatorEE5sLockE
+_ZN7android9SingletonINS_22GraphicBufferAllocatorEE9sInstanceE
+_ZN7android9SingletonINS_22GraphicBufferAllocatorEEC1Ev
+_ZN7android9SingletonINS_22GraphicBufferAllocatorEEC2Ev
+_ZN7android9SingletonINS_22GraphicBufferAllocatorEED1Ev
+_ZN7android9SingletonINS_22GraphicBufferAllocatorEED2Ev
+_ZNK7android12SortedVectorINS_16key_value_pair_tIPK13native_handleNS_22GraphicBufferAllocator11alloc_rec_tEEEE10do_compareEPKvSA_
+_ZNK7android12SortedVectorINS_16key_value_pair_tIPK13native_handleNS_22GraphicBufferAllocator11alloc_rec_tEEEE10do_destroyEPvj
+_ZNK7android12SortedVectorINS_16key_value_pair_tIPK13native_handleNS_22GraphicBufferAllocator11alloc_rec_tEEEE12do_constructEPvj
+_ZNK7android12SortedVectorINS_16key_value_pair_tIPK13native_handleNS_22GraphicBufferAllocator11alloc_rec_tEEEE15do_move_forwardEPvPKvj
+_ZNK7android12SortedVectorINS_16key_value_pair_tIPK13native_handleNS_22GraphicBufferAllocator11alloc_rec_tEEEE16do_move_backwardEPvPKvj
+_ZNK7android12SortedVectorINS_16key_value_pair_tIPK13native_handleNS_22GraphicBufferAllocator11alloc_rec_tEEEE7do_copyEPvPKvj
+_ZNK7android12SortedVectorINS_16key_value_pair_tIPK13native_handleNS_22GraphicBufferAllocator11alloc_rec_tEEEE8do_splatEPvPKvj
+_ZNK7android13GraphicBuffer10getFdCountEv
+_ZNK7android13GraphicBuffer15getNativeBufferEv
+_ZNK7android13GraphicBuffer16getFlattenedSizeEv
+_ZNK7android13GraphicBuffer7flattenEPvjPij
+_ZNK7android13GraphicBuffer8getIndexEv
+_ZNK7android13GraphicBuffer9initCheckEv
+_ZNK7android22GraphicBufferAllocator4dumpERNS_7String8E
+_ZNK7android6Region4dumpERNS_7String8EPKcj
+_ZTVN7android12SortedVectorINS_16key_value_pair_tIPK13native_handleNS_22GraphicBufferAllocator11alloc_rec_tEEEEE
+_ZTVN7android13GraphicBufferE
diff --git a/dump-libs.sh b/dump-libs.sh
index 6333fc8..e470b8d 100755
--- a/dump-libs.sh
+++ b/dump-libs.sh
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-for i in stagefright media utils binder; do
-	nm -D --defined-only lib$i.so | awk '{print $3}' | grep -v ^__aeabi | grep '\(IInterface\|OMXObserver\|MemoryDealer\|Binder\|RefBase\|String\|OMXClient\|IMemory\|^str\)' > lib$i.symbols
+for i in stagefright media utils cutils binder ui; do
+	nm -D --defined-only lib$i.so | awk '{print $3}' | grep -v ^__aeabi | grep '\(IInterface\|OMXObserver\|MemoryDealer\|Binder\|RefBase\|String\|OMXClient\|IMemory\|GraphicBuffer\|android_atomic\|^str\)' > lib$i.symbols
 done
 
-- 
1.8.5.2 (Apple Git-48)



More information about the Android mailing list