Home
last modified time | relevance | path

Searched refs:IPCThreadSkeleton (Results 1 – 25 of 28) sorted by relevance

12

/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/
H A Dipc_thread_skeleton.cpp41 pthread_key_t IPCThreadSkeleton::TLSKey_ = 0;
76 void IPCThreadSkeleton::MakeTlsKey() in MakeTlsKey()
86 void IPCThreadSkeleton::GetVaildInstance(IPCThreadSkeleton *&instance) in GetVaildInstance()
108 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent(); in SaveThreadName()
118 IPCThreadSkeleton *IPCThreadSkeleton::GetCurrent() in GetCurrent()
122 IPCThreadSkeleton *current = nullptr; in GetCurrent()
136 IPCThreadSkeleton::IPCThreadSkeleton() : tid_(gettid()) in IPCThreadSkeleton() function in OHOS::IPC_SINGLE::IPCThreadSkeleton
149 IPCThreadSkeleton::~IPCThreadSkeleton() in ~IPCThreadSkeleton()
202 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent(); in GetRemoteInvoker()
295 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent(); in UpdateSendRequestCount()
[all …]
H A Dipc_skeleton.cpp55 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent(); in JoinWorkThread()
63 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent(); in StopWorkThread()
99 IRemoteInvoker *invoker = IPCThreadSkeleton::GetActiveInvoker(); in GetCallingSid()
108 IRemoteInvoker *invoker = IPCThreadSkeleton::GetActiveInvoker(); in GetCallingPid()
117 IRemoteInvoker *invoker = IPCThreadSkeleton::GetActiveInvoker(); in GetCallingRealPid()
126 IRemoteInvoker *invoker = IPCThreadSkeleton::GetActiveInvoker(); in GetCallingUid()
135 IRemoteInvoker *invoker = IPCThreadSkeleton::GetActiveInvoker(); in GetCallingTokenID()
144 IRemoteInvoker *invoker = IPCThreadSkeleton::GetActiveInvoker(); in GetCallingFullTokenID()
162 IRemoteInvoker *invoker = IPCThreadSkeleton::GetActiveInvoker(); in GetFirstTokenID()
166 invoker = IPCThreadSkeleton::GetDefaultInvoker(); in GetFirstTokenID()
[all …]
H A Dipc_workthread.cpp66 IRemoteInvoker *invoker = IPCThreadSkeleton::GetRemoteInvoker(proto); in JoinThread()
98 (void)IPCThreadSkeleton::SetThreadType(ThreadType::IPC_THREAD); in ThreadHandler()
115 IRemoteInvoker *invoker = IPCThreadSkeleton::GetRemoteInvoker(param->proto); in ThreadHandler()
125 IPCThreadSkeleton::SaveThreadName(threadName); in ThreadHandler()
141 IRemoteInvoker *invoker = IPCThreadSkeleton::GetRemoteInvoker(proto_); in StopWorkThread()
H A Diremote_object.cpp37 IRemoteInvoker *invoker = IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PROT_DEFAULT); in Marshalling()
47 IRemoteInvoker *invoker = IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PROT_DEFAULT); in Marshalling()
57 IRemoteInvoker *invoker = IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PROT_DEFAULT); in Unmarshalling()
H A Dipc_file_descriptor.cpp65 IRemoteInvoker *invoker = IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PROT_DEFAULT); in Marshalling()
75 IRemoteInvoker *invoker = IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PROT_DEFAULT); in Marshalling()
85 IRemoteInvoker *invoker = IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PROT_DEFAULT); in Unmarshalling()
H A Dipc_object_proxy.cpp198 invoker = IPCThreadSkeleton::GetDefaultInvoker(); in SendRequestInner()
200 invoker = IPCThreadSkeleton::GetRemoteInvoker(proto_); in SendRequestInner()
207 IPCThreadSkeleton::UpdateSendRequestCount(1); in SendRequestInner()
212 IPCThreadSkeleton::UpdateSendRequestCount(-1); in SendRequestInner()
346 IRemoteInvoker *invoker = IPCThreadSkeleton::GetDefaultInvoker(); in OnFirstStrongRef()
427 IRemoteInvoker *invoker = IPCThreadSkeleton::GetDefaultInvoker(); in OnLastStrongRef()
547 IRemoteInvoker *invoker = IPCThreadSkeleton::GetDefaultInvoker(); in SendObituary()
578 IRemoteInvoker *invoker = IPCThreadSkeleton::GetDefaultInvoker(); in ClearDeathRecipients()
626 …BinderInvoker *invoker = reinterpret_cast<BinderInvoker *>(IPCThreadSkeleton::GetDefaultInvoker()); in GetStrongRefCountForStub()
1030 IRemoteInvoker *invoker = IPCThreadSkeleton::GetDefaultInvoker(); in RegisterBinderDeathRecipient()
[all …]
H A Ddatabus_socket_listener.cpp75 …reinterpret_cast<DBinderDatabusInvoker *>(IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PR… in ServerOnBind()
88 …reinterpret_cast<DBinderDatabusInvoker *>(IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PR… in ServerOnShutdown()
105 …reinterpret_cast<DBinderDatabusInvoker *>(IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PR… in ClientOnShutdown()
131 …reinterpret_cast<DBinderDatabusInvoker *>(IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PR… in OnBytesReceived()
H A Ddbinder_callback_stub.cpp121 …IRemoteInvoker *dbinderInvoker = IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PROT_DATABU… in ProcessData()
177 auto *invoker = IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PROT_DEFAULT); in Marshalling()
217 …IRemoteInvoker *dbinderInvoker = IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PROT_DATABU… in AddDBinderCommAuth()
H A Dipc_object_stub.cpp234 IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PROT_DATABUS)); in DBinderIncRefsTransaction()
263 IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PROT_DATABUS)); in DBinderDecRefsTransaction()
/ohos5.0/foundation/communication/ipc/ipc/native/test/unittest/common/
H A Dipc_skeleton_unittest.cpp75 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
97 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
119 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
144 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
169 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
196 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
215 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
235 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
263 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
294 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
[all …]
H A Dipc_capi_skeleton_unittest.cpp103 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
109 ASSERT_TRUE(IPCThreadSkeleton::GetCurrent() != nullptr);
110 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
117 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
124 ASSERT_TRUE(IPCThreadSkeleton::GetCurrent() != nullptr);
125 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
133 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
177 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
196 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
222 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
[all …]
H A Dipc_object_proxy_unittest.cpp56 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent(); in TearDown()
105 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
236 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
264 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
354 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
382 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
410 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
437 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
797 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
938 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
[all …]
H A Dipc_thread_skeleton_unittest.cpp62 IPCThreadSkeleton *skeleton = IPCThreadSkeleton::GetCurrent();
78 IPCThreadSkeleton *skeleton = IPCThreadSkeleton::GetCurrent();
92 IPCThreadSkeleton *skeleton = IPCThreadSkeleton::GetCurrent();
H A Dipc_object_stub_unittest.cpp322 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
346 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
385 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
434 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
511 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
551 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
586 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
1037 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
1077 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
1117 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
[all …]
H A Dipc_file_desc_unittest.cpp106 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
121 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
138 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
H A Ddbinder_callback_stub_unittest.cpp153 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
158 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
217 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
234 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
255 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
272 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
H A Dipc_binder_databus_invoker_unittest.cpp299 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
301 IRemoteInvoker *invoker = IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PROT_DEFAULT);
307 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
1083 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
1095 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
1108 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
1113 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
H A Dipc_core_unittest.cpp328 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
333 … std::fill(current->invokers_, current->invokers_ + IPCThreadSkeleton::INVOKER_MAX_COUNT, nullptr);
/ohos5.0/foundation/communication/ipc/ipc/native/src/core/include/
H A Dipc_thread_skeleton.h35 class IPCThreadSkeleton {
37 IPCThreadSkeleton();
39 ~IPCThreadSkeleton();
44 static IPCThreadSkeleton *GetCurrent();
56 static void GetVaildInstance(IPCThreadSkeleton *&instance);
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/system/reimplement/
H A Dipc_skeleton.cpp74 IRemoteInvoker *invoker = IPCThreadSkeleton::GetActiveInvoker(); in GetCallingFullTokenID()
83 IRemoteInvoker *invoker = IPCThreadSkeleton::GetDefaultInvoker(); in GetSelfTokenID()
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/ipc_single/
H A Dlibipc_single_map30 OHOS::IPC_SINGLE::IPCThreadSkeleton*;
91 "OHOS::IPC_SINGLE::IPCThreadSkeleton::JoinWorkThread(int)";
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/cxx/
H A Dskeleton_wrapper.cpp122 if (IPCThreadSkeleton::GetActiveInvoker() != nullptr) { in IsHandlingTransaction()
/ohos5.0/foundation/communication/ipc/ipc/native/src/c_api/source/
H A Dipc_cskeleton.cpp112 return (OHOS::IPCThreadSkeleton::GetActiveInvoker() != nullptr) ? 1 : 0; in OH_IPCSkeleton_IsHandlingTransaction()
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/ipc_core/
H A Dlibipc_core_map43 OHOS::IPCThreadSkeleton*;
/ohos5.0/foundation/communication/ipc/ipc/native/src/mock/source/
H A Dbinder_invoker.cpp357 IRemoteInvoker *invoker = IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PROT_DATABUS); in AddCommAuth()
1372 IRemoteInvoker *invoker = IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PROT_DEFAULT); in Dealloc()
1771 …IRemoteInvoker *remoteInvoker = IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PROT_BINDER); in JoinActvThread()
1783 …IRemoteInvoker *remoteInvoker = IPCThreadSkeleton::GetRemoteInvoker(IRemoteObject::IF_PROT_BINDER); in IsActvBinderService()

12