Searched refs:pid (Results 1 - 25 of 217) sorted by path

123456789

/system/bt/stack/avct/
H A Davct_api.c165 else if (avct_lcb_has_pid(p_lcb, p_cc->pid))
H A Davct_int.h159 extern tAVCT_CCB *avct_lcb_has_pid(tAVCT_LCB *p_lcb, UINT16 pid);
H A Davct_lcb.c414 ** Description See if any ccbs on this lcb have a particular pid.
420 tAVCT_CCB *avct_lcb_has_pid(tAVCT_LCB *p_lcb, UINT16 pid) argument
427 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb) && (p_ccb->cc.pid == pid))
H A Davct_lcb_act.c248 (avct_lcb_has_pid(p_lcb, p_ccb->cc.pid) == NULL))
599 UINT16_TO_BE_STREAM(p, p_data->ul_msg.p_ccb->cc.pid);
665 UINT16 pid; local
694 BE_STREAM_TO_UINT16(pid, p);
695 if ((p_ccb = avct_lcb_has_pid(p_lcb, pid)) != NULL)
705 AVCT_TRACE_WARNING("No ccb for PID=%x", pid);
716 UINT16_TO_BE_STREAM(p, pid);
/system/bt/stack/avrc/
H A Davrc_api.c895 cc.pid = UUID_SERVCLASS_AV_REMOTE_CONTROL; /* Profile ID */
/system/bt/stack/include/
H A Davct_api.h115 UINT16 pid; /* Profile ID */ member in struct:__anon930
/system/connectivity/apmanager/
H A Dservice.cc270 return hostapd_process_ && hostapd_process_->pid() != 0 &&
271 brillo::Process::ProcessExists(hostapd_process_->pid());
H A Dservice_unittest.cc97 LOG(INFO) << "DummyProcess: " << service_->hostapd_process_->pid();
/system/connectivity/shill/cellular/
H A Dcellular.cc1156 void Cellular::OnPPPDied(pid_t pid, int exit) { argument
H A Dcellular.h227 virtual void OnPPPDied(pid_t pid, int exit);
H A Dcellular_unittest.cc371 void StartPPP(int pid) { argument
373 .WillOnce(Return(pid));
/system/connectivity/shill/dbus/
H A Dchromeos_dhcpcd_listener.cc117 uint32_t pid; local
123 &pid,
129 sender, pid, reason, configurations));
132 uint32_t pid; local
137 &pid,
142 sender, pid, status));
153 uint32_t pid,
156 DHCPConfigRefPtr config = provider_->GetConfig(pid);
158 if (provider_->IsRecentlyUnbound(pid)) {
160 << __func__ << ": ignoring message from recently unbound PID " << pid; local
151 EventSignal( const string& sender, uint32_t pid, const string& reason, const brillo::VariantDictionary& configuration) argument
173 StatusChangedSignal(const string& sender, uint32_t pid, const string& status) argument
180 << __func__ << ": ignoring message from recently unbound PID " << pid; local
[all...]
H A Dchromeos_dhcpcd_listener.h65 uint32_t pid,
69 uint32_t pid,
/system/connectivity/shill/dhcp/
H A Ddhcp_config.cc203 pid_t pid = process_manager_->StartProcessInMinijail( local
212 if (pid < 0) {
215 pid_ = pid;
216 LOG(INFO) << "Spawned " << kDHCPCDPath << " with pid: " << pid_;
253 SLOG(nullptr, 2) << "pid " << pid_ << " exit status " << exit_status;
255 LOG(WARNING) << "pid " << pid_ << " exit status " << exit_status;
267 int pid = pid_; local
270 provider_->UnbindPID(pid);
H A Ddhcp_provider.cc93 base::Process process = base::Process::Open(entry->pid());
130 DHCPConfigRefPtr DHCPProvider::GetConfig(int pid) { argument
131 SLOG(this, 2) << __func__ << " pid: " << pid; local
132 PIDConfigMap::const_iterator it = configs_.find(pid);
139 void DHCPProvider::BindPID(int pid, const DHCPConfigRefPtr& config) { argument
140 SLOG(this, 2) << __func__ << " pid: " << pid; local
141 configs_[pid] = config;
144 void DHCPProvider::UnbindPID(int pid) { argument
145 SLOG(this, 2) << __func__ << " pid: " << pid; local
153 RetireUnboundPID(int pid) argument
157 IsRecentlyUnbound(int pid) argument
[all...]
H A Ddhcp_provider.h93 // Returns the DHCP configuration associated with DHCP client |pid|. Return
94 // nullptr if |pid| is not bound to a configuration.
95 DHCPConfigRefPtr GetConfig(int pid);
97 // Binds a |pid| to a DHCP |config|. When a DHCP config spawns a new DHCP
98 // client, it binds itself to that client's |pid|.
99 virtual void BindPID(int pid, const DHCPConfigRefPtr& config);
101 // Unbinds a |pid|. This method is used by a DHCP config to signal the
104 virtual void UnbindPID(int pid);
109 // Returns true if |pid| was recently unbound from the provider.
110 bool IsRecentlyUnbound(int pid);
[all...]
H A Ddhcp_provider_unittest.cc62 void RetireUnboundPID(int pid) { provider_->RetireUnboundPID(pid); } argument
H A Dmock_dhcp_provider.h47 MOCK_METHOD2(BindPID, void(int pid, const DHCPConfigRefPtr& config));
48 MOCK_METHOD1(UnbindPID, void(int pid));
/system/connectivity/shill/
H A Ddns_server_proxy.cc34 const char kDnsmasqPidFilePath[] = "/data/misc/shill/dnsmasq.pid";
67 args.push_back(base::StringPrintf("--pid-file=%s", kDnsmasqPidFilePath));
71 pid_t pid = local
80 if (pid < 0) {
84 pid_ = pid;
85 LOG(INFO) << "Spawned " << kDnsmasqPath << " with pid: " << pid_;
100 LOG(WARNING) << "pid " << pid_ << " exit status " << exit_status;
H A Dexternal_task.cc68 pid_t pid = local
77 if (pid < 0) {
83 pid_ = pid;
H A Dexternal_task_unittest.cc83 void FakeUpRunningProcess(unsigned int tag, int pid);
85 void ExpectStop(unsigned int tag, int pid) { argument
86 EXPECT_CALL(process_manager_, StopProcess(pid));
105 MOCK_METHOD2(TaskDiedCallback, void(pid_t pid, int exit_status));
140 void ExternalTaskTest::FakeUpRunningProcess(unsigned int tag, int pid) { argument
141 external_task_->pid_ = pid;
H A Dmock_process_manager.h64 MOCK_METHOD1(StopProcess, bool(pid_t pid));
65 MOCK_METHOD1(StopProcessAndBlock, bool(pid_t pid));
67 bool(pid_t pid, const base::Callback<void(int)>& new_callback));
H A Dppp_daemon_unittest.cc76 MOCK_METHOD2(DeathCallback, void(pid_t pid, int status));
/system/connectivity/shill/net/
H A Drtnl_message.cc58 uint32_t pid,
65 pid_(pid),
54 RTNLMessage(Type type, Mode mode, unsigned int flags, uint32_t seq, uint32_t pid, int interface_index, IPAddress::Family family) argument
H A Drtnl_message.h154 uint32_t pid,
171 uint32_t pid() const { return pid_; } function in class:shill::RTNLMessage

Completed in 315 milliseconds

123456789