Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/app/src/android/app/cts/
DActivityManagerProcessErrorStateInfoTest.java42 int pid = 2; in testWriteToParcel() local
50 mErrorStateInfo.pid = pid; in testWriteToParcel()
64 assertEquals(pid, values.pid); in testWriteToParcel()
76 int pid = 2; in testReadFromParcel() local
84 mErrorStateInfo.pid = pid; in testReadFromParcel()
98 assertEquals(pid, values.pid); in testReadFromParcel()
DActivityManager_RunningServiceInfoTest.java35 mRunningServiceInfo.pid = 1; in setUp()
62 assertEquals(1, values.pid); in testWriteToParcel()
82 assertEquals(1, values.pid); in testReadFromParcel()
DActivityManager_RunningAppProcessInfoTest.java51 assertEquals(rap.pid, r.pid); in testRunningAppProcessInfo()
/cts/tests/src/android/net/cts/
DNetlinkSocket.java29 private static native int sendmsg(FileDescriptor fd, int pid, byte[] bytes); in sendmsg() argument
46 public int sendmsg(int pid, byte[] bytes) throws IOException { in sendmsg() argument
47 int retval = sendmsg(fd, pid, bytes); in sendmsg()
49 throw new IOException("Unable to send message to PID=" + pid); in sendmsg()
/cts/tests/tests/security/src/android/security/cts/
DVoldExploitTest.java61 int pid = findVold(); in testZergRushCrash() local
77 "PID=" + pid + " crashed due to a malformed mount message." in testZergRushCrash()
79 new File("/proc/" + pid + "/cmdline").exists()); in testZergRushCrash()
129 private static void doAttack(NetlinkSocket ns, int pid, String path) in doAttack() argument
132 ns.sendmsg(pid, getDiskAddedMessage(path)); in doAttack()
136 ns.sendmsg(pid, getPartitionAddedMessage(path, i)); in doAttack()
248 int pid = Integer.decode(i.get(2)); in getPids() local
249 if (new File("/proc/" + pid + "/cmdline").exists()) { in getPids()
250 retval.add(pid); in getPids()
/cts/tests/tests/view/src/android/view/inputmethod/cts/
DInputBindingTest.java34 int pid = 2; in testInputBinding() local
35 InputBinding inputBinding = new InputBinding(bic, binder, uid, pid); in testInputBinding()
40 assertEquals(pid, inputBinding.getPid()); in testInputBinding()
50 assertEquals(pid, target.getPid()); in testInputBinding()
/cts/tests/jni/
Dandroid_net_cts_NetlinkSocket.cpp43 jobject fileDescriptor, jint pid, jbyteArray packet) in android_net_cts_NetlinkSocket_sendmsg() argument
53 snl.nl_pid = pid; in android_net_cts_NetlinkSocket_sendmsg()
/cts/suite/audio_quality/lib/src/
DSignalProcessingImpl.cpp71 pid_t pid; in init() local
72 if ((pid = fork()) < 0) { in init()
75 } else if (pid == 0) { // child in init()
83 mChildPid = pid; in init()
/cts/tests/ProcessTest/src/com/android/cts/process/
DProcessTest.java91 return rai.pid; in getPid()
/cts/tools/dex-tools/dex/
Dclasses.out.dex5783 public int pid
5919 public int pid
42920 private final int pid