/ohos5.0/foundation/communication/ipc/ipc/native/src/core/source/ |
H A D | ipc_thread_skeleton.cpp | 41 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 D | ipc_skeleton.cpp | 55 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 D | ipc_workthread.cpp | 66 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 D | iremote_object.cpp | 37 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 D | ipc_file_descriptor.cpp | 65 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 D | ipc_object_proxy.cpp | 198 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 D | databus_socket_listener.cpp | 75 …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 D | dbinder_callback_stub.cpp | 121 …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 D | ipc_object_stub.cpp | 234 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 D | ipc_skeleton_unittest.cpp | 75 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 D | ipc_capi_skeleton_unittest.cpp | 103 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 D | ipc_object_proxy_unittest.cpp | 56 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 D | ipc_thread_skeleton_unittest.cpp | 62 IPCThreadSkeleton *skeleton = IPCThreadSkeleton::GetCurrent(); 78 IPCThreadSkeleton *skeleton = IPCThreadSkeleton::GetCurrent(); 92 IPCThreadSkeleton *skeleton = IPCThreadSkeleton::GetCurrent();
|
H A D | ipc_object_stub_unittest.cpp | 322 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 D | ipc_file_desc_unittest.cpp | 106 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent(); 121 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent(); 138 IPCThreadSkeleton *current = IPCThreadSkeleton::GetCurrent();
|
H A D | dbinder_callback_stub_unittest.cpp | 153 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 D | ipc_binder_databus_invoker_unittest.cpp | 299 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 D | ipc_core_unittest.cpp | 328 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 D | ipc_thread_skeleton.h | 35 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 D | ipc_skeleton.cpp | 74 IRemoteInvoker *invoker = IPCThreadSkeleton::GetActiveInvoker(); in GetCallingFullTokenID() 83 IRemoteInvoker *invoker = IPCThreadSkeleton::GetDefaultInvoker(); in GetSelfTokenID()
|
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/ipc_single/ |
H A D | libipc_single_map | 30 OHOS::IPC_SINGLE::IPCThreadSkeleton*; 91 "OHOS::IPC_SINGLE::IPCThreadSkeleton::JoinWorkThread(int)";
|
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/cxx/ |
H A D | skeleton_wrapper.cpp | 122 if (IPCThreadSkeleton::GetActiveInvoker() != nullptr) { in IsHandlingTransaction()
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/c_api/source/ |
H A D | ipc_cskeleton.cpp | 112 return (OHOS::IPCThreadSkeleton::GetActiveInvoker() != nullptr) ? 1 : 0; in OH_IPCSkeleton_IsHandlingTransaction()
|
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/ipc_core/ |
H A D | libipc_core_map | 43 OHOS::IPCThreadSkeleton*;
|
/ohos5.0/foundation/communication/ipc/ipc/native/src/mock/source/ |
H A D | binder_invoker.cpp | 357 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()
|