Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 25 of 46) sorted by relevance

12

/device/generic/goldfish/wifi/createns/
Dcreatens.cpp98 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/
Dut_rendercontrol.in1 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/
Dsubprocess.cpp110 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 …]
Dsubprocess.h46 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
Dtee_logging.cpp116 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/
Dfork.cpp28 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/
Dvlan_prototype_down.sh15 if [ -f /var/run/cuttlefish-dnsmasq-"${bridge}".pid ]; then
16 kill $(cat /var/run/cuttlefish-dnsmasq-"${bridge}".pid)
Dvlan_prototype_up.sh30 --pid-file=/var/run/cuttlefish-dnsmasq-"${bridge}".pid \
/device/linaro/hikey/gralloc/
Dgralloc_priv.h184 int pid; member
232 pid(getpid()), in private_handle_t()
265 pid(getpid()), in private_handle_t()
299 pid(getpid()), in private_handle_t()
Dgralloc_module.cpp97 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/
DContext.h78 if (pid != pid_ && tid != tid_) { in setPidTid()
82 pid = pid_; in setPidTid()
117 int pid = 0; member
/device/google/cuttlefish/host/commands/stop_cvd/
Dmain.cc112 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/
Dexecns.cpp130 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/
Dsockev.h32 __u32 pid; member
/device/google/crosshatch/sdm845/original-kernel-headers/linux/
Dsockev.h22 __u32 pid; /* (struct task_struct*)->pid */ member
/device/google/bonito-sepolicy/vendor/google/
Dperfstatsd.te11 #read /proc/<pid>/stat
/device/google/fuchsia/bioniccompat/include/sys/
Dcapability.h27 int pid; member
/device/linaro/dragonboard/sepolicy/
Dhal_memtrack.te1 # Memtrack reads proc/<pid>/cmdline to check if process is surfaceflinger.
/device/google/crosshatch-sepolicy/vendor/qcom/common/
Ddomain.te1 # In order for /sys/kernel/debug/kgsl/proc/<pid>/mem
/device/google/bonito-sepolicy/vendor/qcom/common/
Ddomain.te1 # In order for /sys/kernel/debug/kgsl/proc/<pid>/mem
/device/google/wahoo/sepolicy/vendor/
Ddomain.te1 # In order for /sys/kernel/debug/kgsl/proc/<pid>/mem
/device/linaro/hikey/sepolicy/
Dhal_memtrack.te8 # Memtrack reads proc/<pid>/cmdline to check if process is surfaceflinger.
/device/linaro/poplar/wifi/
Dwifi.rc23 writepid /data/vendor/misc/wifi/wpa_supplicant.pid
/device/generic/goldfish/wifi/
Dinit.wifi.sh55 PID=$(</data/vendor/var/run/netns/${NAMESPACE}.pid)
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DVirtioGpuStream.cpp60 int pid; in processPipeInit() member
64 .id.pid = getpid(), in processPipeInit()

12