Searched refs:READ_ONLY (Results 1 – 12 of 12) sorted by relevance
/base/customization/enterprise_device_management/interfaces/kits/usb_manager/include/ |
D | usb_manager_addon.h | 34 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/ |
D | usb_manager_addon.cpp | 42 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/ |
D | dlp_permission_kit_test.cpp | 529 …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/ |
D | permission_policy.h | 39 READ_ONLY = 1, enumerator
|
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_common/ |
D | dlp_permission_serializer.cpp | 128 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/ |
D | dlp_link_file.cpp | 38 …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/ |
D | app_state_observer.cpp | 303 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/ |
D | dlp_permission_service.cpp | 223 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/ |
D | dlp_file_test.cpp | 260 .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/ |
D | dlp_file.cpp | 41 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/ |
D | dlp_fuse_test.cpp | 149 .authPerm = READ_ONLY, in GenerateRandProperty() 411 prop.everyonePerm = READ_ONLY;
|
/base/security/dlp_permission_service/interfaces/kits/napi_common/src/ |
D | napi_common.cpp | 440 NAPI_CALL(env, napi_create_int32(env, static_cast<int32_t>(READ_ONLY), &prop)); in CreateEnumDLPFileAccess()
|