OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ShellProtocol
(Results
1 - 7
of
7
) sorted by null
/system/core/adb/
shell_service_protocol.cpp
25
ShellProtocol
::
ShellProtocol
(int fd) : fd_(fd) {
29
ShellProtocol
::~
ShellProtocol
() {
32
bool
ShellProtocol
::Read() {
56
bool
ShellProtocol
::Write(Id id, size_t length) {
shell_service_protocol_test.cpp
48
write_protocol_ = new
ShellProtocol
(write_fd_);
51
read_protocol_ = new
ShellProtocol
(read_fd_);
63
for (
ShellProtocol
* protocol : {read_protocol_, write_protocol_}) {
80
ShellProtocol
*read_protocol_ = nullptr, *write_protocol_ = nullptr;
90
bool PacketEquals(const
ShellProtocol
* protocol,
ShellProtocol
::Id id,
102
ShellProtocol
::Id id =
ShellProtocol
::kIdStdout;
114
ShellProtocol
::Id id =
ShellProtocol
::kIdStdin
[
all
...]
shell_service.h
40
//
ShellProtocol
* p = new
ShellProtocol
(protocol_fd);
42
// packet->WritePacket(
ShellProtocol
::kIdStdout, len);
45
//
ShellProtocol
* p = new
ShellProtocol
(protocol_fd);
49
class
ShellProtocol
{
72
explicit
ShellProtocol
(int fd);
73
virtual ~
ShellProtocol
();
125
DISALLOW_COPY_AND_ASSIGN(
ShellProtocol
);
shell_service_test.cpp
119
ShellProtocol
* protocol = new
ShellProtocol
(fd);
122
case
ShellProtocol
::kIdStdout:
125
case
ShellProtocol
::kIdStderr:
128
case
ShellProtocol
::kIdExit:
230
ShellProtocol
* protocol = new
ShellProtocol
(subprocess_fd_);
235
ASSERT_TRUE(protocol->Write(
ShellProtocol
::kIdStdin, command.length()));
256
ShellProtocol
* protocol = new
ShellProtocol
(subprocess_fd_)
[
all
...]
shell_service.cpp
172
unique_fd* PassOutput(unique_fd* sfd,
ShellProtocol
::Id id);
184
std::unique_ptr<
ShellProtocol
> input_, output_;
365
input_.reset(new
ShellProtocol
(protocol_sfd_));
366
output_.reset(new
ShellProtocol
(protocol_sfd_));
525
dead_sfd = PassOutput(&stdinout_sfd_,
ShellProtocol
::kIdStdout);
530
dead_sfd = PassOutput(&stderr_sfd_,
ShellProtocol
::kIdStderr);
570
case
ShellProtocol
::kIdWindowSizeChange:
582
case
ShellProtocol
::kIdStdin:
585
case
ShellProtocol
::kIdCloseStdin:
626
unique_fd* Subprocess::PassOutput(unique_fd* sfd,
ShellProtocol
::Id id)
[
all
...]
commandline.cpp
273
std::unique_ptr<
ShellProtocol
> protocol;
279
protocol.reset(new
ShellProtocol
(fd));
281
LOG(ERROR) << "failed to allocate memory for
ShellProtocol
object";
294
case
ShellProtocol
::kIdStdout:
297
case
ShellProtocol
::kIdStderr:
300
case
ShellProtocol
::kIdExit:
418
static void send_window_size_change(int fd, std::unique_ptr<
ShellProtocol
>& shell) {
458
shell->Write(
ShellProtocol
::kIdWindowSizeChange, l + 1);
465
std::unique_ptr<
ShellProtocol
> protocol;
530
args->protocol->Write(
ShellProtocol
::kIdCloseStdin, 0)
[
all
...]
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
Shell.inf
36
ShellProtocol
.c
37
ShellProtocol
.h
Completed in 756 milliseconds