Home
last modified time | relevance | path

Searched refs:newImpl (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/
H A Dsvc_session_manager.cpp72 ErrCode SvcSessionManager::Active(Impl newImpl, bool force) in Active() argument
81 if (!force && !newImpl.clientToken) { in Active()
84 if (!force && newImpl.scenario == IServiceReverse::Scenario::UNDEFINED) { in Active()
89 InitClient(newImpl); in Active()
91 impl_ = newImpl; in Active()
359 void SvcSessionManager::InitClient(Impl &newImpl) in InitClient() argument
361 if (!newImpl.clientProxy) { in InitClient()
364 auto remoteObj = newImpl.clientProxy->AsObject(); in InitClient()
383 if (newImpl.scenario == IServiceReverse::Scenario::RESTORE) { in InitClient()
386 } else if (newImpl.scenario == IServiceReverse::Scenario::BACKUP) { in InitClient()
[all …]
/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/module_ipc/
H A Dsvc_session_manager_throw_mock.cpp27 ErrCode SvcSessionManager::Active(Impl newImpl, bool force) in Active() argument
29 return BackupSvcSessionManager::session->Active(newImpl); in Active()
82 void SvcSessionManager::InitClient(Impl &newImpl) in InitClient() argument
84 BackupSvcSessionManager::session->InitClient(newImpl); in InitClient()
H A Dsvc_session_manager_mock.cpp44 ErrCode SvcSessionManager::Active(Impl newImpl, bool force) in Active() argument
48 impl_ = newImpl; in Active()
126 void SvcSessionManager::InitClient(Impl &newImpl) in InitClient() argument
/ohos5.0/foundation/filemanagement/app_file_service/tests/unittests/backup_sa/module_ipc/
H A Dsvc_session_manager_test.cpp139 SvcSessionManager::Impl newImpl; variable
151 sessionManagerPtr_->Active(newImpl);
158 newImpl.clientToken = CLIENT_TOKEN_ID;
161 sessionManagerPtr_->Active(newImpl);
168 newImpl.clientToken = CLIENT_TOKEN_ID;
170 newImpl.clientProxy = nullptr;
172 sessionManagerPtr_->Active(newImpl);
575 SvcSessionManager::Impl newImpl; variable
577 newImpl.clientProxy = nullptr;
585 newImpl.clientProxy = remote_;
[all …]
/ohos5.0/foundation/filemanagement/app_file_service/services/backup_sa/include/module_ipc/
H A Dsvc_session_manager.h112 ErrCode Active(Impl newImpl, bool force = false);
541 void InitClient(Impl &newImpl);