Home
last modified time | relevance | path

Searched refs:apl (Results 1 - 25 of 119) sorted by relevance

12345

/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/rust/tests/
H A Dentry.rs39 let apl = CString::new("system_core").expect("apl string is invalid"); in init_access_token()
48 apl_str: apl.as_ptr(), in init_access_token()
/foundation/systemabilitymgr/samgr/interfaces/innerkits/rust/tests/
H A Dentry.rs41 let apl = CString::new("system_core").expect("apl string is invalid"); in init_access_token()
50 apl_str: apl.as_ptr(), in init_access_token()
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/rust/service/src/
H A Daccess_token.rs41 let apl = CString::new("system_core").expect("apl string is invalid"); in init_access_token()
50 apl_str: apl.as_ptr(), in init_access_token()
/foundation/communication/ipc/interfaces/innerkits/rust/tests/
H A Dentry.rs42 let apl = CString::new("system_core").unwrap(); in init_access_token()
51 apl_str: apl.as_ptr(), in init_access_token()
/foundation/communication/ipc/example/rust_test/service/src/
H A Daccess_token.rs42 let apl = CString::new("normal").expect("apl string is invalid"); in init_access_token()
51 apl_str: apl.as_ptr(), in init_access_token()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ipc/
H A Dcreate_dir_param.cpp33 apl = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
51 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(apl)); in Marshalling()
/foundation/communication/netmanager_base/test/security/
H A Dnetmanager_base_test_security.cpp183 .apl = APL_SYSTEM_BASIC,
211 .apl = APL_SYSTEM_BASIC,
218 .apl = APL_SYSTEM_BASIC,
/foundation/distributeddatamgr/relational_store/test/native/clouddata/unittest/
H A Dcloud_data_test.cpp59 .apl = APL_NORMAL,
85 .apl = APL_SYSTEM_BASIC,
111 .apl = APL_SYSTEM_BASIC,
/foundation/ability/idl_tool/test/rust/moduletest/server/src/
H A Dmain.rs45 let apl = CString::new("normal").expect("apl string is invalid"); in init_access_token()
54 apl_str: apl.as_ptr(), in init_access_token()
/foundation/ability/idl_tool/test/rust/moduletest/client/src/
H A Dmain.rs62 let apl = CString::new("normal").expect("apl string is invalid"); in init_access_token()
71 apl_str: apl.as_ptr(), in init_access_token()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dapp_provision_info.cpp42 apl = Str16ToStr8(parcel.ReadString16()); in ReadFromParcel()
62 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(String16, parcel, Str8ToStr16(apl)); in Marshalling()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/include/
H A Daccess_token.h89 ATokenTypeEnum apl; member in OHOS::Security::AccessToken::final
164 * apl level, for details about the valid values,
167 ATokenAplEnum apl; member in OHOS::Security::AccessToken::final
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dapp_provision_info.h39 std::string apl; member
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/
H A Dcreate_dir_param.h41 std::string apl; member
/foundation/communication/netmanager_ext/test/security/
H A Dnetmanager_ext_test_security.cpp149 .apl = APL_SYSTEM_BASIC,
177 .apl = APL_SYSTEM_BASIC,
/foundation/bundlemanager/app_domain_verify/test/unittest/mock/src/
H A Dmock_access_token.cpp40 .apl = APL_NORMAL, .domain = "test.domain", .permList = {}, .permStateList = { stateGrant } in mockSystemApp()
/foundation/ability/ability_runtime/services/appmgr/src/
H A Dapp_spawn_msg_wrapper.cpp124 if (strcpy_s(msg_->apl, sizeof(msg_->apl), startMsg.apl.c_str()) != EOK) { in AssembleMsg()
125 TAG_LOGE(AAFwkTag::APPMGR, "transform apl fail"); in AssembleMsg()
/foundation/distributeddatamgr/data_share/test/native/unittest/mediadatashare_test/src/
H A Dpermission_test.cpp62 .apl = APL_SYSTEM_CORE, in SetUpTestCase()
231 .apl = APL_SYSTEM_CORE, in HWTEST_F()
274 .apl = APL_SYSTEM_CORE, in HWTEST_F()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dbundle_permission_mgr.cpp129 AccessToken::ATokenAplEnum BundlePermissionMgr::GetTokenApl(const std::string &apl) in GetTokenApl() argument
131 if (apl == Profile::AVAILABLELEVEL_SYSTEM_CORE) { in GetTokenApl()
134 if (apl == Profile::AVAILABLELEVEL_SYSTEM_BASIC) { in GetTokenApl()
143 std::string apl = innerBundleInfo.GetAppPrivilegeLevel(); in CreateHapPolicyParam() local
145 hapPolicy.apl = GetTokenApl(apl); in CreateHapPolicyParam()
150 LOG_NOFUNC_I(BMS_TAG_DEFAULT, "-n %{public}s apl:%{public}s req permission size:%{public}zu, acls size:%{public}zu", in CreateHapPolicyParam()
151 innerBundleInfo.GetBundleName().c_str(), apl.c_str(), hapPolicy.permStateList.size(), in CreateHapPolicyParam()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_app_provision_info_test/
H A Dbms_bundle_app_provision_info_test.cpp327 appProvisionInfo.apl = "system_basic"; in HWTEST_F()
338 EXPECT_EQ(appProvisionInfo.apl, newProvisionInfo.apl); in HWTEST_F()
445 appProvisionInfo.apl = "normal"; in HWTEST_F()
466 EXPECT_EQ(appProvisionInfo.apl, newProvisionInfo.apl); in HWTEST_F()
1248 EXPECT_FALSE(appProvisionInfo.apl.empty()); in HWTEST_F()
1281 EXPECT_FALSE(appProvisionInfo.apl.empty()); in HWTEST_F()
1314 EXPECT_FALSE(appProvisionInfo.apl.empty()); in HWTEST_F()
1323 EXPECT_TRUE(newAppProvisionInfo.apl in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_installd_client_test/
H A Dbms_installd_client_test.cpp40 const std::string APL = "apl";
360 createDirParam.apl = APL; in HWTEST_F()
380 createDirParam.apl = APL; in HWTEST_F()
400 createDirParam.apl = APL; in HWTEST_F()
420 createDirParam.apl = APL; in HWTEST_F()
440 createDirParam.apl = APL; in HWTEST_F()
635 std::string apl = APL; in HWTEST_F() local
636 ErrCode result = installClient_->SetDirApl(dir, bundleName, apl, false, false); in HWTEST_F()
651 std::string apl = APL; in HWTEST_F() local
652 ErrCode result = installClient_->SetDirApl(dir, bundleName, apl, tru in HWTEST_F()
667 std::string apl = EMPTY_STRING; HWTEST_F() local
683 std::string apl = APL; HWTEST_F() local
[all...]
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/get_self_permissions/src/
H A Dget_self_permissions.cpp76 .apl = APL_SYSTEM_BASIC, in SetHapPermission()
/foundation/multimedia/ringtone_library/test/unittest/get_self_permissions/src/
H A Dget_self_permissions.cpp77 .apl = APL_SYSTEM_BASIC, in SetHapPermission()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/fuzztest/cloudservicestub_fuzzer/
H A Dcloudservicestub_fuzzer.cpp51 .apl = APL_NORMAL, in AllocAndSetHapToken()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp189 ErrCode InstalldClient::SetDirApl(const std::string &dir, const std::string &bundleName, const std::string &apl, in SetDirApl() argument
192 if (dir.empty() || bundleName.empty() || apl.empty()) { in SetDirApl()
197 return CallService(&IInstalld::SetDirApl, dir, bundleName, apl, isPreInstallApp, debug); in SetDirApl()

Completed in 13 milliseconds

12345