/hardware/google/gfxstream/common/detector/ |
D | Subprocess.cpp | 52 int PidfdOpen(pid_t pid) { in PidfdOpen() argument 57 return syscall(SYS_pidfd_open, pid, /*flags=*/0); in PidfdOpen() 60 gfxstream::expected<Ok, std::string> WaitForChild(pid_t pid) { in WaitForChild() argument 62 if (TEMP_FAILURE_RETRY(waitid(P_PID, pid, &info, WEXITED | WNOWAIT)) != 0) { in WaitForChild() 66 if (info.si_pid != pid) { in WaitForChild() 79 pid_t pid, std::chrono::milliseconds timeout) { in WaitForChildWithTimeoutFallback() argument 89 kill(pid, SIGKILL); in WaitForChildWithTimeoutFallback() 93 auto result = WaitForChild(pid); in WaitForChildWithTimeoutFallback() 108 pid_t pid, in WaitForChildWithTimeout() argument 112 kill(pid, SIGKILL); in WaitForChildWithTimeout() [all …]
|
/hardware/google/graphics/common/memtrack-pixel/core/ |
D | GpuSysfsReader.cpp | 16 uint64_t readNode(const std::string node, pid_t pid) { in readNode() argument 18 if (pid) in readNode() 19 ss << kSysfsDevicePath << "/" << kProcessDir << "/" << pid << "/" << node; in readNode() 43 uint64_t GpuSysfsReader::getDmaBufGpuMem(pid_t pid) { return readNode(kDmaBufGpuMemNode, pid); } in getDmaBufGpuMem() argument 45 uint64_t GpuSysfsReader::getGpuMemTotal(pid_t pid) { return readNode(kTotalGpuMemNode, pid); } in getGpuMemTotal() argument 47 uint64_t GpuSysfsReader::getPrivateGpuMem(pid_t pid) { in getPrivateGpuMem() argument 48 auto dma_buf_size = getDmaBufGpuMem(pid); in getPrivateGpuMem() 49 auto gpu_total_size = getGpuMemTotal(pid); in getPrivateGpuMem()
|
D | Memtrack.cpp | 19 ndk::ScopedAStatus Memtrack::getMemory(int pid, MemtrackType type, in getMemory() argument 21 if (pid < 0) in getMemory() 35 if (pid == 0 && type != MemtrackType::GL) in getMemory() 41 size = GpuSysfsReader::getPrivateGpuMem(pid); in getMemory() 47 size = GpuSysfsReader::getDmaBufGpuMem(pid); in getMemory()
|
D | GpuSysfsReader.h | 8 uint64_t getDmaBufGpuMem(pid_t pid = 0); 9 uint64_t getGpuMemTotal(pid_t pid = 0); 10 uint64_t getPrivateGpuMem(pid_t pid = 0);
|
/hardware/google/graphics/common/libmemtrack/ |
D | memtrack_exynos.cpp | 33 pid_t pid, in exynos_memtrack_get_memory() argument 43 return mali_memtrack_get_memory(pid, type, records, num_records); in exynos_memtrack_get_memory() 47 return ion_memtrack_get_memory(pid, type, records, num_records); in exynos_memtrack_get_memory() 50 return dmabuf_memtrack_get_memory(pid, type, records, num_records); in exynos_memtrack_get_memory()
|
D | memtrack_exynos.h | 20 int mali_memtrack_get_memory(pid_t pid, int type, 23 int ion_memtrack_get_memory(pid_t pid, int type, 26 int dmabuf_memtrack_get_memory(pid_t pid, int type,
|
D | ion.cpp | 43 int ion_memtrack_get_memory(pid_t pid, int __unused type, in ion_memtrack_get_memory() argument 61 snprintf(path, sizeof(path), "%s/%d-0", ION_DEBUG_CLIENT_PATH, pid); in ion_memtrack_get_memory() 63 snprintf(path, sizeof(path), "%s/%d", ION_DEBUG_PATH, pid); in ion_memtrack_get_memory()
|
D | mali.cpp | 57 static void scan_directory_for_filenames(pid_t pid) in scan_directory_for_filenames() argument 68 sprintf(pid_string, "%d", pid); in scan_directory_for_filenames() 100 int mali_memtrack_get_memory(pid_t pid, int __unused type, in mali_memtrack_get_memory() argument 122 scan_directory_for_filenames(pid); in mali_memtrack_get_memory()
|
D | dmabuf.cpp | 38 static bool build_dmabuf_footprint(vector<DmabufBuffer> &buffers, pid_t pid) in build_dmabuf_footprint() argument 41 dmabuf_path << DMABUF_FOOTPRINT_PATH << pid; in build_dmabuf_footprint() 90 int dmabuf_memtrack_get_memory(pid_t pid, int type, struct memtrack_record *records, size_t *num_re… in dmabuf_memtrack_get_memory() argument 109 if (!build_dmabuf_footprint(buffers, pid)) in dmabuf_memtrack_get_memory()
|
/hardware/interfaces/memtrack/aidl/vts/ |
D | VtsHalMemtrackTargetTest.cpp | 48 int pid = -1; in TEST_P() local 53 auto status = memtrack_->getMemory(pid, type, &records); in TEST_P() 60 int pid = 1; in TEST_P() local 64 auto status = memtrack_->getMemory(pid, type, &records); in TEST_P() 70 int pid = 1; in TEST_P() local 74 auto status = memtrack_->getMemory(pid, type, &records); in TEST_P()
|
/hardware/interfaces/tv/tuner/1.0/vts/functional/ |
D | DescramblerTests.cpp | 122 AssertionResult DescramblerTests::addPid(DemuxPid pid, sp<IFilter> optionalSourceFilter) { in addPid() argument 129 status = mDescrambler->addPid(pid, optionalSourceFilter); in addPid() 138 AssertionResult DescramblerTests::removePid(DemuxPid pid, sp<IFilter> optionalSourceFilter) { in removePid() argument 145 status = mDescrambler->removePid(pid, optionalSourceFilter); in removePid() 173 DemuxPid& pid) { in getDemuxPidFromFilterSettings() argument 178 pid.tPid(settings.ts().tpid); in getDemuxPidFromFilterSettings() 187 pid.mmtpPid(settings.mmtp().mmtpPid); in getDemuxPidFromFilterSettings()
|
/hardware/qcom/sm7250/display/libmemtrack/ |
D | kgsl.c | 43 int kgsl_memtrack_get_memory(pid_t pid, enum memtrack_type type, in kgsl_memtrack_get_memory() argument 66 "/sys/class/kgsl/kgsl/proc/%d/gpumem_mapped", pid); in kgsl_memtrack_get_memory() 80 "/sys/class/kgsl/kgsl/proc/%d/gpumem_unmapped", pid); in kgsl_memtrack_get_memory() 97 "/sys/class/kgsl/kgsl/proc/%d/imported_mem", pid); in kgsl_memtrack_get_memory()
|
/hardware/qcom/sm8150/display/libmemtrack/ |
D | kgsl.c | 43 int kgsl_memtrack_get_memory(pid_t pid, enum memtrack_type type, in kgsl_memtrack_get_memory() argument 66 "/sys/class/kgsl/kgsl/proc/%d/gpumem_mapped", pid); in kgsl_memtrack_get_memory() 80 "/sys/class/kgsl/kgsl/proc/%d/gpumem_unmapped", pid); in kgsl_memtrack_get_memory() 97 "/sys/class/kgsl/kgsl/proc/%d/imported_mem", pid); in kgsl_memtrack_get_memory()
|
/hardware/google/gfxstream/guest/mesa/include/android_stub/log/ |
D | log_read.h | 42 int32_t pid; /* generating process's pid */ member 112 pid_t pid); 114 pid_t pid); 124 unsigned int tail, pid_t pid);
|
/hardware/google/pixel/perfstatsd/ |
D | cpu_usage.cpp | 90 uint32_t pid = 0; in profileProcess() local 96 if (!base::ParseUint(fields[0], &pid) || in profileProcess() 111 uint64_t diffUser = user - mPrevProcdata[pid].user; in profileProcess() 112 uint64_t diffSystem = system - mPrevProcdata[pid].system; in profileProcess() 113 uint64_t diffUsage = totalUsage - mPrevProcdata[pid].usage; in profileProcess() 119 procUsage[pid] = ldata; in profileProcess() 123 LOG(INFO) << "pid: " << pid << " , ratio: " << usageRatio in profileProcess() 124 << " , prev usage: " << mPrevProcdata[pid].usage in profileProcess() 130 data.pid = pid; in profileProcess() 144 out->append(android::base::StringPrintf(FMT_TOP_PROFILE, data.usageRatio, data.pid, in profileProcess()
|
/hardware/interfaces/tv/tuner/aidl/vts/functional/ |
D | DescramblerTests.cpp | 166 AssertionResult DescramblerTests::addPid(DemuxPid pid, in addPid() argument 174 status = mDescrambler->addPid(pid, optionalSourceFilter); in addPid() 183 AssertionResult DescramblerTests::removePid(DemuxPid pid, in removePid() argument 191 status = mDescrambler->removePid(pid, optionalSourceFilter); in removePid() 219 DemuxPid& pid) { in getDemuxPidFromFilterSettings() argument 226 pid.set<DemuxPid::Tag::tPid>(settings.get<DemuxFilterSettings::Tag::ts>().tpid); in getDemuxPidFromFilterSettings() 237 pid.set<DemuxPid::Tag::mmtpPid>( in getDemuxPidFromFilterSettings()
|
/hardware/qcom/display/msm8084/libcopybit/ |
D | c2dExt.h | 181 C2D_API C2D_STATUS c2dRemoveProgram(uint32 pid); 191 C2D_API C2D_STATUS c2dActivateProgram(uint32 pid); 201 C2D_API C2D_STATUS c2dDeactivateProgram(uint32 pid);
|
/hardware/qcom/display/msm8960/libmemtrack/ |
D | kgsl.c | 43 int kgsl_memtrack_get_memory(pid_t pid, enum memtrack_type type, in kgsl_memtrack_get_memory() argument 62 snprintf(tmp, sizeof(tmp), "/proc/%d/cmdline", pid); in kgsl_memtrack_get_memory() 75 sprintf(tmp, "/d/kgsl/proc/%d/mem", pid); in kgsl_memtrack_get_memory()
|
/hardware/interfaces/tv/tuner/aidl/android/hardware/tv/tuner/ |
D | IDescrambler.aidl | 61 void addPid(in DemuxPid pid, in IFilter optionalSourceFilter); in addPid() argument 72 void removePid(in DemuxPid pid, in IFilter optionalSourceFilter); in removePid() argument
|
/hardware/qcom/display/msm8084/libmemtrack/ |
D | kgsl.c | 43 int kgsl_memtrack_get_memory(pid_t pid, enum memtrack_type type, in kgsl_memtrack_get_memory() argument 64 snprintf(tmp, sizeof(tmp), "/proc/%d/cmdline", pid); in kgsl_memtrack_get_memory() 77 snprintf(tmp, sizeof(tmp), "/d/kgsl/proc/%d/mem", pid); in kgsl_memtrack_get_memory()
|
/hardware/interfaces/memtrack/1.0/default/ |
D | Memtrack.cpp | 39 Return<void> Memtrack::getMemory(int32_t pid, MemtrackType type, in getMemory() argument 51 ret = mModule->getMemory(mModule, pid, static_cast<memtrack_type>(type), in getMemory() 56 ret = mModule->getMemory(mModule, pid, in getMemory()
|
/hardware/qcom/display/msm8994/libmemtrack/ |
D | kgsl.c | 43 int kgsl_memtrack_get_memory(pid_t pid, enum memtrack_type type, in kgsl_memtrack_get_memory() argument 64 snprintf(tmp, sizeof(tmp), "/proc/%d/cmdline", pid); in kgsl_memtrack_get_memory() 77 snprintf(tmp, sizeof(tmp), "/d/kgsl/proc/%d/mem", pid); in kgsl_memtrack_get_memory()
|
/hardware/qcom/display/msm8996/libmemtrack/ |
D | kgsl.c | 43 int kgsl_memtrack_get_memory(pid_t pid, enum memtrack_type type, in kgsl_memtrack_get_memory() argument 62 snprintf(tmp, sizeof(tmp), "/proc/%d/cmdline", pid); in kgsl_memtrack_get_memory() 75 snprintf(tmp, sizeof(tmp), "/d/kgsl/proc/%d/mem", pid); in kgsl_memtrack_get_memory()
|
/hardware/qcom/display/msm8226/libmemtrack/ |
D | kgsl.c | 43 int kgsl_memtrack_get_memory(pid_t pid, enum memtrack_type type, in kgsl_memtrack_get_memory() argument 64 snprintf(tmp, sizeof(tmp), "/proc/%d/cmdline", pid); in kgsl_memtrack_get_memory() 77 snprintf(tmp, sizeof(tmp), "/d/kgsl/proc/%d/mem", pid); in kgsl_memtrack_get_memory()
|
/hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/1/android/hardware/tv/tuner/ |
D | IDescrambler.aidl | 40 …void addPid(in android.hardware.tv.tuner.DemuxPid pid, in android.hardware.tv.tuner.IFilter option… in addPid() argument 41 …void removePid(in android.hardware.tv.tuner.DemuxPid pid, in android.hardware.tv.tuner.IFilter opt… in removePid() argument
|