• Home
  • Raw
  • Download

Lines Matching refs:sdp_handle

63   int sdp_handle;  member
227 handle = sdp_slots[id].sdp_handle; in free_sdp_slot()
228 sdp_slots[id].sdp_handle = 0; in free_sdp_slot()
270 sdp_slots[id].sdp_handle = handle; in set_sdp_handle()
380 uint32_t sdp_handle = 0; in add_maps_sdp() local
392 sdp_handle = SDP_CreateRecord(); in add_maps_sdp()
393 if (sdp_handle == 0) { in add_maps_sdp()
395 return sdp_handle; in add_maps_sdp()
399 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_maps_sdp()
410 status &= SDP_AddProtocolList(sdp_handle, 3, protoList); in add_maps_sdp()
413 status &= SDP_AddAttribute(sdp_handle, (uint16_t)ATTR_ID_SERVICE_NAME, in add_maps_sdp()
419 status &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_MAP_PROFILE, in add_maps_sdp()
424 SDP_AddAttribute(sdp_handle, ATTR_ID_MAS_INSTANCE_ID, UINT_DESC_TYPE, in add_maps_sdp()
429 SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_MSG_TYPE, UINT_DESC_TYPE, in add_maps_sdp()
434 status &= SDP_AddAttribute(sdp_handle, ATTR_ID_MAP_SUPPORTED_FEATURES, in add_maps_sdp()
441 status &= SDP_AddAttribute(sdp_handle, ATTR_ID_GOEP_L2CAP_PSM, in add_maps_sdp()
447 SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &browse); in add_maps_sdp()
450 SDP_DeleteRecord(sdp_handle); in add_maps_sdp()
451 sdp_handle = 0; in add_maps_sdp()
456 sdp_handle); in add_maps_sdp()
458 return sdp_handle; in add_maps_sdp()
468 uint32_t sdp_handle = 0; in add_mapc_sdp() local
478 sdp_handle = SDP_CreateRecord(); in add_mapc_sdp()
479 if (sdp_handle == 0) { in add_mapc_sdp()
482 return sdp_handle; in add_mapc_sdp()
486 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_mapc_sdp()
497 status &= SDP_AddProtocolList(sdp_handle, 3, protoList); in add_mapc_sdp()
500 status &= SDP_AddAttribute(sdp_handle, (uint16_t)ATTR_ID_SERVICE_NAME, in add_mapc_sdp()
506 status &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_MAP_PROFILE, in add_mapc_sdp()
511 status &= SDP_AddAttribute(sdp_handle, ATTR_ID_MAP_SUPPORTED_FEATURES, in add_mapc_sdp()
518 status &= SDP_AddAttribute(sdp_handle, ATTR_ID_GOEP_L2CAP_PSM, in add_mapc_sdp()
524 SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &browse); in add_mapc_sdp()
527 SDP_DeleteRecord(sdp_handle); in add_mapc_sdp()
528 sdp_handle = 0; in add_mapc_sdp()
533 sdp_handle); in add_mapc_sdp()
535 return sdp_handle; in add_mapc_sdp()
544 uint32_t sdp_handle = 0; in add_pbapc_sdp() local
547 sdp_handle = SDP_CreateRecord(); in add_pbapc_sdp()
548 if (sdp_handle == 0) { in add_pbapc_sdp()
550 return sdp_handle; in add_pbapc_sdp()
553 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_pbapc_sdp()
556 status &= SDP_AddAttribute(sdp_handle, (uint16_t)ATTR_ID_SERVICE_NAME, in add_pbapc_sdp()
562 status &= SDP_AddProfileDescriptorList(sdp_handle, service, in add_pbapc_sdp()
567 SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &browse); in add_pbapc_sdp()
570 SDP_DeleteRecord(sdp_handle); in add_pbapc_sdp()
571 sdp_handle = 0; in add_pbapc_sdp()
573 return sdp_handle; in add_pbapc_sdp()
577 sdp_handle); in add_pbapc_sdp()
578 return sdp_handle; in add_pbapc_sdp()
588 uint32_t sdp_handle = 0; in add_pbaps_sdp() local
599 sdp_handle = SDP_CreateRecord(); in add_pbaps_sdp()
600 if (sdp_handle == 0) { in add_pbaps_sdp()
602 return sdp_handle; in add_pbaps_sdp()
606 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_pbaps_sdp()
617 status &= SDP_AddProtocolList(sdp_handle, 3, protoList); in add_pbaps_sdp()
620 status &= SDP_AddAttribute(sdp_handle, (uint16_t)ATTR_ID_SERVICE_NAME, in add_pbaps_sdp()
627 sdp_handle, UUID_SERVCLASS_PHONE_ACCESS, rec->hdr.profile_version); in add_pbaps_sdp()
630 status &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_REPOSITORIES, in add_pbaps_sdp()
636 status &= SDP_AddAttribute(sdp_handle, ATTR_ID_PBAP_SUPPORTED_FEATURES, in add_pbaps_sdp()
643 status &= SDP_AddAttribute(sdp_handle, ATTR_ID_GOEP_L2CAP_PSM, in add_pbaps_sdp()
649 SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &browse); in add_pbaps_sdp()
652 SDP_DeleteRecord(sdp_handle); in add_pbaps_sdp()
653 sdp_handle = 0; in add_pbaps_sdp()
658 sdp_handle); in add_pbaps_sdp()
660 return sdp_handle; in add_pbaps_sdp()
673 uint32_t sdp_handle = 0; in add_opps_sdp() local
686 sdp_handle = SDP_CreateRecord(); in add_opps_sdp()
687 if (sdp_handle == 0) { in add_opps_sdp()
690 return sdp_handle; in add_opps_sdp()
694 status &= SDP_AddServiceClassIdList(sdp_handle, 1, &service); in add_opps_sdp()
705 status &= SDP_AddProtocolList(sdp_handle, 3, protoList); in add_opps_sdp()
708 status &= SDP_AddAttribute(sdp_handle, (uint16_t)ATTR_ID_SERVICE_NAME, in add_opps_sdp()
715 sdp_handle, UUID_SERVCLASS_OBEX_OBJECT_PUSH, rec->hdr.profile_version); in add_opps_sdp()
725 SDP_AddSequence(sdp_handle, (uint16_t)ATTR_ID_SUPPORTED_FORMATS_LIST, in add_opps_sdp()
733 status &= SDP_AddAttribute(sdp_handle, ATTR_ID_GOEP_L2CAP_PSM, in add_opps_sdp()
739 SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &browse); in add_opps_sdp()
742 SDP_DeleteRecord(sdp_handle); in add_opps_sdp()
743 sdp_handle = 0; in add_opps_sdp()
752 sdp_handle); in add_opps_sdp()
754 return sdp_handle; in add_opps_sdp()
764 uint32_t sdp_handle = 0; in add_saps_sdp() local
769 sdp_handle = SDP_CreateRecord(); in add_saps_sdp()
770 if (sdp_handle == 0) { in add_saps_sdp()
772 return sdp_handle; in add_saps_sdp()
779 status &= SDP_AddServiceClassIdList(sdp_handle, 2, services); in add_saps_sdp()
788 status &= SDP_AddProtocolList(sdp_handle, 2, protoList); in add_saps_sdp()
791 status &= SDP_AddAttribute(sdp_handle, (uint16_t)ATTR_ID_SERVICE_NAME, in add_saps_sdp()
797 status &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_SAP, in add_saps_sdp()
802 SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &browse); in add_saps_sdp()
805 SDP_DeleteRecord(sdp_handle); in add_saps_sdp()
806 sdp_handle = 0; in add_saps_sdp()
811 sdp_handle); in add_saps_sdp()
813 return sdp_handle; in add_saps_sdp()