Lines Matching refs:res
1142 auto res = CreateSessionInner(tag, type, thirdPartyApp, elementName, sessionItem);
1143 CHECK_AND_RETURN_RET_LOG(res == AVSESSION_SUCCESS, nullptr, "create avSessionItem failed");
1147 void AVSessionService::ReportSessionInfo(const sptr <AVSessionItem>& session, int32_t res)
1163 std::string errMsg = (res == AVSESSION_SUCCESS) ? "SUCCESS" : "create session failed";
1170 "ERROR_CODE", res,
1179 auto res = CreateSessionInner(tag, type,
1182 CHECK_AND_RETURN_RET_LOG(res == AVSESSION_SUCCESS, res, "create session fail");
1202 ReportSessionInfo(session, static_cast<int32_t>(res));
1210 return res;
1217 auto res = CreateSessionInner(tag, type, elementName, object);
1218 CHECK_AND_RETURN_RET_LOG(res == AVSESSION_SUCCESS, nullptr, "create session fail");
2492 auto res = CreateSessionInner(sourceDescriptor.sessionTag_, sourceDescriptor.sessionType_,
2494 CHECK_AND_RETURN_RET_LOG(res == AVSESSION_SUCCESS, res, "CreateSession failed");
2778 auto res = AbilityRuntime::WantAgent::WantAgentHelper::GetWant(launWantAgent, want);
2779 isCustomer = (res == AVSESSION_SUCCESS) && (bundleName == want->GetElement().GetBundleName());
2780 SLOGI("CreateWantAgent GetWant res=%{public}d", res);