/base/hiviewdfx/hiview/base/ |
D | event_dispatcher.cpp | 54 auto sp = listener.lock(); in DispatchEvent() local 55 if (sp == nullptr) { in DispatchEvent() 60 if (!sp->GetListenerInfo(event.messageType_, listenerInfo)) { in DispatchEvent() 68 sp->OnUnorderedEvent(event); in DispatchEvent() 74 auto sp = listener.lock(); in DispatchEvent() local 75 if (sp == nullptr) { in DispatchEvent() 80 if (!sp->GetEventListenerInfo(event.messageType_, listenerInfo)) { in DispatchEvent() 88 sp->OnEventListeningCallback(event); in DispatchEvent() 94 auto sp = listener.lock(); in RegisterListener() local 95 if (sp == nullptr) { in RegisterListener() [all …]
|
D | pipeline.cpp | 169 std::shared_ptr<Plugin> sp = wp.lock(); in RemoveProcessor() local 170 if (cur != nullptr && sp != nullptr) { in RemoveProcessor() 171 return cur == sp; in RemoveProcessor()
|
/base/telephony/core_service/services/network_search/test/ |
D | test_broadcast.h | 26 …explicit TestBroadCast(const EventFwk::CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) {} in TestBroadCast() argument
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | sim_operator_brocast_test.h | 30 …SimOperatorBrocastTest(const EventFwk::CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) {} in SimOperatorBrocastTest() argument
|
/base/notification/common_event_service/services/src/ |
D | common_event_control_manager.cpp | 518 std::shared_ptr<OrderedEventRecord> sp = nullptr; in ProcessNextOrderedEvent() local 528 sp = orderedEventQueue_.front(); in ProcessNextOrderedEvent() 530 size_t numReceivers = sp->receivers.size(); in ProcessNextOrderedEvent() 533 if (sp->dispatchTime > 0) { in ProcessNextOrderedEvent() 534 if ((numReceivers > 0) && (nowSysTime > static_cast<uint64_t>(sp->dispatchTime) + in ProcessNextOrderedEvent() 538 sp->state = OrderedEventRecord::IDLE; in ProcessNextOrderedEvent() 542 if (sp->state != OrderedEventRecord::IDLE) { in ProcessNextOrderedEvent() 546 …if ((sp->receivers.empty()) || (sp->nextReceiver >= numReceivers) || sp->resultAbort || forceRecei… in ProcessNextOrderedEvent() 548 bool hasLastSubscribe = (sp->resultTo != nullptr) ? true : false; in ProcessNextOrderedEvent() 549 if (sp->resultTo != nullptr) { in ProcessNextOrderedEvent() [all …]
|
D | inner_common_event_manager.cpp | 183 …std::shared_ptr<CommonEventSubscribeInfo> sp = std::make_shared<CommonEventSubscribeInfo>(subscrib… in SubscribeCommonEvent() local 196 sp, commonEventListener, recordTime, eventRecordInfo); in SubscribeCommonEvent() 198 PublishStickyEvent(sp, record); in SubscribeCommonEvent() 219 …std::shared_ptr<OrderedEventRecord> sp = controlPtr_->GetMatchingOrderedReceiver(commonEventListen… in UnsubscribeCommonEvent() local 220 if (sp) { in UnsubscribeCommonEvent() 222 int32_t code = sp->commonEventData->GetCode(); in UnsubscribeCommonEvent() 223 std::string data = sp->commonEventData->GetData(); in UnsubscribeCommonEvent() 224 controlPtr_->FinishReceiverAction(sp, code, data, sp->resultAbort); in UnsubscribeCommonEvent() 292 std::shared_ptr<OrderedEventRecord> sp = controlPtr_->GetMatchingOrderedReceiver(proxy); in FinishReceiver() local 293 if (sp) { in FinishReceiver() [all …]
|
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/src/ |
D | process_frames_test.cpp | 199 uint64_t sp = 1; variable 200 frames->SetFrameSp(sp); 202 EXPECT_EQ(true, sp == frameSp) << "ProcessFrameTest010 Failed"; 215 uint64_t sp = 164; variable 216 frames->SetFrameSp(sp); 218 EXPECT_EQ(true, sp == frameSp) << "ProcessFrameTest011 Failed"; 231 uint64_t sp = -1; variable 232 frames->SetFrameSp(sp); 234 EXPECT_EQ(true, sp == frameSp) << "ProcessFrameTest012 Failed";
|
/base/notification/common_event_service/frameworks/native/test/unittest/ |
D | common_event_unsubscribe_test.cpp | 58 explicit DreivedSubscriber(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) in DreivedSubscriber() argument 108 explicit SubscriberTest(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) in SubscriberTest() argument 257 sptr<IRemoteObject> sp(nullptr); 258 EXPECT_EQ(false, innerCommonEventManager->UnsubscribeCommonEvent(sp));
|
D | common_event_subscribe_test.cpp | 68 explicit SubscriberTest(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) in SubscriberTest() argument 306 OHOS::sptr<OHOS::IRemoteObject> sp(nullptr); 311 …EXPECT_EQ(false, innerCommonEventManager->SubscribeCommonEvent(subscribeInfo, sp, curTime, 0, 0, t…
|
/base/notification/eventhandler/frameworks/eventhandler/src/ |
D | event_runner.cpp | 405 std::shared_ptr<EventRunner> sp(new EventRunner(false)); in Create() local 406 auto innerRunner = std::make_shared<EventRunnerImpl>(sp); in Create() 407 sp->innerRunner_ = innerRunner; in Create() 408 sp->queue_ = innerRunner->GetEventQueue(); in Create() 410 return sp; in Create() 416 std::shared_ptr<EventRunner> sp(new EventRunner(true)); in Create() local 417 auto innerRunner = std::make_shared<EventRunnerImpl>(sp); in Create() 418 sp->innerRunner_ = innerRunner; in Create() 419 sp->queue_ = innerRunner->GetEventQueue(); in Create() 431 return sp; in Create()
|
/base/notification/common_event_service/test/fuzztest/unsubscribecommonevent_fuzzer/ |
D | unsubscribecommonevent_fuzzer.cpp | 24 explicit TestSubscriber(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) in TestSubscriber() argument
|
/base/notification/common_event_service/services/test/unittest/ |
D | common_event_unsubscribe_unit_test.cpp | 59 explicit SubscriberTest(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) in SubscriberTest() argument 118 OHOS::sptr<OHOS::IRemoteObject> sp(nullptr); 119 EXPECT_FALSE(innerCommonEventManager->UnsubscribeCommonEvent(sp));
|
D | common_event_freeze_test.cpp | 89 explicit SubscriberTest(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) in SubscriberTest() argument 139 explicit SubscriberTest2(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) in SubscriberTest2() argument 199 explicit SubscriberTestLast(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) in SubscriberTestLast() argument
|
D | common_event_publish_system_event_test.cpp | 76 explicit SubscriberTest(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) in SubscriberTest() argument
|
D | common_event_subscribe_unit_test.cpp | 63 SubscriberTest(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) in SubscriberTest() argument 207 OHOS::sptr<OHOS::IRemoteObject> sp(nullptr); 211 …EXPECT_FALSE(innerCommonEventManager.SubscribeCommonEvent(subscribeInfo, sp, curTime, 0, 0, tokenI…
|
/base/hiviewdfx/hisysevent/frameworks/native/util/ |
D | string_util.cpp | 44 int ConvertCString(const std::string& str, char** sp, size_t len) in ConvertCString() argument 54 *sp = data; in ConvertCString()
|
/base/notification/common_event_service/test/fuzztest/subscribecommonevent_fuzzer/ |
D | subscribecommonevent_fuzzer.cpp | 30 explicit TestSubscriber(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) in TestSubscriber() argument
|
/base/notification/common_event_service/test/fuzztest/dumpstate_fuzzer/ |
D | dumpstate_fuzzer.cpp | 24 explicit TestSubscriber(const CommonEventSubscribeInfo &sp) : CommonEventSubscriber(sp) in TestSubscriber() argument
|
/base/telephony/core_service/services/sim/test/ |
D | common_event_test.h | 51 explicit CommonEventTest(const EventFwk::CommonEventSubscribeInfo &sp) in CommonEventTest() argument 52 : EventFwk::CommonEventSubscriber(sp) {} in CommonEventTest()
|
/base/hiviewdfx/hiview/base/test/unittest/common/ |
D | event_dispatcher_test.cpp | 86 if (auto sp = plugin.lock(); sp != nullptr) { in AddListenerInfo() local 87 AddListenerInfo(type, sp->GetName(), eventNames, listenerInfo); in AddListenerInfo()
|
/base/hiviewdfx/hisysevent/frameworks/native/util/include/ |
D | string_util.h | 26 int ConvertCString(const std::string& str, char** sp, size_t len = 8 * 1024); // default maxLen is …
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
D | dfx_frame.cpp | 75 void DfxFrame::SetFrameSp(uint64_t sp) in SetFrameSp() argument 77 sp_ = sp; in SetFrameSp()
|
D | dfx_frame.h | 37 void SetFrameSp(uint64_t sp);
|
D | dfx_unwind_local.cpp | 257 unw_word_t sp = 0; in ExecLocalDumpUnwinding() local 272 if (unw_get_reg(&cursor, UNW_REG_SP, (unw_word_t*)(&(sp)))) { in ExecLocalDumpUnwinding() 313 curFrame.SetFrameSp((uint64_t)sp); in ExecLocalDumpUnwinding()
|
/base/notification/common_event_service/services/include/ |
D | inner_common_event_manager.h | 135 bool PublishStickyEvent(const std::shared_ptr<CommonEventSubscribeInfo> &sp,
|