Searched refs:TestServerService (Results 1 – 4 of 4) sorted by relevance
29 REGISTER_SYSTEM_ABILITY_BY_ID(TestServerService, TEST_SERVER_SA_ID, false); // SA run on demand37 …TestServerService::TestServerService(int32_t saId, bool runOnCreate) : SystemAbility(saId, runOnCr… in TestServerService() function in OHOS::testserver::TestServerService44 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 …]
31 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_;
35 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()
32 … auto testServerService = std::make_shared<OHOS::testserver::TestServerService>(saId, runOnCreate); in DoFuzzTestServerSetPasteData()