/base/security/access_token/test/fuzztest/access_token/getpermissionusedrecords_fuzzer/ |
D | getpermissionusedrecords_fuzzer.cpp | 37 std::vector<std::string> permissionList; in GetPermissionUsedRecordsFuzzTest() local 38 permissionList.emplace_back(testName); in GetPermissionUsedRecordsFuzzTest() 47 .permissionList = permissionList, in GetPermissionUsedRecordsFuzzTest()
|
/base/security/access_token/test/fuzztest/access_token_stub/getpermissionusedrecordsstub_fuzzer/ |
D | getpermissionusedrecordsstub_fuzzer.cpp | 39 std::vector<std::string> permissionList; in GetPermissionUsedRecordsStubFuzzTest() local 40 permissionList.emplace_back(testName); in GetPermissionUsedRecordsStubFuzzTest() 49 .permissionList = permissionList, in GetPermissionUsedRecordsStubFuzzTest()
|
/base/security/access_token/test/fuzztest/access_token_stub/getpermissionusedrecordsasyncstub_fuzzer/ |
D | getpermissionusedrecordsasyncstub_fuzzer.cpp | 49 std::vector<std::string> permissionList; in GetPermissionUsedRecordsAsyncStubFuzzTest() local 50 permissionList.emplace_back(testName); in GetPermissionUsedRecordsAsyncStubFuzzTest() 59 .permissionList = permissionList, in GetPermissionUsedRecordsAsyncStubFuzzTest()
|
/base/security/access_token/interfaces/innerkits/privacy/test/unittest/src/ |
D | privacy_kit_test.cpp | 217 …const std::string &bundleName, const std::vector<std::string> &permissionList, PermissionUsedReque… in BuildQueryRequest() argument 223 request.permissionList = permissionList; in BuildQueryRequest() 302 std::vector<std::string> permissionList; variable 303 …BuildQueryRequest(g_tokenIdA, GetLocalDeviceUdid(), g_infoParmsA.bundleName, permissionList, reque… 325 std::vector<std::string> permissionList; variable 326 BuildQueryRequest(123, "", "", permissionList, request); 330 …BuildQueryRequest(g_tokenIdA, GetLocalDeviceUdid(), g_infoParmsA.bundleName, permissionList, reque… 375 std::vector<std::string> permissionList; variable 376 BuildQueryRequest(tokenId, "", "", permissionList, request); 396 std::vector<std::string> permissionList; variable [all …]
|
D | privacy_kit_test.h | 51 const std::vector<std::string>& permissionList, PermissionUsedRequest& request);
|
/base/security/access_token/frameworks/privacy/src/ |
D | permission_used_request_parcel.cpp | 29 RETURN_IF_FALSE(out.WriteUint32(this->request.permissionList.size())); in Marshalling() 30 for (const auto& perm : this->request.permissionList) { in Marshalling() 57 requestParcel->request.permissionList.emplace_back(perm); in Unmarshalling()
|
/base/security/access_token/services/privacymanager/include/record/ |
D | permission_used_record_cache.h | 42 void GetRecords(const std::vector<std::string>& permissionList, 50 const std::vector<std::string>& permissionList);
|
/base/security/access_token/interfaces/innerkits/privacy/include/ |
D | permission_used_request.h | 66 std::vector<std::string> permissionList; member
|
/base/security/access_token/frameworks/test/unittest/ |
D | privacy_parcel_test.cpp | 247 permissionUsedRequestParcel.request.permissionList.emplace_back("ohos.permission.CAMERA"); 248 permissionUsedRequestParcel.request.permissionList.emplace_back("ohos.permission.LOCATION"); 264 for (uint32_t i = 0; i < permissionUsedRequestParcel.request.permissionList.size(); i++) { 265 …EXPECT_EQ(permissionUsedRequestParcel.request.permissionList[i], readedData->request.permissionLis… 434 permissionUsedRequestParcel.request.permissionList.emplace_back("ohos.permission.CAMERA"); 442 permissionUsedRequestParcel.request.permissionList.emplace_back("ohos.permission.CAMERA");
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/ |
D | permission_policy_set.h | 60 std::vector<std::string>& permissionList, std::vector<PermStateChangeType>& changeTypeList); 61 void GetDeletedPermissionListToNotify(std::vector<std::string>& permissionList);
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | permission_policy_set.cpp | 381 std::vector<std::string>& permissionList, std::vector<PermStateChangeType>& changeTypeList) in GetResetPermissionListToNotify() argument 388 permissionList.emplace_back(perm.permissionName); in GetResetPermissionListToNotify() 393 permissionList.emplace_back(perm.permissionName); in GetResetPermissionListToNotify() 400 permissionList.emplace_back(permission); in GetResetPermissionListToNotify() 405 void PermissionPolicySet::GetDeletedPermissionListToNotify(std::vector<std::string>& permissionList) in GetDeletedPermissionListToNotify() argument 411 permissionList.emplace_back(perm.permissionName); in GetDeletedPermissionListToNotify() 416 permissionList.emplace_back(permission); in GetDeletedPermissionListToNotify()
|
D | permission_manager.cpp | 713 std::vector<std::string> permissionList; in ClearUserGrantedPermissionState() local 715 permPolicySet->GetResetPermissionListToNotify(permissionList, changeTypeList); in ClearUserGrantedPermissionState() 719 for (uint32_t i = 0; i < permissionList.size(); i++) { in ClearUserGrantedPermissionState() 720 …CallbackManager::GetInstance().ExecuteCallbackAsync(tokenID, permissionList[i], changeTypeList[i]); in ClearUserGrantedPermissionState() 721 ParamUpdate(permissionList[i], 0, true); in ClearUserGrantedPermissionState()
|
/base/security/access_token/services/privacymanager/src/record/ |
D | permission_used_record_cache.cpp | 247 void PermissionUsedRecordCache::GetRecords(const std::vector<std::string>& permissionList, in GetRecords() argument 256 TransferToOpcode(opCodeList, permissionList); in GetRecords() 357 const std::vector<std::string>& permissionList) in TransferToOpcode() argument 359 for (const auto& permission : permissionList) { in TransferToOpcode()
|
D | permission_record_manager.cpp | 213 PermissionUsedRecordCache::GetInstance().GetRecords(request.permissionList, in GetRecordsFromLocalDB()
|
/base/customization/enterprise_device_management/services/edm/src/ |
D | enterprise_device_mgr_ability.cpp | 343 std::vector<std::string> &permissionList, int32_t userId) in GetAllPermissionsByAdmin() argument 348 permissionList.clear(); in GetAllPermissionsByAdmin() 367 permissionList.push_back(perm.getPermissionName()); in GetAllPermissionsByAdmin() 512 std::vector<std::string> permissionList; in EnableAdmin() local 513 if (FAILED(GetAllPermissionsByAdmin(admin.GetBundleName(), permissionList, userId))) { in EnableAdmin() 518 if (FAILED(adminMgr_->GetGrantedPermission(permissionList, type))) { in EnableAdmin() 523 … if (FAILED(adminMgr_->SetAdminValue(abilityInfo.at(0), entInfo, type, permissionList, userId))) { in EnableAdmin() 1094 std::vector<std::string> permissionList; in AuthorizeAdmin() local 1095 if (FAILED(GetAllPermissionsByAdmin(bundleName, permissionList, DEFAULT_USER_ID))) { in AuthorizeAdmin() 1099 if (FAILED(adminMgr_->SaveAuthorizedAdmin(bundleName, permissionList, admin.GetBundleName()))) { in AuthorizeAdmin()
|
/base/security/access_token/tools/accesstoken/src/ |
D | atm_command.cpp | 229 request.permissionList.emplace_back(permissionName); in DumpRecordInfo()
|
/base/customization/enterprise_device_management/services/edm/include/ |
D | enterprise_device_mgr_ability.h | 82 …tAllPermissionsByAdmin(const std::string &bundleInfoName, std::vector<std::string> &permissionList,
|
/base/security/access_token/interfaces/kits/accesstoken/napi/include/ |
D | napi_atmanager.h | 117 std::vector<std::string> permissionList; member
|
/base/security/access_token/interfaces/kits/accesstoken/napi/src/ |
D | napi_atmanager.cpp | 996 if (!ParseStringArray(env, argv[1], asyncContext.permissionList) || in ParseRequestPermissionFromUser() 997 (asyncContext.permissionList.empty())) { in ParseRequestPermissionFromUser() 1003 …_INFO(LABEL, "asyncContext.permissionList size: %{public}zu.", asyncContext.permissionList.size()); in ParseRequestPermissionFromUser() 1190 if (!IsDynamicRequest(asyncContext->permissionList, asyncContext->permissionsState)) { in RequestPermissionsFromUserExecute() 1207 StartGrantExtension(remoteObject, asyncContext->permissionList, asyncContext->abilityContext, in RequestPermissionsFromUserExecute() 1225 env, asyncContext->permissionList, asyncContext->permissionsState); in RequestPermissionsFromUserComplete()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/ |
D | accesstoken_info_manager.cpp | 1028 std::vector<std::string> permissionList; in PermissionStateNotify() local 1029 policy->GetDeletedPermissionListToNotify(permissionList); in PermissionStateNotify() 1030 for (const auto& permissionName : permissionList) { in PermissionStateNotify()
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | permission_record_db_test.cpp | 328 request.permissionList.emplace_back("ohos.com.CAMERA");
|
/base/security/access_token/interfaces/kits/privacy/napi/src/ |
D | permission_record_manager_napi.cpp | 362 !ParseStringArray(env, property, request.permissionList)) { in ParseRequest()
|