/foundation/ability/ability_runtime/frameworks/js/napi/ability_auto_startup_callback/ |
H A D | js_ability_auto_startup_manager_utils.cpp | 41 if (AppExecFwk::IsExistsByPropertyName(env, param, "appCloneIndex")) { in UnwrapAutoStartupInfo() 42 if (!AppExecFwk::UnwrapInt32ByPropertyName(env, param, "appCloneIndex", info.appCloneIndex)) { in UnwrapAutoStartupInfo() 43 TAG_LOGE(AAFwkTag::AUTO_STARTUP, "convert appCloneIndex failed"); in UnwrapAutoStartupInfo() 132 if (info.appCloneIndex >= 0 && info.appCloneIndex < GlobalConstant::MAX_APP_CLONE_INDEX) { in CreateJsAutoStartupInfo() 133 napi_value appCloneIndex = AppExecFwk::WrapInt32ToJS(env, info.appCloneIndex); in CreateJsAutoStartupInfo() local 134 if (appCloneIndex == nullptr) { in CreateJsAutoStartupInfo() 135 TAG_LOGE(AAFwkTag::AUTO_STARTUP, "null appCloneIndex"); in CreateJsAutoStartupInfo() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | auto_startup_info.cpp | 27 appCloneIndex = parcel.ReadInt32(); in ReadFromParcel() 59 if (!parcel.WriteInt32(appCloneIndex)) { in Marshalling()
|
H A D | ability_running_info.cpp | 32 appCloneIndex = parcel.ReadInt32(); in ReadFromParcel() 70 if (!parcel.WriteInt32(appCloneIndex)) { in Marshalling()
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/ |
H A D | ability_state_data.cpp | 77 if (!parcel.WriteInt32(appCloneIndex)) { in MarshallingOne() 110 appCloneIndex = parcel.ReadInt32(); in ReadFromParcel()
|
H A D | running_multi_info.cpp | 37 clone.appCloneIndex = parcel.ReadInt32(); in ReadFromParcel() 78 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, clone.appCloneIndex); in Marshalling()
|
H A D | running_process_info.cpp | 63 appCloneIndex = parcel.ReadInt32(); in ReadFromParcel() 97 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, appCloneIndex); in Marshalling()
|
/foundation/ability/ability_runtime/test/fuzztest/clearupapplicationdata_fuzzer/ |
H A D | clearupapplicationdata_fuzzer.cpp | 55 int32_t appCloneIndex = static_cast<int32_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local 56 appMgrClient->ClearUpApplicationData(bundleName, appCloneIndex); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_bundle_manager_helper/ |
H A D | bundle_mgr_helper.h | 90 bool CleanBundleDataFiles(const std::string &bundleName, int32_t userId, int32_t appCloneIndex); 97 ErrCode GetUidByBundleName(const std::string &bundleName, int32_t userId, int32_t appCloneIndex); 102 ErrCode QueryCloneAbilityInfo(const ElementName &element, int32_t flags, int32_t appCloneIndex, 104 ErrCode GetCloneBundleInfo(const std::string &bundleName, int32_t flags, int32_t appCloneIndex, 106 ErrCode QueryCloneExtensionAbilityInfoWithAppIndex(const ElementName &element, int32_t flags, int32_t appCloneIndex,
|
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/ |
H A D | ability_running_info.h | 38 int32_t appCloneIndex = -1; member
|
H A D | auto_startup_info.h | 36 int32_t appCloneIndex = 0; member
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_bundle_manager_form.h | 45 int GetUidByBundleName(const std::string& bundleName, int32_t userId, int32_t appCloneIndex) override 95 int GetUidByBundleName(const std::string& bundleName, int32_t userId, int32_t appCloneIndex) override;
|
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/include/appmgr/ |
H A D | ability_state_data.h | 65 int32_t appCloneIndex = -1; member
|
H A D | running_multi_info.h | 31 int32_t appCloneIndex; member
|
H A D | running_process_info.h | 67 std::int32_t appCloneIndex = -1; member
|
/foundation/ability/ability_runtime/services/abilitymgr/src/utils/ |
H A D | multi_app_utils.cpp | 40 appIndex = item.appCloneIndex; in GetRunningMultiAppIndex()
|
/foundation/ability/ability_runtime/frameworks/js/napi/app/js_app_manager/ |
H A D | js_app_manager_utils.cpp | 68 if (abilityStateData.appCloneIndex != -1) { in CreateJsAbilityStateData() 69 napi_set_named_property(env, object, "appCloneIndex", CreateJsValue(env, abilityStateData.appCloneIndex)); in CreateJsAbilityStateData() 152 if (info.appCloneIndex != -1) { in CreateJsRunningProcessInfo() 153 napi_set_named_property(env, object, "appCloneIndex", CreateJsValue(env, info.appCloneIndex)); in CreateJsRunningProcessInfo() 206 napi_set_named_property(env, object, "appCloneIndex", CreateJsValue(env, info.appCloneIndex)); in CreateJsRunningAppClone()
|
/foundation/ability/ability_runtime/test/unittest/uri_permission_impl_test/mock/include/ |
H A D | mock_bundle_mgr_helper.h | 37 ErrCode GetCloneBundleInfo(const std::string &bundleName, int32_t flags, int32_t appCloneIndex,
|
/foundation/ability/ability_runtime/test/unittest/multi_app_utils_test/ |
H A D | multi_app_utils_test.cpp | 58 .appCloneIndex = 13, in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/auto_startup_info_test/ |
H A D | auto_startup_info_test.cpp | 95 autoStartupInfo->appCloneIndex = 0; in HWTEST_F()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_bundle_manager_helper/ |
H A D | bundle_mgr_helper.cpp | 727 bool BundleMgrHelper::CleanBundleDataFiles(const std::string &bundleName, int32_t userId, int32_t appCloneIndex) in CleanBundleDataFiles() argument 737 return bundleMgr->CleanBundleDataFiles(bundleName, userId, appCloneIndex); in CleanBundleDataFiles() 798 ErrCode BundleMgrHelper::GetUidByBundleName(const std::string &bundleName, int32_t userId, int32_t appCloneIndex) in GetUidByBundleName() argument 808 return bundleMgr->GetUidByBundleName(bundleName, userId, appCloneIndex); in GetUidByBundleName() 866 ErrCode BundleMgrHelper::QueryCloneAbilityInfo(const ElementName &element, int32_t flags, int32_t appCloneIndex, in QueryCloneAbilityInfo() argument 877 return bundleMgr->QueryCloneAbilityInfo(element, flags, appCloneIndex, abilityInfo, userId); in QueryCloneAbilityInfo() 880 ErrCode BundleMgrHelper::GetCloneBundleInfo(const std::string &bundleName, int32_t flags, int32_t appCloneIndex, in GetCloneBundleInfo() argument 891 return bundleMgr->GetCloneBundleInfo(bundleName, flags, appCloneIndex, bundleInfo, userId); in GetCloneBundleInfo() 895 int32_t appCloneIndex, ExtensionAbilityInfo &extensionInfo, int32_t userId) in QueryCloneExtensionAbilityInfoWithAppIndex() 905 return bundleMgr->QueryCloneExtensionAbilityInfoWithAppIndex(element, flags, appCloneIndex, extensionInf in QueryCloneExtensionAbilityInfoWithAppIndex() 894 QueryCloneExtensionAbilityInfoWithAppIndex(const ElementName &element, int32_t flags, int32_t appCloneIndex, ExtensionAbilityInfo &extensionInfo, int32_t userId) QueryCloneExtensionAbilityInfoWithAppIndex() argument [all...] |
/foundation/ability/ability_runtime/test/fuzztest/appmgrservicefirst_fuzzer/ |
H A D | appmgrservicefirst_fuzzer.cpp | 136 int32_t appCloneIndex = static_cast<int32_t>(GetU32Data(data)); in DoSomethingInterestingWithMyAPI() local 137 appMgrService->ClearUpApplicationData(bundleName, appCloneIndex); in DoSomethingInterestingWithMyAPI()
|
/foundation/ability/ability_runtime/test/unittest/uri_permission_impl_test/mock/src/ |
H A D | mock_bundle_mgr_helper.cpp | 85 ErrCode BundleMgrHelper::GetCloneBundleInfo(const std::string &bundleName, int32_t flags, int32_t appCloneIndex, in GetCloneBundleInfo() argument
|
/foundation/ability/ability_runtime/test/unittest/bundle_mgr_helper_test/ |
H A D | bundle_mgr_helper_test.cpp | 807 int32_t appCloneIndex = 1; in HWTEST_F() local 809 auto ret = bundleMgrHelper->QueryCloneAbilityInfo(element, flags, appCloneIndex, abilityInfo, userId); in HWTEST_F() 823 int32_t appCloneIndex = 1; in HWTEST_F() local 825 auto ret = bundleMgrHelper->GetCloneBundleInfo(bundleName, flags, appCloneIndex, bundleInfo, userId); in HWTEST_F()
|
/foundation/ability/ability_runtime/test/unittest/app_scheduler_test/ |
H A D | app_mgr_client_mock.h | 43 MOCK_METHOD3(ClearUpApplicationData, AppMgrResultCode(const std::string&, int32_t appCloneIndex, int32_t userId));
|
/foundation/ability/ability_runtime/test/unittest/free_install_observer_manager_test/ |
H A D | mock_bundle_manager.h | 94 int GetUidByBundleName(const std::string& bundleName, int32_t userId, int32_t appCloneIndex) override;
|