/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerProcessErrorStateInfoTest.java | 41 String processName = "processName"; in testWriteToParcel() local 49 mErrorStateInfo.processName = processName; in testWriteToParcel() 63 assertEquals(processName, values.processName); in testWriteToParcel() 75 String processName = "processName"; in testReadFromParcel() local 83 mErrorStateInfo.processName = processName; in testReadFromParcel() 97 assertEquals(processName, values.processName); in testReadFromParcel()
|
D | ActivityManager_RunningAppProcessInfoTest.java | 52 assertEquals(rap.processName, r.processName); in testRunningAppProcessInfo()
|
D | ActivityManagerTest.java | 566 if (ra.processName.equals(SYSTEM_PROCESS)) { 572 } else if (ra.processName.equals(TEST_PROCESS)) { 582 if (ra.processName.equals("android.app.stubs:remote")) { 597 if (ra.processName.equals("android.app.stubs:remote")) { 747 int condition, int uid, String processName) throws Exception { in verifyProcessErrorStateInfo() argument 750 assertEquals(processName, info.processName); in verifyProcessErrorStateInfo() 1091 runningApp -> testProcess.equals(runningApp.processName); in testForceStopPackageWontRestartProcess() 1719 if (predicate.test(info.processName)) { in killBackgroundProcesses() 2449 private RunningAppProcessInfo getRunningAppProcessInfo(String processName) { 2453 (ra) -> processName.equals(ra.processName)).findFirst().orElse(null); [all …]
|
/cts/tests/app/ShortFgsTest/src/android/app/cts/shortfgstest/ |
D | DumpProtoUtils.java | 91 public static boolean processExists(String processName) { in processExists() argument 95 if (pop.proc == null || !processName.equals(pop.proc.processName)) { in processExists() 107 public static ProcStateInfo getProcessProcState(String processName) { in getProcessProcState() argument 111 if (pop.proc == null || !processName.equals(pop.proc.processName)) { in getProcessProcState() 121 Assert.fail("Process " + processName + " not found"); in getProcessProcState()
|
/cts/tests/app/FgsTimeoutTest/src/android/app/cts/fgstimeouttest/ |
D | DumpProtoUtils.java | 81 public static boolean processExists(String processName) { in processExists() argument 85 if (pop.proc == null || !processName.equals(pop.proc.processName)) { in processExists() 128 public static ProcStateInfo getProcessProcState(String processName) { in getProcessProcState() argument 132 if (pop.proc == null || !processName.equals(pop.proc.processName)) { in getProcessProcState() 141 Assert.fail("Process " + processName + " not found"); in getProcessProcState()
|
/cts/tests/process/src/android/os/cts/process/common/ |
D | Message.java | 41 processName = Process.myProcessName(); in fillInBasicInfo() 63 public String processName; field in Message 97 "processName = " + processName + ", " + in toString() 118 if (processName != null) flg |= 0x10; in writeToParcel() 124 if (processName != null) dest.writeString(processName); in writeToParcel() 161 this.processName = _processName; in Message()
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | CVE_2023_21145.java | 68 final String processName = "android.security.cts.CVE_2023_21145:pipActivity"; in waitAndGetPid() local 75 Optional<Integer> pid = ProcessUtil.pidOf(device, processName); in waitAndGetPid()
|
/cts/tests/process/src/android/os/cts/process/ |
D | ProcessTest2.java | 109 assertThat(m.processName).isEqualTo(expectedProcessName); in checkStartTime() 169 assertThat(m.processName).isEqualTo(HELPER_SHARED_PROCESS_NAME); in testStartTime_sharedProcess() 186 assertThat(m2.processName).isEqualTo(HELPER_SHARED_PROCESS_NAME); in testStartTime_sharedProcess() 215 assertThat(m.processName).isEqualTo(expectedProcessName); in checkApplicationClass() 224 assertThat(m.processName).isEqualTo(expectedProcessName); in checkApplicationClass()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | AttributionSourceTest.java | 121 if (processInfo.processName.equals( in tearDown() 137 if (processInfo.processName.equals( in tearDown()
|
D | RunningAppProcessInfoTest.java | 57 .map((processInfo) -> processInfo.processName) in testRunningAppProcessInfo()
|
/cts/tests/camera/src/android/hardware/multiprocess/camera/cts/ |
D | CameraEvictionTest.java | 620 private void testAPI1ActivityEviction (java.lang.Class<?> activityKlass, String processName) in testAPI1ActivityEviction() argument 647 startRemoteProcess(activityKlass, processName); in testAPI1ActivityEviction() 753 private static int getPid(String processName, in getPid() argument 756 if (processName.equals(rai.processName)) in getPid() 769 public void startRemoteProcess(java.lang.Class<?> klass, String processName) in startRemoteProcess() argument 771 startRemoteProcess(klass, processName, false /*splitScreen*/); in startRemoteProcess() 782 public void startRemoteProcess(java.lang.Class<?> klass, String processName, in startRemoteProcess() argument 786 String cameraActivityName = a.getPackageName() + ":" + processName; in startRemoteProcess()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/ |
D | AnrTests.java | 161 private void assertEventLogsContainsAnr(String processName) { in assertEventLogsContainsAnr() argument 167 if (name.equals(processName)) { in assertEventLogsContainsAnr() 171 fail("Could not find anr kill event for " + processName); in assertEventLogsContainsAnr()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | AmProfileTests.java | 139 private static void startProfiling(String processName, boolean sampling, boolean streaming) { in startProfiling() argument 142 builder.append(String.format(" %s %s", processName, OUTPUT_FILE_PATH)); in startProfiling()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21088/src/android/security/cts/CVE_2023_21088/ |
D | PocActivity.java | 85 && appProcess.processName.equals(packageName)) { in isAppOnForeground()
|
/cts/tests/app/AppExitTest/src/android/app/cts/ |
D | ActivityManagerAppExitInfoTest.java | 236 String processName = b.getString(EXTRA_PROCESS_NAME); in handleMessagePid() local 238 if (STUB_PROCESS_NAME.equals(processName)) { in handleMessagePid() 246 } else if (STUB_REMOTE_PROCESS_NAME.equals(processName)) { in handleMessagePid() 254 } else if (HEARTBEAT_PROCESS.equals(processName)) { in handleMessagePid() 263 mStubPackageIsolatedProcessName = processName; in handleMessagePid() 266 assertNotNull(processName); in handleMessagePid() 270 Log.d(TAG, "Counting down latch on message " + msg + " for process " + processName); in handleMessagePid() 1088 if (info.processName.equals(STUB_REMOTE_PROCESS_NAME)) { in testDependencyDied() 1540 private void verify(ApplicationExitInfo info, int pid, int uid, String processName, in verify() argument 1542 verify(info, pid, uid, processName, reason, status, description, before, after, null); in verify() [all …]
|
/cts/tests/leanbackjank/src/android/leanbackjank/cts/ |
D | CtsDeviceLeanback.java | 100 @GfxMonitor(processName = APP_PACKAGE)
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40111/src/android/security/cts/CVE_2023_40111/ |
D | PocActivity.java | 122 && appProcess.processName.equals(getPackageName())) { in isAppOnForeground()
|
/cts/tests/app/AppStartTest/src/android/app/cts/ |
D | ActivityManagerAppStartInfoTest.java | 485 String packageName, String processName, Intent intent, in verify() argument 493 if (processName != null) { in verify() 494 assertTrue(processName.equals(info.getProcessName())); in verify()
|
/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/ |
D | AppBindingHostTest.java | 308 private void assertOomAdjustment(String packageName, String processName, int oomAdj) in assertOomAdjustment() argument 311 "\\sProcessRecord\\{.*\\:" + Pattern.quote(processName) + "\\/", false, in assertOomAdjustment() 349 fail("Unable to fild the oom: line for process " + processName); in assertOomAdjustment()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageInfoTest.java | 147 assertEquals(expected.processName, actual.processName); in checkAppInfo()
|
D | ApplicationInfoTest.java | 114 assertEquals(applicationInfo.processName, info.processName); in testWriteToParcel() 207 assertEquals(SYNC_ACCOUNT_ACCESS_STUB_PACKAGE_NAME, applicationInfo.processName); in verifyDefaultValues()
|
D | ComponentInfoTest.java | 278 assertEquals(mComponentInfo.processName, ci.processName); in testWriteToParcel()
|
/cts/tests/tests/security/testdata/src/android/security/cts/packageinstallertestapp/ |
D | BackgroundReceiver.java | 93 .filter(app -> app.processName.equals(packageName)) in isAppInBackground()
|
/cts/tests/tests/systemui/src/android/systemui/cts/tv/ |
D | TvTestBase.kt | 202 processName: String in onProcessStarted()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | OfflineSessionTest.java | 856 if (cameraActivityName.equals(rai.processName)) { in startRemoteOfflineTestProcess() 873 if (cameraActivityName.equals(rai.processName)) in startRemoteOfflineTestProcess() 895 if (cameraActivityName.equals(rai.processName)) in stopRemoteOfflineTestProcess()
|