Home
last modified time | relevance | path

Searched refs:cacheKey (Results 1 - 2 of 2) sorted by relevance

/base/hiviewdfx/hiview/plugins/sysevent_source/control/
H A Ddaily_controller.cpp48 auto cacheKey = std::make_pair(event->domain_, event->eventName_); in CheckThreshold() local
49 int32_t threshold = GetThreshold(cacheKey, event->eventType_); in CheckThreshold()
50 int32_t count = GetCount(cacheKey) + 1; in CheckThreshold()
53 UpdateCacheAndDb(cacheKey, threshold, count); in CheckThreshold()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnapi_webview_controller.cpp265 bool CheckCacheKey(napi_env env, const std::string& cacheKey) in CheckCacheKey() argument
267 for (char c : cacheKey) { in CheckCacheKey()
269 WVLOG_E("BusinessError: 401. The character of 'cacheKey' must be number or letters."); in CheckCacheKey()
288 WVLOG_E("cacheKey array length is invalid"); in ParseCacheKeyList()
296 WVLOG_E("Unable to parse string from cacheKey array object."); in ParseCacheKeyList()
4705 std::string cacheKey; in PrefetchResource() local
4706 if ((argc >= INTEGER_THREE) && !NapiParseUtils::ParseString(env, argv[INTEGER_TWO], cacheKey)) { in PrefetchResource()
4707 WVLOG_E("BusinessError: 401.The type of 'cacheKey' must be string."); in PrefetchResource()
4712 if (cacheKey.empty()) { in PrefetchResource()
4713 cacheKey in PrefetchResource()
[all...]

Completed in 11 milliseconds