Searched refs:pid_path (Results 1 – 5 of 5) sorted by relevance
171 pid_path = _run(cmd_template % (pid, base_path, 'idProduct'))172 if not pid_path:177 (vid_path, pid_path))
94 def pid_path(arch: Arch): function202 with open(pid_path(arch), "w") as pid_file:207 if not pid_path(arch).exists():210 with open(pid_path(arch), "r") as pid_file:
346 FilePath pid_path = temp_dir_.GetPath().Append("pid"); in TEST_F() local347 EXPECT_FALSE(process_.ResetPidByFile(pid_path.value())); in TEST_F()348 EXPECT_TRUE(base::WriteFile(pid_path, "456\n", 4)); in TEST_F()349 EXPECT_TRUE(process_.ResetPidByFile(pid_path.value())); in TEST_F()
890 pid_path = os.path.join(dirpath, '..', 'idProduct')895 pid = utils.read_one_line(pid_path)
1006 pid_path = '/proc/%d/'1007 if not os.path.exists(pid_path % pid):