Split out some miscellaneous utility functions

* We also wrap up and cache the fetching of friendly names by serial
  number to avoid some adb traffic.
This commit is contained in:
baldurk committed 2018-01-26 16:30:16 +00:00
1 parent 1be3e8bfac
commit 5527c57e68
9 files changed
+151 -103

No files matched your search

+5
View File
@@ -46,4 +46,9 @@ enum class ToolDir
};
std::string getToolPath(ToolDir subdir, const std::string &toolname, bool checkExist);
bool toolExists(const std::string &path);
std::string GetFriendlyName(std::string deviceID);
bool CheckRootAccess(const std::string &deviceID);
bool SearchForAndroidLibrary(const std::string &deviceID, const std::string &location,
const std::string &layerName, std::string &foundLayer);
};