Searched refs:sumsLen (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp604 static jlong getFreeMemoryImpl(const char* const sums[], const size_t sumsLen[], size_t num) argument
630 if (strncmp(p, sums[i], sumsLen[i]) == 0) {
631 p += sumsLen[i];
655 static const size_t sumsLen[] = { strlen("MemFree:"), strlen("Cached:"), 0 }; local
656 return getFreeMemoryImpl(sums, sumsLen, 2);
662 static const size_t sumsLen[] = { strlen("MemTotal:"), 0 }; local
663 return getFreeMemoryImpl(sums, sumsLen, 1);

Completed in 9 milliseconds