Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapexd_session.cpp89 std::fstream state_file(path, std::ios::in | std::ios::binary); in GetSessionFromFile() local
90 if (!state_file) { in GetSessionFromFile()
94 if (!state.ParseFromIstream(&state_file)) { in GetSessionFromFile()
244 std::fstream state_file(state_file_path, in UpdateStateAndCommit() local
246 if (!state_.SerializeToOstream(&state_file)) { in UpdateStateAndCommit()
Dapexd_session_test.cpp89 std::fstream state_file( in TEST() local
91 if (!session.SerializeToOstream(&state_file)) { in TEST()
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp1759 auto state_file = GetStateFilePath(); in GetUpdateState() local
1760 if (access(state_file.c_str(), F_OK) != 0 && errno == ENOENT) { in GetUpdateState()
3357 auto state_file = GetStateFilePath(); in HandleImminentDataWipe() local
3358 if (access(state_file.c_str(), F_OK) != 0 && errno == ENOENT) { in HandleImminentDataWipe()
3552 auto state_file = GetStateFilePath(); in RecoveryCreateSnapshotDevices() local
3553 if (access(state_file.c_str(), F_OK) != 0 && errno == ENOENT) { in RecoveryCreateSnapshotDevices()
Dsnapshot_test.cpp158 auto state_file = sm->GetStateFilePath(); in CleanupTestArtifacts() local
159 unlink(state_file.c_str()); in CleanupTestArtifacts()