diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-06-11 23:13:33 +0200 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2017-06-23 13:17:28 +0200 |
commit | fb536a46b0c0971b9c5f81eadc3574f9c569aadd (patch) | |
tree | a4c4065a1092931b18681ea54a212e48e2c13476 /rilsrc/libsecnativefeature/SecNativeFeatureCIf.cpp | |
parent | cbb420bca1818b222913c784292f39f4a91b1ee8 (diff) | |
download | device_samsung_espresso3g-fb536a46b0c0971b9c5f81eadc3574f9c569aadd.zip device_samsung_espresso3g-fb536a46b0c0971b9c5f81eadc3574f9c569aadd.tar.gz device_samsung_espresso3g-fb536a46b0c0971b9c5f81eadc3574f9c569aadd.tar.bz2 |
remove code and SELinux rules for the proprietary RIL
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
Diffstat (limited to 'rilsrc/libsecnativefeature/SecNativeFeatureCIf.cpp')
-rw-r--r-- | rilsrc/libsecnativefeature/SecNativeFeatureCIf.cpp | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/rilsrc/libsecnativefeature/SecNativeFeatureCIf.cpp b/rilsrc/libsecnativefeature/SecNativeFeatureCIf.cpp deleted file mode 100644 index ad905df..0000000 --- a/rilsrc/libsecnativefeature/SecNativeFeatureCIf.cpp +++ /dev/null @@ -1,85 +0,0 @@ -#include <string> -#include <iostream> -#include "SecNativeFeatureCppIf.h" -#include "SecNativeFeatureCIf.h" -#include <expat.h> -#include <stdlib.h> - - -int -SecNativeFeature_getEnableStatus(const char* tag) -{ - SecNativeFeature* instance = SecNativeFeature::getInstance(); - - if (instance) - { - return instance->getEnableStatus(tag); - } - - return 0; -} - -int -SecNativeFeature_getEnableStatusWithDefault(const char* tag, int defaultValue) -{ - SecNativeFeature* instance = SecNativeFeature::getInstance(); - - if (instance) - { - return instance->getEnableStatus(tag, defaultValue); - } - - return defaultValue; -} - -int -SecNativeFeature_getInteger(const char* tag) -{ - SecNativeFeature* instance = SecNativeFeature::getInstance(); - - if (instance) - { - return instance->getInteger(tag); - } - - return -1; -} - -int -SecNativeFeature_getIntegerWithDefault(const char* tag, int defaultValue) -{ - SecNativeFeature* instance = SecNativeFeature::getInstance(); - - if (instance) - { - return instance->getInteger(tag, defaultValue); - } - - return defaultValue; -} - -const char* -SecNativeFeature_getString(const char* tag) -{ - SecNativeFeature* instance = SecNativeFeature::getInstance(); - - if (instance) - { - return instance->getString(tag); - } - - return NULL; -} - -const char* -SecNativeFeature_getStringWithDefault(const char* tag, char* defaultValue) -{ - SecNativeFeature* instance = SecNativeFeature::getInstance(); - - if (instance) - { - return instance->getString(tag, defaultValue); - } - - return defaultValue; -} |