/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/sync_rule/ |
H A D | screen_status.cpp | 34 bool isScreenOn = PowerMgr::PowerMgrClient::GetInstance().IsScreenOn(); in InitScreenStatus() local 35 screenState_ = isScreenOn? ScreenState::SCREEN_ON : ScreenState::SCREEN_OFF; in InitScreenStatus()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/screen_lock/ |
H A D | unlock_screen_manager.cpp | 66 bool isScreenOn = PowerMgr::PowerMgrClient::GetInstance().IsScreenOn(); in UnlockScreen() local 67 TAG_LOGD(AAFwkTag::ABILITYMGR, "isScreenOn: %{public}d", isScreenOn); in UnlockScreen() 68 if (!isScreenOn) { in UnlockScreen()
|
/foundation/communication/dsoftbus/adapter/common/bus_center/common_event/ |
H A D | lnn_common_event_monitor.cpp | 117 bool isScreenOn = OHOS::PowerMgr::PowerMgrClient::GetInstance().IsScreenOn(true); in LnnQueryLocalScreenStatusOnce() local 118 LNN_LOGI(LNN_EVENT, "query screen status is %{public}s", isScreenOn ? "on" : "off"); in LnnQueryLocalScreenStatusOnce() 120 SoftBusScreenState screenState = isScreenOn ? SOFTBUS_SCREEN_ON : SOFTBUS_SCREEN_OFF; in LnnQueryLocalScreenStatusOnce() 123 return isScreenOn; in LnnQueryLocalScreenStatusOnce()
|
/foundation/window/window_manager/window_scene/screen_session_manager/src/fold_screen_controller/ |
H A D | dual_display_fold_policy.cpp | 172 bool isScreenOn = PowerMgr::PowerMgrClient::GetInstance().IsFoldScreenOn(); in SendSensorResult() local 173 if (currentDisplayMode_ == FoldDisplayMode::COORDINATION && isScreenOn && in SendSensorResult() 323 bool isScreenOn = PowerMgr::PowerMgrClient::GetInstance().IsFoldScreenOn(); in ChangeScreenDisplayModeInner() local 324 TLOGI(WmsLogTag::DMS, "ChangeScreenDisplayModeToCoordination, isScreenOn= %{public}d", isScreenOn); in ChangeScreenDisplayModeInner() 342 if (isScreenOn) { in ChangeScreenDisplayModeInner() 357 bool isScreenOn = PowerMgr::PowerMgrClient::GetInstance().IsFoldScreenOn(); in ChangeScreenDisplayModeToCoordination() local 358 TLOGI(WmsLogTag::DMS, "ChangeScreenDisplayModeToCoordination, isScreenOn= %{public}d", isScreenOn); in ChangeScreenDisplayModeToCoordination() 366 if (isScreenOn) { in ChangeScreenDisplayModeToCoordination() [all...] |
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/include/ |
H A D | lnn_local_net_ledger.h | 62 int32_t LnnUpdateLocalScreenStatus(bool isScreenOn);
|
/foundation/communication/nfc/services/src/ |
H A D | nfc_event_handler.cpp | 73 bool isScreenOn = IsScreenOn();
in CheckScreenState() local 75 if (isScreenOn && isScreenLocked) {
in CheckScreenState() 77 } else if (!isScreenOn && !isScreenLocked) {
in CheckScreenState() 79 } else if (!isScreenOn && isScreenLocked) {
in CheckScreenState() 81 } else if (isScreenOn && !isScreenLocked) {
in CheckScreenState()
|
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/src/ |
H A D | bundle_active_user_history.cpp | 261 void BundleActiveUserHistory::UpdateBootBasedAndScreenTime(const bool& isScreenOn, const int64_t bootBasedTimeStamp, in UpdateBootBasedAndScreenTime() argument 264 if (isScreenOn_ == isScreenOn && isShutdown == false) { in UpdateBootBasedAndScreenTime() 267 isScreenOn_ = isScreenOn; in UpdateBootBasedAndScreenTime()
|
H A D | bundle_active_group_controller.cpp | 92 void BundleActiveGroupController::OnScreenChanged(const bool& isScreenOn, const int64_t bootFromTimeStamp) in OnScreenChanged() argument 96 activeGroupHandler_.lock()->PostTask([bundleActiveGroupController, isScreenOn, bootFromTimeStamp]() { in OnScreenChanged() 98 bundleActiveGroupController->bundleUserHistory_->UpdateBootBasedAndScreenTime(isScreenOn, in OnScreenChanged()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/src/ |
H A D | lnn_node_info.c | 628 int32_t LnnSetScreenStatus(NodeInfo *info, bool isScreenOn) in LnnSetScreenStatus() argument 634 info->isScreenOn = isScreenOn; in LnnSetScreenStatus() 635 LNN_LOGI(LNN_LEDGER, "set local screen status to %{public}s", isScreenOn ? "on" : "off"); in LnnSetScreenStatus()
|
H A D | lnn_net_ledger.c | 665 bool isScreenOn = false; in SoftbusDumpPrintScreenStatus() local 666 if (LnnGetNodeKeyInfo(nodeInfo->networkId, NODE_KEY_DEVICE_SCREEN_STATUS, (uint8_t *)&isScreenOn, in SoftbusDumpPrintScreenStatus() 668 LNN_LOGE(LNN_LEDGER, "LnnGetNodeKeyInfo isScreenOn failed"); in SoftbusDumpPrintScreenStatus() 671 SOFTBUS_DPRINTF(fd, " %-15s->%s\n", "isScreenOn", isScreenOn ? "on" : "off"); in SoftbusDumpPrintScreenStatus()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/include/coap_discover/ |
H A D | coap_discover.h | 70 void SetScreenStatus(bool isScreenOn);
|
/foundation/resourceschedule/device_usage_statistics/services/packagegroup/include/ |
H A D | bundle_active_group_controller.h | 75 void OnScreenChanged(const bool& isScreenOn, const int64_t bootFromTimeStamp);
|
H A D | bundle_active_user_history.h | 62 void UpdateBootBasedAndScreenTime(const bool& isScreenOn, const int64_t bootBasedTimeStamp,
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/include/ |
H A D | lnn_heartbeat_utils.h | 130 bool isScreenOn; member
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/common/include/ |
H A D | lnn_node_info.h | 166 bool isScreenOn; member 256 int32_t LnnSetScreenStatus(NodeInfo *info, bool isScreenOn);
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/include/ |
H A D | lnn_distributed_net_ledger.h | 62 bool LnnSetRemoteScreenStatusInfo(const char *networkId, bool isScreenOn);
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/ |
H A D | lnn_net_ledger_mock.cpp | 602 int32_t LnnUpdateLocalScreenStatus(bool isScreenOn) in LnnUpdateLocalScreenStatus() argument 604 return GetNetLedgerInterface()->LnnUpdateLocalScreenStatus(isScreenOn); in LnnUpdateLocalScreenStatus()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/mini_discover/ |
H A D | coap_discover.c | 64 void SetScreenStatus(bool isScreenOn) in SetScreenStatus() argument 66 g_isScreenOn = isScreenOn; in SetScreenStatus()
|
/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/ |
H A D | bus_center_sdk_test.cpp | 350 bool isScreenOn = false; in HWTEST_F() local 356 (uint8_t*)&isScreenOn, DATA_DEVICE_SCREEN_STATUS_LEN) == SOFTBUS_OK); in HWTEST_F()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/interface/ |
H A D | nstackx.h | 374 * param: isScreenOn, screen status 377 DFINDER_EXPORT int32_t NSTACKX_ScreenStatusChange(bool isScreenOn);
|
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/ |
H A D | lnn_distributed_net_ledger_manager.c | 330 bool LnnSetRemoteScreenStatusInfo(const char *networkId, bool isScreenOn) in LnnSetRemoteScreenStatusInfo() argument 357 info->isScreenOn = isScreenOn; in LnnSetRemoteScreenStatusInfo() 359 AnonymizeWrapper(anonyNetworkId), isScreenOn ? "on" : "off"); in LnnSetRemoteScreenStatusInfo() 697 *((bool *)buf) = info->isScreenOn; in DlGetNodeScreenOnFlag()
|
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/ |
H A D | lnn_heartbeat_medium_mgr.c | 428 static int32_t SetDeviceScreenStatus(NodeInfo *nodeInfo, bool isScreenOn) in SetDeviceScreenStatus() argument 434 nodeInfo->isScreenOn = isScreenOn; in SetDeviceScreenStatus() 438 AnonymizeWrapper(anonyDeviceUdid), isScreenOn ? "on" : "off"); in SetDeviceScreenStatus() 536 (void)SetDeviceScreenStatus(&deviceInfo, hbResp->isScreenOn); in IsNeedConnectOnLine()
|
/foundation/resourceschedule/device_usage_statistics/services/common/src/ |
H A D | bundle_active_core.cpp | 105 bool isScreenOn = groupController->IsScreenOn(); in HandleScreenEvent() local 106 BUNDLE_ACTIVE_LOGI("screen state change to %{public}d", isScreenOn); in HandleScreenEvent() 107 groupController->OnScreenChanged(isScreenOn, timer->GetBootTimeMs()); in HandleScreenEvent()
|
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/include/ |
H A D | lnn_net_ledger_mock.h | 113 virtual int32_t LnnUpdateLocalScreenStatus(bool isScreenOn) = 0;
|
/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_session_json.c | 1408 !JSON_AddBoolToObject(json, IS_SCREENON, info->isScreenOn) || in PackCommonEx() 1561 OptBool(json, IS_SCREENON, &info->isScreenOn, false); in ParseCommonJsonInfo() 1832 !JSON_AddBoolToObject(json, IS_SCREENON, info->isScreenOn) || in PackDeviceInfoBtV1() 1863 OptBool(json, IS_SCREENON, &info->isScreenOn, false); in UnpackDeviceInfoBtV1()
|