1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- #ifndef BASE_IOS_DEVICE_UTIL_H_
- #define BASE_IOS_DEVICE_UTIL_H_
- #include <stdint.h>
- #include <string>
- namespace ios {
- namespace device_util {
- std::string GetPlatform();
- bool RamIsAtLeast512Mb();
- bool RamIsAtLeast1024Mb();
- bool RamIsAtLeast(uint64_t ram_in_mb);
- bool IsSingleCoreDevice();
- std::string GetMacAddress(const std::string& interface_name);
- std::string GetRandomId();
- std::string GetDeviceIdentifier(const char* salt);
- std::string GetSaltedString(const std::string& in_string,
- const std::string& salt);
- }
- }
- #endif
|