Home
last modified time | relevance | path

Searched refs:UniqueControl (Results 1 – 3 of 3) sorted by relevance

/system/incremental_delivery/incfs/include/
Dincfs.h88 class UniqueControl {
90 UniqueControl(IncFsControl* control = nullptr) : mControl(control) {} in mControl()
91 ~UniqueControl() { close(); } in ~UniqueControl()
92 UniqueControl(UniqueControl&& other) noexcept in UniqueControl() function
94 UniqueControl& operator=(UniqueControl&& other) noexcept {
177 using Control = UniqueControl;
211 UniqueControl mount(std::string_view backingPath, std::string_view targetDir,
213 UniqueControl open(std::string_view dir);
214 UniqueControl createControl(IncFsFd cmd, IncFsFd pendingReads, IncFsFd logs, IncFsFd blocksWritten);
Dincfs_inline.h102 inline void UniqueControl::close() { in close()
107 inline IncFsFd UniqueControl::cmd() const { in cmd()
111 inline IncFsFd UniqueControl::pendingReads() const { in pendingReads()
115 inline IncFsFd UniqueControl::logs() const { in logs()
119 inline IncFsFd UniqueControl::blocksWritten() const { in blocksWritten()
123 inline UniqueControl::Fds UniqueControl::releaseFds() { in releaseFds()
133 inline UniqueControl mount(std::string_view backingPath, std::string_view targetDir, in mount()
136 return UniqueControl(control); in mount()
139 inline UniqueControl open(std::string_view dir) { in open()
141 return UniqueControl(control); in open()
[all …]
/system/incremental_delivery/libdataloader/
DDataLoaderConnector.cpp44 using UniqueControl = android::incfs::UniqueControl; typedef
307 DataLoaderConnector(JNIEnv* env, jobject service, jint storageId, UniqueControl control, in DataLoaderConnector()
552 const UniqueControl& control() const { return mControl; } in control()
563 UniqueControl const mControl;
612 static UniqueControl createIncFsControlFromManaged(JNIEnv* env, jobject managedControl) { in createIncFsControlFromManaged()
616 return UniqueControl(); in createIncFsControlFromManaged()
845 const UniqueControl* control = &(dataLoaderConnector->control()); in DataLoaderService_OnStart()
889 static void DataLoaderService_OnStop_NoStatus(const UniqueControl* control, in DataLoaderService_OnStop_NoStatus()
913 const UniqueControl* control = &(dataLoaderConnector->control()); in DataLoaderService_OnStop()
937 const UniqueControl* control = &(dataLoaderConnector->control()); in DataLoaderService_OnDestroy()