/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/src/ |
D | nativetoken_kit_test.cpp | 163 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/ |
D | nativetoken_kit.h | 34 const char **acls; member
|
D | nativetoken.h | 81 char *acls[MAX_PERM_NUM]; member
|
/base/security/access_token/interfaces/innerkits/nativetoken/test/unittest/mock/ |
D | nativetoken_oper_test.cpp | 390 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/ |
D | remote_native_token.cpp | 31 .acls = nullptr, in SetNativeToken()
|
/base/telephony/cellular_data/test/fuzztest/common_fuzzer/ |
D | adddatatoken_fuzzer.cpp | 38 .acls = nullptr, in AddDataTokenFuzzer()
|
/base/telephony/call_manager/test/fuzztest/common_fuzzer/ |
D | addcalltoken_fuzzer.cpp | 41 .acls = nullptr, in AddCallTokenFuzzer()
|
/base/telephony/core_service/test/fuzztest/common_fuzzer/ |
D | addcoreservicetoken_fuzzer.cpp | 48 .acls = nullptr, in AddCoreServiceTokenFuzzer()
|
/base/telephony/cellular_call/test/fuzztest/common_fuzzer/ |
D | addcellularcalltoken_fuzzer.cpp | 43 .acls = nullptr, in AddCellularCallTokenFuzzer()
|
/base/telephony/sms_mms/test/fuzztest/common_fuzzer/ |
D | addsmstoken_fuzzer.cpp | 41 .acls = nullptr, in AddSmsTokenFuzzer()
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_attest_key_ids_test.cpp | 64 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/ |
D | hks_device_sec_test.cpp | 306 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/ |
D | pin_auth_service_test.cpp | 43 .acls = nullptr, in SetUpTestCase()
|
D | pin_auth_register_test.cpp | 46 .acls = nullptr, in SetUpTestCase()
|
/base/security/access_token/interfaces/innerkits/nativetoken/src/ |
D | nativetoken.c | 127 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()
|
D | nativetoken_json_oper.c | 188 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/ |
D | timeservice_fuzzer.cpp | 47 .acls = nullptr, in GrantNativePermission()
|
/base/security/appverify/interfaces/innerkits/appverify/include/provision/ |
D | provision_info.h | 73 Acls acls; member
|
/base/useriam/face_auth/test/unittest/ |
D | face_auth_service_test.cpp | 50 .acls = nullptr, in SetUpTestCase()
|
/base/security/dataclassification/test/fuzztest/datatransmitmgr/datatransmitmgr_fuzzer/ |
D | datatransmitmgr_fuzzer.cpp | 82 .acls = nullptr, in NativeTokenGetFUZZ()
|
/base/inputmethod/imf/test/fuzztest/systemabilitystub_fuzzer/ |
D | systemabilitystub_fuzzer.cpp | 43 .acls = nullptr, in GrantNativePermission()
|
/base/security/appverify/interfaces/innerkits/appverify/src/provision/ |
D | provision_verify.cpp | 153 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/ |
D | common_utils_test.cpp | 60 .acls = nullptr, in MockNativePermission() 81 .acls = nullptr, in MockNativeApproxiPermission() 102 .acls = nullptr, in MockNativeAccurateLocation()
|
/base/location/test/location_locator/source/ |
D | location_approximately_permission_test.cpp | 54 .acls = nullptr, in MockNativePermission()
|
/base/theme/wallpaper_mgr/test/fuzztest/wallpapermanager_fuzzer/ |
D | wallpaper_manager_fuzzer.cpp | 45 .acls = nullptr, in GrantNativePermission()
|