Home
last modified time | relevance | path

Searched refs:command (Results 1 – 25 of 259) sorted by relevance

1234567891011

/hardware/google/gfxstream/scripts/print_gfx_logs/
Dprint_gfx_logs_test.py40 for command in commands:
41 data += command.opcode.to_bytes(4, sys.byteorder)
42 data += command.original_size.to_bytes(4, sys.byteorder)
43 data += command.data
44 assert(len(command.data) + 8 == command.original_size)
45 data += command.original_size.to_bytes(4, byteorder='little')
69 command = create_vk_destroy_instance_command(vk_instance=0x1234, p_allocator=0x7321)
71 capture_id=8261, commands=[command], error_message=None)
86 self.assertEqual(streams[0].commands[0].opcode, command.opcode)
87 self.assertEqual(streams[0].commands[0].original_size, command.original_size)
[all …]
/hardware/ril/reference-ril/
Datchannel.h90 int at_send_command_singleline (const char *command,
94 int at_send_command_numeric (const char *command,
97 int at_send_command_multiline (const char *command,
104 int at_send_command (const char *command, ATResponse **pp_outResponse);
106 int at_send_command_sms (const char *command, const char *pdu,
Datchannel.c672 static int at_send_command_full_nolock (const char *command, ATCommandType type, in at_send_command_full_nolock() argument
684 err = writeline (command); in at_send_command_full_nolock()
739 static int at_send_command_full (const char *command, ATCommandType type, in at_send_command_full() argument
751 err = at_send_command_full_nolock(command, type, in at_send_command_full()
774 int at_send_command (const char *command, ATResponse **pp_outResponse) in at_send_command() argument
778 err = at_send_command_full (command, NO_RESULT, NULL, in at_send_command()
785 int at_send_command_singleline (const char *command, in at_send_command_singleline() argument
791 err = at_send_command_full (command, SINGLELINE, responsePrefix, in at_send_command_singleline()
808 int at_send_command_numeric (const char *command, in at_send_command_numeric() argument
813 err = at_send_command_full (command, NUMERIC, NULL, in at_send_command_numeric()
[all …]
/hardware/interfaces/gnss/common/utils/default/
DDeviceFileReader.cpp23 void DeviceFileReader::getDataFromDeviceFile(const std::string& command, int mMinIntervalMs) { in getDataFromDeviceFile() argument
26 if (command == CMD_GET_LOCATION) { in getDataFromDeviceFile()
28 } else if (command == CMD_GET_RAWMEASUREMENT) { in getDataFromDeviceFile()
39 if (write(gnss_fd, command.c_str(), command.size()) <= 0) { in getDataFromDeviceFile()
92 if (command == CMD_GET_LOCATION) { in getDataFromDeviceFile()
95 } else if (command == CMD_GET_RAWMEASUREMENT) { in getDataFromDeviceFile()
/hardware/interfaces/graphics/composer/2.1/utils/vts/
DTestCommandReader.cpp32 int32_t command; in parse() local
34 ASSERT_TRUE(beginCommand(&command, &length)); in parse()
36 parseSingleCommand(command, length); in parse()
43 IComposerClient::Command command = static_cast<IComposerClient::Command>(commandRaw); in parseSingleCommand() local
45 switch (command) { in parseSingleCommand()
89 GTEST_FAIL() << "unexpected return command " << std::hex << static_cast<int>(command); in parseSingleCommand()
/hardware/interfaces/automotive/can/1.0/default/libnetdevice/
Dethtool.cpp26 std::optional<uint32_t> getValue(std::string_view ifname, uint32_t command) { in getValue() argument
28 valueop.cmd = command; in getValue()
37 bool setValue(std::string_view ifname, uint32_t command, uint32_t value) { in setValue() argument
39 valueop.cmd = command; in setValue()
/hardware/google/aemu/base/include/aemu/base/threads/
DThreadPool.h106 Command command = std::move(commandOpt.value()); in ThreadPool()
107 mProcessor(std::move(command.mItem), command.mWorkerId); in ThreadPool()
155 Command command(std::forward<Item>(item), workerIndex); in enqueue()
156 workerPtr->enqueue(std::move(command)); in enqueue()
168 Command command(std::move(itemFactory()), i); in broadcast()
169 workerOpt->enqueue(std::move(command)); in broadcast()
DWorkerThread.h122 std::future<void> enqueueImpl(Command command) { in enqueueImpl() argument
126 command.mCompletedPromise.set_value(); in enqueueImpl()
127 return command.mCompletedPromise.get_future(); in enqueueImpl()
130 std::future<void> res = command.mCompletedPromise.get_future(); in enqueueImpl()
131 mQueue.emplace_back(std::move(command)); in enqueueImpl()
/hardware/interfaces/audio/aidl/vts/
DVtsHalAudioEffectTargetTest.cpp219 ASSERT_NO_FATAL_FAILURE(command(mEffect, CommandId::START)); in TEST_P()
220 ASSERT_NO_FATAL_FAILURE(command(mEffect, CommandId::STOP)); in TEST_P()
229 ASSERT_NO_FATAL_FAILURE(command(mEffect, CommandId::START)); in TEST_P()
230 ASSERT_NO_FATAL_FAILURE(command(mEffect, CommandId::STOP)); in TEST_P()
239 ASSERT_NO_FATAL_FAILURE(command(mEffect, CommandId::START)); in TEST_P()
240 ASSERT_NO_FATAL_FAILURE(command(mEffect, CommandId::RESET)); in TEST_P()
249 ASSERT_NO_FATAL_FAILURE(command(mEffect, CommandId::START)); in TEST_P()
250 ASSERT_NO_FATAL_FAILURE(command(mEffect, CommandId::STOP)); in TEST_P()
258 ASSERT_NO_FATAL_FAILURE(command(mEffect, CommandId::START, EX_ILLEGAL_STATE)); in TEST_P()
259 ASSERT_NO_FATAL_FAILURE(command(mEffect, CommandId::STOP, EX_ILLEGAL_STATE)); in TEST_P()
[all …]
/hardware/interfaces/graphics/composer/2.3/utils/command-buffer/
DAndroid.bp12 name: "android.hardware.graphics.composer@2.3-command-buffer",
22 "android.hardware.graphics.composer@2.2-command-buffer",
25 "android.hardware.graphics.composer@2.2-command-buffer",
/hardware/interfaces/graphics/composer/2.4/utils/command-buffer/
DAndroid.bp12 name: "android.hardware.graphics.composer@2.4-command-buffer",
22 "android.hardware.graphics.composer@2.3-command-buffer",
25 "android.hardware.graphics.composer@2.3-command-buffer",
/hardware/interfaces/graphics/composer/2.2/utils/command-buffer/
DAndroid.bp12 name: "android.hardware.graphics.composer@2.2-command-buffer",
22 "android.hardware.graphics.composer@2.1-command-buffer",
25 "android.hardware.graphics.composer@2.1-command-buffer",
/hardware/interfaces/media/bufferpool/aidl/default/tests/
Dmulti.cpp62 int32_t command; member
143 message.data.command = PipeCommand::INIT_ERROR; in doReceiver()
153 message.data.command = PipeCommand::INIT_ERROR; in doReceiver()
157 message.data.command = PipeCommand::INIT_OK; in doReceiver()
169 message.data.command = PipeCommand::RECEIVE_ERROR; in doReceiver()
174 message.data.command = PipeCommand::RECEIVE_ERROR; in doReceiver()
183 message.data.command = PipeCommand::RECEIVE_OK; in doReceiver()
225 message.data.command = PipeCommand::SEND; in TEST_F()
233 EXPECT_TRUE(message.data.command == PipeCommand::RECEIVE_OK); in TEST_F()
Dcond.cpp63 int32_t command; member
147 message.data.command = PipeCommand::INIT_ERROR; in doReceiver()
157 message.data.command = PipeCommand::INIT_ERROR; in doReceiver()
161 message.data.command = PipeCommand::INIT_OK; in doReceiver()
176 message.data.command = PipeCommand::RECEIVE_ERROR; in doReceiver()
181 message.data.command = PipeCommand::RECEIVE_ERROR; in doReceiver()
200 message.data.command = PipeCommand::RECEIVE_OK; in doReceiver()
202 message.data.command = PipeCommand::RECEIVE_ERROR; in doReceiver()
248 message.data.command = PipeCommand::SEND; in TEST_F()
270 EXPECT_TRUE(message.data.command == PipeCommand::RECEIVE_OK); in TEST_F()
/hardware/interfaces/automotive/can/1.0/default/libnetdevice/include/libnetdevice/
Dethtool.h32 std::optional<uint32_t> getValue(std::string_view ifname, uint32_t command);
43 bool setValue(std::string_view ifname, uint32_t command, uint32_t value);
/hardware/nxp/keymint/KM300/
DJavacardSecureElement.cpp182 Instruction ins, const std::vector<uint8_t>& command) { in sendRequest() argument
183 return sendRequest(transport_, ins, command); in sendRequest()
211 Instruction ins, const std::vector<uint8_t>& command) { in sendRequestSeHal() argument
213 return sendRequest(seHalTransport, ins, command); in sendRequestSeHal()
215 auto [item, err] = sendRequest(ins, command); in sendRequestSeHal()
222 return sendRequest(seHalTransport, ins, command); in sendRequestSeHal()
239 const std::vector<uint8_t>& command) { in sendRequest() argument
241 auto sendError = sendData(transport, ins, command, response); in sendRequest()
/hardware/interfaces/audio/aidl/android/hardware/audio/effect/
Dstate.gv44 IDLE -> PROCESSING [label="IEffect.command(START)"];
45 …PROCESSING -> IDLE [label="IEffect.command(STOP) (if draining not required)\nIEffect.command(RESET…
46 … PROCESSING -> DRAINING [label="IEffect.command(STOP) (if draining required)", fontcolor="orange"];
47 DRAINING -> IDLE [label="IEffect.command(RESET)\nDraining complete (automatic transition)"];
48 DRAINING -> PROCESSING [label="IEffect.command(START) (Interrupt draining)"];
/hardware/interfaces/graphics/composer/2.4/utils/vts/
DTestCommandReader.cpp24 IComposerClient::Command command = static_cast<IComposerClient::Command>(commandRaw); in parseSingleCommand() local
26 switch (command) { in parseSingleCommand()
DAndroid.bp46 "android.hardware.graphics.composer@2.1-command-buffer",
47 "android.hardware.graphics.composer@2.2-command-buffer",
48 "android.hardware.graphics.composer@2.3-command-buffer",
49 "android.hardware.graphics.composer@2.4-command-buffer",
/hardware/nxp/keymint/KM300/authsecret/
DAuthSecretHelper.cpp49 std::vector<uint8_t> command = array.encode(); in constructApdu() local
50 out.push_back(static_cast<uint8_t>(command.size())); in constructApdu()
51 out.insert(out.end(), command.begin(), command.end()); in constructApdu()
/hardware/interfaces/wifi/1.0/
DIWifiNanIface.hal48 * @param cmdId command Id to use for this invocation.
64 * @param cmdId command Id to use for this invocation.
81 * @param cmdId command Id to use for this invocation.
97 * @param cmdId command Id to use for this invocation.
110 * @param cmdId command Id to use for this invocation.
126 * @param cmdId command Id to use for this invocation.
141 * @param cmdId command Id to use for this invocation.
157 * @param cmdId command Id to use for this invocation.
172 * @param cmdId command Id to use for this invocation.
188 * @param cmdId command Id to use for this invocation.
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DDefaultVehicleHalServer.cpp267 std::string command = options[1]; in debugCommand() local
268 if (command == "--help") { in debugCommand()
271 } else if (command == "--genfakedata") { in debugCommand()
273 } else if (command == "--setint" || command == "--setfloat" || command == "--setbool") { in debugCommand()
277 result.buffer += "Unknown command: \"" + command + "\"\n"; in debugCommand()
320 std::string command = options[2]; in genFakeDataCommand() local
321 if (command == "--startlinear") { in genFakeDataCommand()
371 } else if (command == "--stoplinear") { in genFakeDataCommand()
388 } else if (command == "--startjson") { in genFakeDataCommand()
416 } else if (command == "--stopjson") { in genFakeDataCommand()
[all …]
/hardware/interfaces/graphics/composer/2.4/vts/functional/
DAndroid.bp56 "android.hardware.graphics.composer@2.1-command-buffer",
57 "android.hardware.graphics.composer@2.2-command-buffer",
58 "android.hardware.graphics.composer@2.3-command-buffer",
59 "android.hardware.graphics.composer@2.4-command-buffer",
/hardware/interfaces/automotive/remoteaccess/test_grpc_server/impl/src/
Dmain.cpp121 char* command = new char[size + 1]; in getSetPropCommand() local
122 snprintf(command, size + 1, COMMAND_SET_VHAL_PROP, propId, value); in getSetPropCommand()
123 return command; in getSetPropCommand()
136 const char* command = getSetPropCommand(SHUTDOWN_REQUEST); in powerOffEmu() local
137 runCommand(command); in powerOffEmu()
138 delete[] command; in powerOffEmu()
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerCommandEngine.h41 bool executeCommand(V2_1::IComposerClient::Command command, uint16_t length) override { in executeCommand() argument
42 switch (static_cast<IComposerClient::Command>(command)) { in executeCommand()
48 return BaseType2_1::executeCommand(command, length); in executeCommand()

1234567891011