Home
last modified time | relevance | path

Searched refs:command_ (Results 1 - 22 of 22) sorted by relevance

/foundation/ability/ability_runtime/test/unittest/lifecycle_test/
H A Dlifecycle_test.cpp67 std::unique_ptr<LifeTestCommand> command_{ nullptr }; // test command_ interact with ams_
150 command_->callback_ = false; in HWTEST_F()
151 command_->expectState_ = OHOS::AAFwk::AbilityState::ACTIVE; in HWTEST_F()
152 command_->state_ = OHOS::AAFwk::AbilityState::INITIAL; in HWTEST_F()
155 pthread_create(&tid, nullptr, LifecycleTest::AbilityStartThread, command_.get()); in HWTEST_F()
157 LifecycleTest::SemTimedWaitMillis(LOAD_TIMEOUT + DELAY_TEST_TIME, command_->sem_); in HWTEST_F()
181 command_->callback_ = true; in HWTEST_F()
182 command_->expectState_ = OHOS::AAFwk::AbilityState::ACTIVE; in HWTEST_F()
183 command_ in HWTEST_F()
[all...]
/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()
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/continue/
H A Ddsched_continue_event_test.cpp60 cmd.command_ = 0; in HWTEST_F()
90 cmd.command_ = 0; in HWTEST_F()
125 cmd.command_ = 0; in HWTEST_F()
165 cmd.command_ = 0; in HWTEST_F()
200 cmd.command_ = 0; in HWTEST_F()
/foundation/distributedhardware/distributed_camera/services/cameraservice/base/src/
H A Ddcamera_event_cmd.cpp35 cJSON_AddStringToObject(rootValue, "Command", command_.c_str()); in Marshal()
78 command_ = command->valuestring; in Unmarshal()
H A Ddcamera_info_cmd.cpp36 cJSON_AddStringToObject(rootValue, "Command", command_.c_str()); in Marshal()
80 command_ = command->valuestring; in Unmarshal()
H A Ddcamera_metadata_setting_cmd.cpp33 cJSON_AddStringToObject(rootValue, "Command", command_.c_str()); in Marshal()
90 command_ = command->valuestring; in Unmarshal()
H A Ddcamera_open_info_cmd.cpp36 cJSON_AddStringToObject(rootValue, "Command", command_.c_str()); in Marshal()
80 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()
103 command_ = command->valuestring; in Unmarshal()
/foundation/ability/ability_lite/services/abilitymgr_lite/tools/include/
H A Dability_tool.h45 char *command_ { nullptr };
/foundation/distributedhardware/distributed_camera/services/cameraservice/base/include/
H A Ddcamera_open_info_cmd.h37 std::string command_; member in OHOS::DistributedHardware::DCameraOpenInfoCmd
H A Ddcamera_metadata_setting_cmd.h28 std::string command_; member in OHOS::DistributedHardware::DCameraMetadataSettingCmd
H A Ddcamera_info_cmd.h39 std::string command_; member in OHOS::DistributedHardware::DCameraInfoCmd
H A Ddcamera_event_cmd.h35 std::string command_; member in OHOS::DistributedHardware::DCameraEventCmd
H A Ddcamera_channel_info_cmd.h49 std::string command_; member in OHOS::DistributedHardware::DCameraChannelInfoCmd
H A Ddcamera_capture_info_cmd.h42 std::string command_; member in OHOS::DistributedHardware::DCameraCaptureInfoCmd
/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()
182 cmd.command_ = DCAMERA_PROTOCOL_CMD_CHAN_NEG; in ChannelNeg()
192 GetAnonyString(devId).c_str(), GetAnonyString(dhId).c_str(), cmd.command_.c_str()); in ChannelNeg()
251 cmd.command_ = DCAMERA_PROTOCOL_CMD_UPDATE_METADATA; in UpdateSettings()
335 cmd.command_ = DCAMERA_PROTOCOL_CMD_OPEN_CHANNEL; in OpenChannel()
/foundation/ability/dmsfwk/services/dtbschedmgr/include/continue/
H A Ddsched_continue_event.h61 int32_t command_ = 0; member in OHOS::DistributedSchedule::DSchedContinueCmdBase
/foundation/ability/dmsfwk/services/dtbschedmgr/src/continue/
H A Ddsched_continue.cpp637 cmd->command_ = DSCHED_CONTINUE_CMD_START; in PackStartCmd()
875 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()
/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.cpp144 eventCmd.command_ = DCAMERA_PROTOCOL_CMD_STATE_NOTIFY; in DCameraNotify()
520 cmd.command_ = DCAMERA_PROTOCOL_CMD_METADATA_RESULT; in OnMetadataResult()

Completed in 18 milliseconds