Home
last modified time | relevance | path

Searched refs:TestService (Results 1 - 10 of 10) sorted by relevance

/foundation/communication/ipc/ipc/test/auxiliary/native/src/
H A Dtest_service.cpp46 int TestService::Instantiate(bool isEnableSerialInvokeFlag) in Instantiate()
55 sptr<IRemoteObject> newInstance = new TestService(isEnableSerialInvokeFlag); in Instantiate()
67 ZLOGD(LABEL, "TestService: strong = %d", newInstance->GetSptrRefCount()); in Instantiate()
71 TestService::TestService(bool serialInvokeFlag) : TestServiceStub(serialInvokeFlag), testFd_(INVALID_FD) in TestService() function in OHOS::TestService
75 TestService::~TestService() in ~TestService()
82 int TestService::TestSyncTransaction(int data, int &rep, int delayTime) in TestSyncTransaction()
96 int TestService::TestAsyncTransaction(int data, int timeout) in TestAsyncTransaction()
107 int TestService
[all...]
H A Dmain_server.cpp52 TestService::Instantiate(isEnableSerialInvokeFlag); in main()
/foundation/ability/idl_tool/test/native/src/
H A Dtest_service.cpp29 int TestService::Instantiate() in Instantiate()
38 sptr<IRemoteObject> newInstance = new TestService(); in Instantiate()
44 TestService::TestService() in TestService() function in OHOS::TestService
48 TestService::~TestService() in ~TestService()
52 ErrCode TestService::TestIntTransaction(int data) in TestIntTransaction()
54 ZLOGE(LABEL, " TestService:read from client data = %{public}d", data); in TestIntTransaction()
58 ErrCode TestService::TestStringTransaction(const std::string &data) in TestStringTransaction()
60 ZLOGE(LABEL, "TestService in TestStringTransaction()
[all...]
H A Dmain_server.cpp27 TestService::Instantiate(); in main()
/foundation/ability/idl_tool/test/native/include/
H A Dtest_service.h25 class TestService : public IdlTestServiceStub { class
27 TestService();
28 ~TestService();
33 static constexpr HiviewDFX::HiLogLabel LABEL = { LOG_CORE, LOG_ID_IPC, "TestService" };
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/rust/
H A Drust_samgr_test.rs29 use audio_rust_sa::{TestService, TEST_AUDIO_ID};
56 let service = TestStub::new_remote_stub(TestService).expect("create TestService failed"); in add_systemability_test()
67 let service = TestStub::new_remote_stub(TestService).expect("create TestService failed"); in unload_systemability_test()
81 let service = TestStub::new_remote_stub(TestService).expect("create TestService failed"); in get_service_test()
93 let service = TestStub::new_remote_stub(TestService).expect("create TestService failed"); in test_request_concurent()
/foundation/ability/idl_tool/test/rust/moduletest/server/src/
H A Dmain.rs69 pub struct TestService; structure names
71 impl IIdlTestService for TestService {
131 impl IRemoteBroker for TestService {}
136 let service = IdlTestServiceStub::new_remote_stub(TestService).expect("create TestService success"); in main()
/foundation/communication/ipc/ipc/test/auxiliary/native/include/
H A Dtest_service.h25 class TestService : public TestServiceStub { class
27 TestService(bool serialInvokeFlag = false);
28 ~TestService();
63 static constexpr HiviewDFX::HiLogLabel LABEL = { LOG_CORE, LOG_ID_TEST, "TestService" };
/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_core_unittest.cpp522 sptr<TestService> stub = new TestService(); in HWTEST_F()
529 int result = saMgr->AddSystemAbility(IPC_TEST_SERVICE, new TestService()); in HWTEST_F()
/foundation/communication/ipc/ipc/test/moduletest/native/common/
H A Dipc_core_module_test.cpp166 sptr<IRemoteObject> service = new TestService(); in HWTEST_F()
169 ZLOGD(LABEL, "Testcase003: Add TestService result=%d", result); in HWTEST_F()

Completed in 5 milliseconds