Home
last modified time | relevance | path

Searched refs:READ_ONLY (Results 1 – 12 of 12) sorted by relevance

/base/customization/enterprise_device_management/interfaces/kits/usb_manager/include/
Dusb_manager_addon.h34 constexpr int32_t READ_ONLY = 1; variable
35 constexpr int32_t USB_POLICY[] = {READ_WRITE, READ_ONLY};
/base/customization/enterprise_device_management/interfaces/kits/usb_manager/src/
Dusb_manager_addon.cpp42 NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, READ_ONLY, &readOnly)); in CreateUsbPolicyEnum()
104 case READ_ONLY: in NativeSetUsbPolicy()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/test/unittest/src/
Ddlp_permission_kit_test.cpp529 …DlpPermissionKit::InstallDlpSandbox(DLP_MANAGER_APP, READ_ONLY, DEFAULT_USERID, sandboxInfo, TEST_…
544 …DLP_OK, DlpPermissionKit::InstallDlpSandbox("test.test", READ_ONLY, DEFAULT_USERID, sandboxInfo, T…
546 DlpPermissionKit::InstallDlpSandbox("", READ_ONLY, DEFAULT_USERID, sandboxInfo, TEST_URI));
562 …DlpPermissionKit::InstallDlpSandbox(DLP_MANAGER_APP, READ_ONLY, DEFAULT_USERID, sandboxInfo, TEST_…
596 …DlpPermissionKit::InstallDlpSandbox(DLP_MANAGER_APP, READ_ONLY, DEFAULT_USERID, sandboxInfo, TEST_…
619 …DlpPermissionKit::InstallDlpSandbox(DLP_MANAGER_APP, READ_ONLY, DEFAULT_USERID, sandboxInfo, TEST_…
709 TestInstallDlpSandbox(DLP_MANAGER_APP, READ_ONLY, DEFAULT_USERID, sandboxInfo);
717 ASSERT_EQ(permInfo.dlpFileAccess, READ_ONLY);
805 TestInstallDlpSandbox(DLP_MANAGER_APP, READ_ONLY, DEFAULT_USERID, sandboxInfo);
873 TestInstallDlpSandbox(DLP_MANAGER_APP, READ_ONLY, DEFAULT_USERID, sandboxInfo);
/base/security/dlp_permission_service/frameworks/common/include/
Dpermission_policy.h39 READ_ONLY = 1, enumerator
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_common/
Ddlp_permission_serializer.cpp128 case READ_ONLY: { in SerializeAuthUserInfo()
180 userInfo.authPerm = READ_ONLY; in DeserializeAuthUserInfo()
225 case READ_ONLY: { in SerializeEveryoneInfo()
361 policy.everyonePerm_ = READ_ONLY; in DeserializeEveryoneInfo()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/src/
Ddlp_link_file.cpp38 …uint32_t fileMode = (dlpFile->GetAuthPerm() == READ_ONLY) ? DEFAULT_INODE_RO_ACCESS : DEFAULT_INOD… in DlpLinkFile()
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
Dapp_state_observer.cpp303 case READ_ONLY: in IsCopyable()
367 appInfo.dlpFileAccess == READ_ONLY ? "ReadOnly" : "FullControl"); in DumpSandbox()
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/
Ddlp_permission_service.cpp223 DLPFileAccess permForBMS = (dlpFileAccess == READ_ONLY) ? READ_ONLY : CONTENT_EDIT; in InstallDlpSandbox()
351 case READ_ONLY: { in GetDlpActionFlag()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/
Ddlp_file_test.cpp260 .authPerm = READ_ONLY
267 ASSERT_EQ(testFile.authPerm_, READ_ONLY);
1234 testFile.authPerm_ = READ_ONLY;
1548 testFile.authPerm_ = READ_ONLY;
1596 testFile.authPerm_ = READ_ONLY;
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
Ddlp_file.cpp41 DlpFile::DlpFile(int32_t dlpFd) : dlpFd_(dlpFd), isFuseLink_(false), authPerm_(READ_ONLY) in DlpFile()
1019 if (authPerm_ == READ_ONLY) { in DlpFileWrite()
1046 if (authPerm_ == READ_ONLY) { in Truncate()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/test/unittest/src/
Ddlp_fuse_test.cpp149 .authPerm = READ_ONLY, in GenerateRandProperty()
411 prop.everyonePerm = READ_ONLY;
/base/security/dlp_permission_service/interfaces/kits/napi_common/src/
Dnapi_common.cpp440 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(READ_ONLY), &prop)); in CreateEnumDLPFileAccess()