Searched refs:processInfo (Results 1 – 8 of 8) sorted by relevance
67 ProcessInfo processInfo = new ProcessInfo(1, 2); in testEquals() local68 assertThat(mProcessInfo.equals(processInfo)).isTrue(); in testEquals()73 ProcessInfo processInfo = new ProcessInfo(3, 2); in testNotEquals() local74 assertThat(mProcessInfo.equals(processInfo)).isFalse(); in testNotEquals()
295 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()
67 ProcessInfo processInfo = (ProcessInfo) other; in equals() local68 return processInfo.pid == pid && processInfo.uid == uid; in equals()
191 for (RunningAppProcessInfo processInfo : activityManager.getRunningAppProcesses()) { in getPackageNameForPid()192 if (processInfo.pid == pid) { in getPackageNameForPid()193 return Optional.of(processInfo.processName); in getPackageNameForPid()
194 ActivityManager.RunningAppProcessInfo processInfo = in getProcessImportance() local196 ActivityManager.getMyMemoryState(processInfo); in getProcessImportance()197 return processInfo.importance; in getProcessImportance()
344 void addProcess(ProcessInfo processInfo) { in addProcess() argument346 mProcesses.add(processInfo); in addProcess()
1018 RunningAppProcessInfo processInfo = infos.get(i); in getRunningAppProcessInfoAsUserLocked() local1019 if (processInfo.processName.equals(packageName)) { in getRunningAppProcessInfoAsUserLocked()1020 UserHandle processUserHandle = UserHandle.getUserHandleForUid(processInfo.uid); in getRunningAppProcessInfoAsUserLocked()1022 return processInfo; in getRunningAppProcessInfoAsUserLocked()
1043 ActivityManager.RunningAppProcessInfo processInfo = in getAppProcessImportance() local1045 ActivityManager.getMyMemoryState(processInfo); in getAppProcessImportance()1046 return processInfo.importance; in getAppProcessImportance()