/device/google/cuttlefish/host/commands/modem_simulator/unittest/ |
D | service_test.cpp | 100 void SendCommand(std::string command, std::string prefix = "") { in SendCommand() argument 102 modem_simulator_->DispatchCommand(*modem_side_, command); in SendCommand() 134 auto command = commands.substr(pos, r_pos - pos); in ReadCommandResponse() local 135 if (command.size() > 0) { // "\r\r" ? in ReadCommandResponse() 136 LOG(DEBUG) << "AT< " << command; in ReadCommandResponse() 137 if (IsFinalResponseSuccess(command) || IsFinalResponseError(command)) { in ReadCommandResponse() 138 response.push_back(command); in ReadCommandResponse() 140 } else if (IsIntermediateResponse(command)) { in ReadCommandResponse() 141 response.push_back(command); in ReadCommandResponse() 189 std::string command = "AT+CCHO="; in openLogicalChannel() local [all …]
|
D | command_parser_test.cpp | 21 std::string command = "AT+SPUSATENVECMD=\"D3078202018190014E\""; in TEST() local 23 cuttlefish::CommandParser cmd(command); in TEST() 30 std::string command = "AT+SPUSATENVECMD=\"D3078202018190014E\""; in TEST() local 32 cuttlefish::CommandParser cmd(command); in TEST() 39 std::string command = "+COPS: 0,1,\"CMCC\",7"; in TEST() local 41 cuttlefish::CommandParser cmd(command); in TEST() 48 std::string command = "+COPS: 0,1,\"CMCC\",7"; in TEST() local 49 cuttlefish::CommandParser cmd(command); in TEST() 58 std::string command = "+COPS: 0,1,\"CMCC\",7"; in TEST() local 60 cuttlefish::CommandParser cmd(command); in TEST() [all …]
|
/device/google/cuttlefish/host/libs/allocd/ |
D | alloc_utils.cpp | 10 int RunExternalCommand(const std::string& command) { in RunExternalCommand() argument 12 LOG(INFO) << "Running external command: " << command; in RunExternalCommand() 13 fp = popen(command.c_str(), "r"); in RunExternalCommand() 164 auto command = ss.str(); in AddGateway() local 165 LOG(INFO) << "setup gateway: " << command; in AddGateway() 166 int status = RunExternalCommand(command); in AddGateway() 175 auto command = ss.str(); in DestroyGateway() local 176 LOG(INFO) << "removing gateway: " << command; in DestroyGateway() 177 int status = RunExternalCommand(command); in DestroyGateway() 236 auto command = ss.str(); in EbtablesBroute() local [all …]
|
/device/generic/vulkan-cereal/protocols/vulkan/chapters/ |
D | cmdbuffers.txt | 8 [open,refpage='VkCommandBuffer',desc='Opaque handle to a command buffer object',type='handles'] 12 There are two levels of command buffers - _primary command buffers_, which 13 can: execute secondary command buffers, and which are submitted to queues, 14 and _secondary command buffers_, which can: be executed by primary command 23 the command buffer, commands to modify dynamic state, commands to draw (for 25 secondary command buffers (for primary command buffers only), commands to 29 Each command buffer manages state independently of other command buffers. 30 There is no inheritance of state across primary and secondary command 31 buffers, or between secondary command buffers. 32 When a command buffer begins recording, all state in that command buffer is [all …]
|
D | VK_EXT_debug_marker.txt | 16 The <<debugging-command-buffer-markers,Command Buffer Markers>> section 18 the command buffer. 131 [[debugging-command-buffer-markers]] 134 Typical Vulkan applications will submit many command buffers in each frame, 135 with each command buffer containing a large number of individual commands. 136 Being able to logically annotate regions of command buffers that belong 143 The fname:vkCmdDebugMarkerInsertEXT command allows insertion of a single 144 label within a command buffer. 146 [open,refpage='vkCmdDebugMarkerBeginEXT',desc='Open a command buffer marker region',type='protos'] 152 * pname:commandBuffer is the command buffer into which the command is [all …]
|
D | dispatch.txt | 10 Dispatching commands are recorded into a command buffer and when executed by 13 A compute pipeline must: be bound to a command buffer before any dispatching 14 commands are recorded in that command buffer. 24 * pname:commandBuffer is the command buffer into which the command will be 33 When the command is executed, a global workgroup consisting of 59 To record an indirect dispatching command, call: 63 * pname:commandBuffer is the command buffer into which the command will be 87 [open,refpage='VkDispatchIndirectCommand',desc='Structure specifying a indirect dispatching command… 131 ifdef::VK_VERSION_1_1+VK_KHR_device_group[or the equivalent command] 137 * pname:commandBuffer is the command buffer into which the command will be [all …]
|
/device/google/cuttlefish/host/commands/cvd/ |
D | server_command.cpp | 94 return CommandToBinaryMap.find(invocation.command) != in CanHandle() 110 auto subcommand_bin = CommandToBinaryMap.find(invocation.command); in Handle() 191 Command command("(replaced)"); in Handle() local 193 command.SetExecutable(HostBinaryPath("fetch_cvd")); in Handle() 195 command.SetExecutable(kMkdirBin); in Handle() 198 command.SetExecutable(assembly_info.host_binaries_dir + bin); in Handle() 201 command.AddParameter(arg); in Handle() 210 command.AddEnvironmentVariable(kCuttlefishConfigEnvVarName, *config_path); in Handle() 214 command.UnsetFromEnvironment(it.first); in Handle() 215 command.AddEnvironmentVariable(it.first, it.second); in Handle() [all …]
|
D | instance_manager.cpp | 105 Command command(group_info.host_binaries_dir + kStatusBin); in CvdFleet() local 106 command.AddParameter("--print"); in CvdFleet() 107 command.AddParameter("--all_instances"); in CvdFleet() 108 command.RedirectStdIO(Subprocess::StdIOChannel::kStdOut, out); in CvdFleet() 109 command.AddEnvironmentVariable(kCuttlefishConfigEnvVarName, in CvdFleet() 111 if (int wait_result = command.Start().Wait(); wait_result != 0) { in CvdFleet() 134 Command command(group_info.host_binaries_dir + kStopBin); in CvdClear() local 136 command.AddParameter("--clear_instance_dirs"); in CvdClear() 137 command.RedirectStdIO(Subprocess::StdIOChannel::kStdOut, out); in CvdClear() 138 command.RedirectStdIO(Subprocess::StdIOChannel::kStdErr, err); in CvdClear() [all …]
|
/device/google/cuttlefish/host/commands/modem_simulator/ |
D | modem_service.cpp | 51 CommandHandler::CommandHandler(const std::string& command, f_func handler) in CommandHandler() argument 52 : command_prefix(command), in CommandHandler() 56 CommandHandler::CommandHandler(const std::string& command, p_func handler) in CommandHandler() argument 57 : command_prefix(command), in CommandHandler() 61 int CommandHandler::Compare(const std::string& command) const { in Compare() 64 result = command.compare(2, command_prefix.size(), command_prefix); // skip "AT" in Compare() 66 result = command.compare(2, command.size(), command_prefix); in Compare() 72 std::string& command) const { in HandleCommand() 74 (*p_command_handler)(client, command); in HandleCommand() 92 std::string command) { in HandleModemCommand() argument [all …]
|
D | sms_service.cpp | 141 void SmsService::HandleWriteSMSToSim(const Client& client, std::string& command) { in HandleWriteSMSToSim() argument 144 CommandParser cmd(command); in HandleWriteSMSToSim() 163 void SmsService::HandleDeleteSmsOnSim(const Client& client, std::string& command) { in HandleDeleteSmsOnSim() argument 164 CommandParser cmd(command); in HandleDeleteSmsOnSim() 198 void SmsService::HandleBroadcastConfig(const Client& client, std::string& command) { in HandleBroadcastConfig() argument 201 CommandParser cmd(command); in HandleBroadcastConfig() 243 void SmsService::HandleSetSmscAddress(const Client& client, std::string& command) { in HandleSetSmscAddress() argument 244 CommandParser cmd(command); in HandleSetSmscAddress() 262 std::string command = "AT+REMOTESMS=" + pdu + "\r"; in SendSmsToRemote() local 265 remote_client->Write(command.data(), command.size()); in SendSmsToRemote() [all …]
|
D | sim_service.h | 40 void HandleChangeOrEnterPIN(const Client& client, const std::string& command); 41 void HandleSIM_IO(const Client& client, const std::string& command); 42 void HandleCSIM_IO(const Client& client, const std::string& command); 45 void HandleFacilityLock(const Client& client, const std::string& command); 47 const std::string& command); 49 const std::string& command); 51 const std::string& command); 52 void HandleChangePassword(const Client& client, const std::string& command); 53 void HandleQueryRemainTimes(const Client& client, const std::string& command); 55 const std::string& command); [all …]
|
D | sms_service.h | 35 void HandleSendSMS(const Client& client, std::string& command); 36 void HandleSendSMSPDU(const Client& client, std::string& command); 37 void HandleSMSAcknowledge(const Client& client, std::string& command); 38 void HandleWriteSMSToSim(const Client& client, std::string& command); 39 void HandleDeleteSmsOnSim(const Client& client, std::string& command); 40 void HandleBroadcastConfig(const Client& client, std::string& command); 42 void HandleSetSmscAddress(const Client& client, std::string& command); 43 void HandleWriteSMSPduToSim(const Client& client, std::string& command); 44 void HandleReceiveRemoteSMS(const Client& client, std::string& command);
|
/device/google/cuttlefish/host/commands/run_cvd/ |
D | launch.cc | 68 Command command(KernelLogMonitorBinary()); in Commands() local 69 command.AddParameter("-log_pipe_fd=", fifo_); in Commands() 72 command.AddParameter("-subscriber_fds="); in Commands() 75 command.AppendToLastParameter(","); in Commands() 77 command.AppendToLastParameter(event_pipe_write_ends_[i]); in Commands() 81 return single_element_emplace(std::move(command)); in Commands() 171 Command command(RootCanalBinary()); in Commands() local 174 command.AddParameter(config_.rootcanal_test_port()); in Commands() 176 command.AddParameter(config_.rootcanal_hci_port()); in Commands() 178 command.AddParameter(config_.rootcanal_link_port()); in Commands() [all …]
|
/device/generic/vulkan-cereal/protocols/vulkan/chapters/commonvalidity/ |
D | draw_dispatch_common.txt | 11 command, then the image view's 18 command, then the image view's 23 of this command, then the image view's 29 result of this command, then the image view's 35 result of this command must: not have a elink:VkImageViewType of 42 result of this command must: have a elink:VkImageViewType and format 49 ename:VK_SAMPLER_REDUCTION_MODE_MAX as a result of this command must: 60 result of this command must: only be sampled using a 78 to the pipeline bind point used by this command, a descriptor set must: 86 bound to the pipeline bind point used by this command, a push constant [all …]
|
D | performance_query_begin_common.txt | 18 must: be the first recorded command in pname:commandBuffer 23 ename:VK_PERFORMANCE_COUNTER_SCOPE_RENDER_PASS_KHR, the begin command 29 within pname:commandBuffer, its parent primary command buffer or 30 secondary command buffer recorded within the same parent primary command 36 ename:VK_QUERY_TYPE_PERFORMANCE_QUERY_KHR, this command must: not be 37 recorded in a command buffer that, either directly or through secondary 38 command buffers, also contains a fname:vkCmdResetQueryPool command
|
D | draw_common.txt | 23 not be accessed in any way other than as an attachment by this command, 47 in the current command buffer prior to this drawing command, and the 57 in the current command buffer prior to this drawing command, and the 67 command buffer prior to this drawing command, and the 134 command buffer prior to this drawing command, and the 145 current command buffer prior to this drawing command 150 called in the current command buffer prior to this drawing command 155 command buffer prior to this drawing command 159 flink:vkCmdSetLogicOpEXT must: have been called in the current command 160 buffer prior to this drawing command and the pname:logicOp must: be a [all …]
|
/device/google/cuttlefish/common/libs/security/ |
D | gatekeeper_channel.cpp | 29 uint32_t command, bool is_response, size_t payload_size) { in CreateGatekeeperMessage() argument 32 message->cmd = command; in CreateGatekeeperMessage() 50 uint32_t command, const gatekeeper::GateKeeperMessage& message) { in SendRequest() argument 51 return SendMessage(command, false, message); in SendRequest() 55 uint32_t command, const gatekeeper::GateKeeperMessage& message) { in SendResponse() argument 56 return SendMessage(command, true, message); in SendResponse() 60 uint32_t command, in SendMessage() argument 63 LOG(DEBUG) << "Sending message with id: " << command; in SendMessage() 65 auto to_send = CreateGatekeeperMessage(command, is_response, payload_size); in SendMessage()
|
D | keymaster_channel.cpp | 34 AndroidKeymasterCommand command, bool is_response, size_t payload_size) { in CreateKeymasterMessage() argument 37 message->cmd = command; in CreateKeymasterMessage() 55 AndroidKeymasterCommand command, const keymaster::Serializable& message) { in SendRequest() argument 56 return SendMessage(command, false, message); in SendRequest() 60 AndroidKeymasterCommand command, const keymaster::Serializable& message) { in SendResponse() argument 61 return SendMessage(command, true, message); in SendResponse() 65 AndroidKeymasterCommand command, in SendMessage() argument 69 LOG(VERBOSE) << "Sending message with id: " << command << " and size " in SendMessage() 71 auto to_send = CreateKeymasterMessage(command, is_response, payload_size); in SendMessage()
|
/device/google/cuttlefish/host/frontend/webrtc/ |
D | connection_observer.cpp | 296 auto command = evt["command"].asString(); in OnControlMessage() local 298 if (command == "device_state") { in OnControlMessage() 309 } else if (command.rfind("camera_", 0) == 0 && camera_controller_) { in OnControlMessage() 316 LOG(VERBOSE) << "Control command: " << command << " (" << button_state in OnControlMessage() 318 if (command == "power") { in OnControlMessage() 320 } else if (command == "home") { in OnControlMessage() 322 } else if (command == "menu") { in OnControlMessage() 324 } else if (command == "volumedown") { in OnControlMessage() 326 } else if (command == "volumeup") { in OnControlMessage() 328 } else if (commands_to_custom_action_servers_.find(command) != in OnControlMessage() [all …]
|
/device/generic/vulkan-cereal/protocols/vulkan/appendices/ |
D | VK_NVX_device_generated_commands.txt | 16 for command buffers. 27 read back the processed stream and issue graphics command from the host. 29 the command buffer can become the bottleneck. 31 state changes and commands, and convert it efficiently into a command buffer 34 Furthermore, it allows incremental changes to such command buffers by 35 manipulating only partial sections of a command stream -- for example 37 Unextended Vulkan requires re-creation of entire command buffers in such 47 atomic command sequence. 49 the intent is for the GPU to generate the command buffer in the 54 * set up a target secondary command buffer [all …]
|
D | VK_KHR_performance_query.txt | 44 1) Should this extension include a mechanism to begin a query in command 45 buffer _A_ and end the query in command buffer _B_? 47 *RESOLVED* No - queries are tied to command buffer creation and thus have to 48 be encapsulated within a single command buffer. 51 globally on the queue, not using the existing command buffer commands? 57 *RESOLVED* Yes - users should re-submit a command buffer with the same 68 5) How to handle secondary command buffers? 70 *RESOLVED* Secondary command buffers inherit any counter pass index 71 specified in the parent primary command buffer. 76 *RESOLVED* For any command buffer that is being queried with a performance [all …]
|
/device/google/cuttlefish/host/frontend/webrtc/client/js/ |
D | adb.js | 55 function createAdbMessage(command, arg0, arg1, payload) { argument 58 setU32LE(array, 0, command); 63 setU32LE(array, 20, command ^ 0xffffffff); 78 function adbShell(command) { argument 79 let destination = utf8Encoder.encode('shell:' + command); 137 let command = getU32LE(array, 0); 140 if (command != ((magic ^ 0xffffffff) >>> 0)) { 142 console.error('command = ' + command + ', magic = ' + magic); 162 switch (command) {
|
/device/google/cuttlefish/host/commands/health/ |
D | health.cpp | 117 cuttlefish::Command command(config->crosvm_binary()); in main() local 118 command.AddParameter("battery"); in main() 119 command.AddParameter("goldfish"); in main() 120 command.AddParameter(key); in main() 121 command.AddParameter(value); in main() 122 command.AddParameter(GetControlSocketPath(*config)); in main() 125 auto ret = RunWithManagedStdio(std::move(command), NULL, &output, &error); in main()
|
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/renderer/vulkan/ |
D | README.md | 27 The back-end records commands into command buffers via the the following `ContextVk` APIs: 29 …* `endRenderPassAndGetCommandBuffer`: returns a secondary command buffer *outside* a RenderPass in… 30 * `flushAndBeginRenderPass`: returns a secondary command buffer *inside* a RenderPass instance. 31 …* `flushAndGetPrimaryCommandBuffer`: returns the primary command buffer. You should rarely need th… 34 command buffer. When a RenderPass is open `endRenderPassAndGetCommandBuffer` will flush the 36 RenderPass to a primary buffer. On submit ANGLE submits the primary command buffer to a `VkQueue`. 41 the primary command buffer. 54 ### Simple command recording example 56 In this example we'll be recording a buffer copy command: 63 # Get a pointer to a secondary command buffer for command recording. May "flush" the RP. [all …]
|
/device/generic/vulkan-cereal/third-party/googletest/googletest/test/ |
D | googletest-throw-on-failure-test.py | 68 def Run(command): argument 71 print('Running "%s". . .' % ' '.join(command)) 72 p = gtest_test_utils.Subprocess(command) 106 command = [EXE_PATH] 108 command.append(flag) 115 failed = not Run(command) 121 (THROW_ON_FAILURE, env_var_value_msg, ' '.join(command),
|