Lines Matching defs:descriptor

537     AVSessionDescriptor descriptor;
573 descriptor = topSession_->GetDescriptor();
576 NotifyTopSessionChanged(descriptor);
865 void AVSessionService::NotifySessionCreate(const AVSessionDescriptor& descriptor)
872 listener->OnSessionCreate(descriptor);
879 listener->OnSessionCreate(descriptor);
887 listener->OnSessionCreate(descriptor);
893 void AVSessionService::NotifySessionRelease(const AVSessionDescriptor& descriptor)
899 listener->OnSessionRelease(descriptor);
905 listener->OnSessionRelease(descriptor);
913 listener->OnSessionRelease(descriptor);
919 void AVSessionService::NotifyTopSessionChanged(const AVSessionDescriptor& descriptor)
926 listener->OnTopSessionChange(descriptor);
933 listener->OnTopSessionChange(descriptor);
941 listener->OnTopSessionChange(descriptor);
1033 AVSessionDescriptor descriptor;
1034 descriptor.sessionId_ = AllocSessionId();
1035 if (descriptor.sessionId_.empty()) {
1039 descriptor.sessionTag_ = tag;
1040 descriptor.sessionType_ = type;
1041 descriptor.elementName_ = elementName;
1042 descriptor.isThirdPartyApp_ = thirdPartyApp;
1044 sptr<AVSessionItem> result = new(std::nothrow) AVSessionItem(descriptor, GetUsersManager().GetCurrentUserId());
1287 AVSessionDescriptor& descriptor)
1295 descriptor = session->GetDescriptor();
1306 descriptor = session->GetDescriptor();
1325 AVSessionDescriptor descriptor;
1326 descriptor.sessionId_ = value["sessionId"];
1327 descriptor.elementName_.SetBundleName(value["bundleName"]);
1328 descriptor.elementName_.SetAbilityName(value["abilityName"]);
1329 descriptor.sessionType_ = AVSession::SESSION_TYPE_AUDIO;
1330 descriptors.push_back(descriptor);
2236 for (const auto& descriptor : descriptors) {
2237 if (std::to_string(descriptor->deviceId_) == deviceId) {
2238 audioDescriptor = *descriptor;
2252 SLOGI("descriptor size is %{public}d, not support", static_cast<int32_t>(descriptors.size()));
2268 int32_t AVSessionService::SelectOutputDevice(const int32_t uid, const AudioDeviceDescriptor& descriptor)
2277 auto audioDeviceDescriptor = new(std::nothrow) AudioDeviceDescriptor(descriptor);
2281 descriptor.deviceName_.c_str(), static_cast<int32_t>(descriptor.deviceRole_), descriptor.networkId_.c_str());