Searched refs:workingPidsCountMap_ (Results 1 – 2 of 2) sorted by relevance
140 if (workingPidsCountMap_.count(pid) > 0) { in IncreaseWorkingPidsCount()141 workingPidsCountMap_[pid] = workingPidsCountMap_[pid] + 1; in IncreaseWorkingPidsCount()143 workingPidsCountMap_.insert(std::make_pair(pid, 1)); in IncreaseWorkingPidsCount()150 if (workingPidsCountMap_.count(pid) > 0) { in DecreaseWorkingPidsCount()151 workingPidsCountMap_[pid] = workingPidsCountMap_[pid] - 1; in DecreaseWorkingPidsCount()152 if (workingPidsCountMap_[pid] < 0) { in DecreaseWorkingPidsCount()161 if (workingPidsCountMap_.count(pid) <= 0) { in IsNeedStartUsingPermission()164 if (workingPidsCountMap_[pid] == 1) { in IsNeedStartUsingPermission()173 if (workingPidsCountMap_.count(pid) <= 0) { in IsNeedStopUsingPermission()176 if (workingPidsCountMap_[pid] <= 0) { in IsNeedStopUsingPermission()[all …]
104 std::map<pid_t, int32_t> workingPidsCountMap_; variable