Home
last modified time | relevance | path

Searched refs:keep (Results 1 - 7 of 7) sorted by relevance

/base/security/device_security_level/interfaces/inner_api/src/standard/
H A Ddevice_security_level_callback_helper.cpp55 uint32_t keep, sptr<DeviceSecurityLevelCallbackStub> &stub, uint32_t &cookie) in Publish()
61 auto result = holder_.PushCallback(identity, callback, keep, cookie); in Publish()
110 const ResultCallback &callback, uint32_t keep, uint32_t &cookie) in PushCallback()
123 keep += KEEP_COMPENSATION_LEN; in PushCallback()
124 timer_.Register(deleter, keep * 1000, true); // 1000 millisec in PushCallback()
54 Publish(const DeviceIdentify &identity, const ResultCallback &callback, uint32_t keep, sptr<DeviceSecurityLevelCallbackStub> &stub, uint32_t &cookie) Publish() argument
109 PushCallback(const DeviceIdentify &identity, const ResultCallback &callback, uint32_t keep, uint32_t &cookie) PushCallback() argument
H A Ddevice_security_level_callback_helper.h43 bool Publish(const DeviceIdentify &identity, const ResultCallback &callback, uint32_t keep,
58 bool PushCallback(const DeviceIdentify &identity, const ResultCallback &callback, uint32_t keep,
/base/security/device_security_level/services/include/
H A Ddslm_notify_node.h33 uint32_t keep; member
/base/security/device_security_level/services/dslm/
H A Ddslm_fsm_process.c247 notify->keep = inputNotify->keep; in ProcessSdkRequest()
259 "ProcessSdkRequest, device is %{public}x, owner is %{public}u, cookie is %{public}u, keep is %{public}u", in ProcessSdkRequest()
260 deviceInfo->machine.machineId, notify->owner, notify->cookie, notify->keep); in ProcessSdkRequest()
267 DslmUtilsStartOnceTimerTask(notify->keep, TimerProcessSdkRequestTimeout, deviceInfo); in ProcessSdkRequest()
334 if (node->start + node->keep > curr) { in SdkTimeoutChecker()
338 SECURITY_LOG_INFO("SdkTimeout, device is %{public}x, owner is %{public}u, cookie is %{public}u, keep is %{public}u", in SdkTimeoutChecker()
339 devInfo->machine.machineId, node->owner, node->cookie, node->keep); in SdkTimeoutChecker()
357 "RequestDone, device is %{public}x, owner is %{public}u, cookie is %{public}u, keep is %{public}u", in RequestDoneChecker()
358 devInfo->machine.machineId, node->owner, node->cookie, node->keep); in RequestDoneChecker()
[all...]
H A Ddslm_core_process.c178 notifyNode.keep = option->timeout * 1000; // 1000 ms per second in OnRequestDeviceSecLevelInfo()
/base/powermgr/display_manager/state_manager/frameworks/napi/
H A Dbrightness.h85 void ScreenOn(bool keep, std::shared_ptr<PowerMgr::RunningLock>& runningLock);
H A Dbrightness.cpp158 DISPLAY_HILOGD(COMP_FWK, "Set keep screen on"); in SetKeepScreenOn()
326 void Brightness::BrightnessInfo::ScreenOn(bool keep, std::shared_ptr<RunningLock>& runningLock)
329 DISPLAY_HILOGD(COMP_FWK, "Keep screen on, keep: %{public}d, isUsed: %{public}d", keep, runningLock->IsUsed());
330 keep ? runningLock->Lock() : runningLock->UnLock();

Completed in 4 milliseconds