| 61 | } |
| 62 | |
| 63 | bool Android::is64BitSupported() |
| 64 | { |
| 65 | static bool once = false; |
| 66 | static bool is64 = false; |
| 67 | if (!once) |
| 68 | { |
| 69 | char value[0xff]{}; |
| 70 | if (__system_property_get("ro.product.cpu.abilist", value) == 0) |
| 71 | __system_property_get("ro.product.cpu.abi", value); |
| 72 | |
| 73 | std::string abi = value; |
| 74 | is64 = abi.find("64") != std::string::npos; |
| 75 | once = true; |
| 76 | } |
| 77 | return is64; |
| 78 | } |
| 79 | |
| 80 | std::string Android::getAppInternalDataDir(const std::string &packageName) |
| 81 | { |
nothing calls this directly
no outgoing calls
no test coverage detected