Lines Matching refs:append
79 result.append("Usage:dump <command> [options]\n") in ShowHelp()
80 .append("Description:\n") in ShowHelp()
81 .append("-show_metadata :show all avsession metadata in the system\n") in ShowHelp()
82 .append("-show_session_info :show information of all sessions\n") in ShowHelp()
83 .append("-show_controller_info :show information of all controllers \n") in ShowHelp()
84 .append("-show_error_info :show error information about avsession\n") in ShowHelp()
85 .append("-show_trusted_devices_Info :show trusted devices Info\n"); in ShowHelp()
93 result.append("ControllerIndex: " + std::to_string(++controllerIndex) + "\n"); in ShowMetaData()
95 result.append("ItemIndex: " + std::to_string(++itemIndex)+ "\n"); in ShowMetaData()
99 result.append("Metadata:\n"); in ShowMetaData()
100 result.append(" assetid : " + metaData.GetAssetId() + "\n"); in ShowMetaData()
101 result.append(" title : " + metaData.GetTitle() + "\n"); in ShowMetaData()
102 result.append(" artist : " + metaData.GetArtist() + "\n"); in ShowMetaData()
103 result.append(" author : " + metaData.GetAuthor() + "\n"); in ShowMetaData()
104 result.append(" avqueue name : " + metaData.GetAVQueueName() + "\n"); in ShowMetaData()
105 result.append(" avqueue id : " + metaData.GetAVQueueId() + "\n"); in ShowMetaData()
106 result.append(" avqueue url : " + metaData.GetAVQueueImageUri() + "\n"); in ShowMetaData()
107 result.append(" album : " + metaData.GetAlbum() + "\n"); in ShowMetaData()
108 result.append(" writer : " + metaData.GetWriter() + "\n"); in ShowMetaData()
109 result.append(" composer : " + metaData.GetComposer() + "\n"); in ShowMetaData()
110 … result.append(" duration : " + std::to_string(metaData.GetDuration()) + "\n"); in ShowMetaData()
111 result.append(" media image url : " + metaData.GetMediaImageUri() + "\n"); in ShowMetaData()
112 …result.append(" publish date : " + std::to_string(metaData.GetPublishDate()) + "\n"… in ShowMetaData()
113 result.append(" subtitle : " + metaData.GetSubTitle() + "\n"); in ShowMetaData()
114 result.append(" description : " + metaData.GetDescription() + "\n"); in ShowMetaData()
115 result.append(" lyric : " + metaData.GetLyric() + "\n"); in ShowMetaData()
116 result.append(" previous assetid : " + metaData.GetPreviousAssetId() + "\n"); in ShowMetaData()
117 result.append(" next assetid : " + metaData.GetNextAssetId() + "\n"); in ShowMetaData()
118 …result.append(" skip intervals : " + std::to_string(metaData.GetSkipIntervals()) + "\… in ShowMetaData()
119 … result.append(" filter : " + std::to_string(metaData.GetFilter()) + "\n"); in ShowMetaData()
130 result.append("Trusted Devices Info:\n\n") in ShowTrustedDevicesInfo()
131 .append("Count : " + std::to_string(deviceList.size()) + "\n"); in ShowTrustedDevicesInfo()
134 result.append(" device id : "); in ShowTrustedDevicesInfo()
135 result.append(buff + " "); in ShowTrustedDevicesInfo()
138 result.append("\n device name : "); in ShowTrustedDevicesInfo()
139 result.append(buff + " "); in ShowTrustedDevicesInfo()
141 …result.append("\n device type id : " + deviceTypeId_.find(device.deviceTypeId)->sec… in ShowTrustedDevicesInfo()
144 result.append("\n network id : "); in ShowTrustedDevicesInfo()
145 result.append(buff + " "); in ShowTrustedDevicesInfo()
147 result.append("\n range : " + std::to_string(device.range)); in ShowTrustedDevicesInfo()
148 result.append("\n"); in ShowTrustedDevicesInfo()
155 result.append("Session Information:\n\n") in ShowSessionInfo()
156 .append("Count : " + std::to_string(sessions.size())); in ShowSessionInfo()
163 result.append("\n\ncurrent session id : " + descriptor.sessionId_ + "\n") in ShowSessionInfo()
164 .append("State:\n") in ShowSessionInfo()
165 .append("is active : " + isActive + "\n") in ShowSessionInfo()
166 .append("is the topsession : " + isTopSession) in ShowSessionInfo()
167 .append("\n\nConfiguration:\n") in ShowSessionInfo()
168 .append("pid : " + std::to_string(session->GetPid()) + "\n") in ShowSessionInfo()
169 .append("uid : " + std::to_string(session->GetUid()) + "\n"); in ShowSessionInfo()
171 result.append("session type : audio\n"); in ShowSessionInfo()
173 result.append("session type : video\n"); in ShowSessionInfo()
175 result.append("session type : voice_call\n"); in ShowSessionInfo()
177 result.append("session type : video_call\n"); in ShowSessionInfo()
179 result.append("session type is invalid.\n"); in ShowSessionInfo()
182 result.append("session tag : " + descriptor.sessionTag_ + "\n") in ShowSessionInfo()
183 … .append("bundle name : " + descriptor.elementName_.GetBundleName() + "\n") in ShowSessionInfo()
184 … .append("ability name : " + descriptor.elementName_.GetAbilityName() + "\n"); in ShowSessionInfo()
186 result.append("outputdevice\n") in ShowSessionInfo()
187 .append(" the count of devices : " + in ShowSessionInfo()
191 result.append(deviceInfo.deviceId_ + " "); in ShowSessionInfo()
193 result.append("\n device name : "); in ShowSessionInfo()
195 result.append(deviceInfo.deviceName_ + " "); in ShowSessionInfo()
197 result.append("\n\nRelated Controllers:\n") in ShowSessionInfo()
198 … .append("the count of controllers : " + std::to_string(session->controllers_.size()) + "\n") in ShowSessionInfo()
199 .append("pid of controllers : "); in ShowSessionInfo()
201 result.append(std::to_string(it.first) + " "); in ShowSessionInfo()
223 … temp.append("\n\ncurretn controller pid : " + std::to_string(controller->GetPid()) + "\n") in ShowControllerInfo()
224 .append("State:\n") in ShowControllerInfo()
225 … .append("state : " + playBackStates_.find(state)->second + "\n") in ShowControllerInfo()
226 .append("speed : " + std::to_string(speed) + "\n") in ShowControllerInfo()
227 .append("position\n") in ShowControllerInfo()
228 … .append(" elapsed time : " + std::to_string(position.elapsedTime_) + "\n") in ShowControllerInfo()
229 … .append(" update time : " + std::to_string(position.updateTime_) + "\n") in ShowControllerInfo()
230 .append("buffered time : " + std::to_string(bufferedTime) + "\n") in ShowControllerInfo()
231 .append("loopmode : " + loopMode_.find(loopMode)->second + "\n") in ShowControllerInfo()
232 .append("is favorite : " + isFavorite + "\n") in ShowControllerInfo()
233 .append("\nRelated Sessionid : " + controller->GetSessionId()); in ShowControllerInfo()
236 result.append("Controller Information:\n\n") in ShowControllerInfo()
237 .append("Count : " + std::to_string(controllerCount)) in ShowControllerInfo()
238 .append(temp); in ShowControllerInfo()
261 msgInfo.append(time + inErrMsg); in SetErrorInfo()
268 result.append("No Error Information!\n"); in ShowErrorInfo()
273 result.append("Error Information:\n\n"); in ShowErrorInfo()
275 result.append(errMessage_.at(errMsgCount++) + "\n"); in ShowErrorInfo()
296 result.append(ILLEGAL_INFORMATION); in ShowIllegalInfo()