Home
last modified time | relevance | path

Searched refs:DLP_LOG_INFO (Results 1 – 25 of 56) sorted by relevance

123

/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/callback/open_dlp_file_callback/
H A Dopen_dlp_file_callback_manager.cpp70 DLP_LOG_INFO(LABEL, "callbacks in %{public}d not empty", pid); in AddCallback()
88 DLP_LOG_INFO(LABEL, "callback add in %{public}d", pid); in AddCallback()
94 DLP_LOG_INFO(LABEL, "RemoveCallback by kill"); in RemoveCallback()
109 DLP_LOG_INFO(LABEL, "find callback in %{public}d", it->first); in RemoveCallback()
121 DLP_LOG_INFO(LABEL, "Remove callback not found"); in RemoveCallback()
127 DLP_LOG_INFO(LABEL, "RemoveCallback"); in RemoveCallback()
146 DLP_LOG_INFO(LABEL, "find callback in %{public}d", pid); in RemoveCallback()
157 DLP_LOG_INFO(LABEL, "Remove callback not found"); in RemoveCallback()
166 DLP_LOG_INFO(LABEL, "callback excute"); in OnOpenDlpFile()
190 DLP_LOG_INFO(LABEL, "no callback to execution"); in ExecuteCallbackAsync()
[all …]
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/callback/dlp_sandbox_change_callback/
H A Ddlp_sandbox_change_callback_manager.cpp75 DLP_LOG_INFO(LABEL, "recordInstance is added"); in AddCallback()
81 DLP_LOG_INFO(LABEL, "enter RemoveCallback by kill"); in RemoveCallback()
90 DLP_LOG_INFO(LABEL, "find callback"); in RemoveCallback()
100 DLP_LOG_INFO(LABEL, "RemoveCallback from DeathRecipient can not find callbackInfo"); in RemoveCallback()
106 DLP_LOG_INFO(LABEL, "enter RemoveCallback"); in RemoveCallback()
125 DLP_LOG_INFO(LABEL, "callbackInfo RemoveCallback succuss"); in RemoveCallback()
146 DLP_LOG_INFO(LABEL, "callback excute"); in ExecuteCallbackAsync()
153 DLP_LOG_INFO(LABEL, "Waiting for the callback execution complete..."); in ExecuteCallbackAsync()
158 DLP_LOG_INFO(LABEL, "Waiting for the callback execution complete..."); in ExecuteCallbackAsync()
161 DLP_LOG_INFO(LABEL, "callbackTask callback execution timeout"); in ExecuteCallbackAsync()
[all …]
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/test/unittest/src/
H A Ddlp_permission_client_test.cpp49 DLP_LOG_INFO(LABEL, "RegisterOpenDlpFileCallback001");
65 DLP_LOG_INFO(LABEL, "UnRegisterOpenDlpFileCallback001");
81 DLP_LOG_INFO(LABEL, "GetRetentionSandboxList001");
98 DLP_LOG_INFO(LABEL, "GetDLPFileVisitRecord001");
114 DLP_LOG_INFO(LABEL, "GetProxy001");
130 DLP_LOG_INFO(LABEL, "FinishStartSAFail001");
144 DLP_LOG_INFO(LABEL, "OnRemoteDiedHandle001");
158 DLP_LOG_INFO(LABEL, "GetProxyFromRemoteObject001");
173 DLP_LOG_INFO(LABEL, "SetReadFlag001");
H A Ddlp_permission_async_stub_test.cpp51 DLP_LOG_INFO(LABEL, "OnGenerateDlpCertificate001");
71 DLP_LOG_INFO(LABEL, "OnGenerateDlpCertificate002");
92 DLP_LOG_INFO(LABEL, "OnParseDlpCertificate001");
113 DLP_LOG_INFO(LABEL, "OnParseDlpCertificate002");
135 DLP_LOG_INFO(LABEL, "OnParseDlpCertificateStub001");
155 DLP_LOG_INFO(LABEL, "OnRemoteRequest001");
H A Ddlp_permission_kit_test.cpp98 DLP_LOG_INFO(LABEL, "get self uid is %{public}d", g_selfUid); in TestRecordProcessInfo()
137 DLP_LOG_INFO(LABEL, "get app tokenId is %{public}d", tokenId); in TestGetTokenId()
163 DLP_LOG_INFO(LABEL, "get app uid: %{public}d", info.uid); in TestGetAppUid()
214 DLP_LOG_INFO(LABEL, "SetUpTestCase."); in SetUpTestCase()
221 DLP_LOG_INFO(LABEL, "TearDownTestCase."); in TearDownTestCase()
227 DLP_LOG_INFO(LABEL, "SetUp ok."); in SetUp()
232 DLP_LOG_INFO(LABEL, "TearDown."); in TearDown()
256 DLP_LOG_INFO(LABEL, "%{public}u", index); in GenerateRandStr()
259 DLP_LOG_INFO(LABEL, "%{public}s", res.c_str()); in GenerateRandStr()
862 DLP_LOG_INFO(LABEL, "enter GetDlpSupportFileType001");
[all …]
H A Ddlp_sandbox_change_callback_stub_test.cpp61 DLP_LOG_INFO(LABEL, "OnLoadSystemAbilityFail001");
90 DLP_LOG_INFO(LABEL, "OnLoadSystemAbilityFail002");
121 DLP_LOG_INFO(LABEL, "OnLoadSystemAbilityFail003");
H A Ddlp_permission_load_callback_test.cpp50 DLP_LOG_INFO(LABEL, "OnLoadSystemAbilityFail001");
71 DLP_LOG_INFO(LABEL, "OnLoadSystemAbilitySuccess001");
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
H A Dapp_state_observer.cpp80 DLP_LOG_INFO(LABEL, "service exit, uninstall all dlp sandbox"); in UninstallAllDlpSandbox()
104 DLP_LOG_INFO(LABEL, "UnloadSystemAbility successfully!"); in ExitSaAfterAllDlpManagerDie()
113 DLP_LOG_INFO(LABEL, "erase userId %{public}d", userId); in EraseUserId()
122 DLP_LOG_INFO(LABEL, "add userId %{public}d", userId); in AddUserId()
333 DLP_LOG_INFO(LABEL, "erase tokenId: %{public}d", tokenId); in EraseUidTokenIdMap()
348 DLP_LOG_INFO(LABEL, "add tokenId: %{public}d, uid: %{public}d", tokenId, uid); in AddUidWithTokenId()
358 DLP_LOG_INFO(LABEL, "tokenId: %{public}d, uid: %{public}d", tokenId, uid); in GetUidByTokenId()
377 DLP_LOG_INFO(LABEL, "erase pid %{public}d", pid); in RemoveCallbackListener()
388 DLP_LOG_INFO(LABEL, "add pid %{public}d", pid); in AddCallbackListener()
434 DLP_LOG_INFO(LABEL, "current dlp sandbox %{public}s%{public}d's perm type is %{public}d", in QueryDlpFileAccessByUid()
[all …]
H A Dfile_operator.cpp46DLP_LOG_INFO(LABEL, "dir not exist, str = %{public}s errCode %{public}d.", str.c_str(), errno); in InputFileByPathAndContent()
54DLP_LOG_INFO(LABEL, "path need to be canonical, str %{public}s realPath %{public}s.", str.c_str(),… in InputFileByPathAndContent()
60 DLP_LOG_INFO(LABEL, "failed to open %{public}s, errno %{public}d.", path.c_str(), errno); in InputFileByPathAndContent()
65 DLP_LOG_INFO(LABEL, "failed to fwrite %{public}s, errno %{public}d.", path.c_str(), errno); in InputFileByPathAndContent()
70 DLP_LOG_INFO(LABEL, "failed to fflush %{public}s, errno %{public}d.", path.c_str(), errno); in InputFileByPathAndContent()
75 DLP_LOG_INFO(LABEL, "failed to fsync %{public}s, errno %{public}d.", path.c_str(), errno); in InputFileByPathAndContent()
83DLP_LOG_INFO(LABEL, "failed to change mode for file %{public}s, errno %{public}d.", path.c_str(), … in InputFileByPathAndContent()
97 DLP_LOG_INFO(LABEL, "cannot find file, path = %{public}s", realPath); in GetFileContentByPath()
103 DLP_LOG_INFO(LABEL, "cannot open file %{public}s, errno %{public}d.", realPath, errno); in GetFileContentByPath()
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/
H A Ddlp_crypt_test.cpp83 DLP_LOG_INFO(LABEL, "CheckParams"); in CheckParams()
106 DLP_LOG_INFO(LABEL, "DlpOpensslAesEncrypt001");
128 DLP_LOG_INFO(LABEL, "DlpOpensslAesEncrypt002");
149 DLP_LOG_INFO(LABEL, "DlpOpensslAesEncrypt003");
1452 DLP_LOG_INFO(LABEL, "GetOpensslAlg001");
1464 DLP_LOG_INFO(LABEL, "DlpOpensslHash001");
1503 DLP_LOG_INFO(LABEL, "DlpOpensslHash002");
1526 DLP_LOG_INFO(LABEL, "DlpOpensslHash003");
1543 DLP_LOG_INFO(LABEL, "DlpOpensslHash004");
1560 DLP_LOG_INFO(LABEL, "DlpOpensslHash005");
[all …]
H A Ddlp_file_manager_test.cpp78 DLP_LOG_INFO(LABEL, "OperDlpFileNode001");
106 DLP_LOG_INFO(LABEL, "OperDlpFileNode002");
132 DLP_LOG_INFO(LABEL, "GenerateCertData001");
386 DLP_LOG_INFO(LABEL, "FreeChiperBlob001");
539 DLP_LOG_INFO(LABEL, "GenerateDlpFile001");
568 DLP_LOG_INFO(LABEL, "GenerateDlpFile002");
588 DLP_LOG_INFO(LABEL, "GenerateDlpFile003");
608 DLP_LOG_INFO(LABEL, "OpenDlpFile001");
644 DLP_LOG_INFO(LABEL, "CloseDlpFile001");
657 DLP_LOG_INFO(LABEL, "RecoverDlpFile001");
[all …]
H A Ddlp_file_test.cpp129 DLP_LOG_INFO(LABEL, "IsValidCipher001");
196 DLP_LOG_INFO(LABEL, "CopyBlobParam001");
422 DLP_LOG_INFO(LABEL, "SetCipher001");
447 DLP_LOG_INFO(LABEL, "SetCipher001");
483 DLP_LOG_INFO(LABEL, "SetCipher003");
519 DLP_LOG_INFO(LABEL, "SetCipher004");
571 DLP_LOG_INFO(LABEL, "SetPolicy001");
1224 DLP_LOG_INFO(LABEL, "GenFile001");
1244 DLP_LOG_INFO(LABEL, "GenFile002");
1671 DLP_LOG_INFO(LABEL, "Truncate001");
[all …]
H A Ddlp_file_kits_test.cpp151 DLP_LOG_INFO(LABEL, "GetSandboxFlag001");
168 DLP_LOG_INFO(LABEL, "GetSandboxFlag002");
195 DLP_LOG_INFO(LABEL, "GetSandboxFlag003");
218 DLP_LOG_INFO(LABEL, "GetSandboxFlag004");
234 DLP_LOG_INFO(LABEL, "GetSandboxFlag005");
261 DLP_LOG_INFO(LABEL, "GetSandboxFlag006");
288 DLP_LOG_INFO(LABEL, "GetSandboxFlag008");
310 DLP_LOG_INFO(LABEL, "GetSandboxFlag009");
337 DLP_LOG_INFO(LABEL, "GetSandboxFlag009");
363 DLP_LOG_INFO(LABEL, "GetSandboxFlag011");
[all …]
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
H A Dapp_state_observer_test.cpp54 DLP_LOG_INFO(LABEL, "OnProcessDied001");
73 DLP_LOG_INFO(LABEL, "CallbackListenerEmpty001");
88 DLP_LOG_INFO(LABEL, "CheckSandboxInfo001");
114 DLP_LOG_INFO(LABEL, "EraseDlpSandboxInfo001");
131 DLP_LOG_INFO(LABEL, "AddDlpSandboxInfo001");
148 DLP_LOG_INFO(LABEL, "QueryDlpFileAccessByUid001");
167 DLP_LOG_INFO(LABEL, "QueryDlpFileCopyableByTokenId001");
185 DLP_LOG_INFO(LABEL, "GetOpeningReadOnlySandbox001");
227 DLP_LOG_INFO(LABEL, "AddSandboxInfo001");
H A Dpermission_policy_test.cpp83 DLP_LOG_INFO(LABEL, "PermissionPolicyConstruct001");
97 DLP_LOG_INFO(LABEL, "IsValid001");
115 DLP_LOG_INFO(LABEL, "IsValid002");
139 DLP_LOG_INFO(LABEL, "IsValid003");
162 DLP_LOG_INFO(LABEL, "IsValid004");
186 DLP_LOG_INFO(LABEL, "IsValid005");
210 DLP_LOG_INFO(LABEL, "IsValid006");
264 DLP_LOG_INFO(LABEL, "IsValid002");
289 DLP_LOG_INFO(LABEL, "SetAesKey001");
313 DLP_LOG_INFO(LABEL, "SetIv001");
[all …]
H A Ddlp_permission_serializer_test.cpp52 DLP_LOG_INFO(LABEL, "SerializeDlpPermission001");
82 DLP_LOG_INFO(LABEL, "SerializeDlpPermission002");
102 DLP_LOG_INFO(LABEL, "SerializeDlpPermission003");
148 DLP_LOG_INFO(LABEL, "DeserializeDlpPermission001");
167 DLP_LOG_INFO(LABEL, "DeserializeDlpPermission002");
186 DLP_LOG_INFO(LABEL, "DeserializeDlpPermission003");
205 DLP_LOG_INFO(LABEL, "DeserializeDlpPermission004");
230 DLP_LOG_INFO(LABEL, "DeserializeEncPolicyData001");
247 DLP_LOG_INFO(LABEL, "DeserializeEncPolicyData002");
266 DLP_LOG_INFO(LABEL, "DeserializeEveryoneInfo001");
[all …]
H A Dhex_string_test.cpp49 DLP_LOG_INFO(LABEL, "ByteToHexString001");
74 DLP_LOG_INFO(LABEL, "ByteToHexString001");
107 DLP_LOG_INFO(LABEL, "ByteToHexString001");
H A Ddlp_parcel_test.cpp47 DLP_LOG_INFO(LABEL, "AuthUserInfoParcel001");
122 DLP_LOG_INFO(LABEL, "RetentionSandBoxInfo001");
142 DLP_LOG_INFO(LABEL, "VisitedDLPFileInfo001");
H A Daccount_adapt_test.cpp48 DLP_LOG_INFO(LABEL, "IsAccountLogIn001");
79 DLP_LOG_INFO(LABEL, "GetDomainAccountName001");
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/test/unittest/src/
H A Dfuse_daemon_test.cpp186 DLP_LOG_INFO(LABEL, "FuseDaemonLookup001");
246 DLP_LOG_INFO(LABEL, "FuseDaemonGetattr001");
278 DLP_LOG_INFO(LABEL, "FuseDaemonOpen001");
334 DLP_LOG_INFO(LABEL, "FuseDaemonRead001");
375 DLP_LOG_INFO(LABEL, "FuseDaemonRead002");
421 DLP_LOG_INFO(LABEL, "FuseDaemonWrite001");
484 DLP_LOG_INFO(LABEL, "FuseDaemonForget001");
514 DLP_LOG_INFO(LABEL, "FuseDaemonReadDir001");
562 DLP_LOG_INFO(LABEL, "FuseDaemonReadDir002");
808 DLP_LOG_INFO(LABEL, "InitFuseFs001");
[all …]
H A Ddlp_fuse_test.cpp114 DLP_LOG_INFO(LABEL, "TearDown"); in TearDown()
138 DLP_LOG_INFO(LABEL, "TearDown end"); in TearDown()
221 DLP_LOG_INFO(LABEL, "CheckLinkFd"); in CheckLinkFd()
262 DLP_LOG_INFO(LABEL, "CheckRecoverFd"); in CheckRecoverFd()
316 DLP_LOG_INFO(LABEL, "AddDlpLinkFile001");
375 DLP_LOG_INFO(LABEL, "AddDlpLinkFile002");
845 DLP_LOG_INFO(LABEL, "ReadFuseDir001");
886 DLP_LOG_INFO(LABEL, "DlpLinkFile001");
915 DLP_LOG_INFO(LABEL, "IncreaseRef001");
931 DLP_LOG_INFO(LABEL, "GetLinkStat001");
[all …]
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/
H A Ddlp_permission_client.cpp215 DLP_LOG_INFO(LABEL, "it is not a sandbox app"); in QueryDlpFileCopyableByTokenId()
243 DLP_LOG_INFO(LABEL, "Proxy is null"); in QueryDlpFileAccess()
268 DLP_LOG_INFO(LABEL, "it is not a sandbox app"); in IsInDlpSandbox()
287 DLP_LOG_INFO(LABEL, "Proxy is null"); in GetDlpSupportFileType()
449 DLP_LOG_INFO(LABEL, "Proxy is null"); in SetRetentionState()
460 DLP_LOG_INFO(LABEL, "Proxy is null"); in CancelRetentionState()
480 DLP_LOG_INFO(LABEL, "Proxy is null"); in GetRetentionSandboxList()
491 DLP_LOG_INFO(LABEL, "Proxy is null"); in ClearUnreservedSandbox()
510 DLP_LOG_INFO(LABEL, "Proxy is null"); in GetDLPFileVisitRecord()
659 DLP_LOG_INFO(LABEL, "Get dlp_permission sa success."); in FinishStartSASuccess()
[all …]
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/src/
H A Ddlp_link_manager.cpp94 DLP_LOG_INFO(LABEL, "Add link file succ, file name %{public}s", dlpLinkName.c_str()); in AddDlpLinkFile()
117DLP_LOG_INFO(LABEL, "Stop link file success, file name %{public}s", node->GetLinkName().c_str()); in StopDlpLinkFile()
142DLP_LOG_INFO(LABEL, "Restart link file success, file name %{public}s", node->GetLinkName().c_str()… in RestartDlpLinkFile()
171DLP_LOG_INFO(LABEL, "Replace link file success, file name %{public}s", dlpLinkName.c_str()); in ReplaceDlpLinkFile()
192 DLP_LOG_INFO(LABEL, "Delete link file %{private}s ok", tmp->GetLinkName().c_str()); in DeleteDlpLinkFile()
195DLP_LOG_INFO(LABEL, "Link file %{private}s is still referenced by kernel, only remove it from map", in DeleteDlpLinkFile()
H A Ddlp_link_file.cpp99 DLP_LOG_INFO(LABEL, "linkFile is stopping link"); in Truncate()
116 DLP_LOG_INFO(LABEL, "Truncate %{public}u in link file succ", modifySize); in Truncate()
135 DLP_LOG_INFO(LABEL, "linkFile is stopping link"); in Write()
154 DLP_LOG_INFO(LABEL, "linkFile is stopping link"); in Read()
/ohos5.0/base/security/dlp_permission_service/frameworks/common/include/
H A Ddlp_permission_log.h30 #define DLP_LOG_INFO(fmt, ...) HILOG_INFO(LOG_CORE, "[%{public}s:%{public}d]:" fmt, \ macro
52 #define DLP_LOG_INFO(label, fmt, ...) \ macro
67 #define DLP_LOG_INFO(fmt, ...) printf("[%s] info: %s: " fmt "\n", LOG_TAG, __func__, ##__VA_ARGS__) macro

123