/foundation/aafwk/standard/test/resource/amssystemtestability/abilitySrc/serviceAbilityA/src/ |
D | verify_act_first_ability.cpp | 149 if (abilityContext_ == nullptr) { in OnReceiveEvent() 160 auto ret = abilityContext_->ConnectAbility(want_service, conne_); in OnReceiveEvent() 165 abilityContext_->DisconnectAbility(conne_); in OnReceiveEvent() 169 abilityContext_->StartAbility(want_service, 0); in OnReceiveEvent() 173 auto ret = abilityContext_->StopAbility(want_service); in OnReceiveEvent()
|
/foundation/windowmanager/wm/test/unittest/ |
D | window_test.h | 31 static inline std::shared_ptr<AbilityRuntime::AbilityContext> abilityContext_; variable
|
D | window_scene_test.h | 32 static inline std::shared_ptr<AbilityRuntime::AbilityContext> abilityContext_; variable
|
D | window_impl_test.h | 37 static inline std::shared_ptr<AbilityRuntime::AbilityContext> abilityContext_; variable
|
D | window_scene_test.cpp | 32 abilityContext_ = std::make_shared<AbilityRuntime::AbilityContextImpl>(); in SetUpTestCase() 36 ASSERT_EQ(WMError::WM_OK, scene_->Init(displayId, abilityContext_, listener)); in SetUpTestCase() 99 ASSERT_EQ(WMError::WM_OK, scene->Init(displayId, abilityContext_, listener));
|
D | window_test.cpp | 28 abilityContext_ = std::make_shared<AbilityRuntime::AbilityContextImpl>(); in SetUpTestCase() 92 ASSERT_NE(nullptr, Window::Create("WindowTest04", option, abilityContext_));
|
D | window_impl_test.cpp | 28 abilityContext_ = std::make_shared<AbilityRuntime::AbilityContextImpl>(); in SetUpTestCase() 171 ASSERT_EQ(WMError::WM_OK, window->Create("", abilityContext_)); 187 ASSERT_EQ(WMError::WM_ERROR_NULLPTR, window->Create("", abilityContext_));
|
/foundation/aafwk/standard/test/resource/amssystemtestability/abilitySrc/serviceAbilityA/include/ |
D | verify_act_first_ability.h | 67 abilityContext_ = abilityContext; in ConnectServiceAbilityTest() 73 std::shared_ptr<Context> abilityContext_ = nullptr; variable
|
/foundation/aafwk/standard/frameworks/kits/ability/native/src/ability_runtime/ |
D | js_ability.cpp | 74 if (abilityContext_) { in ~JsAbility() 75 cb->abilityContext_ = std::move(abilityContext_); in ~JsAbility() 539 if ((abilityContext_ == nullptr) || (sceneListener_ == nullptr)) { in DoOnForeground() 563 Rosen::WMError ret = scene_->Init(displayId, abilityContext_, sceneListener_, option); in DoOnForeground() 576 if (abilityContext_->GetContentStorage()) { in DoOnForeground() 578 abilityContext_->GetContentStorage()->Get(), true); in DoOnForeground()
|
/foundation/multimedia/audio_standard/frameworks/js/napi/ringtone_manager/src/ |
D | system_sound_manager_napi.cpp | 297 asyncContext->abilityContext_ = GetAbilityContext(env, argv[i]); in SetSystemRingtoneUri() 327 context->abilityContext_, context->uri, in SetSystemRingtoneUri() 403 asyncContext->abilityContext_ = GetAbilityContext(env, argv[i]); in GetSystemRingtoneUri() 424 context->abilityContext_, static_cast<RingtoneType>(context->ringtoneType)); in GetSystemRingtoneUri() 510 asyncContext->abilityContext_ = GetAbilityContext(env, argv[i]); in GetSystemRingtonePlayer() 532 GetRingtonePlayer(context->abilityContext_, in GetSystemRingtonePlayer() 619 asyncContext->abilityContext_ = GetAbilityContext(env, argv[i]); in SetSystemNotificationUri() 647 context->abilityContext_, context->uri); in SetSystemNotificationUri() 719 asyncContext->abilityContext_ = GetAbilityContext(env, argv[PARAM0]); in GetSystemNotificationUri() 738 context->abilityContext_); in GetSystemNotificationUri() [all …]
|
/foundation/multimedia/audio_standard/interfaces/kits/js/ringtone_manager/include/ |
D | system_sound_manager_napi.h | 73 std::shared_ptr<AbilityRuntime::Context> abilityContext_; member
|
/foundation/windowmanager/wm/src/ |
D | window_impl.cpp | 622 abilityContext_ = AbilityRuntime::Context::ConvertTo<AbilityRuntime::AbilityContext>(context); in Create() 623 if (abilityContext_ != nullptr) { in Create() 624 …ret = SingletonContainer::Get<WindowAdapter>().SaveAbilityToken(abilityContext_->GetToken(), windo… in Create() 1024 if (abilityContext_ != nullptr) { in Minimize() 1025 … AAFwk::AbilityManagerClient::GetInstance()->MinimizeAbility(abilityContext_->GetToken(), true); in Minimize() 1052 if (abilityContext_ != nullptr) { in Close() 1053 abilityContext_->CloseAbility(); in Close() 1299 if (abilityContext_ != nullptr) { in ConsumeKeyEvent() 1301 abilityContext_->TerminateSelf(); in ConsumeKeyEvent() 1599 if (abilityContext_ != nullptr && windowTag_ == WindowTag::MAIN_WINDOW) { in UpdateWindowState() [all …]
|
/foundation/aafwk/standard/frameworks/kits/ability/native/include/ability_runtime/ |
D | js_ability.h | 40 std::shared_ptr<AbilityRuntime::AbilityContext> abilityContext_ = nullptr; member
|
/foundation/multimedia/medialibrary_standard/frameworks/innerkitsimpl/media_scanner/include/ |
D | media_scanner.h | 115 std::shared_ptr<OHOS::AppExecFwk::Context> abilityContext_; variable
|
/foundation/multimedia/medialibrary_standard/frameworks/innerkitsimpl/media_scanner/src/ |
D | media_scanner.cpp | 55 if (scanner->InitScanner(scanner->abilityContext_)) { in ScanQueueCB() 667 abilityContext_ = context; in SetAbilityContext() 679 abilityContext_ = nullptr; in ReleaseAbilityHelper()
|
/foundation/aafwk/standard/frameworks/kits/ability/native/src/ |
D | ability.cpp | 166 if (abilityContext_ != nullptr) { in Init() 167 abilityContext_->RegisterAbilityCallback(weak_from_this()); in Init() 174 abilityContext_ = abilityContext; in AttachAbilityContext() 499 if (abilityContext_ == nullptr) { in IsRestoredInContinuation() 505 && abilityContext_->GetContentStorage() != nullptr) { in IsRestoredInContinuation() 847 abilityWindow_->InitWindow(winType, abilityContext_, sceneListener_, displayId, option); in InitWindow() 1082 if (abilityContext_ != nullptr && application_ != nullptr) { in OnConfigurationUpdatedNotify() 1083 abilityContext_->SetConfiguration(application_->GetConfiguration()); in OnConfigurationUpdatedNotify()
|
/foundation/aafwk/standard/frameworks/kits/ability/native/include/ |
D | ability.h | 121 return abilityContext_; in GetAbilityContext() 1656 std::shared_ptr<AbilityRuntime::AbilityContext> abilityContext_ = nullptr;
|
/foundation/aafwk/standard/frameworks/kits/appkit/native/app/include/ |
D | context_deal.h | 749 std::shared_ptr<Context> abilityContext_ = nullptr; variable
|
/foundation/aafwk/standard/frameworks/kits/appkit/native/app/src/ |
D | context_deal.cpp | 206 return abilityContext_; in GetContext() 221 abilityContext_ = context; in SetContext()
|
/foundation/windowmanager/wm/include/ |
D | window_impl.h | 288 …std::shared_ptr<AbilityRuntime::AbilityContext> abilityContext_; // give up when context offer get… variable
|