Home
last modified time | relevance | path

Searched refs:randomId (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/file_sharing/test/
H A Dsetacl_test.cpp32 std::string randomId = "0"; variable
48 GTEST_LOG_(INFO) << "SetAclTest: randomId = " << randomId; in SetUpTestCase()
114 rc = AclSetDefault(PATH_TEST, std::string("o:") + randomId + ":r-x");
119 rc = AclSetDefault(PATH_TEST, std::string("m:") + randomId + ":--x");
124 rc = AclSetDefault(PATH_TEST, std::string("w:") + randomId + ":rw");
129 rc = AclSetDefault(PATH_TEST, std::string("u:") + randomId + ";rw");
134 rc = AclSetDefault(PATH_TEST, std::string("u;") + randomId + ";rw");
139 rc = AclSetDefault(PATH_TEST, std::string("u:") + randomId + ":");
245 rc = AclSetAccess(PATH_TEST, std::string("w:") + randomId + ":rw");
250 rc = AclSetAccess(PATH_TEST, std::string("u:") + randomId + ";rw");
[all …]
/ohos5.0/base/account/os_account/test/fuzztest/osaccount/getosaccountlistfromdatabase_fuzzer/
H A Dgetosaccountlistfromdatabase_fuzzer.cpp35 std::string randomId(fuzzData.GenerateRandomString()); in GetOsAccountListFromDatabaseFuzzTest() local
36 result = OsAccountManager::GetOsAccountListFromDatabase(randomId, TEST_LIST); in GetOsAccountListFromDatabaseFuzzTest()
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane.c98 uint32_t randomId; in AllocLaneReqId() local
104 randomId = idIndex + 1; in AllocLaneReqId()
105 laneReqId = randomId | ((uint32_t)type << LANE_REQ_ID_TYPE_SHIFT); in AllocLaneReqId()
121 uint32_t randomId = laneReqId & LANE_REQ_RANDOM_ID_MASK; in DestroyLaneReqId() local
122 if ((randomId == INVALID_LANE_REQ_ID) || (randomId > MAX_LANE_REQ_ID_NUM)) { in DestroyLaneReqId()
130 uint32_t idIndex = randomId - 1; in DestroyLaneReqId()