Home
last modified time | relevance | path

Searched refs:wakeUp (Results 1 - 10 of 10) sorted by relevance

/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/
H A Dfeature_ability_common.h191 bool wakeUp; member
H A Dnapi_context.cpp297 setWakeUpScreenCB->cbBase.ability->SetWakeUpScreen(setWakeUpScreenCB->wakeUp); in SetWakeUpScreenAsyncCompleteCB()
387 setWakeUpScreenCB->cbBase.ability->SetWakeUpScreen(setWakeUpScreenCB->wakeUp); in SetWakeUpScreenPromise()
427 if (!UnwrapBoolFromJS2(env, args[PARAM0], cbData->wakeUp)) { in SetWakeUpScreenWrap()
428 TAG_LOGE(AAFwkTag::JSNAPI, "UnwrapBoolFromJS2(wakeUp) run error"); in SetWakeUpScreenWrap()
3675 bool wakeUp = false; in OnSetWakeUpScreen() local
3676 if (!ConvertFromJsValue(env, argv[PARAM0], wakeUp)) { in OnSetWakeUpScreen()
3680 auto complete = [obj = this, wakeUp] in OnSetWakeUpScreen()
3687 obj->ability_->SetWakeUpScreen(wakeUp); in OnSetWakeUpScreen()
/foundation/window/window_manager/interfaces/kits/cj/window_runtime/
H A Dwindow_impl.h89 int32_t SetWakeUpScreen(bool wakeUp);
H A Dwindow_ffi.h75 FFI_EXPORT int32_t FFiOHOSWindowSetWakeUpScreen(int64_t id, bool wakeUp);
H A Dwindow_ffi.cpp618 int32_t FFiOHOSWindowSetWakeUpScreen(int64_t id, bool wakeUp) in FFiOHOSWindowSetWakeUpScreen() argument
625 int32_t res = static_cast<int32_t>(instance->SetWakeUpScreen(wakeUp)); in FFiOHOSWindowSetWakeUpScreen()
H A Dwindow_impl.cpp770 int32_t CJWindowImpl::SetWakeUpScreen(bool wakeUp) in SetWakeUpScreen() argument
780 windowToken_->SetTurnScreenOn(wakeUp); in SetWakeUpScreen()
782 windowToken_->GetWindowId(), windowToken_->GetWindowName().c_str(), wakeUp); in SetWakeUpScreen()
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/
H A Dability.h995 * @param wakeUp Set true to wake up, false to not wake up.
997 void SetWakeUpScreen(bool wakeUp);
/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Dability.cpp2017 void Ability::SetWakeUpScreen(bool wakeUp) in SetWakeUpScreen() argument
2019 TAG_LOGD(AAFwkTag::ABILITY, "wakeUp:%{public}d", wakeUp); in SetWakeUpScreen()
2029 window->SetTurnScreenOn(wakeUp); in SetWakeUpScreen()
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_native_test/
H A Dability_test.cpp2597 bool wakeUp = false; in HWTEST_F() local
2598 ability->SetWakeUpScreen(wakeUp); in HWTEST_F()
2608 ability->SetWakeUpScreen(wakeUp); in HWTEST_F()
2613 ability->SetWakeUpScreen(wakeUp); in HWTEST_F()
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/
H A Djs_window.cpp3878 bool wakeUp = false; in OnSetWakeUpScreen() local
3884 napi_get_value_bool(env, nativeVal, &wakeUp); in OnSetWakeUpScreen()
3887 WmErrorCode ret = WM_JS_TO_ERROR_CODE_MAP.at(windowToken_->SetTurnScreenOn(wakeUp)); in OnSetWakeUpScreen()
3893 windowToken_->GetWindowId(), windowToken_->GetWindowName().c_str(), wakeUp); in OnSetWakeUpScreen()

Completed in 36 milliseconds