| Index: runtime/bin/utils_android.cc
|
| diff --git a/runtime/bin/utils_android.cc b/runtime/bin/utils_android.cc
|
| index adb65842c62f67889ba6f029ae8c5736674cb84b..83bfcc77c40573d2c273da1ec84cfe16ff9a848d 100644
|
| --- a/runtime/bin/utils_android.cc
|
| +++ b/runtime/bin/utils_android.cc
|
| @@ -26,7 +26,6 @@ OSError::OSError() : sub_system_(kSystem), code_(0), message_(NULL) {
|
| SetMessage(error_message);
|
| }
|
|
|
| -
|
| void OSError::SetCodeAndMessage(SubSystem sub_system, int code) {
|
| set_sub_system(sub_system);
|
| set_code(code);
|
| @@ -42,7 +41,6 @@ void OSError::SetCodeAndMessage(SubSystem sub_system, int code) {
|
| }
|
| }
|
|
|
| -
|
| const char* StringUtils::ConsoleStringToUtf8(const char* str,
|
| intptr_t len,
|
| intptr_t* result_len) {
|
| @@ -50,7 +48,6 @@ const char* StringUtils::ConsoleStringToUtf8(const char* str,
|
| return NULL;
|
| }
|
|
|
| -
|
| const char* StringUtils::Utf8ToConsoleString(const char* utf8,
|
| intptr_t len,
|
| intptr_t* result_len) {
|
| @@ -58,7 +55,6 @@ const char* StringUtils::Utf8ToConsoleString(const char* utf8,
|
| return NULL;
|
| }
|
|
|
| -
|
| char* StringUtils::ConsoleStringToUtf8(char* str,
|
| intptr_t len,
|
| intptr_t* result_len) {
|
| @@ -66,7 +62,6 @@ char* StringUtils::ConsoleStringToUtf8(char* str,
|
| return NULL;
|
| }
|
|
|
| -
|
| char* StringUtils::Utf8ToConsoleString(char* utf8,
|
| intptr_t len,
|
| intptr_t* result_len) {
|
| @@ -74,25 +69,20 @@ char* StringUtils::Utf8ToConsoleString(char* utf8,
|
| return NULL;
|
| }
|
|
|
| -
|
| char* StringUtils::StrNDup(const char* s, intptr_t n) {
|
| return strndup(s, n);
|
| }
|
|
|
| -
|
| bool ShellUtils::GetUtf8Argv(int argc, char** argv) {
|
| return false;
|
| }
|
|
|
| -
|
| void TimerUtils::InitOnce() {}
|
|
|
| -
|
| int64_t TimerUtils::GetCurrentMonotonicMillis() {
|
| return GetCurrentMonotonicMicros() / 1000;
|
| }
|
|
|
| -
|
| int64_t TimerUtils::GetCurrentMonotonicMicros() {
|
| struct timespec ts;
|
| if (clock_gettime(CLOCK_MONOTONIC, &ts) != 0) {
|
| @@ -106,7 +96,6 @@ int64_t TimerUtils::GetCurrentMonotonicMicros() {
|
| return result;
|
| }
|
|
|
| -
|
| void TimerUtils::Sleep(int64_t millis) {
|
| struct timespec req; // requested.
|
| struct timespec rem; // remainder.
|
|
|