diff options
-rwxr-xr-x | samsung_symbols/symbols.cpp | 47 |
1 files changed, 4 insertions, 43 deletions
diff --git a/samsung_symbols/symbols.cpp b/samsung_symbols/symbols.cpp index d5842a5..55d3081 100755 --- a/samsung_symbols/symbols.cpp +++ b/samsung_symbols/symbols.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015 The CyanogenMod Project + * Copyright (C) 2016 The CyanogenMod Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,52 +15,13 @@ */ #include <stdlib.h> -#include <malloc.h> - -/***********************************************************************************/ -// LIBRIL // -/***********************************************************************************/ // android::Parcel::writeString16(unsigned short const*, unsigned int) -extern "C" int _ZN7android6Parcel13writeString16EPKtj(); -extern "C" int _ZN7android6Parcel13writeString16EPKtj(){ - return _ZN7android6Parcel13writeString16EPKtj(); -} - -/***********************************************************************************/ -// GPSD // -/***********************************************************************************/ - -// android::Singleton<android::SensorManager>::sLock -extern "C" int _ZN7android9SingletonINS_13SensorManagerEE5sLockE = NULL; - -// android::Singleton<android::SensorManager>::sInstance -extern "C" int _ZN7android9SingletonINS_13SensorManagerEE9sInstanceE = NULL; +extern "C" int _ZN7android6Parcel13writeString16EPKDsj(); -// android::SensorManager::SensorManager() -extern "C" int _ZN7android13SensorManagerC1Ev(); -extern "C" int _ZN7android13SensorManagerC1Ev(){ - return _ZN7android13SensorManagerC1Ev(); -} - -// android::SensorManager::createEventQueue() -extern "C" int _ZN7android13SensorManager16createEventQueueEv(); -extern "C" int _ZN7android13SensorManager16createEventQueueEv(){ - return _ZN7android13SensorManager16createEventQueueEv(); -} +extern "C" int _ZN7android6Parcel13writeString16EPKtj(){ -extern "C" { -void *CRYPTO_malloc(int num, const char *file, int line) { - return malloc(num); -} + return _ZN7android6Parcel13writeString16EPKDsj(); } -/***********************************************************************************/ -// AT_DISTRIBUTOR // -/***********************************************************************************/ - -extern "C" int IsSupportBrcmLogicalUart = NULL; -extern "C" int IsSupportSwitchPhysicalUart = NULL; -extern "C" int IsSupportQualcommLogicalUart = NULL; -extern "C" int IsDuosRil = NULL; |