Searched refs:fds_config (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/cmds/statsd/tests/shell/ |
D | ShellSubscriber_test.cpp | 63 int fds_config[2]; in runShellTest() local 64 ASSERT_EQ(0, pipe(fds_config)); in runShellTest() 74 write(fds_config[1], &bufferSize, sizeof(bufferSize)); in runShellTest() 78 write(fds_config[1], buffer.data(), bufferSize); in runShellTest() 79 close(fds_config[1]); in runShellTest() 85 std::thread reader([&resultReceiver, &fds_config, &fds_data, &shellClient] { in runShellTest() 86 shellClient->startNewSubscription(fds_config[0], fds_data[1], resultReceiver, -1); in runShellTest()
|