/external/chromium_org/content/browser/media/ |
H A D | webrtc_internals.cc | 72 ProcessId pid, 84 dict->SetInteger("pid", static_cast<int>(pid)); 96 void WebRTCInternals::OnRemovePeerConnection(ProcessId pid, int lid) { argument 104 dict->GetInteger("pid", &this_pid); 107 if (this_pid != static_cast<int>(pid) || this_lid != lid) 115 id.SetInteger("pid", static_cast<int>(pid)); 124 ProcessId pid, int lid, const string& type, const string& value) { 132 record->GetInteger("pid", 71 OnAddPeerConnection(int render_process_id, ProcessId pid, int lid, const string& url, const string& rtc_configuration, const string& constraints) argument 123 OnUpdatePeerConnection( ProcessId pid, int lid, const string& type, const string& value) argument 166 OnAddStats(base::ProcessId pid, int lid, const base::ListValue& value) argument 184 OnGetUserMedia(int rid, base::ProcessId pid, const std::string& origin, bool audio, bool video, const std::string& audio_constraints, const std::string& video_constraints) argument 323 int lid = 0, pid = 0; local [all...] |
/external/chromium_org/content/browser/ |
H A D | plugin_process_host.cc | 69 bool PluginProcessHost::GetWebPluginInfoFromPluginPid(base::ProcessId pid, argument 72 if (!g_process_webplugin_info.Get().count(pid)) 75 *info = g_process_webplugin_info.Get()[pid];
|
/external/chromium_org/content/common/gpu/ |
H A D | gpu_memory_manager.cc | 219 base::ProcessId pid, gpu::gles2::MemoryTracker* memory_tracker) { 221 pid, memory_tracker, this); 218 CreateTrackingGroup( base::ProcessId pid, gpu::gles2::MemoryTracker* memory_tracker) argument
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/app/ |
H A D | ChildProcessService.java | 122 Log.i(TAG, "Creating new ChildProcessService pid=" + Process.myPid()); 220 Log.i(TAG, "Destroying ChildProcessService pid=" + Process.myPid()); 268 * @param pid Process handle of the child process to share the SurfaceTexture with. 276 int pid, Object surfaceObject, int primaryID, int secondaryID) { 294 mCallback.establishSurfacePeer(pid, surface, primaryID, secondaryID); 275 establishSurfaceTexturePeer( int pid, Object surfaceObject, int primaryID, int secondaryID) argument
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
H A D | BindingManagerImpl.java | 37 * for the same pid). 210 public void addNewConnection(int pid, ChildProcessConnection connection) { argument 215 // This will reset the previous entry for the pid in the unlikely event of the OS 218 mManagedConnections.put(pid, new ManagedConnection(connection)); 223 public void setInForeground(int pid, boolean inForeground) { argument 226 managedConnection = mManagedConnections.get(pid); 230 Log.w(TAG, "Cannot setInForeground() - never saw a connection for the pid: " + 231 Integer.toString(pid)); 263 public boolean isOomProtected(int pid) { argument 264 // In the unlikely event of the OS reusing renderer pid, th 275 clearConnection(int pid) argument 285 isConnectionCleared(int pid) argument [all...] |
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
H A D | BindingManagerImplTest.java | 33 MockChildProcessConnection(int pid) { argument 36 mPid = pid;
|
/external/chromium_org/ipc/mojo/ |
H A D | ipc_channel_mojo_readers.cc | 23 static Pickle CreateRequest(int32 pid) { argument 26 request.WriteInt(pid); 30 static bool ReadRequest(Pickle& pickle, int32* pid) { argument 49 *pid = read_pid; 53 static Pickle CreateResponse(int32 pid) { argument 56 request.WriteInt(pid); 60 static bool ReadResponse(Pickle& pickle, int32* pid) { argument 79 *pid = read_pid; 250 base::ProcessId pid = static_cast<base::ProcessId>(read_pid); local 251 owner_->set_peer_pid(pid); 284 base::ProcessId pid = read_request; local [all...] |
/external/chromium_org/remoting/host/win/ |
H A D | unprivileged_process_delegate.cc | 364 DWORD pid = GetProcessId(worker_process_.Get()); local 365 if (pid != static_cast<DWORD>(peer_pid)) { 366 LOG(ERROR) << "The actual client PID " << pid
|
H A D | wts_session_process_delegate.cc | 308 DWORD pid; local 309 if (!get_named_pipe_client_pid_(pipe_.Get(), &pid)) { 315 if (pid != static_cast<DWORD>(peer_pid)) { 316 LOG(ERROR) << "The actual client PID " << pid 325 ScopedHandle worker_process(OpenProcess(desired_access, false, pid)); 327 PLOG(ERROR) << "Failed to open process " << pid;
|
/external/chromium_org/rlz/lib/ |
H A D | rlz_lib_test.cc | 883 pid_t pid = fork(); local 884 ASSERT_NE(-1, pid); 885 if (pid == 0) { 907 pids.push_back(pid);
|
/external/chromium_org/sandbox/linux/bpf_dsl/ |
H A D | bpf_dsl_unittest.cc | 37 static int getpgid(pid_t pid) { return Syscall::Call(__NR_getpgid, pid); } argument 40 static int setpgid(pid_t pid, pid_t pgid) { argument 41 return Syscall::Call(__NR_setpgid, pid, pgid); 69 const Arg<pid_t> pid(0); 70 return If(pid == 0, Error(EPERM)).Else(Error(EINVAL)); 235 const Arg<pid_t> pid(0); 236 return If((pid & 0xa5) == 0xa0, Error(EINVAL)).Else(Error(EACCES)); 256 for (pid_t pid = 0; pid < [all...] |
/external/chromium_org/sandbox/linux/seccomp-bpf-helpers/ |
H A D | sigsys_handlers.cc | 191 volatile uint64_t pid = args.args[0]; local 192 volatile char* addr = reinterpret_cast<volatile char*>(pid & 0xFFF); 195 addr = reinterpret_cast<volatile char*>(pid & 0xFFF); 226 // The first argument is the pid. If is our thread id, then replace it
|
/external/chromium_org/sandbox/linux/services/ |
H A D | credentials.cc | 289 const pid_t pid = syscall(__NR_clone, CLONE_NEWUSER | SIGCHLD, 0, 0, 0); local 291 if (pid == -1) { 299 if (pid == 0) { 305 PCHECK(0 == HANDLE_EINTR(waitid(P_PID, pid, &infop, WEXITED)));
|
/external/chromium_org/sandbox/linux/suid/ |
H A D | sandbox.c | 98 const pid_t pid = syscall(__NR_clone, CLONE_FS | SIGCHLD, 0, 0, 0); local 100 if (pid == -1) { 107 if (pid == 0) { 182 // We also install an environment variable containing the pid of the child 184 printed = snprintf(helper_pid_str, sizeof(helper_pid_str), "%u", pid); 240 pid_t pid = syscall(__NR_clone, SIGCHLD | kCloneExtraFlags[i], 0, 0, 0); local 243 if (pid > 0) { 260 WaitForChildAndExit(pid); 266 if (pid == 0) { 435 // We cannot adjust /proc/pid/oom_ad [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/ |
H A D | server_process.py | 104 def pid(self): member in class:ServerProcess 145 self._pid = self._proc.pid 247 self._port.sample_process(self._name, self._proc.pid) 382 _log.warning('stopping %s(pid %d) timed out, killing it' % (self._name, self._proc.pid)) 387 _log.debug('killed pid %d' % self._proc.pid) 403 self._host.executive.kill_process(self._proc.pid)
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
H A D | crazy_linker_proc_maps.cpp | 193 ProcMaps::ProcMaps(pid_t pid) { argument 196 snprintf(maps_file, sizeof maps_file, "/proc/%u/maps", pid);
|
/external/chromium_org/third_party/skia/experimental/nanomsg/ |
H A D | picture_demo.cpp | 23 pid_t pid; member in struct:PictureHeader 30 , pid(getpid()) 68 SkDebugf(" from proccess %d:", header->pid);
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | macwindowpicker.cc | 162 pid_t pid = pid_val; local 163 int res = GetProcessForPID(pid, &psn); 165 LOG(LS_ERROR) << "Failed getting process for pid";
|
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/ |
H A D | normal_async_test.h | 63 fbSignal(int d, uint8_t pid) : delay(d), id(pid) {}; argument
|
/external/chromium_org/tools/android/heap_profiler/ |
H A D | heap_dump.c | 6 // its pid) and dumps all the libheap_profiler tracking information in JSON. 51 static int pid; variable 111 printf(" \"pid\": %d,\n", pid); 252 snprintf(path, sizeof(path), "/proc/%d/mem", pid); 263 snprintf(path, sizeof(path), "/proc/%d/maps", pid); 274 snprintf(path, sizeof(path), "/proc/%d/cmdline", pid); 314 printf("Usage: %s [-n] [-x] [-c comment] pid\n" 322 pid = atoi(argv[optind]); 324 if (ptrace(PTRACE_ATTACH, pid, NUL [all...] |
/external/chromium_org/tools/gn/ |
H A D | function_exec_script.cc | 152 pid_t pid; local 162 switch (pid = fork()) { 225 return base::WaitForExitCode(pid, exit_code);
|
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/ |
H A D | android_browser_backend.py | 148 pid = None 152 pid = pids[-1] 164 return 'localabstract:webview_devtools_remote_%s' % str(pid) 348 def pid(self): member in class:AndroidBrowserBackend
|
/external/chromium_org/ui/platform_window/x11/ |
H A D | x11_window.cc | 172 // Likewise, the X server needs to know this window's pid so it knows which 174 // XChangeProperty() expects "pid" to be long. 176 long pid = getpid(); local 183 reinterpret_cast<unsigned char*>(&pid),
|
/external/chromium_org/win8/delegate_execute/ |
H A D | command_execute_impl.cc | 258 DWORD pid = 0; local 265 &pid); 270 &pid); 276 AtlTrace("Metro Chrome launch, pid=%d, returned 0x%x\n", pid, hr);
|
/external/chromium_org/win8/viewer/ |
H A D | metro_viewer_process_host.cc | 105 DWORD pid = 0; local 108 app_user_model_id.c_str(), kMetroViewerConnectVerb, AO_NONE, &pid);
|