Home
last modified time | relevance | path

Searched refs:getPid (Results 1 – 22 of 22) sorted by relevance

/cts/tests/ProcessTest/src/com/android/cts/process/
DProcessTest.java54 assertEquals(-1, getPid(shareProcessName, list)); in testPid()
62 int sharePid = getPid(shareProcessName, sharelist); in testPid()
70 int shareStubPid = getPid(shareProcessName, shareStublist); in testPid()
80 int noSharePid = getPid(noShareProcessName, noShareStublist); in testPid()
88 private int getPid(String processName, List<RunningAppProcessInfo> list) { in getPid() method in ProcessTest
/cts/tests/tests/net/src/android/net/cts/
DCredentialsTest.java29 assertEquals(0, cred.getPid()); in testCredentials()
35 assertEquals(Integer.MAX_VALUE, cred.getPid()); in testCredentials()
41 assertEquals(Integer.MIN_VALUE, cred.getPid()); in testCredentials()
DLocalSocketTest.java69 assertTrue(0 != credent.getPid()); in testLocalConnections()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTest.java181 assertTrue(result.getPid() > 0); in testBeginEndSection()
195 assertTrue(result.getPid() > 0); in testAsyncBeginEndSection()
198 ProcessModel process = findProcess(result.getModel(), result.getPid()); in testAsyncBeginEndSection()
211 assertTrue(result.getPid() > 0); in testCounter()
214 ProcessModel process = findProcess(result.getModel(), result.getPid()); in testCounter()
248 ThreadModel thread = findThread(result.getModel(), result.getPid()); in testTracingContent()
257 ProcessModel processModel = findProcess(result.getModel(), result.getPid()); in testTracingContent()
DTraceResult.java31 public int getPid() { return mPidTidPair.pid; } in getPid() method in TraceResult
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputBindingTest.java51 assertEquals(pid, inputBinding.getPid()); in testInputBinding()
61 assertEquals(pid, target.getPid()); in testInputBinding()
/cts/tests/app/app/src/android/app/stubs/
DISecondary.aidl21 int getPid(); in getPid() method
DStubRemoteService.java33 public int getPid() {
/cts/tests/tests/os/src/android/os/cts/
DISecondary.aidl21 int getPid(); in getPid() method
DProcessTest.java161 servicePid = mSecondaryService.getPid(); in testKillProcess()
193 servicePid = mSecondaryService.getPid(); in testSendSignal()
DCtsRemoteService.java35 public int getPid() {
DRemoteCallbackListTest.java110 int servicePid = mSecondaryService.getPid(); in testRemoteCallbackList()
DStrictModeTest.java494 assertNoViolation(() -> service.getPid()); in testViolationAcrossBinder()
/cts/hostsidetests/incident/src/com/android/server/cts/
DStackTraceIncidentTest.java28 assertTrue(s.getPid() == 0); in verifyBackTraceProto()
DMemInfoIncidentTest.java88 assertTrue(0 < pm.getPid()); in testProcessMemory()
91 assertTrue(4194304 >= pm.getPid()); in testProcessMemory()
DPowerIncidentTest.java115 assertTrue(0 <= wl.getPid()); in verifyPowerManagerServiceDumpProto()
DActivityManagerIncidentTest.java247 assertTrue(itp.getPid() == 0); in verifyImportanceTokenProto()
/cts/tests/tests/media/src/android/media/cts/
DUtils.java142 && a.getPid() == b.getPid() in compareRemoteUserInfo()
DMediaSession2Test.java395 assertEquals(Process.myPid(), remoteUserInfo.getPid()); in testCallback_onConnect_onDisconnect()
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java490 private static int getPid(String processName, in getPid() method in CameraEvictionTest
513 assertEquals(-1, getPid(cameraActivityName, list)); in startRemoteProcess()
522 mProcessPid = getPid(cameraActivityName, list); in startRemoteProcess()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEventStreamTestUtils.java289 return binding.getPid() == targetProcessPid;
/cts/tests/app/src/android/app/cts/
DServiceTest.java306 public int getPid() { in getPid() method in ServiceTest.IsolatedConnection
1312 if (conn1a.getPid() != conn1b.getPid()) { in testBindIsolatedServiceInstances()
1315 if (conn1a.getPid() == conn2.getPid()) { in testBindIsolatedServiceInstances()