Rename getIonMappedSizeKb to getDmabufMappedSizeKb

The function is actually calculating the total mapped DMA-BUF memory.

Test: dumpsys meminfo
Bug: 167709539
Change-Id: I5c19dc604cf48c3d7ccbfd2d9a83ddd7b35f20d5
Merged-In: I5c19dc604cf48c3d7ccbfd2d9a83ddd7b35f20d5
This commit is contained in:
Hridya Valsaraju
2021-02-04 15:25:21 -08:00
parent de246e1658
commit 6ae0be89b9
3 changed files with 10 additions and 10 deletions

View File

@@ -2567,13 +2567,13 @@ public final class Debug
public static native long getIonPoolsSizeKb();
/**
* Return ION memory mapped by processes in kB.
* Return DMA-BUF memory mapped by processes in kB.
* Notes:
* * Warning: Might impact performance as it reads /proc/<pid>/maps files for each process.
*
* @hide
*/
public static native long getIonMappedSizeKb();
public static native long getDmabufMappedSizeKb();
/**
* Return memory size in kilobytes used by GPU.