Home
last modified time | relevance | path

Searched refs:subscribeCBInfo (Results 1 – 2 of 2) sorted by relevance

/base/account/os_account/interfaces/kits/napi/osaccount/src/
Dnapi_os_account.cpp1332 static bool IsSubscribeInMap(napi_env env, SubscribeCBInfo *subscribeCBInfo) in IsSubscribeInMap() argument
1335 auto subscribe = g_osAccountSubscribers.find(subscribeCBInfo->osManager); in IsSubscribeInMap()
1341 if (((*it)->osSubscribeType == subscribeCBInfo->osSubscribeType) && in IsSubscribeInMap()
1342 (CompareOnAndOffRef(env, (*it)->callbackRef, subscribeCBInfo->callbackRef))) { in IsSubscribeInMap()
1352 SubscribeCBInfo *subscribeCBInfo = new (std::nothrow) SubscribeCBInfo(env); in Subscribe() local
1353 if (subscribeCBInfo == nullptr) { in Subscribe()
1357 subscribeCBInfo->throwErr = true; in Subscribe()
1361 if (!ParseParaToSubscriber(env, cbInfo, subscribeCBInfo, &thisVar)) { in Subscribe()
1362 delete subscribeCBInfo; in Subscribe()
1368 OsAccountSubscribeInfo subscribeInfo(subscribeCBInfo->osSubscribeType, subscribeCBInfo->name); in Subscribe()
[all …]
/base/security/dlp_permission_service/interfaces/kits/dlp_permission/napi/src/
Dnapi_dlp_permission.cpp1140 static bool IsSubscribeExist(napi_env env, OpenDlpFileSubscriberContext* subscribeCBInfo) in IsSubscribeExist() argument
1143 [env, subscribeCBInfo](const auto& it) { in IsSubscribeExist()
1144 return CompareOnAndOffRef(env, it->callbackRef, subscribeCBInfo->callbackRef); in IsSubscribeExist()