Home
last modified time | relevance | path

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

/test/testfwk/arkxtest/testserver/src/service/
Dtest_server_service.cpp29 REGISTER_SYSTEM_ABILITY_BY_ID(TestServerService, TEST_SERVER_SA_ID, false); // SA run on demand
37TestServerService::TestServerService(int32_t saId, bool runOnCreate) : SystemAbility(saId, runOnCr… in TestServerService() function in OHOS::testserver::TestServerService
44 TestServerService::~TestServerService() in ~TestServerService()
54 void TestServerService::OnStart() in OnStart()
67 void TestServerService::OnStop() in OnStop()
73 bool TestServerService::IsRootVersion() in IsRootVersion()
80 bool TestServerService::IsDeveloperMode() in IsDeveloperMode()
87 void TestServerService::StartCallerDetectTimer() in StartCallerDetectTimer()
94 ErrCode TestServerService::CreateSession(const SessionToken &sessionToken) in CreateSession()
115 ErrCode TestServerService::SetPasteData(const std::string& text) in SetPasteData()
[all …]
Dtest_server_service.h31 class TestServerService : public SystemAbility, public TestServerInterfaceStub {
32 DECLARE_SYSTEM_ABILITY(TestServerService);
35 TestServerService(int32_t saId, bool runOnCreate);
36 ~TestServerService();
64 explicit TestServerProxyDeathRecipient(const sptr<TestServerService> &testServerService) in TestServerProxyDeathRecipient()
70 sptr<TestServerService> testServerService_;
75 explicit CallerDetectTimer(const sptr<TestServerService> &testServerService) in CallerDetectTimer()
82 sptr<TestServerService> testServerService_;
/test/testfwk/arkxtest/testserver/test/unittest/
Dtest_server_service_test.cpp35 class TestServerServiceMock : public TestServerService {
37 TestServerServiceMock(int32_t saId, bool runOnCreate) : TestServerService(saId, runOnCreate) {} in TestServerServiceMock()
41 TestServerService::OnStart(); in OnStart()
46 TestServerService::OnStop(); in OnStop()
54 TestServerService::DestorySession(); in DestorySession()
59 return TestServerService::RemoveTestServer(); in RemoveTestServer()
64 TestServerService::AddCaller(); in CreateSessionMock()
70 return TestServerService::GetCallerCount(); in GetCallerCount()
/test/testfwk/arkxtest/testserver/test/fuzztest/setpastedata_fuzzer/
Dsetpastedata_fuzzer.cpp32 … auto testServerService = std::make_shared<OHOS::testserver::TestServerService>(saId, runOnCreate); in DoFuzzTestServerSetPasteData()