Lines Matching refs:session_info
263 static void ClearSessionInfo(ApexSessionInfo* session_info) { in ClearSessionInfo() argument
264 session_info->sessionId = -1; in ClearSessionInfo()
265 session_info->isUnknown = false; in ClearSessionInfo()
266 session_info->isVerified = false; in ClearSessionInfo()
267 session_info->isStaged = false; in ClearSessionInfo()
268 session_info->isActivated = false; in ClearSessionInfo()
269 session_info->isRevertInProgress = false; in ClearSessionInfo()
270 session_info->isActivationFailed = false; in ClearSessionInfo()
271 session_info->isSuccess = false; in ClearSessionInfo()
272 session_info->isReverted = false; in ClearSessionInfo()
273 session_info->isRevertFailed = false; in ClearSessionInfo()
277 ApexSessionInfo* session_info) { in ConvertToApexSessionInfo() argument
280 ClearSessionInfo(session_info); in ConvertToApexSessionInfo()
281 session_info->sessionId = session.GetId(); in ConvertToApexSessionInfo()
282 session_info->crashingNativeProcess = session.GetCrashingNativeProcess(); in ConvertToApexSessionInfo()
283 session_info->errorMessage = session.GetErrorMessage(); in ConvertToApexSessionInfo()
287 session_info->isVerified = true; in ConvertToApexSessionInfo()
290 session_info->isStaged = true; in ConvertToApexSessionInfo()
293 session_info->isActivated = true; in ConvertToApexSessionInfo()
296 session_info->isActivationFailed = true; in ConvertToApexSessionInfo()
299 session_info->isSuccess = true; in ConvertToApexSessionInfo()
302 session_info->isRevertInProgress = true; in ConvertToApexSessionInfo()
305 session_info->isReverted = true; in ConvertToApexSessionInfo()
308 session_info->isRevertFailed = true; in ConvertToApexSessionInfo()
312 session_info->isUnknown = true; in ConvertToApexSessionInfo()
350 ApexSessionInfo session_info; in getSessions() local
351 ConvertToApexSessionInfo(session, &session_info); in getSessions()
352 aidl_return->push_back(session_info); in getSessions()
931 ApexSessionInfo session_info; in shellCommand() local
932 BinderStatus status = getStagedSessionInfo(session_id, &session_info); in shellCommand()
935 std::string crashing_native_process = session_info.crashingNativeProcess; in shellCommand()
941 << " isUnknown: " << session_info.isUnknown in shellCommand()
942 << " isVerified: " << session_info.isVerified in shellCommand()
943 << " isStaged: " << session_info.isStaged in shellCommand()
944 << " isActivated: " << session_info.isActivated in shellCommand()
946 << session_info.isActivationFailed << revert_reason in shellCommand()