Home
last modified time | relevance | path

Searched refs:GetCurrentProcessHandle (Results 1 – 16 of 16) sorted by relevance

/external/libchrome/base/process/
Dprocess_posix.cc194 base::ProcessHandle our_pid = base::GetCurrentProcessHandle(); in WaitForExitWithTimeoutImpl()
245 return Process(GetCurrentProcessHandle()); in Current()
265 DCHECK_NE(handle, GetCurrentProcessHandle()); in DeprecatedGetProcessFromHandle()
297 return process_ == GetCurrentProcessHandle(); in is_current()
Dprocess_metrics.cc51 return CreateProcessMetrics(base::GetCurrentProcessHandle()); in CreateCurrentProcessMetrics()
53 return CreateProcessMetrics(base::GetCurrentProcessHandle(), nullptr); in CreateCurrentProcessMetrics()
Dprocess_handle_posix.cc15 ProcessHandle GetCurrentProcessHandle() { in GetCurrentProcessHandle() function
Dprocess_handle.h61 BASE_EXPORT ProcessHandle GetCurrentProcessHandle();
Dprocess_metrics_unittest.cc305 ProcessHandle handle = GetCurrentProcessHandle(); in TEST_F()
422 const ProcessHandle current = GetCurrentProcessHandle(); in TEST()
/external/libmojo/mojo/edk/system/
Dnode_channel.cc227 CHECK_NE(remote_process_handle_, base::GetCurrentProcessHandle()); in SetRemoteProcessHandle()
248 base::GetCurrentProcessHandle(), remote_process_handle_, in CopyRemoteProcessHandle()
249 base::GetCurrentProcessHandle(), &handle, 0, FALSE, in CopyRemoteProcessHandle()
480 base::GetCurrentProcessHandle(), in OnChannelMessage()
487 handle.owning_process = base::GetCurrentProcessHandle(); in OnChannelMessage()
825 if (!Channel::Message::RewriteHandles(base::GetCurrentProcessHandle(), in WriteChannelMessage()
Dnode_controller.cc189 base::GetCurrentProcessHandle(), process_handle, in ConnectToChild()
190 base::GetCurrentProcessHandle(), &dup_handle, in ConnectToChild()
1174 base::GetCurrentProcessHandle(), in OnRelayPortsMessage()
Dchannel.cc341 (*handles)[i].owning_process = base::GetCurrentProcessHandle(); in RewriteHandles()
/external/libmojo/mojo/edk/embedder/
Dplatform_handle.cc39 if (owning_process != base::GetCurrentProcessHandle()) { in CloseIfNecessary()
Dplatform_handle.h64 : handle(handle), owning_process(base::GetCurrentProcessHandle()) {}
Dplatform_shared_buffer.cc208 base::GetCurrentProcessHandle(), &handle); in CreateReadOnlyDuplicate()
Dembedder_unittest.cc208 ChildProcessLaunched(base::GetCurrentProcessHandle(), pair.PassServerHandle(), in TEST_F()
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_process.cc68 DCHECK_EQ(1, base::GetNumberOfThreads(base::GetCurrentProcessHandle())); in Init()
/external/libchrome/sandbox/linux/services/
Dthread_helpers_unittests.cc107 ASSERT_EQ(1, base::GetNumberOfThreads(base::GetCurrentProcessHandle())); in TEST()
/external/libchrome/base/memory/
Dshared_memory_unittest.cc334 ASSERT_TRUE(writable_shmem.ShareReadOnlyToProcess(GetCurrentProcessHandle(), in TEST()
414 ASSERT_TRUE(shmem.ShareToProcess(GetCurrentProcessHandle(), &shared_handle)); in TEST()
426 ASSERT_TRUE(shmem.ShareToProcess(GetCurrentProcessHandle(), &shared_handle)); in TEST()
/external/libchrome/base/metrics/
Dpersistent_memory_allocator_unittest.cc544 ASSERT_TRUE(local.shared_memory()->ShareToProcess(GetCurrentProcessHandle(), in TEST()
546 ASSERT_TRUE(local.shared_memory()->ShareToProcess(GetCurrentProcessHandle(), in TEST()