Lines Matching refs:pid_t
209 const PidInfo* getPidInfoCached(pid_t serverPid) { in getPidInfoCached()
214 MOCK_CONST_METHOD2(getPidInfo, bool(pid_t, PidInfo*));
215 MOCK_CONST_METHOD1(parseCmdline, std::string(pid_t));
216 MOCK_METHOD1(getPartition, Partition(pid_t));
271 static uint64_t getPtr(pid_t serverId) { return 10000 + serverId; } in getPtr()
272 static std::vector<pid_t> getClients(pid_t serverId) { in getClients()
275 static PidInfo getPidInfoFromId(pid_t serverId) { in getPidInfoFromId()
282 static std::string getInterfaceName(pid_t serverId) { in getInterfaceName()
285 static std::string getInstanceName(pid_t serverId) { in getInstanceName()
288 static pid_t getIdFromInstanceName(const hidl_string& instance) { in getIdFromInstanceName()
291 static std::string getFqInstanceName(pid_t serverId) { in getFqInstanceName()
294 static std::string getCmdlineFromId(pid_t serverId) { in getCmdlineFromId()
298 static bool getIsReleasedFromId(pid_t p) { return p % 2 == 0; } in getIsReleasedFromId()
299 static hidl_hash getHashFromId(pid_t serverId) { in getHashFromId()
311 explicit TestService(pid_t id) : mId(id) {} in TestService()
325 pid_t mId;
339 [](pid_t serverPid, PidInfo* info) { in initMockList()