/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | idle_time.cpp | 82 int64_t idleTime = period - (elapsedTime % period) ; in EventTask() local 85 AAFwkTag::APPKIT, "EventTask idleTime %{public}" PRId64 ", cycle is %{public}" PRId64, idleTime, cycle); in EventTask() 86 if (idleTime > 0 && cycle < MAX_PERIOD_COUNT) { in EventTask() 88 callback_(idleTime / MS_PER_NS); in EventTask() 107 auto idleTime = weak.lock(); in PostTask() 108 if (idleTime == nullptr) { in PostTask() 109 TAG_LOGE(AAFwkTag::APPKIT, "idleTime is nullptr"); in PostTask() 112 idleTime->EventTask(); in PostTask()
|
H A D | main_thread.cpp | 1643 IdleTimeCallback callback = [wpApplication](int32_t idleTime) { in HandleLaunchApplication() 1655 nativeEngine.NotifyIdleTime(idleTime); in HandleLaunchApplication()
|
/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_idle_monitor.cpp | 28 void ArkIdleMonitor::NotifyLooperIdleStart(int64_t timestamp, int idleTime) in NotifyLooperIdleStart() argument 32 if (idleTime < MIN_TRIGGER_GC_IDLE_INTERVAL || !ShouldTryTriggerGC(timestamp)) { in NotifyLooperIdleStart() 35 JSNApi::NotifyLooperIdleStart(vm_, timestamp, idleTime); in NotifyLooperIdleStart()
|
H A D | ark_idle_monitor.h | 150 void NotifyLooperIdleStart(int64_t timestamp, int idleTime);
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/tcp/ |
H A D | tcp_socket.cpp | 230 bool TcpSocket::SetKeepAlive(unsigned idleTime, unsigned numProbes, unsigned probeInterval) in SetKeepAlive() argument 237 if (idleTime != DEFAULT_VALUE) { in SetKeepAlive() 238 if (setsockopt(socket_, SOL_TCP, TCP_KEEPIDLE, &idleTime, sizeof(idleTime)) < RET_OK) { in SetKeepAlive()
|
H A D | tcp_socket.h | 58 bool SetKeepAlive(unsigned idleTime, unsigned numProbes, unsigned probeInterval);
|
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/tcp/ |
H A D | tcp_socket.cpp | 230 bool TcpSocket::SetKeepAlive(unsigned idleTime, unsigned numProbes, unsigned probeInterval) in SetKeepAlive() argument 237 if (idleTime != DEFAULT_VALUE) { in SetKeepAlive() 238 if (setsockopt(socket_, SOL_TCP, TCP_KEEPIDLE, &idleTime, sizeof(idleTime)) < RET_OK) { in SetKeepAlive()
|
H A D | tcp_socket.h | 58 bool SetKeepAlive(unsigned idleTime, unsigned numProbes, unsigned probeInterval);
|
/foundation/filemanagement/storage_service/services/storage_daemon/netlink/src/ |
H A D | netlink_listener.cpp | 127 int32_t idleTime = POLL_IDLE_TIME; in RunListener() local 143 int32_t fdEventCount = poll(ufds, fdCount, idleTime); in RunListener()
|
/foundation/systemabilitymgr/safwk/services/safwk/src/ |
H A D | local_ability_manager.cpp | 1038 uint64_t idleTime = currTime - lastRequestTime; in IdentifyUnusedResident() local 1040 HILOGD(TAG, "resident SA:%{public}d, idleTime:%{public}" PRIu64 ", longtime-unused threshold:%{public}" PRIu64, in IdentifyUnusedResident() 1041 saId, idleTime, threshold); in IdentifyUnusedResident() 1042 if (idleTime > threshold) { in IdentifyUnusedResident() 1043 ReportSAIdle(saId, "long time unused:" + ToString(idleTime)); in IdentifyUnusedResident() 1044 HILOGI(TAG, "resident SA:%{public}d, longtime:%{public}" PRIu64 "unused", saId, idleTime); in IdentifyUnusedResident() 1070 uint64_t idleTime = currTime - lastRequestTime; in IdentifyUnusedOndemand() local 1071 HILOGD(TAG, "ondemand SA:%{public}d, idleTime:%{public}" PRIu64 ", longtime-unused threshold:%{public}" PRIu64, in IdentifyUnusedOndemand() 1072 saId, idleTime, threshold); in IdentifyUnusedOndemand() 1073 if (idleTime > threshol in IdentifyUnusedOndemand() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_single_ver_storage_engine.h | 80 int ReleaseHandleTransiently(SQLiteSingleVerStorageExecutor *&handle, uint64_t idleTime,
|
H A D | sqlite_single_ver_storage_engine.cpp | 191 // Temporary release handle for idleTime ms, avoid long-term blocking 192 int SQLiteSingleVerStorageEngine::ReleaseHandleTransiently(SQLiteSingleVerStorageExecutor *&handle, uint64_t idleTime, in ReleaseHandleTransiently() argument 203 std::this_thread::sleep_for(std::chrono::milliseconds(idleTime)); // Wait 2 ms to free this handle for put data in ReleaseHandleTransiently()
|