Home
last modified time | relevance | path

Searched refs:ServiceProxy (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/backup_kit_inner/
H A Dservice_proxy_mock.cpp50 ErrCode ServiceProxy::Start() in Start()
55 UniqueFd ServiceProxy::GetLocalCapabilities() in GetLocalCapabilities()
73 ErrCode ServiceProxy::AppDone(ErrCode errCode) in AppDone()
117 ErrCode ServiceProxy::Finish() in Finish()
122 ErrCode ServiceProxy::Release() in Release()
188 ErrCode ServiceProxy::StartExtTimer(bool &isExtStart) in StartExtTimer()
192 ErrCode ServiceProxy::StartFwkTimer(bool &isFwkStart) in StartFwkTimer()
207 sptr<IService> ServiceProxy::GetServiceProxyPointer() in GetServiceProxyPointer()
212 sptr<IService> ServiceProxy::GetInstance() in GetInstance()
222 serviceProxy_ = sptr(new ServiceProxy(object)); in GetInstance()
[all …]
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/session/
H A Dservice_proxy_mock.cpp33 ErrCode ServiceProxy::Start() in Start()
38 UniqueFd ServiceProxy::GetLocalCapabilities() in GetLocalCapabilities()
43 ErrCode ServiceProxy::PublishFile(const BFileInfo &fileInfo) in PublishFile()
53 ErrCode ServiceProxy::AppDone(ErrCode errCode) in AppDone()
94 ErrCode ServiceProxy::Finish() in Finish()
99 ErrCode ServiceProxy::Release() in Release()
165 ErrCode ServiceProxy::StartExtTimer(bool &isExtStart) in StartExtTimer()
170 ErrCode ServiceProxy::StartFwkTimer(bool &isFwkStart) in StartFwkTimer()
185 sptr<IService> ServiceProxy::GetServiceProxyPointer() in GetServiceProxyPointer()
190 sptr<IService> ServiceProxy::GetInstance() in GetInstance()
[all …]
H A Db_incremental_session_test.cpp48 ServiceProxy::serviceProxy_ = proxy; in SetUpTestCase()
56 ServiceProxy::serviceProxy_ = nullptr; in TearDownTestCase()
73 ServiceProxy::serviceProxy_ = nullptr;
80 ServiceProxy::serviceProxy_ = proxy;
106 ServiceProxy::serviceProxy_ = nullptr;
110 ServiceProxy::serviceProxy_ = proxy;
142 ServiceProxy::serviceProxy_ = proxy;
171 ServiceProxy::serviceProxy_ = proxy;
201 ServiceProxy::serviceProxy_ = proxy;
231 ServiceProxy::serviceProxy_ = proxy;
[all …]
H A Dservice_proxy_mock.h24 class ServiceProxyMock : public ServiceProxy {
26 explicit ServiceProxyMock(const sptr<IRemoteObject> &impl) : ServiceProxy(impl) {} in ServiceProxyMock()
/ohos5.0/foundation/filemanagement/app_file_service/frameworks/native/backup_kit_inner/src/
H A Db_session_restore.cpp49 ServiceProxy::InvaildInstance(); in Init()
50 auto proxy = ServiceProxy::GetInstance(); in Init()
74 auto proxy = ServiceProxy::GetInstance(); in PublishFile()
83 auto proxy = ServiceProxy::GetInstance(); in Start()
93 auto proxy = ServiceProxy::GetInstance(); in GetFileHandle()
104 auto proxy = ServiceProxy::GetInstance(); in AppendBundles()
123 auto proxy = ServiceProxy::GetInstance(); in AppendBundles()
142 auto proxy = ServiceProxy::GetInstance(); in Finish()
152 auto proxy = ServiceProxy::GetInstance(); in Release()
162 auto proxy = ServiceProxy::GetInstance(); in RegisterBackupServiceDied()
[all …]
H A Db_incremental_restore_session.cpp33 auto proxy = ServiceProxy::GetServiceProxyPointer(); in ~BIncrementalRestoreSession()
49 ServiceProxy::InvaildInstance(); in Init()
50 auto proxy = ServiceProxy::GetInstance(); in Init()
74 auto proxy = ServiceProxy::GetInstance(); in PublishFile()
83 auto proxy = ServiceProxy::GetInstance(); in PublishSAFile()
92 auto proxy = ServiceProxy::GetInstance(); in GetFileHandle()
102 auto proxy = ServiceProxy::GetInstance(); in AppendBundles()
122 auto proxy = ServiceProxy::GetInstance(); in AppendBundles()
141 auto proxy = ServiceProxy::GetInstance(); in Release()
151 auto proxy = ServiceProxy::GetInstance(); in RegisterBackupServiceDied()
[all …]
H A Db_session_backup.cpp33 auto proxy = ServiceProxy::GetServiceProxyPointer(); in ~BSessionBackup()
49 ServiceProxy::InvaildInstance(); in Init()
50 auto proxy = ServiceProxy::GetInstance(); in Init()
75 auto proxy = ServiceProxy::GetInstance(); in RegisterBackupServiceDied()
85 ServiceProxy::InvaildInstance(); in RegisterBackupServiceDied()
95 auto proxy = ServiceProxy::GetInstance(); in Start()
105 auto proxy = ServiceProxy::GetInstance(); in AppendBundles()
125 auto proxy = ServiceProxy::GetInstance(); in AppendBundles()
145 auto proxy = ServiceProxy::GetInstance(); in Finish()
155 auto proxy = ServiceProxy::GetInstance(); in Release()
H A Db_incremental_backup_session.cpp33 auto proxy = ServiceProxy::GetServiceProxyPointer(); in ~BIncrementalBackupSession()
49 ServiceProxy::InvaildInstance(); in Init()
50 auto proxy = ServiceProxy::GetInstance(); in Init()
75 auto proxy = ServiceProxy::GetInstance(); in RegisterBackupServiceDied()
85 ServiceProxy::InvaildInstance(); in RegisterBackupServiceDied()
95 auto proxy = ServiceProxy::GetInstance(); in AppendBundles()
116 auto proxy = ServiceProxy::GetInstance(); in AppendBundles()
136 auto proxy = ServiceProxy::GetInstance(); in Release()
H A Db_incremental_session_restore_async.cpp34 auto proxy = ServiceProxy::GetServiceProxyPointer(); in ~BIncrementalSessionRestoreAsync()
50 ServiceProxy::InvaildInstance(); in Init()
51 auto proxy = ServiceProxy::GetInstance(); in Init()
82 auto proxy = ServiceProxy::GetInstance(); in PublishFile()
91 auto proxy = ServiceProxy::GetInstance(); in GetFileHandle()
105 auto proxy = ServiceProxy::GetInstance(); in AppendBundles()
128 auto proxy = ServiceProxy::GetInstance(); in AppendBundles()
147 auto proxy = ServiceProxy::GetInstance(); in Release()
157 auto proxy = ServiceProxy::GetInstance(); in RegisterBackupServiceDied()
H A Db_session_restore_async.cpp35 auto proxy = ServiceProxy::GetServiceProxyPointer(); in ~BSessionRestoreAsync()
51 ServiceProxy::InvaildInstance(); in Init()
52 auto proxy = ServiceProxy::GetInstance(); in Init()
83 auto proxy = ServiceProxy::GetInstance(); in PublishFile()
92 auto proxy = ServiceProxy::GetInstance(); in GetFileHandle()
106 auto proxy = ServiceProxy::GetInstance(); in AppendBundles()
129 auto proxy = ServiceProxy::GetInstance(); in AppendBundles()
149 auto proxy = ServiceProxy::GetInstance(); in Release()
159 auto proxy = ServiceProxy::GetInstance(); in RegisterBackupServiceDied()
H A Dservice_proxy.cpp86 ErrCode ServiceProxy::Start() in Start()
106 UniqueFd ServiceProxy::GetLocalCapabilities() in GetLocalCapabilities()
132 ErrCode ServiceProxy::PublishFile(const BFileInfo &fileInfo) in PublishFile()
189 ErrCode ServiceProxy::AppDone(ErrCode errCode) in AppDone()
402 ErrCode ServiceProxy::Finish() in Finish()
422 sptr<IService> ServiceProxy::GetServiceProxyPointer() in GetServiceProxyPointer()
428 sptr<IService> ServiceProxy::GetInstance() in GetInstance()
468 void ServiceProxy::InvaildInstance() in InvaildInstance()
503 ServiceProxy::InvaildInstance(); in OnLoadSystemAbilitySuccess()
634 ErrCode ServiceProxy::StartExtTimer(bool &isExtStart) in StartExtTimer()
[all …]
H A Dservice_incremental_proxy.cpp32 ErrCode ServiceProxy::Release() in Release()
52 UniqueFd ServiceProxy::GetLocalCapabilitiesIncremental(const vector<BIncrementalData> &bundleNames) in GetLocalCapabilitiesIncremental()
81 ErrCode ServiceProxy::GetAppLocalListAndDoIncrementalBackup() in GetAppLocalListAndDoIncrementalBackup()
104 ErrCode ServiceProxy::InitIncrementalBackupSession(sptr<IServiceReverse> remote) in InitIncrementalBackupSession()
135 ErrCode ServiceProxy::AppendBundlesIncrementalBackupSession(const vector<BIncrementalData> &bundles… in AppendBundlesIncrementalBackupSession()
163 ErrCode ServiceProxy::AppendBundlesIncrementalBackupSession(const vector<BIncrementalData> &bundles… in AppendBundlesIncrementalBackupSession()
196 ErrCode ServiceProxy::PublishIncrementalFile(const BFileInfo &fileInfo) in PublishIncrementalFile()
221 ErrCode ServiceProxy::PublishSAIncrementalFile(const BFileInfo &fileInfo, UniqueFd fd) in PublishSAIncrementalFile()
287 ErrCode ServiceProxy::AppIncrementalDone(ErrCode errCode) in AppIncrementalDone()
311 ErrCode ServiceProxy::GetIncrementalFileHandle(const std::string &bundleName, const std::string &fi… in GetIncrementalFileHandle()
[all …]
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/kits/js/backup/
H A Dprop_n_operation.cpp41 ServiceProxy::InvaildInstance(); in AsyncCallback()
42 auto proxy = ServiceProxy::GetInstance(); in AsyncCallback()
145 ServiceProxy::InvaildInstance(); in AsyncDataList()
146 auto proxy = ServiceProxy::GetInstance(); in AsyncDataList()
227 ServiceProxy::InvaildInstance(); in DoGetBackupInfo()
228 auto proxy = ServiceProxy::GetInstance(); in DoGetBackupInfo()
253 ServiceProxy::InvaildInstance(); in UpdateSendRate()
254 auto proxy = ServiceProxy::GetInstance(); in UpdateSendRate()
270 ServiceProxy::InvaildInstance(); in UpdateTimer()
271 auto proxy = ServiceProxy::GetInstance(); in UpdateTimer()
/ohos5.0/foundation/filemanagement/app_file_service/interfaces/inner_api/native/backup_kit_inner/impl/
H A Dservice_proxy.h29 class ServiceProxy : public IRemoteProxy<IService> {
76 explicit ServiceProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IService>(impl) {} in ServiceProxy() function
77 ~ServiceProxy() override {} in ~ServiceProxy()
101 static inline BrokerDelegator<ServiceProxy> delegator_;
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_api/backup_impl/
H A Dservice_proxy_test.cpp46 shared_ptr<ServiceProxy> proxy_ = nullptr;
54 proxy_ = make_shared<ServiceProxy>(mock_); in SetUp()
853 …sptr<ServiceProxy::ServiceProxyLoadCallback> loadCallback = new ServiceProxy::ServiceProxyLoadCall…
876 …sptr<ServiceProxy::ServiceProxyLoadCallback> loadCallback = new ServiceProxy::ServiceProxyLoadCall…
901 …sptr<ServiceProxy::ServiceProxyLoadCallback> loadCallback = new ServiceProxy::ServiceProxyLoadCall…
925 …sptr<ServiceProxy::ServiceProxyLoadCallback> loadCallback = new ServiceProxy::ServiceProxyLoadCall…
950 auto proxy = ServiceProxy::GetInstance();
954 proxy = ServiceProxy::GetInstance();
956 …sptr<ServiceProxy::ServiceProxyLoadCallback> loadCallback = new ServiceProxy::ServiceProxyLoadCall…
960 proxy = ServiceProxy::GetInstance();
[all …]
/ohos5.0/foundation/filemanagement/app_file_service/tools/backup_tool/src/
H A Dtools_op_check_sa.cpp34 auto proxy = ServiceProxy::GetInstance(); in Exec()
H A Dtools_op_backup.cpp243 auto proxy = ServiceProxy::GetInstance(); in InitPathCapFile()
H A Dtools_op_incremental_backup.cpp276 auto proxy = ServiceProxy::GetInstance(); in GetLocalCapabilitiesIncremental()
/ohos5.0/foundation/filemanagement/app_file_service/frameworks/native/backup_ext/src/
H A Dext_extension.cpp306 auto proxy = ServiceProxy::GetInstance(); in GetIncreFileHandleForSpecialVersion()
343 auto proxy = ServiceProxy::GetInstance(); in GetIncreFileHandleForNormalVersion()
398 auto proxy = ServiceProxy::GetInstance(); in GetIncrementalFileHandle()
762 auto proxy = ServiceProxy::GetInstance(); in DoBackup()
1608 auto proxy = ServiceProxy::GetInstance(); in AppDone()
1623 auto proxy = ServiceProxy::GetInstance(); in AppResultReport()
1634 auto proxy = ServiceProxy::GetInstance(); in StartExtTimer()
1645 auto proxy = ServiceProxy::GetInstance(); in StartFwkTimer()
2199 auto proxy = ServiceProxy::GetInstance(); in DoIncrementalBackup()
H A Dsub_ext_extension.cpp486 auto proxy = ServiceProxy::GetInstance(); in IncOnBackupCallback()
528 auto proxy = ServiceProxy::GetInstance(); in IncOnBackupExCallback()
578 auto proxy = ServiceProxy::GetInstance(); in ReportAppProcessInfo()
742 auto proxy = ServiceProxy::GetInstance(); in AppIncrementalDone()