Home
last modified time | relevance | path

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

123

/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Server/
DNetlinkServer.cpp127 uint32_t pid = nlh->nlmsg_pid; in handleMessage() local
129 uint64_t hash = hashConnection(pid, seq); in handleMessage()
137 connection = new NetlinkConnection(this, serverSock, pid, seq); in handleMessage()
236 pid_t pid; in cleanupConnections() local
242 pid = connection->peerPid & 0xFFFF; in cleanupConnections()
245 if (pid == 0) { in cleanupConnections()
248 if (kill(pid, 0)) { in cleanupConnections()
251 __FUNCTION__, pid, connection->peerPid); in cleanupConnections()
/hardware/intel/common/libva/va/drm/
Dva_drm_auth.c53 int i, auth, pid, uid; in va_drm_is_authenticated() local
59 if (drmGetClient(fd, i, &auth, &pid, &uid, &magic, &iocs) != 0) in va_drm_is_authenticated()
61 is_authenticated = auth && (pid == client_pid || is_local_tid(pid)); in va_drm_is_authenticated()
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
DNetlinkConnection.cpp48 pid_t pid, in hashConnection() argument
52 return (((uint64_t)seq) << 32) | (uint64_t)pid; in hashConnection()
80 uint32_t pid, in NetlinkConnection() argument
93 peerPid = pid; in NetlinkConnection()
95 hash = hashConnection(pid, seq); in NetlinkConnection()
DNetlinkConnection.h68 uint64_t hashConnection(pid_t pid, uint32_t seq);
139 uint32_t pid,
/hardware/qcom/display/msm8084/libcopybit/
Dc2dExt.h181 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/msm8084/libmemtrack/
Dkgsl.c43 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()
Dmemtrack_msm.c31 pid_t pid, in msm_memtrack_get_memory() argument
39 return kgsl_memtrack_get_memory(pid, type, records, num_records); in msm_memtrack_get_memory()
/hardware/qcom/display/msm8974/libmemtrack/
Dkgsl.c43 int kgsl_memtrack_get_memory(pid_t pid, enum memtrack_type type, in kgsl_memtrack_get_memory() argument
63 snprintf(tmp, sizeof(tmp), "/proc/%d/cmdline", pid); in kgsl_memtrack_get_memory()
76 sprintf(tmp, "/d/kgsl/proc/%d/mem", pid); in kgsl_memtrack_get_memory()
Dmemtrack_msm.c29 pid_t pid, in msm_memtrack_get_memory() argument
35 return kgsl_memtrack_get_memory(pid, type, records, num_records); in msm_memtrack_get_memory()
/hardware/qcom/display/msm8960/libmemtrack/
Dkgsl.c43 int kgsl_memtrack_get_memory(pid_t pid, enum memtrack_type type, in kgsl_memtrack_get_memory() argument
63 snprintf(tmp, sizeof(tmp), "/proc/%d/cmdline", pid); in kgsl_memtrack_get_memory()
76 sprintf(tmp, "/d/kgsl/proc/%d/mem", pid); in kgsl_memtrack_get_memory()
Dmemtrack_msm.c29 pid_t pid, in msm_memtrack_get_memory() argument
35 return kgsl_memtrack_get_memory(pid, type, records, num_records); in msm_memtrack_get_memory()
/hardware/qcom/display/msm8226/libmemtrack/
Dkgsl.c43 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()
Dmemtrack_msm.c31 pid_t pid, in msm_memtrack_get_memory() argument
39 return kgsl_memtrack_get_memory(pid, type, records, num_records); in msm_memtrack_get_memory()
/hardware/intel/common/libmix/videoencoder/
DIntelMetadataBuffer.cpp257 pid_t pid = data.readInt32(); in onTransact() local
265 if (pid == getpid()) //in same process, should not use binder in onTransact()
288 if (pid == getpid()) //in same process, should not use binder in onTransact()
301 if (pid == getpid()) //in same process, should not use binder in onTransact()
466 pid_t pid = getpid(); in GetValue() local
468 data.writeInt32(pid); in GetValue()
699 pid_t pid = getpid(); in ShareValue() local
701 data.writeInt32(pid); in ShareValue()
751 pid_t pid = getpid(); in ShareValue() local
753 data.writeInt32(pid); in ShareValue()
[all …]
/hardware/ti/omap4-aah/
Dmapinfo.c12 data = ptrace(PTRACE_PEEKTEXT, pid, (void*)p, NULL);
49 mapinfo *init_mapinfo(int pid) in init_mapinfo() argument
53 sprintf(data, "/proc/%d/maps", pid); in init_mapinfo()
/hardware/ti/omap4xxx/
Dmapinfo.c12 data = ptrace(PTRACE_PEEKTEXT, pid, (void*)p, NULL);
49 mapinfo *init_mapinfo(int pid) in init_mapinfo() argument
53 sprintf(data, "/proc/%d/maps", pid); in init_mapinfo()
/hardware/samsung_slsi/exynos5/libmemtrack/
Dmemtrack_exynos5.c29 pid_t pid, in exynos5_memtrack_get_memory() argument
35 return mali_memtrack_get_memory(pid, type, records, num_records); in exynos5_memtrack_get_memory()
Dmali.c42 int mali_memtrack_get_memory(pid_t pid, int type, in mali_memtrack_get_memory() argument
84 if (ret == 3 && line_pid == pid) { in mali_memtrack_get_memory()
/hardware/intel/img/libdrm/tests/
Ddristat.c121 int pid; in getclients() local
132 for (i = 0; !drmGetClient(fd, i, &auth, &pid, &uid, &magic, &iocs); i++) { in getclients()
133 sprintf(buf, "/proc/%d/cmdline", pid); in getclients()
144 auth ? 'y' : 'n', pid, uid, magic, iocs, cmd); in getclients()
147 auth ? 'y' : 'n', pid, uid, magic, iocs); in getclients()
/hardware/qcom/display/msm8226/libqservice/
DIQService.cpp73 static void getProcName(int pid, char *buf, int size);
121 static void getProcName(int pid, char *buf, int size) { in getProcName() argument
123 snprintf(buf, size, "/proc/%d/cmdline", pid); in getProcName()
/hardware/qcom/display/msm8960/libqservice/
DIQService.cpp80 static void getProcName(int pid, char *buf, int size);
150 static void getProcName(int pid, char *buf, int size) { in getProcName() argument
152 snprintf(buf, size, "/proc/%d/cmdline", pid); in getProcName()
/hardware/qcom/display/msm8974/libqservice/
DIQService.cpp80 static void getProcName(int pid, char *buf, int size);
150 static void getProcName(int pid, char *buf, int size) { in getProcName() argument
152 snprintf(buf, size, "/proc/%d/cmdline", pid); in getProcName()
/hardware/libhardware/modules/gralloc/
Dgralloc_priv.h79 int pid; member
90 base(0), pid(getpid()) in private_handle_t()
/hardware/qcom/display/msm8084/libqservice/
DIQService.cpp82 static void getProcName(int pid, char *buf, int size);
142 static void getProcName(int pid, char *buf, int size) { in getProcName() argument
144 snprintf(buf, size, "/proc/%d/cmdline", pid); in getProcName()
/hardware/ti/omap4-aah/domx/domx/omx_rpc/src/
Domx_rpc_utils.c176 OMX_S32 pid = 0; in RPC_UTIL_GenerateLocalServerName() local
179 pid = getpid(); in RPC_UTIL_GenerateLocalServerName()
183 sprintf(cServerName, "%ld", pid); in RPC_UTIL_GenerateLocalServerName()

123