Searched refs:receiver (Results 1 – 9 of 9) sorted by relevance
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/ |
D | screen_state_collection.cpp | 63 auto receiver = g_service->GetStateMachineObj()->GetCommonEventReceiver(); in RegisterEvent() local 64 if (receiver == nullptr) return false; in RegisterEvent() 67 bool on = receiver->Start(CommonEventSupport::COMMON_EVENT_SCREEN_ON, handlerOn); in RegisterEvent() 74 bool off = receiver->Start(CommonEventSupport::COMMON_EVENT_SCREEN_OFF, handlerOff); in RegisterEvent()
|
D | charger_state_collection.cpp | 74 auto receiver = g_service->GetStateMachineObj()->GetCommonEventReceiver(); in RegisterEvent() local 75 if (receiver == nullptr) { in RegisterEvent() 82 ret = receiver->Start(CommonEventSupport::COMMON_EVENT_BATTERY_CHANGED, batteryChangedHandler); in RegisterEvent() 90 …ret = receiver->Start(CommonEventSupport::COMMON_EVENT_THERMAL_LEVEL_CHANGED, thermalLevelHandler); in RegisterEvent()
|
/base/hiviewdfx/hiview/core/ |
D | event_server.cpp | 216 for (auto receiver = receivers.begin(); receiver != receivers.end(); receiver++) { in ReceiveMsg() local 217 (*receiver)->HandlerEvent(std::string(buffer)); in ReceiveMsg() 267 for (auto receiver = receivers.begin(); receiver != receivers.end(); receiver++) { in ReceiveMsg() local 268 (*receiver)->HandlerEvent(std::string(buffer)); in ReceiveMsg() 370 void EventServer::AddReceiver(std::shared_ptr<EventReceiver> receiver) in AddReceiver() argument 372 receivers_.emplace_back(receiver); in AddReceiver()
|
D | event_server.h | 62 void AddReceiver(std::shared_ptr<EventReceiver> receiver);
|
/base/powermgr/power_manager/utils/shell/src/ |
D | power_shell_command.cpp | 183 extern "C" void PrintDumpFileError(std::string& receiver, const char* path) in PrintDumpFileError() argument 185 receiver.append("Open Dump file ("); in PrintDumpFileError() 186 receiver.append(path); in PrintDumpFileError() 187 receiver.append(") failed: "); in PrintDumpFileError() 188 receiver.append(std::to_string(errno)); in PrintDumpFileError() 189 receiver.append("\n"); in PrintDumpFileError()
|
/base/notification/common_event_service/services/src/ |
D | common_event_control_manager.cpp | 423 HistorySubscriberRecord receiver; in EnqueueHistoryEventRecord() local 424 receiver.recordTime = vec->recordTime; in EnqueueHistoryEventRecord() 425 receiver.bundleName = vec->eventRecordInfo.bundleName; in EnqueueHistoryEventRecord() 426 receiver.priority = vec->eventSubscribeInfo->GetPriority(); in EnqueueHistoryEventRecord() 427 receiver.userId = vec->eventSubscribeInfo->GetUserId(); in EnqueueHistoryEventRecord() 428 receiver.permission = vec->eventSubscribeInfo->GetPermission(); in EnqueueHistoryEventRecord() 429 receiver.deviceId = vec->eventSubscribeInfo->GetDeviceId(); in EnqueueHistoryEventRecord() 430 receiver.isFreeze = vec->isFreeze; in EnqueueHistoryEventRecord() 431 receiver.freezeTime = vec->freezeTime; in EnqueueHistoryEventRecord() 432 record.receivers.emplace_back(receiver); in EnqueueHistoryEventRecord() [all …]
|
/base/account/os_account/services/accountmgr/src/appaccount/ |
D | app_account_subscribe_manager.cpp | 309 for (auto receiver : record->receivers) { in OnAccountsChanged() local 312 accessibleAccounts, receiver->bundleName, dataStoragePtr, record->appIndex); in OnAccountsChanged() 319 …result = GetAccessibleAccountsBySubscribeInfo(receiver->subscribeInfoPtr, accessibleAccounts, appA… in OnAccountsChanged() 325 auto appAccountEventProxy = iface_cast<IAppAccountEvent>(receiver->eventListener); in OnAccountsChanged()
|
/base/web/webview/test/unittest/nweb_window_adapter_test/ |
D | nweb_window_adapter_test.cpp | 238 VSyncReceiverMock *receiver = vsmock.get(); variable 239 testing::Mock::AllowLeak(receiver); 240 EXPECT_CALL(*receiver, RequestNextVSync(::testing::_))
|
/base/iothardware/peripheral/ |
D | README.md | 9 …Circuit \(I2C\), pulse width modulation \(PWM\), universal asynchronous receiver-transmitter \(UAR…
|