Home
last modified time | relevance | path

Searched refs:user_dir (Results 1 – 6 of 6) sorted by relevance

/system/security/keystore/
Dblob.h189 KeyBlobEntry(std::string alias, std::string user_dir, uid_t uid, bool masterkey = false)
190 : alias_(std::move(alias)), user_dir_(std::move(user_dir)), uid_(uid), in alias_()
211 inline const std::string& user_dir() const { return user_dir_; } in user_dir() function
266 list(const std::string& user_dir,
Duser_state.cpp55 if ((mkdir(mMasterKeyEntry.user_dir().c_str(), S_IRUSR | S_IWUSR | S_IXUSR) < 0) && in initialize()
57 ALOGE("Could not create directory '%s'", mMasterKeyEntry.user_dir().c_str()); in initialize()
214 DIR* dir = opendir(mMasterKeyEntry.user_dir().c_str()); in reset()
Duser_state.h51 const std::string& getUserDirName() const { return mMasterKeyEntry.user_dir(); } in getUserDirName()
Dblob.cpp746 LockedKeyBlobEntry::list(const std::string& user_dir, in list() argument
757 DIR* dir = opendir(user_dir.c_str()); in list()
785 auto [iterator, dummy] = locked_blobs_.emplace(alias, user_dir, uid); in list()
/system/core/adb/
Dadb_utils.cpp311 std::string user_dir = adb_get_homedir_path(); in adb_get_android_dir_path() local
312 std::string android_dir = user_dir + OS_PATH_SEPARATOR + ".android"; in adb_get_android_dir_path()
/system/apex/apexd/
Dapexd.cpp1294 for (const auto& user_dir : *user_dirs) { in snapshotOrRestoreDeUserData()
1295 snapshotOrRestoreDeIfNeeded(user_dir, session); in snapshotOrRestoreDeUserData()
1342 for (const auto& user_dir : *user_dirs) { in destroyDeSnapshots()
1343 destroySnapshots(user_dir, rollback_id); in destroyDeSnapshots()
1405 for (const auto& user_dir : *user_dirs) { in restoreDePreRestoreSnapshotsIfPresent()
1406 restorePreRestoreSnapshotsIfPresent(user_dir, session); in restoreDePreRestoreSnapshotsIfPresent()
1430 for (const auto& user_dir : *user_dirs) { in deleteDePreRestoreSnapshots()
1431 deleteDePreRestoreSnapshots(user_dir, session); in deleteDePreRestoreSnapshots()