Home
last modified time | relevance | path

Searched refs:abilityContext (Results 1 – 25 of 30) sorted by relevance

12

/base/print/print_fwk/interfaces/kits/napi/src/
Dnapi_print_task.cpp82 …i_env env, napi_value value, std::shared_ptr<OHOS::AbilityRuntime::AbilityContext> &abilityContext) in GetAbilityContext() argument
95abilityContext = OHOS::AbilityRuntime::Context::ConvertTo<OHOS::AbilityRuntime::AbilityContext>(co… in GetAbilityContext()
96 if (abilityContext == nullptr) { in GetAbilityContext()
151 std::shared_ptr<OHOS::AbilityRuntime::AbilityContext> abilityContext; in Initialize() local
153 …if (argc == NapiPrintUtils::ARGC_TWO && GetAbilityContext(env, argv[1], abilityContext) != nullptr… in Initialize()
154 callerToken = abilityContext->GetToken(); in Initialize()
211 std::shared_ptr<OHOS::AbilityRuntime::AbilityContext> abilityContext; in VerifyParameters() local
213 if (GetAbilityContext(env, argv[1], abilityContext) == nullptr) { in VerifyParameters()
/base/request/request/test/unittest/js_test/requestAgentTaskTest/entry/src/main/ets/TestAbility/
DTestAbility.ts16 globalThis.abilityContext = this.context;
/base/request/request/test/unittest/js_test/requestQueryTaskTest/entry/src/main/ets/TestAbility/
DTestAbility.ts16 globalThis.abilityContext = this.context;
/base/request/request/test/unittest/js_test/requestSystemQueryTest/entry/src/main/ets/TestAbility/
DTestAbility.ts16 globalThis.abilityContext = this.context;
/base/request/request/test/unittest/js_test/requestSystemQueryTest/entry/src/main/ets/MainAbility/
DMainAbility.ts18 globalThis.abilityContext = this.context;
/base/request/request/test/unittest/js_test/requestAgentTaskTest/entry/src/main/ets/MainAbility/
DMainAbility.ts18 globalThis.abilityContext = this.context;
/base/request/request/test/unittest/js_test/requestQueryTaskTest/entry/src/main/ets/MainAbility/
DMainAbility.ts18 globalThis.abilityContext = this.context;
/base/update/update_app/product/oh/base/src/main/ets/MainAbility/
DMainAbility.ts40 globalThis.abilityContext = this.context;
117 StateManager.createInstance(otaStatus).notify(globalThis.abilityContext, eventId);
/base/useriam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/MainAbility/
DMainAbility.ts26 globalThis.abilityContext = this.context;
/base/telephony/telephony_data/pdp_profile/src/
Dpdp_profile_ability.cpp63 auto abilityContext = AbilityRuntime::Context::GetApplicationContext(); in DoInit() local
64 if (abilityContext == nullptr) { in DoInit()
69 abilityContext->SwitchArea(0); in DoInit()
70 std::string path = abilityContext->GetDatabaseDir(); in DoInit()
/base/telephony/telephony_data/opkey/src/
Dopkey_ability.cpp62 auto abilityContext = AbilityRuntime::Context::GetApplicationContext(); in DoInit() local
63 if (abilityContext == nullptr) { in DoInit()
68 abilityContext->SwitchArea(0); in DoInit()
69 std::string path = abilityContext->GetDatabaseDir(); in DoInit()
/base/telephony/telephony_data/sim/src/
Dsim_ability.cpp78 auto abilityContext = AbilityRuntime::Context::GetApplicationContext(); in DoInit() local
79 if (abilityContext == nullptr) { in DoInit()
84 abilityContext->SwitchArea(0); in DoInit()
85 std::string path = abilityContext->GetDatabaseDir(); in DoInit()
/base/print/print_fwk/interfaces/kits/napi/include/
Dnapi_print_task.h41 …_env env, napi_value value, std::shared_ptr<OHOS::AbilityRuntime::AbilityContext> &abilityContext);
/base/account/os_account/interfaces/kits/napi/appaccount/include/
Dnapi_account_capability_scheduler.h51 std::shared_ptr<AbilityRuntime::AbilityContext> abilityContext = nullptr; member
137 std::shared_ptr<AbilityRuntime::AbilityContext> abilityContext = nullptr; member
/base/account/os_account/interfaces/kits/napi/appaccount/src/
Dnapi_account_capability_scheduler.cpp463 abilityContext_(param.abilityContext), UIContent_(param.UIContent), requestId_(param.requestId) in NapiExecuteRequestCallback()
877 asyncContext->abilityContext = nativeObject->abilityContext_; in ParseParamForExecuteRequest()
894 param.abilityContext = asyncContext->abilityContext; in ExecuteRequestCB()
947 std::shared_ptr<AbilityRuntime::AbilityContext> &abilityContext, Ace::UIContent **UIContent) in GetAbilityContext() argument
960 abilityContext = AbilityRuntime::Context::ConvertTo<AbilityRuntime::AbilityContext>(context); in GetAbilityContext()
961 if (abilityContext == nullptr) { in GetAbilityContext()
965 *UIContent = abilityContext->GetUIContent(); in GetAbilityContext()
986 std::shared_ptr<AbilityRuntime::AbilityContext> abilityContext; in ParseParamForSetUIContext() local
988 if (!GetAbilityContext(env, argv[0], abilityContext, &UIContent)) { in ParseParamForSetUIContext()
998 nativeObject->abilityContext_ = abilityContext; in ParseParamForSetUIContext()
/base/telephony/telephony_data/sms_mms/src/
Dsms_mms_ability.cpp70 auto abilityContext = AbilityRuntime::Context::GetApplicationContext(); in DoInit() local
71 if (abilityContext == nullptr) { in DoInit()
76 abilityContext->SwitchArea(0); in DoInit()
77 std::string path = abilityContext->GetDatabaseDir(); in DoInit()
/base/update/update_app/feature/ota/src/main/ets/manager/
DOtaUpdateManager.ets159 this.notifyUpdateStatus(status, globalThis.abilityContext);
182 this.notifyUpdateStatus(status, globalThis.abilityContext);
200 this.notifyUpdateStatus(status, globalThis.abilityContext);
296 context: globalThis.extensionContext || globalThis.abilityContext,
359 this.notifyUpdateStatus(otaStatus, globalThis.abilityContext);
/base/update/update_app/feature/ota/src/main/ets/dialog/
DCountDownInstallDialogBuilder.ets97 this.cancelBtnText = FormatUtils.toUpperCase(globalThis.abilityContext, $r("app.string.later"));
104 …this.confirmBtnText = FormatUtils.toUpperCase(globalThis.abilityContext, confirmBtnRes, this.count…
DDialogUtils.ts43 globalThis.abilityContext?.terminateSelf();
DDialogHelper.ets54 value: FormatUtils.toUpperCase(globalThis.abilityContext, $r('app.string.cancel')),
/base/request/request/frameworks/js/napi/src/legacy/
Drequest_manager.cpp150 auto abilityContext = ability->GetAbilityContext(); in GetCacheDir() local
151 if (abilityContext == nullptr) { in GetCacheDir()
155 return abilityContext->GetCacheDir(); in GetCacheDir()
/base/update/update_app/product/oh/base/src/main/ets/pages/
Dindex.ets170 …let message = await globalThis.abilityContext.resourceManager.getString($r('app.string.network_err…
209 globalThis.abilityContext.terminateSelf();
233 …this.buttonText = FormatUtils.toUpperCase(globalThis.abilityContext, $r('app.string.btn_check_new_…
/base/useriam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/controller/
DcommonController.ts40 globalThis.abilityContext.terminateSelf()
/base/security/access_token/interfaces/kits/accesstoken/napi/include/
Dnapi_atmanager.h120 std::shared_ptr<AbilityRuntime::AbilityContext> abilityContext; member
/base/security/access_token/interfaces/kits/accesstoken/napi/src/
Dnapi_atmanager.cpp946 std::shared_ptr<AbilityRuntime::AbilityContext> &abilityContext) in GetAbilityContext() argument
959abilityContext = AbilityRuntime::Context::ConvertTo<AbilityRuntime::AbilityContext>(context); in GetAbilityContext()
960 if (abilityContext == nullptr) { in GetAbilityContext()
988 if (GetAbilityContext(env, argv[0], asyncContext.abilityContext) == nullptr) { in ParseRequestPermissionFromUser()
1183 auto applicationInfo = asyncContext->abilityContext->GetApplicationInfo(); in RequestPermissionsFromUserExecute()
1207 StartGrantExtension(remoteObject, asyncContext->permissionList, asyncContext->abilityContext, in RequestPermissionsFromUserExecute()

12