Home
last modified time | relevance | path

Searched refs:idleTime (Results 1 - 12 of 12) sorted by relevance

/foundation/ability/ability_runtime/frameworks/native/appkit/app/
H A Didle_time.cpp82 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 Dmain_thread.cpp1643 IdleTimeCallback callback = [wpApplication](int32_t idleTime) { in HandleLaunchApplication()
1655 nativeEngine.NotifyIdleTime(idleTime); in HandleLaunchApplication()
/foundation/arkui/napi/native_engine/impl/ark/
H A Dark_idle_monitor.cpp28 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 Dark_idle_monitor.h150 void NotifyLooperIdleStart(int64_t timestamp, int idleTime);
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/src/tcp/
H A Dtcp_socket.cpp230 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 Dtcp_socket.h58 bool SetKeepAlive(unsigned idleTime, unsigned numProbes, unsigned probeInterval);
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/src/tcp/
H A Dtcp_socket.cpp230 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 Dtcp_socket.h58 bool SetKeepAlive(unsigned idleTime, unsigned numProbes, unsigned probeInterval);
/foundation/filemanagement/storage_service/services/storage_daemon/netlink/src/
H A Dnetlink_listener.cpp127 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 Dlocal_ability_manager.cpp1038 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 Dsqlite_single_ver_storage_engine.h80 int ReleaseHandleTransiently(SQLiteSingleVerStorageExecutor *&handle, uint64_t idleTime,
H A Dsqlite_single_ver_storage_engine.cpp191 // 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()

Completed in 13 milliseconds