Home
last modified time | relevance | path

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

/system/apex/apexd/
Dapexd_session.cpp49 std::fstream state_file(path, std::ios::in | std::ios::binary); in ParseSessionState() local
50 if (!state_file) { in ParseSessionState()
54 if (!state.ParseFromIstream(&state_file)) { in ParseSessionState()
239 std::fstream state_file(state_file_path, in UpdateStateAndCommit() local
241 if (!state_.SerializeToOstream(&state_file)) { in UpdateStateAndCommit()
Dapexd_session_test.cpp95 std::fstream state_file( in TEST() local
97 if (!session.SerializeToOstream(&state_file)) { in TEST()
/system/core/fs_mgr/libsnapshot/
Dsnapshot.cpp2039 auto state_file = GetStateFilePath(); in GetUpdateState() local
2040 if (access(state_file.c_str(), F_OK) != 0 && errno == ENOENT) { in GetUpdateState()
3935 auto state_file = GetStateFilePath(); in HandleImminentDataWipe() local
3936 if (access(state_file.c_str(), F_OK) != 0 && errno == ENOENT) { in HandleImminentDataWipe()
4129 auto state_file = GetStateFilePath(); in RecoveryCreateSnapshotDevices() local
4130 if (access(state_file.c_str(), F_OK) != 0 && errno == ENOENT) { in RecoveryCreateSnapshotDevices()
Dsnapshot_test.cpp243 auto state_file = sm->GetStateFilePath(); in CleanupTestArtifacts() local
244 unlink(state_file.c_str()); in CleanupTestArtifacts()