Home
last modified time | relevance | path

Searched refs:processInfo (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/procfsinspector/
DProcessInfoUnitTest.java67 ProcessInfo processInfo = new ProcessInfo(1, 2); in testEquals() local
68 assertThat(mProcessInfo.equals(processInfo)).isTrue(); in testEquals()
73 ProcessInfo processInfo = new ProcessInfo(3, 2); in testNotEquals() local
74 assertThat(mProcessInfo.equals(processInfo)).isFalse(); in testNotEquals()
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DProviderUtil.java295 for (ActivityManager.RunningAppProcessInfo processInfo : processInfos) { in logRunningTelephonyProviderProcesses()
296 if (Arrays.asList(processInfo.pkgList).contains(TELEPHONY_PROVIDER_PACKAGE) in logRunningTelephonyProviderProcesses()
297 || processInfo.uid == PHONE_UID) { in logRunningTelephonyProviderProcesses()
299 sb.append(processInfo.processName); in logRunningTelephonyProviderProcesses()
301 sb.append(processInfo.pid); in logRunningTelephonyProviderProcesses()
303 sb.append(processInfo.uid); in logRunningTelephonyProviderProcesses()
305 for (String pkg : processInfo.pkgList) { in logRunningTelephonyProviderProcesses()
/packages/services/Car/libs/procfs-inspector/client/src/com/android/car/procfsinspector/
DProcessInfo.java67 ProcessInfo processInfo = (ProcessInfo) other; in equals() local
68 return processInfo.pid == pid && processInfo.uid == uid; in equals()
/packages/apps/Dialer/java/com/android/dialer/simulator/service/
DSimulatorService.java191 for (RunningAppProcessInfo processInfo : activityManager.getRunningAppProcesses()) { in getPackageNameForPid()
192 if (processInfo.pid == pid) { in getPackageNameForPid()
193 return Optional.of(processInfo.processName); in getPackageNameForPid()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/providers/CtsProvider/src/com/android/ctssdkprovider/
DCtsSdkProviderApiImpl.java194 ActivityManager.RunningAppProcessInfo processInfo = in getProcessImportance() local
196 ActivityManager.getMyMemoryState(processInfo); in getProcessImportance()
197 return processInfo.importance; in getProcessImportance()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DIoStatsTrackerTest.java344 void addProcess(ProcessInfo processInfo) { in addProcess() argument
346 mProcesses.add(processInfo); in addProcess()
/packages/services/Car/service/src/com/android/car/occupantconnection/
DCarRemoteDeviceService.java1018 RunningAppProcessInfo processInfo = infos.get(i); in getRunningAppProcessInfoAsUserLocked() local
1019 if (processInfo.processName.equals(packageName)) { in getRunningAppProcessInfoAsUserLocked()
1020 UserHandle processUserHandle = UserHandle.getUserHandleForUid(processInfo.uid); in getRunningAppProcessInfoAsUserLocked()
1022 return processInfo; in getRunningAppProcessInfoAsUserLocked()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/
DSdkSandboxManagerTest.java1043 ActivityManager.RunningAppProcessInfo processInfo = in getAppProcessImportance() local
1045 ActivityManager.getMyMemoryState(processInfo); in getAppProcessImportance()
1046 return processInfo.importance; in getAppProcessImportance()