Home
last modified time | relevance | path

Searched refs:pidString (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/gpu_counter_producer/
Dmain.cpp70 char pidString[10]; in killExistingProcess() local
71 if (read(fd, pidString, 10) > 0) { in killExistingProcess()
73 sscanf(pidString, "%d", &pid); in killExistingProcess()
89 char pidString[10]; in writeToPidFile() local
90 sprintf(pidString, "%d", pid); in writeToPidFile()
91 write(fd, pidString, strlen(pidString)); in writeToPidFile()
/frameworks/base/core/java/com/android/internal/os/
DZygoteConnection.java337 String pidString = String.valueOf(Process.myPid()); in handlePidQuery() local
338 final byte[] pidStringBytes = pidString.getBytes(StandardCharsets.US_ASCII); in handlePidQuery()