Home
last modified time | relevance | path

Searched refs:funcId (Results 1 - 17 of 17) sorted by relevance

/base/telephony/state_registry/frameworks/cj/src/
H A Dtelephony_observer_ffi.cpp25 int32_t FfiTelephonyObserverOnNetworkStateChange(ObserverOptions options, int64_t funcId) in FfiTelephonyObserverOnNetworkStateChange() argument
27 return TelephonyObserverImpl::OnNetworkStateChange(options, funcId); in FfiTelephonyObserverOnNetworkStateChange()
30 int32_t FfiTelephonyObserverOffNetworkStateChange(int64_t funcId) in FfiTelephonyObserverOffNetworkStateChange() argument
32 return TelephonyObserverImpl::OffNetworkStateChange(funcId); in FfiTelephonyObserverOffNetworkStateChange()
40 int32_t FfiTelephonyObserverOnSignalInfoChange(ObserverOptions options, int64_t funcId) in FfiTelephonyObserverOnSignalInfoChange() argument
42 return TelephonyObserverImpl::OnSignalInfoChange(options, funcId); in FfiTelephonyObserverOnSignalInfoChange()
45 int32_t FfiTelephonyObserverOffSignalInfoChange(int64_t funcId) in FfiTelephonyObserverOffSignalInfoChange() argument
47 return TelephonyObserverImpl::OffSignalInfoChange(funcId); in FfiTelephonyObserverOffSignalInfoChange()
55 int32_t FfiTelephonyObserverOnCallStateChange(ObserverOptions options, int64_t funcId) in FfiTelephonyObserverOnCallStateChange() argument
57 return TelephonyObserverImpl::OnCallStateChange(options, funcId); in FfiTelephonyObserverOnCallStateChange()
60 FfiTelephonyObserverOffCallStateChange(int64_t funcId) FfiTelephonyObserverOffCallStateChange() argument
70 FfiTelephonyObserverOnCellularDataConnectionStateChange( ObserverOptions options, int64_t funcId) FfiTelephonyObserverOnCellularDataConnectionStateChange() argument
77 FfiTelephonyObserverOffCellularDataConnectionStateChange(int64_t funcId) FfiTelephonyObserverOffCellularDataConnectionStateChange() argument
87 FfiTelephonyObserverOnCellularDataFlowChange(ObserverOptions options, int64_t funcId) FfiTelephonyObserverOnCellularDataFlowChange() argument
92 FfiTelephonyObserverOffCellularDataFlowChange(int64_t funcId) FfiTelephonyObserverOffCellularDataFlowChange() argument
102 FfiTelephonyObserverOnSimStateChange(ObserverOptions options, int64_t funcId) FfiTelephonyObserverOnSimStateChange() argument
107 FfiTelephonyObserverOffSimStateChange(int64_t funcId) FfiTelephonyObserverOffSimStateChange() argument
117 FfiTelephonyObserverOnIccAccountInfoChange(int64_t funcId) FfiTelephonyObserverOnIccAccountInfoChange() argument
123 FfiTelephonyObserverOffIccAccountInfoChange(int64_t funcId) FfiTelephonyObserverOffIccAccountInfoChange() argument
[all...]
H A Dtelephony_observer_ffi.h25 FFI_EXPORT int32_t FfiTelephonyObserverOnNetworkStateChange(ObserverOptions options, int64_t funcId);
26 FFI_EXPORT int32_t FfiTelephonyObserverOffNetworkStateChange(int64_t funcId);
28 FFI_EXPORT int32_t FfiTelephonyObserverOnSignalInfoChange(ObserverOptions options, int64_t funcId);
29 FFI_EXPORT int32_t FfiTelephonyObserverOffSignalInfoChange(int64_t funcId);
31 FFI_EXPORT int32_t FfiTelephonyObserverOnCallStateChange(ObserverOptions options, int64_t funcId);
32 FFI_EXPORT int32_t FfiTelephonyObserverOffCallStateChange(int64_t funcId);
36 int64_t funcId);
37 FFI_EXPORT int32_t FfiTelephonyObserverOffCellularDataConnectionStateChange(int64_t funcId);
39 FFI_EXPORT int32_t FfiTelephonyObserverOnCellularDataFlowChange(ObserverOptions options, int64_t funcId);
40 FFI_EXPORT int32_t FfiTelephonyObserverOffCellularDataFlowChange(int64_t funcId);
[all...]
H A Dtelephony_observer_impl.h51 static int32_t OnNetworkStateChange(ObserverOptions options, int64_t funcId);
52 static int32_t OffNetworkStateChange(int64_t funcId);
55 static int32_t OnSignalInfoChange(ObserverOptions options, int64_t funcId);
56 static int32_t OffSignalInfoChange(int64_t funcId);
59 static int32_t OnCallStateChange(ObserverOptions options, int64_t funcId);
60 static int32_t OffCallStateChange(int64_t funcId);
63 static int32_t OnCellularDataConnectionStateChange(ObserverOptions options, int64_t funcId);
64 static int32_t OffCellularDataConnectionStateChange(int64_t funcId);
67 static int32_t OnCellularDataFlowChange(ObserverOptions options, int64_t funcId);
68 static int32_t OffCellularDataFlowChange(int64_t funcId);
[all...]
H A Dtelephony_observer_impl.cpp129 static int32_t UnregisterEventListener(const TelephonyUpdateEventType eventType, int64_t funcId) in UnregisterEventListener() argument
136 return handler->UnregisterEventListener(eventType, funcId); in UnregisterEventListener()
156 static int32_t On(std::string_view event, ObserverOptions options, int64_t funcId) in On() argument
160 auto func = reinterpret_cast<void(*)(void*)>(funcId); in On()
171 funcId, in On() local
188 static int32_t Off(std::string_view event, int64_t funcId = -1) in Off()
193 UnregisterEventListener(eventType, funcId); in Off()
203 int32_t TelephonyObserverImpl::OnNetworkStateChange(ObserverOptions options, int64_t funcId) in OnNetworkStateChange() argument
206 int32_t errCode = On(event, options, funcId); in OnNetworkStateChange()
210 int32_t TelephonyObserverImpl::OffNetworkStateChange(int64_t funcId) in OffNetworkStateChange() argument
224 OnSignalInfoChange(ObserverOptions options, int64_t funcId) OnSignalInfoChange() argument
231 OffSignalInfoChange(int64_t funcId) OffSignalInfoChange() argument
245 OnCallStateChange(ObserverOptions options, int64_t funcId) OnCallStateChange() argument
252 OffCallStateChange(int64_t funcId) OffCallStateChange() argument
266 OnCellularDataConnectionStateChange(ObserverOptions options, int64_t funcId) OnCellularDataConnectionStateChange() argument
273 OffCellularDataConnectionStateChange(int64_t funcId) OffCellularDataConnectionStateChange() argument
287 OnCellularDataFlowChange(ObserverOptions options, int64_t funcId) OnCellularDataFlowChange() argument
294 OffCellularDataFlowChange(int64_t funcId) OffCellularDataFlowChange() argument
308 OnSimStateChange(ObserverOptions options, int64_t funcId) OnSimStateChange() argument
315 OffSimStateChange(int64_t funcId) OffSimStateChange() argument
329 OnIccAccountInfoChange(ObserverOptions options, int64_t funcId) OnIccAccountInfoChange() argument
336 OffIccAccountInfoChange(int64_t funcId) OffIccAccountInfoChange() argument
[all...]
H A Dobserver_event_handler.cpp200 eventListener.funcId == listen.funcId) { in CheckEventListenerRegister()
253 void ObserverEventHandler::RemoveEventListenerRegister(const TelephonyUpdateEventType eventType, int64_t funcId, in RemoveEventListenerRegister() argument
258 if (eventType == it->eventType && ((it->funcId == funcId) || (funcId == -1))) { in RemoveEventListenerRegister()
291 const TelephonyUpdateEventType eventType, int64_t funcId) in UnregisterEventListener()
300 RemoveEventListenerRegister(eventType, funcId, soltIdSet); in UnregisterEventListener()
364 listener->funcId = listen.funcId; in HandleCallbackVoidUpdate()
290 UnregisterEventListener( const TelephonyUpdateEventType eventType, int64_t funcId) UnregisterEventListener() argument
[all...]
H A Dobserver_event_handler.h47 int32_t UnregisterEventListener(const TelephonyUpdateEventType eventType, int64_t funcId);
55 void RemoveEventListenerRegister(const TelephonyUpdateEventType eventType, int64_t funcId,
H A Dtelephony_observer_utils.h162 int64_t funcId; member
/base/powermgr/powermgr_lite/services/src/screensaver/small/
H A Dscreen_saver_feature_impl.c25 static int32_t FeatureInvoke(IServerProxy *iProxy, int32_t funcId, void *origin, IpcIo *req, IpcIo *reply);
54 static int32_t FeatureInvoke(IServerProxy *iProxy, int32_t funcId, void *origin, IpcIo *req, IpcIo *reply) in FeatureInvoke() argument
60 POWER_HILOGD("Screen saver feature invoke function id: %d", funcId); in FeatureInvoke()
62 switch (funcId) { in FeatureInvoke()
67 POWER_HILOGE("Invalid function id: %d", funcId); in FeatureInvoke()
/base/powermgr/powermgr_lite/services/src/power/small/
H A Dpower_manage_feature_impl.c31 static int32_t FeatureInvoke(IServerProxy *iProxy, int32_t funcId, void *origin, IpcIo *req, IpcIo *reply);
55 static int32_t FeatureInvoke(IServerProxy *iProxy, int32_t funcId, void *origin, IpcIo *req, IpcIo *reply) in FeatureInvoke() argument
61 POWER_HILOGD("Power manage feature invoke function id: %d", funcId); in FeatureInvoke()
62 return (funcId >= 0 && funcId < POWERMANAGE_FUNCID_BUTT) ? g_invokeFuncs[funcId](iProxy, origin, req, reply) : in FeatureInvoke()
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/sa/sa_mgr/
H A Dhks_samgr_service_feature.c29 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply);
75 static int32_t ProcessMsgToHandler(int funcId, HksIpcContext *ipcContext, const struct HksBlob *srcData, in ProcessMsgToHandler() argument
80 if (funcId == HKS_IPC_MESSAGE_HANDLER[i].msgId) { in ProcessMsgToHandler()
88 if (funcId == HKS_IPC_THREE_STAGE_HANDLER[i].msgId) { in ProcessMsgToHandler()
122 static int32_t Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument
159 ret = ProcessMsgToHandler(funcId, &ipcContext, &srcData, &outData); in Invoke()
/base/powermgr/battery_lite/services/src/small/
H A Dbattery_feature_impl.c20 static int32_t FeatureInvoke(IServerProxy *iProxy, int32_t funcId, void *origin, IpcIo *req, IpcIo *reply);
54 static int32_t FeatureInvoke(IServerProxy *iProxy, int32_t funcId, void *origin, IpcIo *req, IpcIo *reply) in FeatureInvoke() argument
59 return (funcId >= 0 && funcId < BATTERY_FUNCID_END) ? g_invokeFuncs[funcId](iProxy, origin, req, reply) : in FeatureInvoke()
/base/security/device_security_level/services/sa/lite/small/
H A Ddslm_service_feature.c27 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply);
68 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument
71 switch (funcId) { in Invoke()
/base/security/permission_lite/services/pms/src/
H A Dpms_server.c56 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply);
146 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument
149 switch (funcId) { in Invoke()
H A Dpms_server_internal.c65 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply);
212 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument
215 switch (funcId) { in Invoke()
/base/startup/appspawn/lite/
H A Dappspawn_service.c128 static int Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument
138 if (reply == NULL || funcId != ID_CALL_CREATE_SERVICE || req == NULL) { in Invoke()
139 APPSPAWN_LOGE("[appspawn] invoke, funcId %d invalid, reply %d.", funcId, INVALID_PID); in Invoke()
/base/sensors/sensor_lite/services/src/
H A Dsensor_service.c194 int32_t Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument
203 if ((funcId >= 0) && (funcId <= SENSOR_SERVICE_ID_UN_SUBSCRIBE_SENSOR)) { in Invoke()
204 return g_invokeFuncList[funcId](defaultApi, req, reply); in Invoke()
/base/powermgr/battery_lite/services/src/
H A Dbattery_device.c61 static int32_t Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument
64 (void)funcId; in Invoke()

Completed in 7 milliseconds