/system/chre/platform/linux/ |
D | pal_nan.cc | 25 uint32_t *subscriptionId) { in subscribe() argument 30 *subscriptionId = id; in subscribe() 36 bool PalNanEngine::subscribeCancel(uint32_t subscriptionId) { in subscribeCancel() argument 37 const bool isActive = isSubscriptionActive(subscriptionId); in subscribeCancel() 38 mActiveSubscriptions.erase(subscriptionId); in subscribeCancel() 42 bool PalNanEngine::isSubscriptionActive(uint32_t subscriptionId) { in isSubscriptionActive() argument 43 return mActiveSubscriptions.count(subscriptionId) == 1; in isSubscriptionActive() 46 void PalNanEngine::sendDiscoveryEvent(uint32_t subscriptionId) { in sendDiscoveryEvent() argument 55 event->subscribeId = subscriptionId; in sendDiscoveryEvent()
|
D | pal_wifi.cc | 185 uint32_t subscriptionId = 0; in chrePalWifiApiNanSubscribe() local 187 chre::PalNanEngineSingleton::get()->subscribe(config, &subscriptionId); in chrePalWifiApiNanSubscribe() 189 gCallbacks->nanServiceIdentifierCallback(errorCode, subscriptionId); in chrePalWifiApiNanSubscribe() 194 bool chrePalWifiApiNanSubscribeCancel(const uint32_t subscriptionId) { in chrePalWifiApiNanSubscribeCancel() argument 195 gCallbacks->nanSubscriptionCanceledCallback(CHRE_ERROR_NONE, subscriptionId); in chrePalWifiApiNanSubscribeCancel() 196 return chre::PalNanEngineSingleton::get()->subscribeCancel(subscriptionId); in chrePalWifiApiNanSubscribeCancel()
|
/system/chre/platform/shared/ |
D | platform_wifi.cc | 163 bool PlatformWifi::nanSubscribeCancel(uint32_t subscriptionId) { in nanSubscribeCancel() argument 169 success = mWifiApi->nanSubscribeCancel(subscriptionId); in nanSubscribeCancel() 172 UNUSED_VAR(subscriptionId); in nanSubscribeCancel() 201 uint32_t subscriptionId) { in nanServiceIdentifierCallback() argument 205 .handleNanServiceIdentifierEvent(errorCode, subscriptionId); in nanServiceIdentifierCallback() 208 UNUSED_VAR(subscriptionId); in nanServiceIdentifierCallback() 223 void PlatformWifiBase::nanServiceLostCallback(uint32_t subscriptionId, in nanServiceLostCallback() argument 228 .handleNanServiceLostEvent(subscriptionId, publisherId); in nanServiceLostCallback() 230 UNUSED_VAR(subscriptionId); in nanServiceLostCallback() 236 uint32_t subscriptionId) { in nanServiceTerminatedCallback() argument [all …]
|
D | chre_api_wifi.cc | 92 [[maybe_unused]] uint32_t subscriptionId) { in chreWifiNanSubscribeCancel() argument 98 .nanSubscribeCancel(nanoapp, subscriptionId); in chreWifiNanSubscribeCancel()
|
/system/chre/pal/tests/src/ |
D | wifi_pal_impl_test.cc | 83 uint32_t subscriptionId) { in chrePalNanServiceIdentifierCallback() argument 85 gTest->nanServiceIdentifierCallback(errorCode, subscriptionId); in chrePalNanServiceIdentifierCallback() 96 void chrePalNanServiceLostCallback(uint32_t subscriptionId, in chrePalNanServiceLostCallback() argument 99 gTest->nanServiceLostCallback(subscriptionId, publisherId); in chrePalNanServiceLostCallback() 104 uint32_t subscriptionId) { in chrePalNanServiceTerminatedCallback() argument 106 gTest->nanServiceTerminatedCallback(reason, subscriptionId); in chrePalNanServiceTerminatedCallback() 111 uint32_t subscriptionId) { in chrePalNanSubscriptionCanceledCallback() argument 113 gTest->nanSubscriptionCanceledCallback(reason, subscriptionId); in chrePalNanSubscriptionCanceledCallback() 207 uint32_t subscriptionId) { in nanServiceIdentifierCallback() argument 209 subscriptionId_ = subscriptionId; in nanServiceIdentifierCallback() [all …]
|
/system/chre/pal/include/chre/pal/ |
D | wifi.h | 183 uint32_t subscriptionId); 216 void (*nanServiceLostCallback)(uint32_t subscriptionId, uint32_t publisherId); 230 uint32_t subscriptionId); 247 uint32_t subscriptionId); 467 bool (*nanSubscribeCancel)(const uint32_t subscriptionId);
|
/system/chre/platform/shared/include/chre/target_platform/ |
D | platform_wifi_base.h | 50 uint32_t subscriptionId); 55 static void nanServiceLostCallback(uint32_t subscriptionId, 59 uint32_t subscriptionId); 62 uint32_t subscriptionId);
|
/system/chre/core/include/chre/core/ |
D | wifi_request_manager.h | 150 bool nanSubscribeCancel(Nanoapp *nanoapp, uint32_t subscriptionId); 214 uint32_t subscriptionId); 234 void handleNanServiceLostEvent(uint32_t subscriptionId, uint32_t publisherId); 245 uint32_t subscriptionId); 256 uint32_t subscriptionId); 362 uint32_t subscriptionId; member 365 : nanoappInstanceId(nappId), subscriptionId(subId) {} in NanoappNanSubscriptions() 638 uint32_t subscriptionId); 659 void handleNanServiceLostEventSync(uint32_t subscriptionId, 670 uint32_t subscriptionId); [all …]
|
/system/chre/platform/linux/include/chre/platform/linux/ |
D | pal_nan.h | 67 uint32_t *subscriptionId); 75 bool subscribeCancel(uint32_t subscriptionId); 82 bool isSubscriptionActive(uint32_t subscriptionId); 94 void sendDiscoveryEvent(uint32_t subscriptionId);
|
/system/chre/core/ |
D | wifi_request_manager.cc | 182 nanSubscribeCancel(nanoapp, mNanoappSubscriptions[i].subscriptionId); in disableAllSubscriptions() 459 uint8_t errorCode, uint32_t subscriptionId) { in handleNanServiceIdentifierEventSync() argument 468 event->id = subscriptionId; in handleNanServiceIdentifierEventSync() 478 req.nanoappInstanceId, subscriptionId))) { in handleNanServiceIdentifierEventSync() 503 uint8_t errorCode, uint32_t subscriptionId) { in handleNanServiceIdentifierEvent() argument 506 uint32_t subscriptionId = NestedDataPtr<uint32_t>(extraData); in handleNanServiceIdentifierEvent() local 509 .handleNanServiceIdentifierEventSync(errorCode, subscriptionId); in handleNanServiceIdentifierEvent() 515 NestedDataPtr<uint32_t>(subscriptionId)); in handleNanServiceIdentifierEvent() 519 uint32_t subscriptionId, uint16_t *nanoappInstanceId) { in getNappIdFromSubscriptionId() argument 522 if (sub.subscriptionId == subscriptionId) { in getNappIdFromSubscriptionId() [all …]
|
/system/chre/pal/tests/include/ |
D | wifi_pal_impl_test.h | 40 void nanServiceIdentifierCallback(uint8_t errorCode, uint32_t subscriptionId); 42 void nanServiceLostCallback(uint32_t subscriptionId, uint32_t publisherId); 43 void nanServiceTerminatedCallback(uint32_t reason, uint32_t subscriptionId); 45 uint32_t subscriptionId);
|
/system/chre/chpp/include/chpp/common/ |
D | wifi.h | 109 uint32_t subscriptionId; member 120 uint32_t subscriptionId; member 131 uint32_t subscriptionId; member
|
/system/chre/chpp/services/ |
D | wifi.c | 141 uint32_t subscriptionId); 144 static void chppWifiServiceNanLostCallback(uint32_t subscriptionId, 147 uint32_t subscriptionId); 149 uint8_t errorCode, uint32_t subscriptionId); 606 uint32_t subscriptionId = chppRequest->subscriptionId; in chppWifiServiceRequestNanSubscribeCancel() local 607 if (!wifiServiceContext->api->nanSubscribeCancel(subscriptionId)) { in chppWifiServiceRequestNanSubscribeCancel() 839 uint32_t subscriptionId) { in chppWifiServiceNanIdentifierCallback() argument 852 id->subscriptionId = subscriptionId; in chppWifiServiceNanIdentifierCallback() 903 static void chppWifiServiceNanLostCallback(uint32_t subscriptionId, in chppWifiServiceNanLostCallback() argument 906 .id = subscriptionId, in chppWifiServiceNanLostCallback() [all …]
|
/system/chre/chpp/clients/ |
D | wifi.c | 798 uint32_t subscriptionId = 0; in chppWifiRequestNanSubscribeNotification() local 806 subscriptionId = id->subscriptionId; in chppWifiRequestNanSubscribeNotification() 808 gCallbacks->nanServiceIdentifierCallback(errorCode, subscriptionId); in chppWifiRequestNanSubscribeNotification() 822 uint32_t subscriptionId = 0; in chppWifiNanSubscriptionCanceledNotification() local 829 subscriptionId = chppNotif->subscriptionId; in chppWifiNanSubscriptionCanceledNotification() 831 gCallbacks->nanSubscriptionCanceledCallback(errorCode, subscriptionId); in chppWifiNanSubscriptionCanceledNotification() 1105 static bool chppWifiClientNanSubscribeCancel(uint32_t subscriptionId) { in chppWifiClientNanSubscribeCancel() argument 1119 request->subscriptionId = subscriptionId; in chppWifiClientNanSubscribeCancel()
|
/system/chre/platform/include/chre/platform/ |
D | platform_wifi.h | 119 bool nanSubscribeCancel(uint32_t subscriptionId);
|
/system/chre/apps/power_test/common/include/ |
D | request_manager.h | 201 bool cancelWifiNanSub(uint32_t subscriptionId);
|
/system/chre/apps/power_test/common/ |
D | request_manager.cc | 379 bool RequestManager::cancelWifiNanSub(uint32_t subscriptionId) { in cancelWifiNanSub() argument 380 bool success = chreWifiNanSubscribeCancel(subscriptionId); in cancelWifiNanSub()
|