/device/generic/goldfish/wifi/createns/ |
D | createns.cpp | 98 static bool writeNamespacePid(const char* name, pid_t pid) { in writeNamespacePid() argument 122 static_cast<int64_t>(pid)); in writeNamespacePid() 160 pid_t pid = ::fork(); in daemonize() local 161 if (pid != 0) { in daemonize() 163 return pid; in daemonize() 170 pid = ::fork(); in daemonize() 171 if (pid != 0) { in daemonize() 174 return pid; in daemonize() 201 pid = ::getpid(); in daemonize() 202 if (::write(fd, &pid, sizeof(pid)) != sizeof(pid)) { in daemonize() [all …]
|
/device/generic/goldfish-opengl/tests/ut_rendercontrol_enc/ |
D | ut_rendercontrol.in | 1 GL_ENTRY(int, createContext, uint32_t pid, uint32_t handle, uint32_t shareCtx, int version) 2 GL_ENTRY(int, createSurface, uint32_t pid, uint32_t handle) 3 GL_ENTRY(int, makeCurrentContext, uint32_t pid, uint32_t drawSurface, uint32_t readSurface, uint32_… 4 GL_ENTRY(void, swapBuffers, uint32_t pid, uint32_t surface) 5 GL_ENTRY(int, destroyContext, uint32_t pid, uint32_t handle) 6 GL_ENTRY(int, destroySurface, uint32_t pid, uint32_t handle)
|
/device/google/cuttlefish/common/libs/utils/ |
D | subprocess.cpp | 110 auto pid = pid_; // Wait will set pid_ to -1 after waiting in Wait() local 121 LOG(ERROR) << "Subprocess " << pid in Wait() 125 LOG(ERROR) << "Subprocess " << pid in Wait() 145 auto pid = subprocess->pid(); in KillSubprocess() local 146 if (pid > 0) { in KillSubprocess() 147 auto pgid = getpgid(pid); in KillSubprocess() 151 << pid << ": " << strerror(error); in KillSubprocess() 155 bool is_group_head = pid == pgid; in KillSubprocess() 157 return killpg(pid, SIGKILL) == 0; in KillSubprocess() 159 return kill(pid, SIGKILL) == 0; in KillSubprocess() [all …]
|
D | subprocess.h | 46 Subprocess(pid_t pid, SharedFD control, SubprocessStopper stopper = KillSubprocess) 47 : pid_(pid), in pid_() argument 48 started_(pid > 0), in pid_() 66 pid_t pid() const { return pid_; } in pid() function
|
D | tee_logging.cpp | 116 static std::string StderrOutputGenerator(const struct tm& now, int pid, uint64_t tid, in StderrOutputGenerator() argument 129 severity_char, timestamp, pid, tid, file, line); in StderrOutputGenerator() 132 timestamp, pid, tid); in StderrOutputGenerator()
|
/device/generic/goldfish/network/netmgr/ |
D | fork.cpp | 28 pid_t pid = ::fork(); in forkAndExec() local 29 if (pid < 0) { in forkAndExec() 33 } else if (pid == 0) { in forkAndExec() 49 ::waitpid(pid, &status, 0); in forkAndExec()
|
/device/google/cuttlefish/tools/ |
D | vlan_prototype_down.sh | 15 if [ -f /var/run/cuttlefish-dnsmasq-"${bridge}".pid ]; then 16 kill $(cat /var/run/cuttlefish-dnsmasq-"${bridge}".pid)
|
D | vlan_prototype_up.sh | 30 --pid-file=/var/run/cuttlefish-dnsmasq-"${bridge}".pid \
|
/device/linaro/hikey/gralloc/ |
D | gralloc_priv.h | 184 int pid; member 232 pid(getpid()), in private_handle_t() 265 pid(getpid()), in private_handle_t() 299 pid(getpid()), in private_handle_t()
|
D | gralloc_module.cpp | 97 hnd->pid = getpid(); in gralloc_register_buffer() 257 else if (hnd->pid == getpid()) // never unmap buffers that were not registered in this process in gralloc_unregister_buffer() 275 …r buffer %p from process %d that was not created in current process: %d", hnd, hnd->pid, getpid()); in gralloc_unregister_buffer()
|
/device/generic/opengl-transport/host/libs/virglrenderer/ |
D | Context.h | 78 if (pid != pid_ && tid != tid_) { in setPidTid() 82 pid = pid_; in setPidTid() 117 int pid = 0; member
|
/device/google/cuttlefish/host/commands/stop_cvd/ |
D | main.cc | 112 int64_t pid; in GetCandidateProcessGroups() local 114 while(fscanf(cmd_out.get(), "%" PRId64, &pid) != EOF) { in GetCandidateProcessGroups() 115 pid_t pgid = getpgid(static_cast<pid_t>(pid)); in GetCandidateProcessGroups() 117 LOG(ERROR) << "Unable to get process group of " << pid << ": " in GetCandidateProcessGroups()
|
/device/generic/goldfish/wifi/execns/ |
D | execns.cpp | 130 std::string pid = readNamespacePid(ns); in setNetworkNamespace() local 131 if (pid.empty()) { in setNetworkNamespace() 135 snprintf(nsPath, sizeof(nsPath), "/proc/%s/ns/net", pid.c_str()); in setNetworkNamespace()
|
/device/google/crosshatch/sdm845/kernel-headers/linux/ |
D | sockev.h | 32 __u32 pid; member
|
/device/google/crosshatch/sdm845/original-kernel-headers/linux/ |
D | sockev.h | 22 __u32 pid; /* (struct task_struct*)->pid */ member
|
/device/google/bonito-sepolicy/vendor/google/ |
D | perfstatsd.te | 11 #read /proc/<pid>/stat
|
/device/google/fuchsia/bioniccompat/include/sys/ |
D | capability.h | 27 int pid; member
|
/device/linaro/dragonboard/sepolicy/ |
D | hal_memtrack.te | 1 # Memtrack reads proc/<pid>/cmdline to check if process is surfaceflinger.
|
/device/google/crosshatch-sepolicy/vendor/qcom/common/ |
D | domain.te | 1 # In order for /sys/kernel/debug/kgsl/proc/<pid>/mem
|
/device/google/bonito-sepolicy/vendor/qcom/common/ |
D | domain.te | 1 # In order for /sys/kernel/debug/kgsl/proc/<pid>/mem
|
/device/google/wahoo/sepolicy/vendor/ |
D | domain.te | 1 # In order for /sys/kernel/debug/kgsl/proc/<pid>/mem
|
/device/linaro/hikey/sepolicy/ |
D | hal_memtrack.te | 8 # Memtrack reads proc/<pid>/cmdline to check if process is surfaceflinger.
|
/device/linaro/poplar/wifi/ |
D | wifi.rc | 23 writepid /data/vendor/misc/wifi/wpa_supplicant.pid
|
/device/generic/goldfish/wifi/ |
D | init.wifi.sh | 55 PID=$(</data/vendor/var/run/netns/${NAMESPACE}.pid)
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | VirtioGpuStream.cpp | 60 int pid; in processPipeInit() member 64 .id.pid = getpid(), in processPipeInit()
|