Home
last modified time | relevance | path

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

/external/autotest/client/cros/
Dp2p_utils.py21 def p2p_backup_files(backup_path=P2P_SHARE_BACKUP_PATH): argument
30 if os.path.exists(backup_path):
31 shutil.rmtree(backup_path)
33 os.rename(P2P_SHARE_PATH, backup_path)
38 def p2p_restore_files(backup_path=P2P_SHARE_BACKUP_PATH): argument
47 if os.path.exists(backup_path):
48 os.rename(backup_path, P2P_SHARE_PATH)
/external/selinux/policycoreutils/sepolicy/
Dselinux_server.py92 backup_path = path + ".bck"
96 fd = open(backup_path, "w")
106 os.rename(backup_path, path)
/external/selinux/policycoreutils/gui/
DstatusPage.py164 backup_path = path + ".bck"
168 fd = open(backup_path, "w")
178 os.rename(backup_path, path)