Home
last modified time | relevance | path

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

/cts/tests/tests/security/src/android/security/cts/
DClonedSecureRandomTest.java129 int pid; in testCheckForDuplicateOutput() local
147 pid = mSecureRandomService.getRandomBytesAndPid(output); in testCheckForDuplicateOutput()
174 myPid == pid); in testCheckForDuplicateOutput()
177 if (previousPid == pid) { in testCheckForDuplicateOutput()
188 previousPid = pid; in testCheckForDuplicateOutput()
191 previousPid = pid; in testCheckForDuplicateOutput()
194 if (seenPids.get(pid)) { in testCheckForDuplicateOutput()
195 assertFalse("SecureRandom should not output the same value twice (pid=" + pid in testCheckForDuplicateOutput()
197 + Arrays.toString(outputs[pid]) + ")", in testCheckForDuplicateOutput()
198 Arrays.equals(output, outputs[pid])); in testCheckForDuplicateOutput()
[all …]
/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/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/tests/os/jni/
Dandroid_os_cts_OSFeatures.cpp68 pid_t pid = fork(); in android_os_cts_OSFeatures_hasSeccompSupport() local
69 if (pid == -1) { in android_os_cts_OSFeatures_hasSeccompSupport()
74 if (pid == 0) { in android_os_cts_OSFeatures_hasSeccompSupport()
81 TEMP_FAILURE_RETRY(waitpid(pid, &status, 0)); in android_os_cts_OSFeatures_hasSeccompSupport()
/cts/hostsidetests/jdwpsecurity/app/src/com/android/cts/jdwpsecurity/
DJdwpTest.java24 int pid = android.os.Process.myPid(); in main() local
25 System.out.println(pid); in main()
/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/hostsidetests/security/src/android/cts/security/
DSELinuxHostTest.java685 public int pid; field in SELinuxHostTest.ProcessDetails
693 ProcessDetails(String label, String user, int pid, int ppid, String procTitle) { in ProcessDetails() argument
696 this.pid = pid; in ProcessDetails()
705 + " pid: " + pid in toString()
726 int pid = Integer.parseInt(m.group(3)); in createProcMap() local
729 ProcessDetails proc = new ProcessDetails(domainLabel, user, pid, ppid, procTitle); in createProcMap()
735 kernelParentThreadpid = pid; in createProcMap()
761 return (pid == kernelParentThreadpid || ppid == kernelParentThreadpid); in isKernel()
/cts/tests/tests/os/jni/seccomp-tests/tests/
Dresumption.c181 pid_t pid; in TEST_F() local
199 pid = getpid(); in TEST_F()
208 ASSERT_EQ(pid, ret); in TEST_F()
Dseccomp_bpf_tests.c406 pid_t pid = getpid(); in TEST_SIGNAL() local
413 EXPECT_EQ(pid, syscall(__NR_getpid)); in TEST_SIGNAL()
436 pid_t pid = getpid(); in TEST_SIGNAL() local
443 EXPECT_EQ(pid, syscall(__NR_getpid)); in TEST_SIGNAL()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTest.java45 void onTraceEntry(String threadName, int pid, int tid, String eventType, String args); in onTraceEntry() argument
250 public void onTraceEntry(String truncatedThreadName, int pid, int tid, in testTracingContent()
/cts/tests/ProcessTest/src/com/android/cts/process/
DProcessTest.java91 return rai.pid; in getPid()
/cts/tests/tests/hardware/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java393 return rai.pid; in getPid()