Home
last modified time | relevance | path

Searched refs:ProcessInfo (Results 1 – 23 of 23) sorted by relevance

/packages/services/Car/libs/procfs-inspector/client/src/com/android/car/procfsinspector/
DProcessInfo.java28 public class ProcessInfo implements Parcelable { class
29 public static final Parcelable.Creator<ProcessInfo> CREATOR =
30 new Parcelable.Creator<ProcessInfo>() {
31 public ProcessInfo createFromParcel(Parcel in) {
32 return new ProcessInfo(in);
35 public ProcessInfo[] newArray(int size) {
36 return new ProcessInfo[size];
43 public ProcessInfo(int pid, int uid) { in ProcessInfo() method in ProcessInfo
48 public ProcessInfo(Parcel in) { in ProcessInfo() method in ProcessInfo
66 if (other instanceof ProcessInfo) { in equals()
[all …]
DIProcfsInspector.aidl19 import com.android.car.procfsinspector.ProcessInfo;
23 List<ProcessInfo> readProcessTable(); in readProcessTable()
DProcessInfo.aidl20 parcelable ProcessInfo;
DProcfsInspector.java46 public static List<ProcessInfo> readProcessTable() { in readProcessTable()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/procfsinspector/
DProcessInfoUnitTest.java40 private ProcessInfo mProcessInfo;
44 mProcessInfo = new ProcessInfo(1, 2); in setUp()
67 ProcessInfo processInfo = new ProcessInfo(1, 2); in testEquals()
73 ProcessInfo processInfo = new ProcessInfo(3, 2); in testNotEquals()
/packages/modules/adb/libs/adbconnection/
Dcommon.cpp38 adb::proto::ProcessEntry ProcessInfo::toProtobuf() const { in toProtobuf()
54 std::optional<ProcessInfo> ProcessInfo::parseProtobufString(const std::string& proto) { in parseProtobufString()
60 ProcessInfo process_info; in parseProtobufString()
Dadbconnection_server.cpp36 std::optional<ProcessInfo> readProcessInfoFromSocket(int socket) { in readProcessInfoFromSocket()
71 return ProcessInfo::parseProtobufString(proto); in readProcessInfoFromSocket()
75 void adbconnection_listen(void (*callback)(int fd, ProcessInfo process)) { in adbconnection_listen()
Dtests.cc35 ProcessInfo info = {};
49 void server_callback(int fd, ProcessInfo process) { in server_callback()
Dadbconnection_client.cpp45 ProcessInfo process GUARDED_BY(mutex);
/packages/services/Car/libs/procfs-inspector/server/
Dimpl.cpp36 std::vector<procfsinspector::ProcessInfo> procfsinspector::Impl::readProcessTable() { in readProcessTable()
37 std::vector<procfsinspector::ProcessInfo> processes; in readProcessTable()
43 processes.push_back(ProcessInfo{pid, entry.getOwnerUserId()}); in readProcessTable()
Dprocess.cpp21 status_t procfsinspector::ProcessInfo::writeToParcel(Parcel* parcel) const { in writeToParcel()
27 status_t procfsinspector::ProcessInfo::readFromParcel(const Parcel* parcel) { in readFromParcel()
Dprocess.h27 class ProcessInfo : public Parcelable {
33 explicit ProcessInfo(pid_t pid = -1, uid_t uid = -1) : mPid(pid), mUid(uid) {} in mPid()
Dserver.h49 virtual std::vector<ProcessInfo> readProcessTable() = 0;
59 std::vector<ProcessInfo> readProcessTable() override;
Dserver.cpp43 std::vector<ProcessInfo> readProcessTable() override { in readProcessTable()
47 std::vector<ProcessInfo> result; in readProcessTable()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DIoStatsTracker.java23 import com.android.car.procfsinspector.ProcessInfo;
75 final Lazy<List<ProcessInfo>> processTable = new Lazy<List<ProcessInfo>>() { in update()
77 protected List<ProcessInfo> supply() { in update()
/packages/modules/adb/libs/adbconnection/include/adbconnection/
Dserver.h29 void adbconnection_listen(void (*callback)(int fd, ProcessInfo process));
31 std::optional<ProcessInfo> readProcessInfoFromSocket(int socket);
Dcommon.h28 struct ProcessInfo { struct
40 static std::optional<ProcessInfo> parseProtobufString(const std::string& proto); argument
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DIoStatsTrackerTest.java25 import com.android.car.procfsinspector.ProcessInfo;
289 systemState.addProcess(new ProcessInfo(1, mUid)); in updateSystemState()
303 private final List<ProcessInfo> mProcesses = new ArrayList<>();
338 public List<ProcessInfo> getRunningProcesses() { in getRunningProcesses()
344 void addProcess(ProcessInfo processInfo) { in addProcess()
/packages/services/Car/service/src/com/android/car/systeminterface/
DSystemStateInterface.java31 import com.android.car.procfsinspector.ProcessInfo;
115 default List<ProcessInfo> getRunningProcesses() { in getRunningProcesses()
DSystemInterface.java24 import com.android.car.procfsinspector.ProcessInfo;
121 public List<ProcessInfo> getRunningProcesses() { in getRunningProcesses()
/packages/modules/adb/daemon/
Djdwp_service.cpp149 JdwpProcess(unique_fd socket, ProcessInfo process) { in JdwpProcess()
182 ProcessInfo process;
513 adbconnection_listen([](int fd, ProcessInfo process) { in init_jdwp()
/packages/services/Car/tools/cpu_perf/
Dperfetto_cpu_analysis.py93 class ProcessInfo(CPUExecutionInfo): class
264 info = ProcessInfo(p.name)
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarStorageMonitoringTest.java47 import com.android.car.procfsinspector.ProcessInfo;
899 private final List<ProcessInfo> mProcesses = new ArrayList<>();
922 public List<ProcessInfo> getRunningProcesses() {
936 mProcesses.add(new ProcessInfo(pid, uid));