Home
last modified time | relevance | path

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

/external/autotest/client/cros/
Dp2p_utils.py22 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/
Dretrace_restricted_traces.py134 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/
Dselinux_server.py108 backup_path = path + ".bck"
112 fd = open(backup_path, "w")
122 os.rename(backup_path, path)
/external/selinux/gui/
DstatusPage.py167 backup_path = path + ".bck"
171 fd = open(backup_path, "w")
181 os.rename(backup_path, path)