Home
last modified time | relevance | path

Searched refs:retentionInfo (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
H A Dsandbox_json_manager_test.cpp52 RetentionInfo retentionInfo = { variable
62 retentionInfo.appIndex = 1;
63 retentionInfo.userId = -1;
64 ret = sandboxJsonManager_->AddSandboxInfo(retentionInfo);
67 retentionInfo.userId = 10000;
68 retentionInfo.tokenId = 0;
69 ret = sandboxJsonManager_->AddSandboxInfo(retentionInfo);
85 RetentionInfo retentionInfo = { variable
103 retentionInfo.tokenId = 123;
104 retentionInfo.docUriSet = docUriSet;
[all …]
H A Ddlp_permission_service_test.cpp385 RetentionInfo retentionInfo = { variable
443 RetentionInfo retentionInfo = { variable
455 retentionInfo.bundleName = "testbundle1";
456 retentionInfo.tokenId = 827818;
457 retentionInfo.userId = 10000;
484 RetentionInfo retentionInfo = { variable
497 retentionInfo.bundleName = "testbundle";
498 retentionInfo.tokenId = 827878;
499 retentionInfo.userId = g_userId;
544 RetentionInfo retentionInfo = { variable
[all …]
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
H A Dsandbox_json_manager.cpp78 int32_t SandboxJsonManager::AddSandboxInfo(const RetentionInfo& retentionInfo) in AddSandboxInfo() argument
80 … if (retentionInfo.bundleName.empty() || retentionInfo.appIndex < 0 || retentionInfo.userId < 0 || in AddSandboxInfo()
81 retentionInfo.tokenId == 0) { in AddSandboxInfo()
83 …", userId=%{public}d.", retentionInfo.bundleName.empty(), retentionInfo.appIndex, retentionInfo.us… in AddSandboxInfo()
84 retentionInfo.tokenId); in AddSandboxInfo()
87 if (InsertSandboxInfo(retentionInfo)) { in AddSandboxInfo()
H A Dretention_file_manager.cpp96 int32_t RetentionFileManager::AddSandboxInfo(const RetentionInfo& retentionInfo) in AddSandboxInfo() argument
102 int32_t res = sandboxJsonManager_->AddSandboxInfo(retentionInfo); in AddSandboxInfo()
H A Dretention_file_manager.h37 int32_t AddSandboxInfo(const RetentionInfo& retentionInfo);
H A Dsandbox_json_manager.h51 int32_t AddSandboxInfo(const RetentionInfo& retentionInfo);
H A Dapp_state_observer.cpp198 RetentionInfo retentionInfo = { in AddDlpSandboxInfo() local
205 RetentionFileManager::GetInstance().AddSandboxInfo(retentionInfo); in AddDlpSandboxInfo()