Home
last modified time | relevance | path

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

12

/cts/tools/incremental-cts/testdata/
Dperf_dump.txt2 pid 23365, tid 23365, addr 0x58b817b000, len 0x3228000
5 sample_id: pid 23365, tid 23365
10 pid 23365, tid 23365, addr 0x58b817b000, len 0x3228000
13 sample_id: pid 23365, tid 23365
18 pid 23365, tid 23365, comm simpleperf
19 sample_id: pid 0, tid 0
24 pid 23365, tid 23365, comm deqp-binary64
25 sample_id: pid 23365, tid 23365
30 pid 23365, tid 23365, addr 0x58b817b000, len 0x3228000
33 sample_id: pid 23365, tid 23365
[all …]
/cts/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.java36 mRunningServiceInfo.pid = 1; in setUp()
63 assertEquals(1, values.pid); in testWriteToParcel()
83 assertEquals(1, values.pid); in testReadFromParcel()
DActivityManager_RunningAppProcessInfoTest.java51 assertEquals(rap.pid, r.pid); in testRunningAppProcessInfo()
/cts/tests/tests/externalservice/src/android/externalservice/cts/
DExternalServiceTest.java146 assertFalse(id.uid == 0 || id.pid == 0); in testBindExternalService()
148 assertNotEquals(Process.myPid(), id.pid); in testBindExternalService()
169 assertFalse(creatorId.uid == 0 || creatorId.pid == 0); in testBindExternalServiceWithRunningOwn()
203 assertFalse(creatorServiceId.uid == 0 || creatorId.pid == 0); in testBindExternalServiceWithRunningOwn()
215 assertFalse(serviceId.uid == 0 || serviceId.pid == 0); in testBindExternalServiceWithRunningOwn()
225 assertNotEquals(myPid, creatorId.pid); in testBindExternalServiceWithRunningOwn()
226 assertNotEquals(myPid, creatorServiceId.pid); in testBindExternalServiceWithRunningOwn()
227 assertNotEquals(myPid, serviceId.pid); in testBindExternalServiceWithRunningOwn()
231 assertNotEquals(creatorId.pid, creatorServiceId.pid); in testBindExternalServiceWithRunningOwn()
232 assertNotEquals(creatorId.pid, serviceId.pid); in testBindExternalServiceWithRunningOwn()
[all …]
/cts/tests/tests/os/jni/
Dandroid_os_cts_OSFeatures.cpp63 pid_t pid = fork(); in android_os_cts_OSFeatures_hasSeccompSupport() local
64 if (pid == -1) { in android_os_cts_OSFeatures_hasSeccompSupport()
69 if (pid == 0) { in android_os_cts_OSFeatures_hasSeccompSupport()
76 TEMP_FAILURE_RETRY(waitpid(pid, &status, 0)); in android_os_cts_OSFeatures_hasSeccompSupport()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DCorruptApkTests.java62 SystemServerInformation(long pid, long startTime) { in SystemServerInformation() argument
63 this.mPid = pid; in SystemServerInformation()
82 long pid = 0; in retrieveInfo() local
84 pid = Long.parseLong(pidResult); in retrieveInfo()
91 String pidStats = device.executeShellCommand("cat /proc/" + pid + "/stat"); in retrieveInfo()
92 assertNotNull("Failed to retrieve stat of system_server with pid '" + pid + "'", pidStats); in retrieveInfo()
100 return new SystemServerInformation(pid, startTime); in retrieveInfo()
/cts/hostsidetests/seccomp/app/jni/
Dandroid_seccomp_cts_app_SeccompDeviceTest.cpp42 int pid = fork(); in doTestSyscallBlocked() local
43 if (pid == 0) { in doTestSyscallBlocked()
48 int ret = waitpid(pid, &status, 0); in doTestSyscallBlocked()
49 if (ret != pid) { in doTestSyscallBlocked()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputBindingTest.java45 int pid = 2; in testInputBinding() local
46 InputBinding inputBinding = new InputBinding(bic, binder, uid, pid); in testInputBinding()
51 assertEquals(pid, inputBinding.getPid()); in testInputBinding()
61 assertEquals(pid, target.getPid()); in testInputBinding()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8427/
Dpoc.c85 int pid; in main() local
87 pid = fork(); in main()
88 if(pid){ in main()
/cts/hostsidetests/os/src/android/os/cts/
DOsHostTests.java115 String pid = null; in testForegroundServiceBadNotification() local
124 pid = matcher.group(1); in testForegroundServiceBadNotification()
129 assertTrue("Didn't find test service statement in logcat", pid != null); in testForegroundServiceBadNotification()
131 final String procStr = "/proc/" + pid; in testForegroundServiceBadNotification()
133 assertTrue("Looking for nonexistence of service process " + pid, in testForegroundServiceBadNotification()
DProcfsHostTests.java179 int pid = -1; in startTestApp() local
186 pid = Integer.parseInt(m.group(1)); in startTestApp()
194 pid > 0); in startTestApp()
195 return pid; in startTestApp()
220 private int[] lookForTidsInProcess(int pid) throws Exception { in lookForTidsInProcess() argument
221 String taskPath = "/proc/" + pid + "/task"; in lookForTidsInProcess()
/cts/tests/tests/externalservice/common/src/android/externalservice/common/
DRunningServiceInfo.java31 public int pid; field in RunningServiceInfo
44 dest.writeInt(pid); in writeToParcel()
55 info.pid = source.readInt();
/cts/tests/aslr/src/
DAslrMallocTest.cpp74 auto pid = fork(); in GetAddress() local
75 ASSERT_TRUE(pid != -1); in GetAddress()
77 if (pid == 0) { in GetAddress()
99 ASSERT_TRUE(waitpid(pid, &status, 0) != -1); in GetAddress()
/cts/tests/tests/nativemedia/resourceobserver/src/
DResourceObserverNativeTest.cpp54 int32_t pid; member
62 MediaObservableEvent event, int32_t uid, int32_t pid, in onStatusChanged()
65 << ", pid: " << pid << ", " << toString(observables[0]).c_str(); in onStatusChanged()
70 mLastEvent.pid = pid; in onStatusChanged()
145 EXPECT_EQ(event.pid, getpid()); in verifyEvent()
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DAoapInterface.java125 final int pid = device.getProductId(); in isDeviceInAoapMode() local
127 && (pid == USB_ACCESSORY_PRODUCT_ID in isDeviceInAoapMode()
128 || pid == USB_ACCESSORY_ADB_PRODUCT_ID); in isDeviceInAoapMode()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DAoapInterface.java130 final int pid = device.getProductId(); in isDeviceInAoapMode() local
132 && (pid == USB_ACCESSORY_PRODUCT_ID in isDeviceInAoapMode()
133 || pid == USB_ACCESSORY_ADB_PRODUCT_ID); in isDeviceInAoapMode()
/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/hostsidetests/atrace/src/android/atrace/cts/
DPidTidPair.java24 public final int pid; field in PidTidPair
29 pid = Integer.parseInt(metrics.get("AtraceDeviceTests_pid")); in PidTidPair()
DTraceResult.java31 public int getPid() { return mPidTidPair.pid; } in getPid()
/cts/hostsidetests/os/test-apps/ProcfsTestApp/src/android/os/procfs/
DProcfsTest.java30 int pid = android.os.Process.myPid(); in onCreate() local
31 Log.i(TAG, "PID is " + pid); in onCreate()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-10229/
Dpoc.c97 for (pid_t pid = wait(&status); pid > 0; pid = wait(&status)); in main() local
/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/
DJdwpTunnelTest.java107 private String forwardJdwp(String pid) throws Exception { in forwardJdwp() argument
109 String result = mDevice.executeAdbCommand("forward", "tcp:0", "jdwp:" + pid); in forwardJdwp()
117 result = mDevice.executeAdbCommand("forward", "tcp:" + port, "jdwp:" + pid); in forwardJdwp()
134 String pid = ""; in startupForwarding() local
135 while ((pid = mDevice.executeShellCommand( in startupForwarding()
143 String port = forwardJdwp(pid); in startupForwarding()
/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/tests/systemui/src/android/systemui/cts/tv/
DTvTestBase.kt196 override fun onForegroundActivitiesChanged(pid: Int, uid: Int, foreground: Boolean) {} in onForegroundActivitiesChanged()
198 override fun onForegroundServicesChanged(pid: Int, uid: Int, serviceTypes: Int) {} in onForegroundServicesChanged()
200 override fun onProcessDied(pid: Int, uid: Int) { in onProcessDied()

12