Home
last modified time | relevance | path

Searched refs:permInfo (Results 1 – 9 of 9) sorted by relevance

/base/security/dlp_permission_service/test/fuzztest/dlp_permission/querydlpfileaccess_fuzzer/
Dquerydlpfileaccess_fuzzer.cpp32 DLPPermissionInfo permInfo; in FuzzTest() local
33 DlpPermissionKit::QueryDlpFileAccess(permInfo); in FuzzTest()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/test/unittest/src/
Ddlp_permission_kit_test.cpp693 DLPPermissionInfo permInfo; variable
694 …T_EQ(DLP_SERVICE_ERROR_API_ONLY_FOR_SANDBOX_ERROR, DlpPermissionKit::QueryDlpFileAccess(permInfo));
715 DLPPermissionInfo permInfo; variable
716 ASSERT_EQ(DLP_OK, DlpPermissionKit::QueryDlpFileAccess(permInfo));
717 ASSERT_EQ(permInfo.dlpFileAccess, READ_ONLY);
718 ASSERT_EQ(permInfo.flags, ACTION_VIEW);
740 DLPPermissionInfo permInfo; variable
741 ASSERT_EQ(DLP_OK, DlpPermissionKit::QueryDlpFileAccess(permInfo));
742 ASSERT_EQ(permInfo.dlpFileAccess, CONTENT_EDIT);
743 ASSERT_EQ(permInfo.flags, ACTION_SET_EDIT);
[all …]
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/
Ddlp_permission_kit.cpp171 int32_t DlpPermissionKit::QueryDlpFileAccess(DLPPermissionInfo& permInfo) in QueryDlpFileAccess() argument
173 return DlpPermissionClient::GetInstance().QueryDlpFileAccess(permInfo); in QueryDlpFileAccess()
Ddlp_permission_client.cpp197 int32_t DlpPermissionClient::QueryDlpFileAccess(DLPPermissionInfo& permInfo) in QueryDlpFileAccess() argument
223 permInfo = permInfoyParcel->permInfo_; in QueryDlpFileAccess()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/include/
Ddlp_permission_kit.h76 static int32_t QueryDlpFileAccess(DLPPermissionInfo& permInfo);
Ddlp_permission_client.h51 int32_t QueryDlpFileAccess(DLPPermissionInfo& permInfo);
/base/security/dlp_permission_service/interfaces/kits/napi_common/include/
Dnapi_common.h192 DLPPermissionInfo permInfo; member
308 napi_value DlpPermissionInfoToJs(napi_env env, const DLPPermissionInfo& permInfo);
/base/security/dlp_permission_service/interfaces/kits/napi_common/src/
Dnapi_common.cpp1262 napi_value DlpPermissionInfoToJs(napi_env env, const DLPPermissionInfo& permInfo) in DlpPermissionInfoToJs() argument
1268 NAPI_CALL(env, napi_create_uint32(env, permInfo.dlpFileAccess, &accessJs)); in DlpPermissionInfoToJs()
1272 NAPI_CALL(env, napi_create_uint32(env, permInfo.flags, &flagsJs)); in DlpPermissionInfoToJs()
/base/security/dlp_permission_service/interfaces/kits/dlp_permission/napi/src/
Dnapi_dlp_permission.cpp942 asyncContext->errCode = DlpPermissionKit::QueryDlpFileAccess(asyncContext->permInfo); in GetDLPPermissionInfoExcute()
956 permInfoJs = DlpPermissionInfoToJs(env, asyncContext->permInfo); in GetDLPPermissionInfoComplete()