/foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk/rust/tests/ |
H A D | entry.rs | 39 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 D | entry.rs | 41 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 D | access_token.rs | 41 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 D | entry.rs | 42 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 D | access_token.rs | 42 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 D | create_dir_param.cpp | 33 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 D | netmanager_base_test_security.cpp | 183 .apl = APL_SYSTEM_BASIC, 211 .apl = APL_SYSTEM_BASIC, 218 .apl = APL_SYSTEM_BASIC,
|
/foundation/distributeddatamgr/relational_store/test/native/clouddata/unittest/ |
H A D | cloud_data_test.cpp | 59 .apl = APL_NORMAL, 85 .apl = APL_SYSTEM_BASIC, 111 .apl = APL_SYSTEM_BASIC,
|
/foundation/ability/idl_tool/test/rust/moduletest/server/src/ |
H A D | main.rs | 45 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 D | main.rs | 62 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 D | app_provision_info.cpp | 42 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 D | access_token.h | 89 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 D | app_provision_info.h | 39 std::string apl; member
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ipc/ |
H A D | create_dir_param.h | 41 std::string apl; member
|
/foundation/communication/netmanager_ext/test/security/ |
H A D | netmanager_ext_test_security.cpp | 149 .apl = APL_SYSTEM_BASIC,
177 .apl = APL_SYSTEM_BASIC,
|
/foundation/bundlemanager/app_domain_verify/test/unittest/mock/src/ |
H A D | mock_access_token.cpp | 40 .apl = APL_NORMAL, .domain = "test.domain", .permList = {}, .permStateList = { stateGrant } in mockSystemApp()
|
/foundation/ability/ability_runtime/services/appmgr/src/ |
H A D | app_spawn_msg_wrapper.cpp | 124 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 D | permission_test.cpp | 62 .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 D | bundle_permission_mgr.cpp | 129 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 D | bms_bundle_app_provision_info_test.cpp | 327 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 D | bms_installd_client_test.cpp | 40 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 D | get_self_permissions.cpp | 76 .apl = APL_SYSTEM_BASIC, in SetHapPermission()
|
/foundation/multimedia/ringtone_library/test/unittest/get_self_permissions/src/ |
H A D | get_self_permissions.cpp | 77 .apl = APL_SYSTEM_BASIC, in SetHapPermission()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/fuzztest/cloudservicestub_fuzzer/ |
H A D | cloudservicestub_fuzzer.cpp | 51 .apl = APL_NORMAL, in AllocAndSetHapToken()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | installd_client.cpp | 189 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()
|