Home
last modified time | relevance | path

Searched refs:sAmountOfPhysicalMemoryKB (Results 1 – 1 of 1) sorted by relevance

/external/libchrome/base/android/java/src/org/chromium/base/
DSysUtils.java36 private static Integer sAmountOfPhysicalMemoryKB; field in SysUtils
119 if (sAmountOfPhysicalMemoryKB == null) { in amountOfPhysicalMemoryKB()
120 sAmountOfPhysicalMemoryKB = detectAmountOfPhysicalMemoryKB(); in amountOfPhysicalMemoryKB()
122 return sAmountOfPhysicalMemoryKB.intValue(); in amountOfPhysicalMemoryKB()
144 sAmountOfPhysicalMemoryKB = null; in resetForTesting()
167 sAmountOfPhysicalMemoryKB = detectAmountOfPhysicalMemoryKB(); in detectLowEndDevice()
169 if (sAmountOfPhysicalMemoryKB <= 0) { in detectLowEndDevice()
172 isLowEnd = sAmountOfPhysicalMemoryKB / 1024 <= ANDROID_O_LOW_MEMORY_DEVICE_THRESHOLD_MB; in detectLowEndDevice()
174 isLowEnd = sAmountOfPhysicalMemoryKB / 1024 <= ANDROID_LOW_MEMORY_DEVICE_THRESHOLD_MB; in detectLowEndDevice()