/packages/apps/Settings/src/com/android/settings/development/ |
MemoryUsagePreferenceController.java | 62 final ProcStatsData.MemInfo memInfo = mProcStatsData.getMemInfo(); 64 (long) memInfo.realUsedRam); 66 (long) memInfo.realTotalRam);
|
/frameworks/base/core/java/android/os/ |
PerformanceCollector.java | 492 Debug.MemoryInfo memInfo = new Debug.MemoryInfo(); 493 Debug.getMemoryInfo(memInfo); 519 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_PSS, memInfo.nativePss); 520 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_PRIVATE_DIRTY, memInfo.nativePrivateDirty); 521 mPerfSnapshot.putLong(METRIC_KEY_NATIVE_SHARED_DIRTY, memInfo.nativeSharedDirty); 526 mPerfSnapshot.putLong(METRIC_KEY_JAVA_PSS, memInfo.dalvikPss); 527 mPerfSnapshot.putLong(METRIC_KEY_JAVA_PRIVATE_DIRTY, memInfo.dalvikPrivateDirty); 528 mPerfSnapshot.putLong(METRIC_KEY_JAVA_SHARED_DIRTY, memInfo.dalvikSharedDirty); 530 mPerfSnapshot.putLong(METRIC_KEY_OTHER_PSS, memInfo.otherPss); 531 mPerfSnapshot.putLong(METRIC_KEY_OTHER_PRIVATE_DIRTY, memInfo.otherPrivateDirty) [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
ProcessStatsBase.java | 30 import com.android.settings.applications.ProcStatsData.MemInfo; 133 public static void launchMemoryDetail(SettingsActivity activity, MemInfo memInfo, 137 args.putDouble(ProcessStatsDetail.EXTRA_WEIGHT_TO_RAM, memInfo.weightToRam); 138 args.putLong(ProcessStatsDetail.EXTRA_TOTAL_TIME, memInfo.memTotalTime); 140 memInfo.usedWeight * memInfo.weightToRam); 141 args.putDouble(ProcessStatsDetail.EXTRA_TOTAL_SCALE, memInfo.totalScale);
|
ProcessStatsUi.java | 34 import com.android.settings.applications.ProcStatsData.MemInfo; 114 MemInfo memInfo = mStatsManager.getMemInfo(); 115 launchMemoryDetail((SettingsActivity) getActivity(), memInfo, pgp.getEntry(), true); 158 MemInfo memInfo = mStatsManager.getMemInfo(); 175 double maxMemory = mShowMax ? memInfo.realTotalRam 176 : memInfo.usedWeight * memInfo.weightToRam; 181 pref.init(pkg, mPm, maxMemory, memInfo.weightToRam [all...] |
ProcessStatsSummary.java | 30 import com.android.settings.applications.ProcStatsData.MemInfo; 70 MemInfo memInfo = mStatsManager.getMemInfo(); 72 double usedRam = memInfo.realUsedRam; 73 double totalRam = memInfo.realTotalRam; 74 double freeRam = memInfo.realFreeRam; 145 MemInfo memInfo = statsManager.getMemInfo(); 147 (long) memInfo.realUsedRam); 149 (long) memInfo.realTotalRam) [all...] |
ProcStatsData.java | 72 private MemInfo mMemInfo; 117 public MemInfo getMemInfo() { 156 mMemInfo = new MemInfo(mContext, totalMem, memTotalTime); 362 public static class MemInfo { 380 private MemInfo(Context context, ProcessStats.TotalMemoryUseCollection totalMem, 406 ActivityManager.MemoryInfo memInfo = new ActivityManager.MemoryInfo(); 408 memInfo); 409 if (memInfo.hiddenAppThreshold >= realFreeRam) { 414 realUsedRam += memInfo.hiddenAppThreshold; 415 realFreeRam -= memInfo.hiddenAppThreshold [all...] |
RunningProcessesView.java | 468 ActivityManager.MemoryInfo memInfo = new ActivityManager.MemoryInfo(); 469 mAm.getMemoryInfo(memInfo); 470 SECONDARY_SERVER_MEM = memInfo.secondaryServerThreshold;
|
/frameworks/base/core/java/android/app/ |
ActivityThread.java | [all...] |
/device/google/marlin/camera/QCamera2/HAL/ |
QCameraMem.h | 125 static int allocOneBuffer(struct QCameraMemInfo &memInfo, 127 static void deallocOneBuffer(struct QCameraMemInfo &memInfo); 145 int allocateBuffer(struct QCameraMemory::QCameraMemInfo &memInfo, 148 void releaseBuffer(struct QCameraMemory::QCameraMemInfo &memInfo, 154 int findBufferLocked(struct QCameraMemory::QCameraMemInfo &memInfo,
|
QCameraMem.cpp | 451 * @memInfo : [output] reference to struct to store additional memory allocation info 460 int QCameraMemory::allocOneBuffer(QCameraMemInfo &memInfo, 506 memInfo.main_ion_fd = main_ion_fd; 507 memInfo.fd = ion_info_fd.fd; 508 memInfo.handle = ion_info_fd.handle; 509 memInfo.size = alloc.len; 510 memInfo.cached = cached; 511 memInfo.heap_id = heap_id; 514 (unsigned long)memInfo.handle, alloc.len); 533 * @memInfo : reference to struct that stores additional memory allocation inf [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
EnvironmentGetter.java | 80 Multimap<String, String> memInfo = propertiesFromLinuxFile("/proc/meminfo"); 81 // TODO redo memInfo.toString() so we don't get square brackets 82 propertyMap.put("host.memory.physical", memInfo.get("MemTotal").toString()); 83 propertyMap.put("host.memory.swap", memInfo.get("SwapTotal").toString());
|
/device/google/marlin/camera/QCamera2/HAL3/ |
QCamera3Mem.h | 125 int allocOneBuffer(struct QCamera3MemInfo &memInfo, 127 void deallocOneBuffer(struct QCamera3MemInfo &memInfo);
|
QCamera3Mem.cpp | 295 * @memInfo : [output] reference to struct to store additional memory allocation info 303 int QCamera3HeapMemory::allocOneBuffer(QCamera3MemInfo &memInfo, 338 memInfo.fd = ion_info_fd.fd; 339 memInfo.handle = ion_info_fd.handle; 340 memInfo.size = allocData.len; 358 * @memInfo : reference to struct that stores additional memory allocation info 362 void QCamera3HeapMemory::deallocOneBuffer(QCamera3MemInfo &memInfo) 366 if (memInfo.fd >= 0) { 367 close(memInfo.fd); 368 memInfo.fd = -1 [all...] |
/hardware/qcom/camera/msm8998/QCamera2/HAL3/ |
QCamera3Mem.h | 125 int allocOneBuffer(struct QCamera3MemInfo &memInfo, 127 void deallocOneBuffer(struct QCamera3MemInfo &memInfo);
|
QCamera3Mem.cpp | 297 * @memInfo : [output] reference to struct to store additional memory allocation info 305 int QCamera3HeapMemory::allocOneBuffer(QCamera3MemInfo &memInfo, 342 memInfo.fd = ion_info_fd.fd; 343 memInfo.handle = ion_info_fd.handle; 344 memInfo.size = allocData.len; 362 * @memInfo : reference to struct that stores additional memory allocation info 366 void QCamera3HeapMemory::deallocOneBuffer(QCamera3MemInfo &memInfo) 370 if (memInfo.fd >= 0) { 371 close(memInfo.fd); 372 memInfo.fd = -1 [all...] |
/tools/loganalysis/src/com/android/loganalysis/item/ |
BugreportItem.java | 104 public void setMemInfo(MemInfoItem memInfo) { 105 setAttribute(MEM_INFO, memInfo);
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
QCameraMem.cpp | 453 * @memInfo : [output] reference to struct to store additional memory allocation info 463 int QCameraMemory::allocOneBuffer(QCameraMemInfo &memInfo, 509 memInfo.main_ion_fd = main_ion_fd; 510 memInfo.fd = ion_info_fd.fd; 511 memInfo.handle = ion_info_fd.handle; 512 memInfo.size = alloc.len; 513 memInfo.cached = cached; 514 memInfo.heap_id = heap_id; 517 (unsigned long)memInfo.handle, alloc.len); 536 * @memInfo : reference to struct that stores additional memory allocation inf [all...] |
QCameraMem.h | 149 static int allocOneBuffer(struct QCameraMemInfo &memInfo, 151 static void deallocOneBuffer(struct QCameraMemInfo &memInfo); 169 int allocateBuffer(struct QCameraMemory::QCameraMemInfo &memInfo, 172 void releaseBuffer(struct QCameraMemory::QCameraMemInfo &memInfo, 178 int findBufferLocked(struct QCameraMemory::QCameraMemInfo &memInfo,
|
/external/libmojo/base/android/java/src/org/chromium/base/ |
PerfTraceEvent.java | 274 MemoryInfo memInfo = null; 276 memInfo = new MemoryInfo(); 277 Debug.getMemoryInfo(memInfo); 279 savePerfString(name, id, type, timestampUs, memInfo);
|
/packages/apps/Settings/src/com/android/settings/ |
SettingsDumpService.java | 90 ProcStatsData.MemInfo memInfo = statsManager.getMemInfo(); 92 obj.put("used", String.valueOf(memInfo.realUsedRam)); 93 obj.put("free", String.valueOf(memInfo.realFreeRam)); 94 obj.put("total", String.valueOf(memInfo.realTotalRam));
|
/prebuilts/tools/common/m2/repository/com/facebook/device/yearclass/yearclass/1.0.1/ |
yearclass-1.0.1.jar | |
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/ |
SurfaceCompositionMeasuringActivity.java | 508 MemoryInfo memInfo = new MemoryInfo(); 509 activityManager.getMemoryInfo(memInfo); 510 return memInfo; 521 MemoryInfo memInfo = getMemoryInfo(); 524 getReadableMemory(memInfo.availMem) + " from " + 525 getReadableMemory(memInfo.totalMem) + ".\nVisible " +
|
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/ |
HermeticMemoryTest.java | 47 private static final String PROC_MEMINFO = "cat /proc/meminfo"; 48 private static final String MEM_AVAILABLE = "cat /proc/meminfo| grep MemAvailable:"; 49 private static final String CACHED_PROCESSES = "dumpsys meminfo|awk '/Total PSS by category:" 52 private static final String DUMPSYS_PROCESS = "dumpsys meminfo %s |grep 'TOTAL'"; 53 private static final String DUMPSYS_MEMINFO = "dumpsys meminfo -a "; 70 description = "The delay, between the app launch and the meminfo dump", 102 CLog.e("Not able to collect the /proc/meminfo before launching app"); 131 CLog.e("Not able to collect the proc/meminfo after launching app"); 141 CLog.e("Not able to collect the Dumpsys meminfo after launching app"); 227 private void parseProcInfo(String memInfo) { [all...] |
/external/fio/os/windows/ |
posix.c | 626 MEMORY_BASIC_INFORMATION memInfo; 633 if (VirtualQuery(mapAddr, &memInfo, sizeof(memInfo)) == 0) { 638 mapAddr = VirtualAlloc(mapAddr, memInfo.RegionSize, MEM_COMMIT, PAGE_READWRITE);
|
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityManagerService.java | [all...] |