aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Gibellini <gibellini.roberto@gmail.com>2016-08-22 13:01:22 -0700
committerRoberto Gibellini <gibellini.roberto@gmail.com>2016-08-22 13:01:22 -0700
commit4b673c264ac46253f6e2173146696ddbf92cf0f3 (patch)
tree71b987ff2a87626e1115359880a7e3b663ccc1d2
parentb54aaa70a0921ee0ecc1059d5f07e45424e1b7fe (diff)
downloaddevice_samsung_kona-common-4b673c264ac46253f6e2173146696ddbf92cf0f3.zip
device_samsung_kona-common-4b673c264ac46253f6e2173146696ddbf92cf0f3.tar.gz
device_samsung_kona-common-4b673c264ac46253f6e2173146696ddbf92cf0f3.tar.bz2
Revert "kona : no more needed"
This reverts commit b54aaa70a0921ee0ecc1059d5f07e45424e1b7fe. Change-Id: I513216ee8b4939ead0d42ec664cc77d8b6cc47e0
-rw-r--r--samsung_symbols/symbols.cpp47
1 files changed, 44 insertions, 3 deletions
diff --git a/samsung_symbols/symbols.cpp b/samsung_symbols/symbols.cpp
index 749c523..b4be80c 100644
--- a/samsung_symbols/symbols.cpp
+++ b/samsung_symbols/symbols.cpp
@@ -15,9 +15,50 @@
*/
#include <stdlib.h>
+#include <malloc.h>
-// Do not check libsec-ril.so protobuf version
+extern "C" int _ZN7android6Parcel13writeString16EPKDsj();
+extern "C" int _ZN7android6Parcel13writeString16EPKtj(){
+ return _ZN7android6Parcel13writeString16EPKDsj();
+}
-extern "C" void _ZN6google8protobuf8internal13VerifyVersionEiiPKc();
-extern "C" void _ZN6google8protobuf8internal13VerifyVersionEiiPKc(){}
+extern "C" int _ZN7android13SensorManager5sLockE;
+extern "C" int _ZN7android9SingletonINS_13SensorManagerEE5sLockE = _ZN7android13SensorManager5sLockE;
+
+extern "C" int _ZN7android13SensorManager17sPackageInstancesE;
+extern "C" int _ZN7android9SingletonINS_13SensorManagerEE9sInstanceE = _ZN7android13SensorManager17sPackageInstancesE;
+
+extern "C" int _ZN7android13SensorManagerD1Ev();
+extern "C" int _ZN7android13SensorManagerC1Ev(){
+ return _ZN7android13SensorManagerD1Ev();
+}
+
+extern "C" int _ZN7android13SensorManager16createEventQueueENS_7String8Ei();
+extern "C" int _ZN7android13SensorManager16createEventQueueEv(){
+ return _ZN7android13SensorManager16createEventQueueENS_7String8Ei();
+}
+
+extern "C" void *CRYPTO_malloc(int num, const char *file, int line);
+extern "C" void *CRYPTO_malloc(int num, const char *file, int line){
+ if (num <= 0)
+ return NULL;
+ else
+ return malloc(num);
+}
+
+extern "C" void RIL_register_socket();
+extern "C" void RIL_register_socket() {}
+
+extern "C" int MsgHeader_fields = NULL;
+
+extern "C" int RIL_SIM_SAP_DISCONNECT_REQ_fields = NULL;
+
+extern "C" void GetClientData();
+extern "C" void GetClientData() {}
+
+extern "C" void SetClientData(char);
+extern "C" void SetClientData(char) {}
+
+extern "C" void Connect_RILD_Second();
+extern "C" void Connect_RILD_Second() {}