Searched refs:backup_path (Results 1 – 4 of 4) sorted by relevance
/external/autotest/client/cros/ |
D | p2p_utils.py | 22 def p2p_backup_files(backup_path=P2P_SHARE_BACKUP_PATH): argument 31 if os.path.exists(backup_path): 32 shutil.rmtree(backup_path) 34 os.rename(P2P_SHARE_PATH, backup_path) 39 def p2p_restore_files(backup_path=P2P_SHARE_BACKUP_PATH): argument 48 if os.path.exists(backup_path): 49 os.rename(backup_path, P2P_SHARE_PATH)
|
/external/angle/src/tests/restricted_traces/ |
D | retrace_restricted_traces.py | 134 def backup_single_trace(trace, backup_path): argument 136 trace_backup_path = os.path.join(backup_path, trace) 145 def restore_single_trace(trace, backup_path): argument 147 trace_backup_path = os.path.join(backup_path, trace) 334 with tempfile.TemporaryDirectory() as backup_path: 335 backup_single_trace(trace, backup_path) 349 restore_single_trace(trace, backup_path)
|
/external/selinux/dbus/ |
D | selinux_server.py | 108 backup_path = path + ".bck" 112 fd = open(backup_path, "w") 122 os.rename(backup_path, path)
|
/external/selinux/gui/ |
D | statusPage.py | 167 backup_path = path + ".bck" 171 fd = open(backup_path, "w") 181 os.rename(backup_path, path)
|