summaryrefslogtreecommitdiffstats
path: root/twrp-functions.hpp
diff options
context:
space:
mode:
authorthat <github@that.at>2014-12-28 01:53:02 +0100
committerDees Troy <dees_troy@teamw.in>2014-12-29 17:11:59 +0100
commitfcdb76dd057918d147cf3b1307a7ee18f65299f5 (patch)
tree5dc88f496a54b3c871d3e5de5efd13fd9b511b14 /twrp-functions.hpp
parentmtp: get rid of string streams, reduces binary size a bit (diff)
downloadandroid_bootable_recovery-fcdb76dd057918d147cf3b1307a7ee18f65299f5.tar
android_bootable_recovery-fcdb76dd057918d147cf3b1307a7ee18f65299f5.tar.gz
android_bootable_recovery-fcdb76dd057918d147cf3b1307a7ee18f65299f5.tar.bz2
android_bootable_recovery-fcdb76dd057918d147cf3b1307a7ee18f65299f5.tar.lz
android_bootable_recovery-fcdb76dd057918d147cf3b1307a7ee18f65299f5.tar.xz
android_bootable_recovery-fcdb76dd057918d147cf3b1307a7ee18f65299f5.tar.zst
android_bootable_recovery-fcdb76dd057918d147cf3b1307a7ee18f65299f5.zip
Diffstat (limited to '')
-rw-r--r--twrp-functions.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/twrp-functions.hpp b/twrp-functions.hpp
index 36cfff5b8..c10a184e6 100644
--- a/twrp-functions.hpp
+++ b/twrp-functions.hpp
@@ -72,8 +72,6 @@ public:
static int read_file(string fn, string& results); //read from file
static int read_file(string fn, uint64_t& results); //read from file
static int write_file(string fn, string& line); //write from file
- static int drop_caches(void); //drop linux cache memory
- static int tw_chmod(const string& fn, const string& mode); // chmod function that converts a 3 or 4 char string into st_mode automatically
static bool Install_SuperSU(void); // Installs su binary and apk and sets proper permissions
static bool Try_Decrypting_Backup(string Restore_Path, string Password); // true for success, false for failed to decrypt
static string System_Property_Get(string Prop_Name); // Returns value of Prop_Name from reading /system/build.prop