Home
last modified time | relevance | path

Searched refs:GetMappedUserId (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Dfscrypt_key_v1_ext.cpp48 uint32_t FscryptKeyV1Ext::GetMappedUserId(uint32_t userId, uint32_t type) in GetMappedUserId() function in OHOS::StorageDaemon::FscryptKeyV1Ext
97 uint32_t user = GetMappedUserId(userId_, type_); in ActiveKeyExt()
128 uint32_t user = GetMappedUserId(userId_, type_); in UnlockUserScreenExt()
145 …UserIdToFbeStr userIdToFbe = { .userIds = { userId_, GetMappedUserId(userId_, type_) }, .size = US… in GenerateAppkey()
159 uint32_t userIdDouble = GetMappedUserId(userId_, type_); in AddClassE()
174 uint32_t userIdDouble = GetMappedUserId(userId_, type_); in DeleteClassEPinCode()
188 uint32_t userIdDouble = GetMappedUserId(userId_, type_); in ChangePinCodeClassE()
205 …UserIdToFbeStr userIdToFbe = { .userIds = { userId_, GetMappedUserId(userId_, type_) }, .size = US… in ReadClassE()
249 uint32_t user = type_ == TYPE_EL5 ? userId_ : GetMappedUserId(userId_, type_); in InactiveKeyExt()
265 uint32_t user = GetMappedUserId(userId_, type_); in LockUserScreenExt()
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/fscrypt_key_v1_ext_test/
H A Dfscrypt_key_v1_ext_test.cpp83 EXPECT_EQ(ext.GetMappedUserId(100, TYPE_EL2), 100);
89 EXPECT_EQ(ext.GetMappedUserId(101, TYPE_EL1), 101);
104 EXPECT_EQ(ext.GetMappedUserId(userId, TYPE_EL2), 0);
105 EXPECT_EQ(ext.GetMappedUserId(userId, TYPE_EL3), 0);
106 EXPECT_EQ(ext.GetMappedUserId(userId, TYPE_EL4), 0);
107 EXPECT_EQ(ext.GetMappedUserId(userId, TYPE_EL5), 0);
124 EXPECT_EQ(ext.GetMappedUserId(userId, TYPE_EL2), rlt);
125 EXPECT_EQ(ext.GetMappedUserId(userId, TYPE_EL3), rlt);
126 EXPECT_EQ(ext.GetMappedUserId(userId, TYPE_EL4), rlt);
127 EXPECT_EQ(ext.GetMappedUserId(userId, TYPE_EL5), rlt);
[all …]
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/include/crypto/
H A Dfscrypt_key_v1_ext.h50 uint32_t GetMappedUserId(uint32_t userId, uint32_t type);
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/test/mock/
H A Dfscrypt_key_v1_ext_mock.cpp91 uint32_t FscryptKeyV1Ext::GetMappedUserId(uint32_t userId, uint32_t type) in GetMappedUserId() function in FscryptKeyV1Ext