Pass by reference instead of pointer

When the parameters are assumed to be non-null, they should be passed by
reference instead of by pointer.


Bug: 239182977
Test: atest inputflinger_tests
Change-Id: Ifd21a87020f2e9056b3a233ddd33d3f3440b94ee
2 files changed