Home
last modified time | relevance | path

Searched refs:command_ (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/test/unittest/lifecycle_test/
H A Dlifecycle_test.cpp150 command_->callback_ = false;
152 command_->state_ = OHOS::AAFwk::AbilityState::INITIAL;
181 command_->callback_ = true;
214 command_->callback_ = true;
216 command_->state_ = OHOS::AAFwk::AbilityState::INITIAL;
250 command_->callback_ = false;
275 command_->callback_ = false;
328 command_->callback_ = false;
388 command_->callback_ = true;
425 command_->callback_ = false;
[all …]
/ohos5.0/foundation/ability/ability_lite/services/abilitymgr_lite/tools/src/
H A Dability_tool.cpp86 command_ = const_cast<char *>(command); in SetCommand()
97 if (command_ == nullptr) { in RunCommand()
121 if (strcmp(command_, CMD_START_ABILITY) == 0) { in RunCommand()
123 } else if (strcmp(command_, CMD_STOP_ABILITY) == 0) { in RunCommand()
125 } else if (strcmp(command_, CMD_TERMINATE_APP) == 0) { in RunCommand()
127 } else if (strcmp(command_, CMD_DUMP_ABILITY) == 0) { in RunCommand()
130 printf("unknown command: %s\n", command_); in RunCommand()
151 if (strcmp(command_, CMD_DUMP_ABILITY) == 0) { in BuildWant()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/base/src/
H A Ddcamera_info_cmd.cpp33 cJSON_AddStringToObject(rootValue, "Command", command_.c_str()); in Marshal()
77 command_ = command->valuestring; in Unmarshal()
H A Ddcamera_open_info_cmd.cpp33 cJSON_AddStringToObject(rootValue, "Command", command_.c_str()); in Marshal()
77 command_ = command->valuestring; in Unmarshal()
H A Ddcamera_event_cmd.cpp32 cJSON_AddStringToObject(rootValue, "Command", command_.c_str()); in Marshal()
75 command_ = command->valuestring; in Unmarshal()
H A Ddcamera_metadata_setting_cmd.cpp33 cJSON_AddStringToObject(rootValue, "Command", command_.c_str()); in Marshal()
86 command_ = command->valuestring; in Unmarshal()
H A Ddcamera_channel_info_cmd.cpp32 cJSON_AddStringToObject(rootValue, "Command", command_.c_str()); in Marshal()
93 command_ = command->valuestring; in Unmarshal()
H A Ddcamera_capture_info_cmd.cpp32 cJSON_AddStringToObject(rootValue, "Command", command_.c_str()); in Marshal()
102 command_ = command->valuestring; in Unmarshal()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameracontrol/
H A Ddcamera_source_controller.cpp79 cmd.command_ = DCAMERA_PROTOCOL_CMD_CAPTURE; in StartCapture()
90 GetAnonyString(dhId).c_str(), cmd.command_.c_str()); in StartCapture()
157 cmd.command_ = DCAMERA_PROTOCOL_CMD_CHAN_NEG; in ChannelNeg()
167 GetAnonyString(devId).c_str(), GetAnonyString(dhId).c_str(), cmd.command_.c_str()); in ChannelNeg()
225 cmd.command_ = DCAMERA_PROTOCOL_CMD_UPDATE_METADATA; in UpdateSettings()
306 cmd.command_ = DCAMERA_PROTOCOL_CMD_OPEN_CHANNEL; in OpenChannel()
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/base/include/
H A Ddcamera_info_cmd.h39 std::string command_; variable
H A Ddcamera_metadata_setting_cmd.h28 std::string command_; variable
H A Ddcamera_event_cmd.h35 std::string command_; variable
H A Ddcamera_open_info_cmd.h37 std::string command_; variable
H A Ddcamera_capture_info_cmd.h42 std::string command_; variable
H A Ddcamera_channel_info_cmd.h49 std::string command_; variable
/ohos5.0/foundation/ability/ability_lite/services/abilitymgr_lite/tools/include/
H A Dability_tool.h45 char *command_ { nullptr };
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/continue/
H A Ddsched_continue.cpp636 cmd->command_ = DSCHED_CONTINUE_CMD_START; in PackStartCmd()
874 cmd->command_ = DSCHED_CONTINUE_CMD_DATA; in PackDataCmd()
1084 cmd->command_ = DSCHED_CONTINUE_CMD_REPLY; in PackReplyCmd()
1220 cmd->command_ = DSCHED_CONTINUE_CMD_END; in PackEndCmd()
1240 HILOGI("SendCommand start, cmd %{public}d", cmd->command_); in SendCommand()
1244 HILOGE("SendCommand marshal cmd %{public}d failed, ret %{public}d", cmd->command_, ret); in SendCommand()
1250 HILOGE("SendCommand memcpy_s failed, cmd %{public}d, ret %{public}d", cmd->command_, ret); in SendCommand()
1255 HILOGE("SendCommand send data failed, cmd %{public}d, ret %{public}d", cmd->command_, ret); in SendCommand()
1258 HILOGI("SendCommand end, cmd %{public}d", cmd->command_); in SendCommand()
H A Ddsched_continue_event.cpp42 cJSON_AddNumberToObject(rootValue, "Command", command_); in Marshal()
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/include/continue/
H A Ddsched_continue_event.h61 int32_t command_ = 0; variable
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/src/distributedcameramgr/
H A Ddcamera_sink_dev.cpp128 cameraInfoCmd.command_ = DCAMERA_PROTOCOL_CMD_GET_INFO; in GetCameraInfo()
H A Ddcamera_sink_controller.cpp150 eventCmd.command_ = DCAMERA_PROTOCOL_CMD_STATE_NOTIFY; in DCameraNotify()
437 cmd.command_ = DCAMERA_PROTOCOL_CMD_METADATA_RESULT; in OnMetadataResult()