Lines Matching refs:pid_t
202 const PidInfo* getPidInfoCached(pid_t serverPid) { in getPidInfoCached()
207 MOCK_CONST_METHOD2(getPidInfo, bool(pid_t, PidInfo*));
208 MOCK_CONST_METHOD1(parseCmdline, std::string(pid_t));
209 MOCK_METHOD1(getPartition, Partition(pid_t));
257 static uint64_t getPtr(pid_t serverId) { return 10000 + serverId; } in getPtr()
258 static std::vector<pid_t> getClients(pid_t serverId) { in getClients()
261 static PidInfo getPidInfoFromId(pid_t serverId) { in getPidInfoFromId()
268 static std::string getInterfaceName(pid_t serverId) { in getInterfaceName()
271 static std::string getInstanceName(pid_t serverId) { in getInstanceName()
274 static pid_t getIdFromInstanceName(const hidl_string& instance) { in getIdFromInstanceName()
277 static std::string getFqInstanceName(pid_t serverId) { in getFqInstanceName()
280 static std::string getCmdlineFromId(pid_t serverId) { in getCmdlineFromId()
284 static bool getIsReleasedFromId(pid_t p) { return p % 2 == 0; } in getIsReleasedFromId()
285 static hidl_hash getHashFromId(pid_t serverId) { in getHashFromId()
297 TestService(pid_t id) : mId(id) {} in TestService()
311 pid_t mId;
325 [](pid_t serverPid, PidInfo* info) { in initMockList()