Use /proc/self instead of calling Os.getPid().

Change-Id: I181a490bea05bf62d1a854a4882a0969de280439
Test: test-only change
1 file changed