summaryrefslogtreecommitdiff
path: root/core/jni/AndroidRuntime.cpp
diff options
context:
space:
mode:
authorKalesh Singh <kaleshsingh@google.com>2021-03-05 21:12:43 -0500
committerKalesh Singh <kaleshsingh@google.com>2021-03-08 21:36:06 +0000
commit66d2190ed6bdc6533f48ba4256b200555b9b3031 (patch)
tree697164690107e4cf74f06313aab98cd2088c4689 /core/jni/AndroidRuntime.cpp
parent055977a3c956458b1b44d27d6e14e7466bf744c0 (diff)
getDmabufMappedSizeKb: Use ReadDmaBufMapRefs()
To allow clients more flexibility AppendDmaBufInfo() is being removed. It allowed reading both mapped and FD-referenced dmabufs, or just mapped dmabufs if read_fdrefs was specified as false. Internally the function called ReadDmaBufMapRefs() and ReadDmaBufFdRefs(). This change replaces AppendDmaBufInfo(read_fdrefs=false) with a call to the underlying ReadDmaBufMapRefs() api which is now made public. Bug: 181976677 Test: dmabufinfo_test Change-Id: I9c05f0be9fc4d9cd40cdb146f3f6ca4860f7cd0f
Diffstat (limited to 'core/jni/AndroidRuntime.cpp')
0 files changed, 0 insertions, 0 deletions