Searched defs:serverId (Results 1 - 2 of 2) sorted by relevance

/frameworks/native/cmds/lshal/
H A Dtest.cpp257 static uint64_t getPtr(pid_t serverId) { return 10000 + serverId; } argument
258 static std::vector<pid_t> getClients(pid_t serverId) { argument
259 return {serverId + 1, serverId + 3};
261 static PidInfo getPidInfoFromId(pid_t serverId) { argument
263 info.refPids[getPtr(serverId)] = getClients(serverId);
264 info.threadUsage = 10 + serverId;
265 info.threadCount = 20 + serverId;
268 getInterfaceName(pid_t serverId) argument
271 getInstanceName(pid_t serverId) argument
277 getFqInstanceName(pid_t serverId) argument
280 getCmdlineFromId(pid_t serverId) argument
285 getHashFromId(pid_t serverId) argument
[all...]
/frameworks/native/libs/binder/tests/
H A DbinderLibTest.cpp431 int32_t serverId[3]; local
433 data.writeInt32(ARRAY_SIZE(serverId));
434 for (size_t i = 0; i < ARRAY_SIZE(serverId); i++) {
438 server = addServer(&serverId[i]);
454 EXPECT_EQ(ARRAY_SIZE(serverId), (size_t)count);
461 EXPECT_EQ(serverId[i], id);
474 int32_t serverId[3]; local
476 data.writeInt32(ARRAY_SIZE(serverId));
477 for (size_t i = 0; i < ARRAY_SIZE(serverId); i++) {
482 server = addServer(&serverId[
[all...]

Completed in 43 milliseconds