Searched refs:ReadShellProtocol (Results 1 – 1 of 1) sorted by relevance
/aosp12/packages/modules/adb/daemon/ |
H A D | shell_service_test.cpp | 96 int ReadShellProtocol(borrowed_fd fd, std::string* stdout, std::string* stderr) { in ReadShellProtocol() function 182 EXPECT_EQ(24, ReadShellProtocol(command_fd_, &stdout, &stderr)); in TEST_F() 196 EXPECT_EQ(50, ReadShellProtocol(command_fd_, &stdout, &stderr)); in TEST_F() 221 EXPECT_EQ(0, ReadShellProtocol(command_fd_, &stdout, &stderr)); in TEST_F() 244 EXPECT_EQ(0, ReadShellProtocol(command_fd_, &stdout, &stderr)); in TEST_F() 256 EXPECT_EQ(0, ReadShellProtocol(command_fd_, &stdout, &stderr)); in TEST_F() 268 EXPECT_EQ(0, ReadShellProtocol(command_fd_, &stdout, &stderr)); in TEST_F() 317 EXPECT_EQ(1, ReadShellProtocol(command_fd_, &stdout, &stderr)); in TEST_F()
|