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.cpp1346 static bool IsSubscribeInMap(napi_env env, SubscribeCBInfo *subscribeCBInfo) in IsSubscribeInMap() argument
1349 auto subscribe = g_osAccountSubscribers.find(subscribeCBInfo->osManager); in IsSubscribeInMap()
1355 if (((*it)->osSubscribeType == subscribeCBInfo->osSubscribeType) && in IsSubscribeInMap()
1356 (CompareOnAndOffRef(env, (*it)->callbackRef, subscribeCBInfo->callbackRef))) { in IsSubscribeInMap()
1366 SubscribeCBInfo *subscribeCBInfo = new (std::nothrow) SubscribeCBInfo(env); in Subscribe() local
1367 if (subscribeCBInfo == nullptr) { in Subscribe()
1371 subscribeCBInfo->throwErr = true; in Subscribe()
1375 if (!ParseParaToSubscriber(env, cbInfo, subscribeCBInfo, &thisVar)) { in Subscribe()
1376 delete subscribeCBInfo; in Subscribe()
1382 OsAccountSubscribeInfo subscribeInfo(subscribeCBInfo->osSubscribeType, subscribeCBInfo->name); in Subscribe()
[all …]
/base/security/dlp_permission_service/interfaces/kits/dlp_permission/napi/src/
Dnapi_dlp_permission.cpp1171 static bool IsSubscribeExist(napi_env env, OpenDlpFileSubscriberContext* subscribeCBInfo) in IsSubscribeExist() argument
1174 [env, subscribeCBInfo](const auto& it) { in IsSubscribeExist()
1175 return CompareOnAndOffRef(env, it->callbackRef, subscribeCBInfo->callbackRef); in IsSubscribeExist()