Home
last modified time | relevance | path

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

12

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputBindingTest.java60 assertEquals(ANY_PID, inputBinding.getPid()); in testInputBinding()
70 assertEquals(ANY_PID, target.getPid()); in testInputBinding()
84 assertEquals(ANY_PID, binding.getPid()); in testInputBindingConstructor()
97 assertEquals(ANY_PID, copy.getPid()); in testInputBindingCopyConstructor()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTest.java182 assertTrue(result.getPid() > 0); in testBeginEndSection()
197 assertTrue(result.getPid() > 0); in testAsyncBeginEndSection()
200 ProcessModel process = findProcess(result.getModel(), result.getPid()); in testAsyncBeginEndSection()
213 assertTrue(result.getPid() > 0); in testCounter()
216 ProcessModel process = findProcess(result.getModel(), result.getPid()); in testCounter()
250 ThreadModel thread = findThread(result.getModel(), result.getPid()); in testTracingContent()
267 ProcessModel processModel = findProcess(result.getModel(), result.getPid()); in testTracingContent()
DTraceResult.java31 public int getPid() { return mPidTidPair.pid; } in getPid() method in TraceResult
/cts/tests/tests/security/src/android/security/cts/
DCVE_2023_21143.java59 final int initialPidOfSystemUI = getPid(systemuiPidCommand); in testPocCVE_2023_21143()
99 if (poll(() -> getPid(systemuiPidCommand) != initialPidOfSystemUI)) { in testPocCVE_2023_21143()
121 private int getPid(String commandToFindPid) { in getPid() method in CVE_2023_21143
/cts/tests/tests/os/src/android/os/cts/
DISecondary.aidl21 int getPid(); in getPid() method
DCtsRemoteService.java35 public int getPid() {
DProcessTest.java218 servicePid = mSecondaryService.getPid(); in testKillProcess()
252 servicePid = mSecondaryService.getPid(); in testSendSignal()
DRemoteCallbackListTest.java112 int servicePid = mSecondaryService.getPid(); in testRemoteCallbackList()
/cts/tests/app/app/src/android/app/stubs/
DISecondary.aidl21 int getPid(); in getPid() method
DStubRemoteService.java38 public int getPid() {
/cts/tests/app/BroadcastsTest/src/android/app/cts/broadcasts/
DBroadcastFreezerTest.java83 testPid = cmdReceiver.getPid(); in testBroadcastOptions_appFreezingDelayed()
125 RemoteException.class, () -> cmdReceiver.getPid()); in testBroadcastOptions_appFreezingDelayed()
141 testPid = cmdReceiver.getPid(); in testBroadcastDelivery_syncTxnWhileFrozen()
152 assertThrows(RemoteException.class, () -> cmdReceiver.getPid()); in testBroadcastDelivery_syncTxnWhileFrozen()
DBroadcastDeferralTest.java72 testPid = cmdReceiver2.getPid(); in testFgBroadcastDeliveryToFrozenApp_withDeferUntilActive()
136 testPid = cmdReceiver2.getPid(); in testFgBroadcastDeliveryToFrozenApp()
/cts/tests/app/BroadcastsTest/common/src/com/android/app/cts/broadcasts/
DICommandReceiver.aidl32 int getPid(); in getPid() method
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/
DAttributionSourceActivity.kt78 attributionSource!!.getPid() + ", current process PID " + in readAttributionSource()
/cts/tests/tests/media/common/src/android/media/cts/
DUtils.java142 && a.getPid() == b.getPid() in compareRemoteUserInfo()
/cts/libs/input/src/com/android/cts/input/
DUinputDevice.java73 super(instrumentation, cmd.getId(), cmd.getVid(), cmd.getPid(), sources, cmd); in UinputDevice()
/cts/tests/app/BroadcastsTest/helper-app/src/com/android/app/cts/broadcasts/helper/
DTestService.java117 public int getPid() { in getPid() method in TestService.CommandReceiver
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/
DCameraEvictionTest.java753 private static int getPid(String processName, in getPid() method in CameraEvictionTest
790 -1, getPid(cameraActivityName, list)); in startRemoteProcess()
826 mProcessPid = getPid(cameraActivityName, list); in startRemoteProcess()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/memory/
DProcessMemoryStatsTests.java170 assertThat(snapshot.getPid()).isGreaterThan(0); in testProcessMemorySnapshot()
/cts/tests/app/src/android/app/cts/
DServiceTest.java349 public int getPid() { in getPid() method in ServiceTest.IsolatedConnection
1598 if (conn1a.getPid() != conn1b.getPid()) { in testBindIsolatedServiceInstances()
1601 if (conn1a.getPid() == conn2.getPid()) { in testBindIsolatedServiceInstances()
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/
DImeEventStreamTestUtils.java354 return binding.getPid() == targetProcessPid;
/cts/tests/app/AppStartTest/src/android/app/cts/
DActivityManagerAppStartInfoTest.java474 assertEquals(pid, info.getPid()); in verifyIds()
/cts/tests/app/AppExitTest/src/android/app/cts/
DActivityManagerAppExitInfoTest.java713 assertTrue(trace.indexOf(Integer.toString(info.getPid())) >= 0); in testAnr()
987 assertEquals(tombstone.getPid(), mStubPackagePid); in testNativeCrash()
1549 assertEquals(pid, info.getPid()); in verify()
/cts/tests/net/src/android/net/cts/
DLocalSocketTest.java91 assertTrue(0 != credent.getPid()); in testLocalConnections()
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/
DMediaSession2Test.java380 assertThat(remoteUserInfo.getPid()).isEqualTo(Process.myPid()); in testCallback_onConnect_onDisconnect()

12