Home
last modified time | relevance | path

Searched refs:rollback_id (Results 1 – 7 of 7) sorted by relevance

/system/apex/apexd/aidl/android/apex/
DIApexService.aidl41 long snapshotCeData(int user_id, int rollback_id, in @utf8InCpp String apex_name); in snapshotCeData() argument
47 void restoreCeData(int user_id, int rollback_id, in @utf8InCpp String apex_name); in restoreCeData() argument
52 void destroyDeSnapshots(int rollback_id); in destroyDeSnapshots() argument
/system/apex/apexd/
Dapexd.h54 const int rollback_id) WARN_UNUSED;
79 const int rollback_id,
82 const int rollback_id,
84 android::base::Result<void> destroyDeSnapshots(const int rollback_id);
Dapexd_session.cpp190 int ApexSession::GetRollbackId() const { return state_.rollback_id(); } in GetRollbackId()
224 void ApexSession::SetRollbackId(const int rollback_id) { in SetRollbackId() argument
225 state_.set_rollback_id(rollback_id); in SetRollbackId()
Dapexd.cpp1280 const int rollback_id, in snapshotDataDirectory() argument
1285 rollback_id, pre_restore ? kPreRestoreSuffix : ""); in snapshotDataDirectory()
1289 << rollback_id << " : " << result.error(); in snapshotDataDirectory()
1305 const int rollback_id, in restoreDataDirectory() argument
1309 "%s/%s/%d%s/%s", base_dir.c_str(), kApexSnapshotSubDir, rollback_id, in restoreDataDirectory()
1383 Result<ino_t> snapshotCeData(const int user_id, const int rollback_id, in snapshotCeData() argument
1386 Result<void> result = snapshotDataDirectory(base_dir, rollback_id, apex_name); in snapshotCeData()
1392 rollback_id, apex_name.c_str()); in snapshotCeData()
1396 Result<void> restoreCeData(const int user_id, const int rollback_id, in restoreCeData() argument
1399 return restoreDataDirectory(base_dir, rollback_id, apex_name); in restoreCeData()
[all …]
Dapexservice.cpp95 BinderStatus snapshotCeData(int user_id, int rollback_id,
98 BinderStatus restoreCeData(int user_id, int rollback_id,
100 BinderStatus destroyDeSnapshots(int rollback_id) override;
485 BinderStatus ApexService::snapshotCeData(int user_id, int rollback_id, in snapshotCeData() argument
490 ::android::apex::snapshotCeData(user_id, rollback_id, apex_name); in snapshotCeData()
500 BinderStatus ApexService::restoreCeData(int user_id, int rollback_id, in restoreCeData() argument
504 ::android::apex::restoreCeData(user_id, rollback_id, apex_name); in restoreCeData()
513 BinderStatus ApexService::destroyDeSnapshots(int rollback_id) { in destroyDeSnapshots() argument
515 Result<void> res = ::android::apex::destroyDeSnapshots(rollback_id); in destroyDeSnapshots()
Dapexd_session.h59 void SetRollbackId(const int rollback_id);
/system/apex/proto/
Dsession_state.proto53 int32 rollback_id = 7; field