Home
last modified time | relevance | path

Searched refs:acls (Results 1 – 25 of 49) sorted by relevance

12

/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/
Dnativetoken_kit_test.cpp163 const char **acls = new (std::nothrow) const char *[1]; in Start() local
164 if (acls == nullptr) { in Start()
167 acls[0] = "ohos.permission.test1"; in Start()
174 .acls = acls, in Start()
181 delete[] acls; in Start()
209 .acls = nullptr,
504 const char **acls = new (std::nothrow) const char *[2]; variable
505 ASSERT_NE(acls, nullptr);
506 acls[0] = "ohos.permission.test1";
507 acls[1] = "ohos.permission.test2";
[all …]
/base/security/access_token/interfaces/innerkits/nativetoken/include/
Dnativetoken_kit.h34 const char **acls; member
Dnativetoken.h81 char *acls[MAX_PERM_NUM]; member
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/mock/
Dnativetoken_oper_test.cpp390 const char **acls = new (std::nothrow) const char *[1]; in Start() local
391 if (acls == nullptr) { in Start()
394 acls[0] = "ohos.permission.test1"; in Start()
401 .acls = acls, in Start()
408 delete[] acls; in Start()
/base/notification/distributed_notification_service/frameworks/test/moduletest/mock/
Dremote_native_token.cpp31 .acls = nullptr, in SetNativeToken()
/base/telephony/cellular_data/test/fuzztest/common_fuzzer/
Dadddatatoken_fuzzer.cpp38 .acls = nullptr, in AddDataTokenFuzzer()
/base/telephony/call_manager/test/fuzztest/common_fuzzer/
Daddcalltoken_fuzzer.cpp41 .acls = nullptr, in AddCallTokenFuzzer()
/base/telephony/core_service/test/fuzztest/common_fuzzer/
Daddcoreservicetoken_fuzzer.cpp48 .acls = nullptr, in AddCoreServiceTokenFuzzer()
/base/telephony/cellular_call/test/fuzztest/common_fuzzer/
Daddcellularcalltoken_fuzzer.cpp43 .acls = nullptr, in AddCellularCallTokenFuzzer()
/base/telephony/sms_mms/test/fuzztest/common_fuzzer/
Daddsmstoken_fuzzer.cpp41 .acls = nullptr, in AddSmsTokenFuzzer()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_attest_key_ids_test.cpp64 const char **acls = new const char *[1]; in SetIdsToken() local
65 acls[0] = "ohos.permission.ACCESS_IDS"; // system_core in SetIdsToken()
76 infoInstance.acls = acls; in SetIdsToken()
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/sdk_test/src/
Dhks_device_sec_test.cpp306 const char **acls = new const char *[1]; variable
307 acls[0] = "ohos.permission.ACCESS_IDS"; // system_core
319 infoInstance.acls = acls;
/base/useriam/pin_auth/test/unittest/src/
Dpin_auth_service_test.cpp43 .acls = nullptr, in SetUpTestCase()
Dpin_auth_register_test.cpp46 .acls = nullptr, in SetUpTestCase()
/base/security/access_token/interfaces/innerkits/nativetoken/src/
Dnativetoken.c127 ret = GetInfoArrFromJson(cjsonItem, tokenNode->acls, &(tokenNode->aclsNum), &attr); in GetNativeTokenFromJson()
431 … uint32_t retAcl = CheckStrArray(tokenInfo->acls, tokenInfo->aclsNum, MAX_PERM_NUM, MAX_PERM_LEN); in CheckProcessInfo()
499 if (CreateStrArray(tokenInfo->aclsNum, tokenInfo->acls, tokenNode->acls) != ATRET_SUCCESS) { in AddNewTokenToListAndFile()
582 ret = UpdateStrArrayInList(tokenNode->acls, &(tokenNode->aclsNum), in UpdateTokenInfoInList()
583 tokenInfo->acls, tokenInfo->aclsNum); in UpdateTokenInfoInList()
Dnativetoken_json_oper.c188 ret = AddStrArrayInfo(object, curr->acls, curr->aclsNum, ACLS_KEY_NAME); in SetNativeTokenJsonObject()
269 ret = UpdateStrArrayType(tokenNode->acls, tokenNode->aclsNum, ACLS_KEY_NAME, record); in UpdateItemcontent()
/base/time/time_service/test/fuzztest/timeservice_fuzzer/
Dtimeservice_fuzzer.cpp47 .acls = nullptr, in GrantNativePermission()
/base/security/appverify/interfaces/innerkits/appverify/include/provision/
Dprovision_info.h73 Acls acls; member
/base/useriam/face_auth/test/unittest/
Dface_auth_service_test.cpp50 .acls = nullptr, in SetUpTestCase()
/base/security/dataclassification/test/fuzztest/datatransmitmgr/datatransmitmgr_fuzzer/
Ddatatransmitmgr_fuzzer.cpp82 .acls = nullptr, in NativeTokenGetFUZZ()
/base/inputmethod/imf/test/fuzztest/systemabilitystub_fuzzer/
Dsystemabilitystub_fuzzer.cpp43 .acls = nullptr, in GrantNativePermission()
/base/security/appverify/interfaces/innerkits/appverify/src/provision/
Dprovision_verify.cpp153 const auto& acls = obj[KEY_ACLS]; in ParseAcls() local
154 GetStringArrayIfExist(acls, KEY_ALLOWED_ACLS, out.acls.allowedAcls); in ParseAcls()
/base/location/test/location_common/source/
Dcommon_utils_test.cpp60 .acls = nullptr, in MockNativePermission()
81 .acls = nullptr, in MockNativeApproxiPermission()
102 .acls = nullptr, in MockNativeAccurateLocation()
/base/location/test/location_locator/source/
Dlocation_approximately_permission_test.cpp54 .acls = nullptr, in MockNativePermission()
/base/theme/wallpaper_mgr/test/fuzztest/wallpapermanager_fuzzer/
Dwallpaper_manager_fuzzer.cpp45 .acls = nullptr, in GrantNativePermission()

12