Searched refs:DEVICE_EL1_DIR (Results 1 – 4 of 4) sorted by relevance
84 static const char *DEVICE_EL1_DIR = "/data/service/el0/storage_daemon/sd"; variable490 return LoadAndSetPolicy(DEVICE_EL1_DIR, dir); in SetGlobalEl1DirPolicy()
58 const std::string DEVICE_EL1_DIR = STORAGE_DAEMON_DIR + "/sd"; variable
173 …if (std::filesystem::exists(DEVICE_EL1_DIR, errCode) && !std::filesystem::is_empty(DEVICE_EL1_DIR)… in InitGlobalDeviceKey()174 UpgradeKeys({{0, DEVICE_EL1_DIR}}); in InitGlobalDeviceKey()175 return RestoreDeviceKey(DEVICE_EL1_DIR); in InitGlobalDeviceKey()177 ret = MkDir(DEVICE_EL1_DIR, S_IRWXU); in InitGlobalDeviceKey()181 "errno = " + std::to_string(errno) + ", path = " + DEVICE_EL1_DIR); in InitGlobalDeviceKey()185 return GenerateAndInstallDeviceKey(DEVICE_EL1_DIR); in InitGlobalDeviceKey()
165 if (origDir == DEVICE_EL1_DIR) { in GetBackupDir()166 backupDir = DEVICE_EL1_DIR + BACKUP_NAME; in GetBackupDir()