Lines Matching refs:subscribe_event

1549                 NanMatchInd subscribe_event;  in handleEvent()  local
1551 memset(&subscribe_event, 0, sizeof(NanMatchInd)); in handleEvent()
1554 subscribe_event.out_of_resource_flag = true; in handleEvent()
1561 subscribe_event.publish_subscribe_id = it.get_u8(); in handleEvent()
1564 subscribe_event.requestor_instance_id = it.get_u8(); in handleEvent()
1566 memcpy(subscribe_event.addr, it.get_data(), NAN_MAC_ADDR_LEN); in handleEvent()
1567 ALOGI("Publisher mac: " MACSTR, MAC2STR(subscribe_event.addr)); in handleEvent()
1570 subscribe_event.service_specific_info_len = it.get_u16(); in handleEvent()
1572 memcpy(subscribe_event.service_specific_info, it.get_data(), in handleEvent()
1573 subscribe_event.service_specific_info_len); in handleEvent()
1574 subscribe_event.service_specific_info in handleEvent()
1575 [subscribe_event.service_specific_info_len] = '\0'; in handleEvent()
1576 ALOGI("service info: %s", subscribe_event.service_specific_info); in handleEvent()
1578 ALOGI("sdf match filter length: %d", subscribe_event.sdf_match_filter_len); in handleEvent()
1579 subscribe_event.sdf_match_filter_len = it.get_u16(); in handleEvent()
1581 memcpy(subscribe_event.sdf_match_filter, it.get_data(), in handleEvent()
1582 subscribe_event.sdf_match_filter_len); in handleEvent()
1583 subscribe_event.sdf_match_filter in handleEvent()
1584 [subscribe_event.sdf_match_filter_len] = '\0'; in handleEvent()
1585 ALOGI("sdf match filter: %s", subscribe_event.sdf_match_filter); in handleEvent()
1588 subscribe_event.peer_cipher_type = it.get_u8(); in handleEvent()
1591 subscribe_event.scid_len= it.get_u32(); in handleEvent()
1593 memcpy(subscribe_event.scid, it.get_data(), in handleEvent()
1594 subscribe_event.scid_len); in handleEvent()
1595 subscribe_event.scid in handleEvent()
1596 [subscribe_event.scid_len] = '\0'; in handleEvent()
1597 ALOGI("scid: %s", subscribe_event.scid); in handleEvent()
1599 subscribe_event.range_info.ranging_event_type = it.get_u32(); in handleEvent()
1602 subscribe_event.range_info.range_measurement_mm = it.get_u32(); in handleEvent()
1605 subscribe_event.rssi_value = it.get_u8(); in handleEvent()
1609 subscribe_event.sdea_service_specific_info_len = it.get_u16(); in handleEvent()
1611 memcpy(subscribe_event.sdea_service_specific_info, it.get_data(), in handleEvent()
1612 subscribe_event.sdea_service_specific_info_len); in handleEvent()
1613 subscribe_event.sdea_service_specific_info in handleEvent()
1614 [subscribe_event.sdea_service_specific_info_len] = '\0'; in handleEvent()
1615 ALOGI("sdea service info: %s", subscribe_event.sdea_service_specific_info); in handleEvent()
1618 subscribe_event.match_occured_flag = it.get_u8(); in handleEvent()
1621 subscribe_event.out_of_resource_flag = it.get_u8(); in handleEvent()
1624 subscribe_event.peer_sdea_params.config_nan_data_path = it.get_u8(); in handleEvent()
1627 subscribe_event.peer_sdea_params.ndp_type = (NdpType)it.get_u8(); in handleEvent()
1630 subscribe_event.peer_sdea_params.security_cfg = in handleEvent()
1634 subscribe_event.peer_sdea_params.range_report = (NanRangeReport)it.get_u8(); in handleEvent()
1638 GET_NAN_HANDLE(info)->mHandlers.EventMatch(&subscribe_event); in handleEvent()
4663 NanMatchInd subscribe_event; in handleEvent() local
4664 memset(&subscribe_event, 0, sizeof(NanMatchInd)); in handleEvent()
4668 subscribe_event.out_of_resource_flag = true; in handleEvent()
4675 subscribe_event.publish_subscribe_id = it.get_u16(); in handleEvent()
4679 subscribe_event.requestor_instance_id = it.get_u32(); in handleEvent()
4682 memcpy(subscribe_event.addr, it.get_data(), NAN_MAC_ADDR_LEN); in handleEvent()
4683 ALOGI("publisher mac: " MACSTR, MAC2STR(subscribe_event.addr)); in handleEvent()
4687 subscribe_event.service_specific_info_len = it.get_u16(); in handleEvent()
4690 memcpy(subscribe_event.service_specific_info, it.get_data(), in handleEvent()
4691 subscribe_event.service_specific_info_len); in handleEvent()
4692 subscribe_event.service_specific_info in handleEvent()
4693 [subscribe_event.service_specific_info_len] = '\0'; in handleEvent()
4694 ALOGI("service info: %s", subscribe_event.service_specific_info); in handleEvent()
4697 … ALOGI("sdf match filter length: %d", subscribe_event.sdf_match_filter_len); in handleEvent()
4698 subscribe_event.sdf_match_filter_len = it.get_u16(); in handleEvent()
4701 memcpy(subscribe_event.sdf_match_filter, it.get_data(), in handleEvent()
4702 subscribe_event.sdf_match_filter_len); in handleEvent()
4703 subscribe_event.sdf_match_filter in handleEvent()
4704 [subscribe_event.sdf_match_filter_len] = '\0'; in handleEvent()
4705 ALOGI("sdf match filter: %s", subscribe_event.sdf_match_filter); in handleEvent()
4708 subscribe_event.peer_cipher_type = it.get_u8(); in handleEvent()
4711 subscribe_event.scid_len= it.get_u32(); in handleEvent()
4713 memcpy(subscribe_event.scid, it.get_data(), in handleEvent()
4714 subscribe_event.scid_len); in handleEvent()
4715 subscribe_event.scid in handleEvent()
4716 [subscribe_event.scid_len] = '\0'; in handleEvent()
4717 ALOGI("scid: %s", subscribe_event.scid); in handleEvent()
4719 subscribe_event.range_info.ranging_event_type = it.get_u32(); in handleEvent()
4722 subscribe_event.range_info.range_measurement_mm = it.get_u32(); in handleEvent()
4725 subscribe_event.rssi_value = it.get_u8(); in handleEvent()
4729 subscribe_event.sdea_service_specific_info_len = it.get_u16(); in handleEvent()
4731 memcpy(subscribe_event.sdea_service_specific_info, it.get_data(), in handleEvent()
4732 subscribe_event.sdea_service_specific_info_len); in handleEvent()
4733 subscribe_event.sdea_service_specific_info in handleEvent()
4734 [subscribe_event.sdea_service_specific_info_len] = '\0'; in handleEvent()
4735 … ALOGI("sdea service info: %s", subscribe_event.sdea_service_specific_info); in handleEvent()
4738 subscribe_event.match_occured_flag = it.get_u8(); in handleEvent()
4741 subscribe_event.out_of_resource_flag = it.get_u8(); in handleEvent()
4744 subscribe_event.peer_sdea_params.config_nan_data_path = it.get_u8(); in handleEvent()
4747 subscribe_event.peer_sdea_params.ndp_type = (NdpType)it.get_u8(); in handleEvent()
4750 subscribe_event.peer_sdea_params.security_cfg = in handleEvent()
4754subscribe_event.peer_sdea_params.range_report = (NanRangeReport)it.get_u8(); in handleEvent()
4758 GET_NAN_HANDLE(info)->mHandlers.EventMatch(&subscribe_event); in handleEvent()