Home
last modified time | relevance | path

Searched refs:serviceSpecificInfo (Results 1 – 13 of 13) sorted by relevance

/system/chre/platform/linux/
Dpal_nan.cc51 auto *serviceSpecificInfo = in sendDiscoveryEvent() local
53 CHRE_ASSERT_NOT_NULL(serviceSpecificInfo); in sendDiscoveryEvent()
58 event->serviceSpecificInfo = std::move(serviceSpecificInfo); in sendDiscoveryEvent()
65 memoryFree(const_cast<uint8_t *>(event->serviceSpecificInfo)); in destroyDiscoveryEvent()
/system/chre/chpp/common/
Dwifi_convert.c311 out->serviceSpecificInfo.length = in chppWifiConvertNanSubscribeConfigFromChre()
313 CHPP_ASSERT((size_t)(*vlaOffset + out->serviceSpecificInfo.length) <= in chppWifiConvertNanSubscribeConfigFromChre()
315 if (out->serviceSpecificInfo.length > 0 && in chppWifiConvertNanSubscribeConfigFromChre()
316 *vlaOffset + out->serviceSpecificInfo.length <= payloadSize) { in chppWifiConvertNanSubscribeConfigFromChre()
317 memcpy(&payload[*vlaOffset], in->serviceSpecificInfo, in chppWifiConvertNanSubscribeConfigFromChre()
319 out->serviceSpecificInfo.offset = *vlaOffset; in chppWifiConvertNanSubscribeConfigFromChre()
320 *vlaOffset += out->serviceSpecificInfo.length; in chppWifiConvertNanSubscribeConfigFromChre()
322 out->serviceSpecificInfo.offset = 0; in chppWifiConvertNanSubscribeConfigFromChre()
347 out->serviceSpecificInfo.length = in chppWifiConvertNanDiscoveryEventFromChre()
349 CHPP_ASSERT((size_t)(*vlaOffset + out->serviceSpecificInfo.length) <= in chppWifiConvertNanDiscoveryEventFromChre()
[all …]
/system/chre/chpp/test/
Dwifi_convert_test.cpp370 EXPECT_TRUE(0 == std::memcmp(config.serviceSpecificInfo, in validateNanSubscribeConfig()
371 decodedConfig->serviceSpecificInfo, in validateNanSubscribeConfig()
402 EXPECT_TRUE(0 == std::memcmp(event.serviceSpecificInfo, in validateNanDiscoveryEvent()
403 decodedEvent->serviceSpecificInfo, in validateNanDiscoveryEvent()
691 uint8_t serviceSpecificInfo[kServiceSpecificInfoSize] = {0x1, 0x2, 0x3, 0x4}; in TEST() local
696 .serviceSpecificInfo = serviceSpecificInfo, in TEST()
706 uint8_t serviceSpecificInfo[kServiceSpecificInfoSize] = {0x1, 0x2, 0x3, 0x4}; in TEST() local
711 .serviceSpecificInfo = serviceSpecificInfo, in TEST()
/system/chre/chpp/include/chpp/common/
Dwifi_types.h47 struct ChppOffset serviceSpecificInfo; // References serviceSpecificInfoSize member
74 struct ChppOffset serviceSpecificInfo; // References serviceSpecificInfoSize member
/system/chre/chre_api/legacy/v1_6/chre/
Dwifi.h913 const uint8_t *serviceSpecificInfo; member
959 const uint8_t *serviceSpecificInfo; member
/system/chre/chre_api/legacy/v1_8/chre/
Dwifi.h913 const uint8_t *serviceSpecificInfo; member
959 const uint8_t *serviceSpecificInfo; member
/system/chre/chre_api/include/chre_api/chre/
Dwifi.h918 const uint8_t *serviceSpecificInfo; member
964 const uint8_t *serviceSpecificInfo; member
/system/chre/chre_api/legacy/v1_7/chre/
Dwifi.h913 const uint8_t *serviceSpecificInfo; member
959 const uint8_t *serviceSpecificInfo; member
/system/chre/chre_api/legacy/v1_9/chre/
Dwifi.h916 const uint8_t *serviceSpecificInfo; member
962 const uint8_t *serviceSpecificInfo; member
/system/chre/core/
Dwifi_request_manager.cc1288 req.serviceSpecificInfo.copy_array(config->serviceSpecificInfo, in copyNanSubscribeConfigToRequest()
1305 config->serviceSpecificInfo = req.serviceSpecificInfo.data(); in buildNanSubscribeConfigFromRequest()
1307 static_cast<uint32_t>(req.serviceSpecificInfo.size()); in buildNanSubscribeConfigFromRequest()
/system/chre/core/include/chre/core/
Dwifi_request_manager.h311 Buffer<uint8_t> serviceSpecificInfo; member
/system/chre/chpp/clients/
Dwifi.c1137 if (event->serviceSpecificInfo != NULL) { in chppWifiClientNanReleaseDiscoveryEvent()
1138 void *info = CHPP_CONST_CAST_POINTER(event->serviceSpecificInfo); in chppWifiClientNanReleaseDiscoveryEvent()
/system/chre/apps/power_test/common/
Drequest_manager.cc366 config.serviceSpecificInfo = msg->service_specific_info()->Data(); in requestWifiNanSub()