/base/print/print_fwk/interfaces/kits/napi/src/ |
D | napi_print_task.cpp | 82 …i_env env, napi_value value, std::shared_ptr<OHOS::AbilityRuntime::AbilityContext> &abilityContext) in GetAbilityContext() argument 95 …abilityContext = 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/ |
D | TestAbility.ts | 16 globalThis.abilityContext = this.context;
|
/base/request/request/test/unittest/js_test/requestQueryTaskTest/entry/src/main/ets/TestAbility/ |
D | TestAbility.ts | 16 globalThis.abilityContext = this.context;
|
/base/request/request/test/unittest/js_test/requestSystemQueryTest/entry/src/main/ets/TestAbility/ |
D | TestAbility.ts | 16 globalThis.abilityContext = this.context;
|
/base/request/request/test/unittest/js_test/requestSystemQueryTest/entry/src/main/ets/MainAbility/ |
D | MainAbility.ts | 18 globalThis.abilityContext = this.context;
|
/base/request/request/test/unittest/js_test/requestAgentTaskTest/entry/src/main/ets/MainAbility/ |
D | MainAbility.ts | 18 globalThis.abilityContext = this.context;
|
/base/request/request/test/unittest/js_test/requestQueryTaskTest/entry/src/main/ets/MainAbility/ |
D | MainAbility.ts | 18 globalThis.abilityContext = this.context;
|
/base/update/update_app/product/oh/base/src/main/ets/MainAbility/ |
D | MainAbility.ts | 40 globalThis.abilityContext = this.context; 117 StateManager.createInstance(otaStatus).notify(globalThis.abilityContext, eventId);
|
/base/useriam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/MainAbility/ |
D | MainAbility.ts | 26 globalThis.abilityContext = this.context;
|
/base/telephony/telephony_data/pdp_profile/src/ |
D | pdp_profile_ability.cpp | 63 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/ |
D | opkey_ability.cpp | 62 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/ |
D | sim_ability.cpp | 78 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/ |
D | napi_print_task.h | 41 …_env env, napi_value value, std::shared_ptr<OHOS::AbilityRuntime::AbilityContext> &abilityContext);
|
/base/account/os_account/interfaces/kits/napi/appaccount/include/ |
D | napi_account_capability_scheduler.h | 51 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/ |
D | napi_account_capability_scheduler.cpp | 463 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/ |
D | sms_mms_ability.cpp | 70 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/ |
D | OtaUpdateManager.ets | 159 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/ |
D | CountDownInstallDialogBuilder.ets | 97 this.cancelBtnText = FormatUtils.toUpperCase(globalThis.abilityContext, $r("app.string.later")); 104 …this.confirmBtnText = FormatUtils.toUpperCase(globalThis.abilityContext, confirmBtnRes, this.count…
|
D | DialogUtils.ts | 43 globalThis.abilityContext?.terminateSelf();
|
D | DialogHelper.ets | 54 value: FormatUtils.toUpperCase(globalThis.abilityContext, $r('app.string.cancel')),
|
/base/request/request/frameworks/js/napi/src/legacy/ |
D | request_manager.cpp | 150 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/ |
D | index.ets | 170 …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/ |
D | commonController.ts | 40 globalThis.abilityContext.terminateSelf()
|
/base/security/access_token/interfaces/kits/accesstoken/napi/include/ |
D | napi_atmanager.h | 120 std::shared_ptr<AbilityRuntime::AbilityContext> abilityContext; member
|
/base/security/access_token/interfaces/kits/accesstoken/napi/src/ |
D | napi_atmanager.cpp | 946 std::shared_ptr<AbilityRuntime::AbilityContext> &abilityContext) in GetAbilityContext() argument 959 … abilityContext = 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()
|