Searched refs:eventHandler (Results 1 – 6 of 6) sorted by relevance
/base/powermgr/battery_manager/services/native/test/unittest/src/ |
D | battery_event_test.cpp | 40 std::shared_ptr<BatteryServiceEventHandler> eventHandler; variable 41 eventHandler = 43 EXPECT_NE(nullptr, eventHandler); 47 if (eventHandler) { 48 eventHandler->ProcessEvent(event); 64 std::shared_ptr<BatteryServiceEventHandler> eventHandler; variable 65 eventHandler = 67 EXPECT_NE(nullptr, eventHandler); 71 if (eventHandler) { 72 eventHandler->ProcessEvent(event); [all …]
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | permission_grant_event_test.cpp | 57 PermissionGrantEvent eventHandler; variable 58 eventHandler.AddEvent(tokenID, permissionName, time); 61 eventHandler.NotifyPermGrantStoreResult(true, time + 1); 63 ASSERT_EQ(eventHandler.permGrantEventList_.size(), static_cast<uint32_t>(0)); 79 PermissionGrantEvent eventHandler; variable 80 eventHandler.AddEvent(tokenID, permissionName, time); 83 eventHandler.NotifyPermGrantStoreResult(false, time + 1); 85 ASSERT_EQ(eventHandler.permGrantEventList_.size(), static_cast<uint32_t>(0)); 101 PermissionGrantEvent eventHandler; variable 102 eventHandler.AddEvent(tokenID, permissionName, time); [all …]
|
/base/notification/eventhandler/test/fuzztest/eventhandler_fuzzer/ |
D | eventhandler_fuzzer.cpp | 46 AppExecFwk::EventHandler eventHandler(runner); in DoSomethingInterestingWithMyAPI() local 54 eventHandler.Dump(dumper); in DoSomethingInterestingWithMyAPI() 55 eventHandler.GetEventName(event); in DoSomethingInterestingWithMyAPI() 56 eventHandler.ProcessEvent(event); in DoSomethingInterestingWithMyAPI() 57 eventHandler.RemoveAllFileDescriptorListeners(); in DoSomethingInterestingWithMyAPI() 58 eventHandler.SendTimingEvent(event, taskTime, priority); in DoSomethingInterestingWithMyAPI() 59 eventHandler.RemoveFileDescriptorListener(fileDescriptor); in DoSomethingInterestingWithMyAPI() 60 return eventHandler.HasInnerEvent(innerEventId); in DoSomethingInterestingWithMyAPI()
|
/base/telephony/core_service/services/sim/src/ |
D | icc_file.cpp | 285 void IccFile::RegisterImsiLoaded(std::shared_ptr<AppExecFwk::EventHandler> eventHandler) in RegisterImsiLoaded() argument 289 imsiReadyObser_->RegObserver(eventCode, eventHandler); in RegisterImsiLoaded() 292 if (eventHandler != nullptr) { in RegisterImsiLoaded() 293 eventHandler->SendEvent(RadioEvent::RADIO_IMSI_LOADED_READY); in RegisterImsiLoaded() 305 void IccFile::RegisterAllFilesLoaded(std::shared_ptr<AppExecFwk::EventHandler> eventHandler) in RegisterAllFilesLoaded() argument 309 filesFetchedObser_->RegObserver(eventCode, eventHandler); in RegisterAllFilesLoaded() 314 if (eventHandler != nullptr) { in RegisterAllFilesLoaded() 315 eventHandler->SendEvent(RadioEvent::RADIO_SIM_RECORDS_LOADED, slotId_); in RegisterAllFilesLoaded()
|
/base/telephony/core_service/services/sim/include/ |
D | icc_file.h | 157 void RegisterImsiLoaded(std::shared_ptr<AppExecFwk::EventHandler> eventHandler); 159 void RegisterAllFilesLoaded(std::shared_ptr<AppExecFwk::EventHandler> eventHandler);
|
/base/notification/eventhandler/frameworks/napi/src/ |
D | events_emitter.cpp | 36 std::shared_ptr<EventHandlerInstance> eventHandler; variable 381 eventHandler->SendEvent(event, 0, priority); in EmitWithEventData() 450 eventHandler->SendEvent(event, 0, priority); in JS_Emit() 508 eventHandler = EventHandlerInstance::GetInstance(); in EmitterInit()
|