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
99
ShellProtocol
* protocol = new
ShellProtocol
(fd);
102
case
ShellProtocol
::kIdStdout:
105
case
ShellProtocol
::kIdStderr:
108
case
ShellProtocol
::kIdExit:
210
ShellProtocol
* protocol = new
ShellProtocol
(subprocess_fd_);
215
ASSERT_TRUE(protocol->Write(
ShellProtocol
::kIdStdin, command.length()));
236
ShellProtocol
* protocol = new
ShellProtocol
(subprocess_fd_)
[
all
...]
shell_service.cpp
174
unique_fd* PassOutput(unique_fd* sfd,
ShellProtocol
::Id id);
186
std::unique_ptr<
ShellProtocol
> input_, output_;
384
input_ = std::make_unique<
ShellProtocol
>(protocol_sfd_);
385
output_ = std::make_unique<
ShellProtocol
>(protocol_sfd_);
538
dead_sfd = PassOutput(&stdinout_sfd_,
ShellProtocol
::kIdStdout);
543
dead_sfd = PassOutput(&stderr_sfd_,
ShellProtocol
::kIdStderr);
583
case
ShellProtocol
::kIdWindowSizeChange:
595
case
ShellProtocol
::kIdStdin:
598
case
ShellProtocol
::kIdCloseStdin:
639
unique_fd* Subprocess::PassOutput(unique_fd* sfd,
ShellProtocol
::Id id)
[
all
...]
commandline.cpp
261
std::unique_ptr<
ShellProtocol
> protocol;
267
protocol = std::make_unique<
ShellProtocol
>(fd);
269
LOG(ERROR) << "failed to allocate memory for
ShellProtocol
object";
282
case
ShellProtocol
::kIdStdout:
285
case
ShellProtocol
::kIdStderr:
288
case
ShellProtocol
::kIdExit:
406
static void send_window_size_change(int fd, std::unique_ptr<
ShellProtocol
>& shell) {
446
shell->Write(
ShellProtocol
::kIdWindowSizeChange, l + 1);
453
std::unique_ptr<
ShellProtocol
> protocol;
518
args->protocol->Write(
ShellProtocol
::kIdCloseStdin, 0)
[
all
...]
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
Shell.inf
36
ShellProtocol
.c
37
ShellProtocol
.h
Completed in 214 milliseconds