Home
last modified time | relevance | path

Searched refs:getpid (Results 1 – 25 of 31) sorted by relevance

12

/device/linaro/hikey/gralloc960/
Dmali_gralloc_reference.cpp50 if (hnd->allocating_pid == getpid() || hnd->remote_pid == getpid()) in mali_gralloc_reference_retain()
58 hnd->remote_pid = getpid(); in mali_gralloc_reference_retain()
101 if (hnd->allocating_pid == getpid()) in mali_gralloc_reference_release()
121 …else if (hnd->remote_pid == getpid()) // never unmap buffers that were not imported into this proc… in mali_gralloc_reference_release()
153 hnd->remote_pid, getpid()); in mali_gralloc_reference_release()
Dmali_gralloc_buffer.h181 , allocating_pid(getpid()) in private_handle_t()
216 , allocating_pid(getpid()) in private_handle_t()
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_reference.cpp50 if (hnd->allocating_pid == getpid() || hnd->remote_pid == getpid()) in mali_gralloc_reference_retain()
58 hnd->remote_pid = getpid(); in mali_gralloc_reference_retain()
101 if (hnd->allocating_pid == getpid()) in mali_gralloc_reference_release()
121 …else if (hnd->remote_pid == getpid()) // never unmap buffers that were not imported into this proc… in mali_gralloc_reference_release()
153 hnd->remote_pid, getpid()); in mali_gralloc_reference_release()
Dmali_gralloc_buffer.h202 , allocating_pid(getpid()) in private_handle_t()
239 , allocating_pid(getpid()) in private_handle_t()
/device/generic/goldfish-opengl/tests/gles_android_wrapper/
Degl.cpp329 server->utEnc()->createSurface(server->utEnc(), getpid(), (uint32_t)surface); in eglCreateWindowSurface()
341 server->utEnc()->createSurface(server->utEnc(), getpid(), (uint32_t)surface); in eglCreatePbufferSurface()
353 server->utEnc()->createSurface(server->utEnc(), getpid(), (uint32_t)surface); in eglCreatePixmapSurface()
365 server->utEnc()->destroySurface(server->utEnc(), getpid(), (uint32_t)surface); in eglDestroySurface()
462 server->utEnc()->createContext(server->utEnc(), getpid(), in eglCreateContext()
481 server->utEnc()->destroyContext(ti->serverConn->utEnc(), getpid(), (uint32_t)ctx); in eglDestroyContext()
503 server->utEnc()->makeCurrentContext(server->utEnc(), getpid(), in eglMakeCurrent()
564 server->utEnc()->swapBuffers(server->utEnc(), getpid(), (uint32_t)surface); in eglSwapBuffers()
/device/linaro/hikey/gralloc/
Dgralloc_priv.h232 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/google/cuttlefish/common/libs/utils/
Dproc_file_utils_test.cpp30 auto my_pid = getpid(); in TEST()
39 auto this_pid = getpid(); in TEST()
Dunix_sockets_test.cpp133 credentials_in.pid = getpid(); in TEST()
163 credentials_in.pid = getpid() + 1; in TEST()
192 ASSERT_EQ(getpid(), credentials_out->pid); in TEST()
Dtee_logging.cpp206 StderrOutputGenerator(now, getpid(), GetThreadId(), severity, tag, in operator ()()
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp470 cb->ashmemBasePid = getpid(); in map_buffer()
1082 if (cb->bufferSize > 0 && cb->mappedPid != getpid()) { in gralloc_register_buffer()
1089 cb->mappedPid = getpid(); in gralloc_register_buffer()
1133 if (cb->bufferSize > 0 && cb->mappedPid == getpid()) { in gralloc_unregister_buffer()
1149 if (cb->bufferSize > 0 && cb->mappedPid == getpid()) { in gralloc_unregister_buffer()
1160 D("%s: Unregister buffer previous mapped to pid %d", __FUNCTION__, getpid()); in gralloc_unregister_buffer()
1243 if (cb->ashmemBasePid != getpid() || !cb->getBufferPtr()) { in gralloc_lock()
/device/google/cuttlefish/host/commands/cvd/unittests/selector/
Dcreation_analyzer_test.cpp196 auto credential = ucred{.pid = getpid(), .uid = getuid(), .gid = getgid()}; in TEST()
236 auto credential = ucred{.pid = getpid(), .uid = getuid(), .gid = getgid()}; in TEST()
Dcreation_analyzer_helper.cpp66 credential_ = ucred{.pid = getpid(), .uid = getuid(), .gid = getgid()}; in Init()
/device/generic/goldfish/wifi/wifi_hal/
Dnetlinkmessage.cpp44 header->nlmsg_pid = getpid(); in NetlinkMessage()
/device/generic/vulkan-cereal/stream-servers/apigen-codec-common/X11/
DXw32defs.h34 # define getpid _getpid macro
/device/google/cuttlefish/host/commands/cvd/
Dlogger.cpp92 StderrOutputGenerator(now, getpid(), android::base::GetThreadId(), in LogMessage()
/device/google/cuttlefish/common/libs/net/
Dnetlink_request.cpp74 header_->nlmsg_pid = getpid(); in NetlinkRequest()
/device/google/trout/tests/hal/vehicle/2.0/
DGrpcServer_test.cpp41 std::to_string(getpid())), in GrpcServerTest()
/device/google/trout/hal/audiocontrol/aidl/1.0/libandroid_audio_controller/
Dandroid_audio_controller.cpp45 return getpid(); in getCurrentThreadID()
/device/google/cuttlefish/host/commands/run_cvd/
Dboot_state_machine.cc139 if (getsid(0) != getpid()) { in Setup()
/device/google/cuttlefish/host/commands/cvd/server_command/
Drestart.cpp250 const std::string mem_file_name = "cvd_server_" + std::to_string(getpid()); in CreateMemFileWithSerializedDb()
/device/generic/vulkan-cereal/fake-android-guest/androidImpl/
DAHardwareBuffer.cpp70 std::string("AHardwareBuffer pid [") + std::to_string(getpid()) + "]")); in AHardwareBuffer_allocate()
DGraphicBuffer.cpp30 uint64_t id = static_cast<uint64_t>(getpid()) << 32; in getUniqueId()
/device/linaro/poplar/wifi/wifi_hal/
Dwifi_hal.cpp120 uint32_t pid = getpid() & 0x3FFFFF; in wifi_socket_set_local_port()
220 srand(getpid()); in wifi_initialize()
/device/google/atv/audio_proxy/service/
DStreamOutImpl.cpp333 threadInfo.pid = getpid(); in prepareForWriting()

12