Home
last modified time | relevance | path

Searched refs:appDistributionType (Results 1 - 25 of 50) sorted by relevance

12

/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_crowdtesting_test/
H A Dbms_bundle_crowdtesting_test.cpp265 * @tc.name: test appDistributionType and appProvisionType
267 * 2. get appDistributionType and appProvisionType
278 EXPECT_EQ(appInfo.appDistributionType, Constants::APP_DISTRIBUTION_TYPE_CROWDTESTING); in HWTEST_F()
288 * @tc.name: test appDistributionType and appProvisionType
290 * 2. get appDistributionType and appProvisionType
301 EXPECT_EQ(appInfo.appDistributionType, Constants::APP_DISTRIBUTION_TYPE_OS_INTEGRATION); in HWTEST_F()
324 EXPECT_EQ(appInfo.appDistributionType, Constants::APP_DISTRIBUTION_TYPE_OS_INTEGRATION); in HWTEST_F()
348 EXPECT_EQ(appInfo.appDistributionType, Constants::APP_DISTRIBUTION_TYPE_CROWDTESTING); in HWTEST_F()
372 EXPECT_EQ(appInfo.appDistributionType, Constants::APP_DISTRIBUTION_TYPE_CROWDTESTING); in HWTEST_F()
380 EXPECT_EQ(appInfo.appDistributionType, Constant in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_multiuser_installer.cpp118 std::string appDistributionType = info.GetAppDistributionType(); in ProcessBundleInstall() local
119 if (appDistributionType == Constants::APP_DISTRIBUTION_TYPE_ENTERPRISE in ProcessBundleInstall()
120 || appDistributionType == Constants::APP_DISTRIBUTION_TYPE_ENTERPRISE_NORMAL in ProcessBundleInstall()
121 || appDistributionType == Constants::APP_DISTRIBUTION_TYPE_ENTERPRISE_MDM) { in ProcessBundleInstall()
125 if (appDistributionType == Constants::APP_DISTRIBUTION_TYPE_INTERNALTESTING) { in ProcessBundleInstall()
H A Dinner_event_report.cpp409 EVENT_PARAM_APP_DISTRIBUTION_TYPE, eventInfo.appDistributionType, in InnerSendBundleInstallEvent()
448 EVENT_PARAM_APP_DISTRIBUTION_TYPE, eventInfo.appDistributionType, in InnerSendBundleUpdateEvent()
470 EVENT_PARAM_APP_DISTRIBUTION_TYPE, eventInfo.appDistributionType, in InnerSendPreBundleRecoverEvent()
529 EVENT_PARAM_APP_DISTRIBUTION_TYPE, eventInfo.appDistributionType, in InnerSendQuickFixEvent()
H A Dbundle_permission_mgr.cpp666 hapInfo.appDistributionType = innerBundleInfo.GetAppDistributionType();
695 updateHapInfoParams.appDistributionType = innerBundleInfo.GetAppDistributionType();
H A Dbundle_install_checker.cpp225 auto appDistributionType = hapVerifyRes[0].GetProvisionInfo().distributionType; in CheckProvisionInfoIsValid() local
228 [appId, apl, appDistributionType, appProvisionType, appIdentifier](const auto &hapVerifyResult) { in CheckProvisionInfoIsValid()
237 if (appDistributionType != hapVerifyResult.GetProvisionInfo().distributionType) { in CheckProvisionInfoIsValid()
238 LOG_E(BMS_TAG_INSTALLER, "error: hap files have different appDistributionType"); in CheckProvisionInfoIsValid()
1417 appProvisionInfo.appDistributionType = GetAppDistributionType(provisionInfo.distributionType); in ConvertToAppProvisionInfo()
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_bundle_manager.cpp91 appInfo.appDistributionType = "crowdtesting"; in GetApplicationInfo()
95 appInfo.appDistributionType = "crowdtesting"; in GetApplicationInfo()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dapp_provision_info.cpp39 appDistributionType = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
59 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(appDistributionType)); in Marshalling()
H A Dapplication_info.cpp101 const char* APPLICATION_APP_DISTRIBUTION_TYPE = "appDistributionType";
434 appDistributionType = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
665 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(appDistributionType)); in Marshalling()
979 {APPLICATION_APP_DISTRIBUTION_TYPE, applicationInfo.appDistributionType}, in to_json()
1149 applicationInfo.appDistributionType, false, parseResult); in from_json()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/include/
H A Daccess_token.h138 std::string appDistributionType; member in OHOS::Security::AccessToken::final
152 std::string appDistributionType; member in OHOS::Security::AccessToken::final
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dapp_provision_info.h36 std::string appDistributionType; member
H A Dapplication_info.h256 std::string appDistributionType = Constants::APP_DISTRIBUTION_TYPE_NONE; member
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/src/bundlemgr/
H A Dmock_bundle_manager.cpp61 appInfo.appDistributionType = "crowdtesting"; in GetApplicationInfo()
167 appInfo.appDistributionType = "crowdtesting"; in GetApplicationInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Devent_report.h109 std::string appDistributionType; member
179 appDistributionType.clear(); in Reset()
H A Dbundle_common_event_mgr.h68 std::string appDistributionType; member
/foundation/ability/ability_runtime/services/abilitymgr/src/interceptor/
H A Decological_rule_interceptor.cpp141 callerInfo.targetAppDistType = targetAbilityInfo.applicationInfo.appDistributionType; in GetEcologicalTargetInfo()
150 callerInfo.targetAppDistType = abilityInfo->applicationInfo.appDistributionType; in GetEcologicalTargetInfo()
/foundation/ability/ability_runtime/test/mock/common/include/
H A Dmock_bundle_manager_proxy.h88 appInfo.appDistributionType = "crowdtesting"; in GetApplicationInfo()
H A Dmock_bundle_manager_service.h90 appInfo.appDistributionType = "crowdtesting"; in GetApplicationInfo()
/foundation/ability/ability_runtime/frameworks/simulator/common/include/
H A Dapplication_info.h145 std::string appDistributionType = "none"; member
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/app_provision_info/
H A Dapp_provision_info_rdb.cpp109 valuesBucket.PutString(APP_DISTRIBUTION_TYPE, appProvisionInfo.appDistributionType); in AddAppProvisionInfo()
195 ret = absSharedResultSet->GetString(INDEX_APP_DISTRIBUTION_TYPE, appProvisionInfo.appDistributionType); in ConvertToAppProvision()
196 CHECK_RDB_RESULT_RETURN_IF_FAIL(ret, "GetString appDistributionType failed, ret: %{public}d"); in ConvertToAppProvision()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_clone_app_test/
H A Dbms_bundle_clone_app_bundle_logic_test.cpp167 "appDistributionType":"os_integration",
195 "appDistributionType":"none",
/foundation/bundlemanager/bundle_framework/interfaces/kits/cj/src/
H A Dbundle_manager_utils.h81 char* appDistributionType; member
H A Dbundle_manager_convert.cpp247 appInfo.appDistributionType = MallocCString(cAppInfo.appDistributionType); in ConvertApplicationInfo()
606 appInfo.appDistributionType = MallocCString("none"); in InitApplicationInfo()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_installer_test/
H A Dbms_bundle_install_checker_test.cpp781 applicationInfo.appDistributionType = Constants::APP_DISTRIBUTION_TYPE_APP_GALLERY; in HWTEST_F()
795 EXPECT_EQ(eventInfo.appDistributionType, Constants::APP_DISTRIBUTION_TYPE_APP_GALLERY); in HWTEST_F()
814 applicationInfo.appDistributionType = Constants::APP_DISTRIBUTION_TYPE_APP_GALLERY; in HWTEST_F()
832 EXPECT_EQ(eventInfo.appDistributionType, Constants::APP_DISTRIBUTION_TYPE_APP_GALLERY); in HWTEST_F()
853 EXPECT_EQ(appProvisionInfo.appDistributionType, Constants::APP_DISTRIBUTION_TYPE_NONE); in HWTEST_F()
870 EXPECT_EQ(appProvisionInfo.appDistributionType, Constants::APP_DISTRIBUTION_TYPE_APP_GALLERY); in HWTEST_F()
888 EXPECT_EQ(appProvisionInfo.appDistributionType, Constants::APP_DISTRIBUTION_TYPE_ENTERPRISE); in HWTEST_F()
893 EXPECT_EQ(appProvisionInfo.appDistributionType, Constants::APP_DISTRIBUTION_TYPE_OS_INTEGRATION); in HWTEST_F()
897 EXPECT_EQ(appProvisionInfo.appDistributionType, Constants::APP_DISTRIBUTION_TYPE_CROWDTESTING); in HWTEST_F()
/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_application/bundlemgrproxy_fuzzer/
H A Dbundlemgrproxy_fuzzer.cpp307 std::string appDistributionType = "invalidType"; in DoSomethingInterestingWithMyAPI() local
309 bundleMgrProxy.GetDeveloperIds(appDistributionType, developerIdList); in DoSomethingInterestingWithMyAPI()
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/
H A Dapplication_info.cpp93 const std::string APPLICATION_APP_DISTRIBUTION_TYPE = "appDistributionType";
218 {APPLICATION_APP_DISTRIBUTION_TYPE, applicationInfo.appDistributionType}, in to_json()
726 applicationInfo.appDistributionType, in from_json()

Completed in 24 milliseconds

12