Home
last modified time | relevance | path

Searched refs:PipeMessage (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/bufferpool/1.0/vts/
Dmulti.cpp59 union PipeMessage { union
127 bool sendMessage(int *pipes, const PipeMessage &message) { in sendMessage()
128 int ret = write(pipes[1], message.array, sizeof(PipeMessage)); in sendMessage()
129 return ret == sizeof(PipeMessage); in sendMessage()
132 bool receiveMessage(int *pipes, PipeMessage *message) { in receiveMessage()
133 int ret = read(pipes[0], message->array, sizeof(PipeMessage)); in receiveMessage()
134 return ret == sizeof(PipeMessage); in receiveMessage()
139 PipeMessage message; in doReceiver()
179 PipeMessage message; in TEST_F()
/frameworks/av/media/bufferpool/2.0/tests/
Dmulti.cpp59 union PipeMessage { union
127 bool sendMessage(int *pipes, const PipeMessage &message) { in sendMessage()
128 int ret = write(pipes[1], message.array, sizeof(PipeMessage)); in sendMessage()
129 return ret == sizeof(PipeMessage); in sendMessage()
132 bool receiveMessage(int *pipes, PipeMessage *message) { in receiveMessage()
133 int ret = read(pipes[0], message->array, sizeof(PipeMessage)); in receiveMessage()
134 return ret == sizeof(PipeMessage); in receiveMessage()
139 PipeMessage message; in doReceiver()
186 PipeMessage message; in TEST_F()
Dcond.cpp60 union PipeMessage { union
130 bool sendMessage(int *pipes, const PipeMessage &message) { in sendMessage()
131 int ret = write(pipes[1], message.array, sizeof(PipeMessage)); in sendMessage()
132 return ret == sizeof(PipeMessage); in sendMessage()
135 bool receiveMessage(int *pipes, PipeMessage *message) { in receiveMessage()
136 int ret = read(pipes[0], message->array, sizeof(PipeMessage)); in receiveMessage()
137 return ret == sizeof(PipeMessage); in receiveMessage()
142 PipeMessage message; in doReceiver()
205 PipeMessage message; in TEST_F()