/cts/tools/incremental-cts/testdata/ |
D | perf_dump.txt | 2 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/ |
D | ActivityManagerProcessErrorStateInfoTest.java | 42 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()
|
D | ActivityManager_RunningServiceInfoTest.java | 36 mRunningServiceInfo.pid = 1; in setUp() 63 assertEquals(1, values.pid); in testWriteToParcel() 83 assertEquals(1, values.pid); in testReadFromParcel()
|
D | ActivityManager_RunningAppProcessInfoTest.java | 51 assertEquals(rap.pid, r.pid); in testRunningAppProcessInfo()
|
/cts/tests/tests/externalservice/src/android/externalservice/cts/ |
D | ExternalServiceTest.java | 146 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/ |
D | android_os_cts_OSFeatures.cpp | 63 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/ |
D | CorruptApkTests.java | 62 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/ |
D | android_seccomp_cts_app_SeccompDeviceTest.cpp | 42 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/ |
D | InputBindingTest.java | 45 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/ |
D | poc.c | 85 int pid; in main() local 87 pid = fork(); in main() 88 if(pid){ in main()
|
/cts/hostsidetests/os/src/android/os/cts/ |
D | OsHostTests.java | 115 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()
|
D | ProcfsHostTests.java | 179 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/ |
D | RunningServiceInfo.java | 31 public int pid; field in RunningServiceInfo 44 dest.writeInt(pid); in writeToParcel() 55 info.pid = source.readInt();
|
/cts/tests/aslr/src/ |
D | AslrMallocTest.cpp | 74 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/ |
D | ResourceObserverNativeTest.cpp | 54 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/ |
D | AoapInterface.java | 125 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/ |
D | AoapInterface.java | 130 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/ |
D | JdwpTest.java | 24 int pid = android.os.Process.myPid(); in main() local 25 System.out.println(pid); in main()
|
/cts/hostsidetests/atrace/src/android/atrace/cts/ |
D | PidTidPair.java | 24 public final int pid; field in PidTidPair 29 pid = Integer.parseInt(metrics.get("AtraceDeviceTests_pid")); in PidTidPair()
|
D | TraceResult.java | 31 public int getPid() { return mPidTidPair.pid; } in getPid()
|
/cts/hostsidetests/os/test-apps/ProcfsTestApp/src/android/os/procfs/ |
D | ProcfsTest.java | 30 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/ |
D | poc.c | 97 for (pid_t pid = wait(&status); pid > 0; pid = wait(&status)); in main() local
|
/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/ |
D | JdwpTunnelTest.java | 107 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/ |
D | SignalProcessingImpl.cpp | 71 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/ |
D | TvTestBase.kt | 196 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()
|