/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/ |
H A D | bundle_ms_feature.h | 30 typedef uint8_t (*BundleInvokeType)(const uint8_t funcId, IpcIo *req, IpcIo *reply); 40 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply); 57 static uint8_t HandleGetBundleInfos(const uint8_t funcId, IpcIo *req, IpcIo *reply); 58 static uint8_t QueryInnerAbilityInfo(const uint8_t funcId, IpcIo *req, IpcIo *reply); 59 static uint8_t GetInnerBundleInfo(const uint8_t funcId, IpcIo *req, IpcIo *reply); 60 static uint8_t GetInnerBundleNameForUid(const uint8_t funcId, IpcIo *req, IpcIo *reply); 61 static uint8_t ChangeInnerCallbackServiceId(const uint8_t funcId, IpcIo *req, IpcIo *reply); 62 static uint8_t HasSystemCapability(const uint8_t funcId, IpcIo *req, IpcIo *reply); 63 static uint8_t GetSystemAvailableCapabilities(const uint8_t funcId, IpcIo *req, IpcIo *reply); 64 static uint8_t GetInnerBundleSize(const uint8_t funcId, IpcI [all...] |
H A D | bundle_inner_feature.h | 30 typedef uint8_t (*BundleInvokeType)(const uint8_t funcId, IpcIo *req, IpcIo *reply);
48 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply);
57 static uint8_t InstallInnerBundle(const uint8_t funcId, IpcIo *req, IpcIo *reply);
60 static uint8_t UninstallInnerBundle(const uint8_t funcId, IpcIo *req, IpcIo *reply);
62 static uint8_t SetExternalInstallMode(const uint8_t funcId, IpcIo *req, IpcIo *reply);
63 static uint8_t SetInnerDebugMode(const uint8_t funcId, IpcIo *req, IpcIo *reply);
64 static uint8_t SetInnerSignMode(const uint8_t funcId, IpcIo *req, IpcIo *reply);
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/animator/ |
H A D | cj_animator_ffi.h | 43 CJ_EXPORT int32_t FfiAnimatorOnframe(int64_t id, int64_t funcId); 44 CJ_EXPORT int32_t FfiAnimatorOncancel(int64_t id, int64_t funcId); 45 CJ_EXPORT int32_t FfiAnimatorOnfinish(int64_t id, int64_t funcId); 46 CJ_EXPORT int32_t FfiAnimatorOnrepeat(int64_t id, int64_t funcId);
|
H A D | cj_animator.cpp | 114 void AnimatorResultImpl::SetOnframe(int64_t funcId) in SetOnframe() argument 116 auto func = reinterpret_cast<void(*)(double)>(funcId); in SetOnframe() 144 void AnimatorResultImpl::SetOnfinish(int64_t funcId) in SetOnfinish() argument 146 auto func = reinterpret_cast<void(*)(void)>(funcId); in SetOnfinish() 155 void AnimatorResultImpl::SetOncancel(int64_t funcId) in SetOncancel() argument 157 auto func = reinterpret_cast<void(*)(void)>(funcId); in SetOncancel() 166 void AnimatorResultImpl::SetOnrepeat(int64_t funcId) in SetOnrepeat() argument 168 auto func = reinterpret_cast<void(*)(void)>(funcId); in SetOnrepeat()
|
H A D | cj_animator_ffi.cpp | 203 int32_t FfiAnimatorOnframe(int64_t id, int64_t funcId) in FfiAnimatorOnframe() argument 209 nativeAnimatorResult->SetOnframe(funcId); in FfiAnimatorOnframe() 213 int32_t FfiAnimatorOncancel(int64_t id, int64_t funcId) in FfiAnimatorOncancel() argument 219 nativeAnimatorResult->SetOncancel(funcId); in FfiAnimatorOncancel() 223 int32_t FfiAnimatorOnfinish(int64_t id, int64_t funcId) in FfiAnimatorOnfinish() argument 229 nativeAnimatorResult->SetOnfinish(funcId); in FfiAnimatorOnfinish() 233 int32_t FfiAnimatorOnrepeat(int64_t id, int64_t funcId) in FfiAnimatorOnrepeat() argument 239 nativeAnimatorResult->SetOnrepeat(funcId); in FfiAnimatorOnrepeat()
|
H A D | cj_animator.h | 90 void SetOnframe(int64_t funcId); 92 void SetOnfinish(int64_t funcId); 94 void SetOncancel(int64_t funcId); 96 void SetOnrepeat(int64_t funcId);
|
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/ |
H A D | bundle_ms_feature.cpp | 125 uint8_t BundleMsFeature::HasSystemCapability(const uint8_t funcId, IpcIo *req, IpcIo *reply) in HasSystemCapability() argument 143 uint8_t BundleMsFeature::GetSystemAvailableCapabilities(const uint8_t funcId, IpcIo *req, IpcIo *reply) in GetSystemAvailableCapabilities() argument 163 uint8_t BundleMsFeature::QueryInnerAbilityInfo(const uint8_t funcId, IpcIo *req, IpcIo *reply) in QueryInnerAbilityInfo() argument 206 uint8_t BundleMsFeature::GetInnerBundleInfo(const uint8_t funcId, IpcIo *req, IpcIo *reply) in GetInnerBundleInfo() argument 241 uint8_t BundleMsFeature::GetInnerBundleSize(const uint8_t funcId, IpcIo *req, IpcIo *reply) in GetInnerBundleSize() argument 260 uint8_t BundleMsFeature::HandleGetBundleInfos(const uint8_t funcId, IpcIo *req, IpcIo *reply) in HandleGetBundleInfos() argument 270 if (funcId == GET_BUNDLE_INFOS) { in HandleGetBundleInfos() 274 } else if (funcId == QUERY_KEEPALIVE_BUNDLE_INFOS) { in HandleGetBundleInfos() 276 } else if (funcId == GET_BUNDLE_INFOS_BY_METADATA) { in HandleGetBundleInfos() 307 uint8_t BundleMsFeature::GetInnerBundleNameForUid(const uint8_t funcId, IpcI argument 326 ChangeInnerCallbackServiceId(const uint8_t funcId, IpcIo *req, IpcIo *reply) ChangeInnerCallbackServiceId() argument 357 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) Invoke() argument 596 HandleGetBundleInfosLength(const uint8_t funcId, IpcIo *req, IpcIo *reply) HandleGetBundleInfosLength() argument 615 HandleGetBundleInfosByIndex(const uint8_t funcId, IpcIo *req, IpcIo *reply) HandleGetBundleInfosByIndex() argument [all...] |
H A D | bundle_inner_feature.cpp | 110 uint8_t BundleInnerFeature::InstallInnerBundle(const uint8_t funcId, IpcIo *req, IpcIo *reply)
in InstallInnerBundle() argument 180 uint8_t BundleInnerFeature::UninstallInnerBundle(const uint8_t funcId, IpcIo *req, IpcIo *reply)
in UninstallInnerBundle() argument 231 uint8_t BundleInnerFeature::SetExternalInstallMode(const uint8_t funcId, IpcIo *req, IpcIo *reply)
in SetExternalInstallMode() argument 245 uint8_t BundleInnerFeature::SetInnerDebugMode(const uint8_t funcId, IpcIo *req, IpcIo *reply)
in SetInnerDebugMode() argument 259 uint8_t BundleInnerFeature::SetInnerSignMode(const uint8_t funcId, IpcIo *req, IpcIo *reply)
in SetInnerSignMode() argument 274 int32 BundleInnerFeature::Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply)
in Invoke() argument 279 WriteUint8(reply, static_cast<uint8_t>(funcId));
in Invoke() 282 if ((funcId >= BMS_INNER_BEGIN) && (funcId < BMS_CMD_END)) {
in Invoke() 284 if ((funcId > in Invoke() [all...] |
/foundation/multimedia/media_lite/frameworks/recorder_lite/binder/ |
H A D | recorder_client.cpp | 43 RecFunc funcId; member 59 MEDIA_INFO_LOG("Callback, funcId = %d", para->funcId); in SimpleCallback() 117 CallBackPara para = {.funcId = REC_FUNC_CONNECT, .ret = MEDIA_IPC_FAILED}; in RecorderClient() 137 MEDIA_INFO_LOG("Callback, funcId = %d", para->funcId); in DisConnectCallback() 147 CallBackPara para = {.funcId = REC_FUNC_DISCONNECT, .ret = MEDIA_IPC_FAILED}; in ~RecorderClient() 165 MEDIA_INFO_LOG("Callback, funcId = %d", para->funcId); in SetSourceCallback() 178 CallBackPara para = {.funcId in SetVideoSource() [all...] |
/foundation/ability/ability_lite/frameworks/ability_lite/example/entry/src/main/cpp/ |
H A D | service_ability.cpp | 27 void ServiceAbility::MsgHandle(uint32_t funcId, IpcIo *request, IpcIo *reply) in MsgHandle() argument 29 printf("ServiceAbility::MsgHandle, funcId is %u\n", funcId); in MsgHandle() 31 if (funcId == 0) { in MsgHandle()
|
/foundation/multimedia/audio_lite/frameworks/binder/ |
H A D | audio_capturer_client.cpp | 41 int funcId; member 64 AudioCapturerFuncId funcId = (AudioCapturerFuncId)para->funcId; in ProxyCallbackFunc() local 66 switch (funcId) { in ProxyCallbackFunc() 96 MEDIA_INFO_LOG("Callback, unknown funcId = %d", para->funcId); in ProxyCallbackFunc() 150 CallBackPara para = {.funcId = AUD_CAP_FUNC_CONNECT, .ret = MEDIA_IPC_FAILED, .data = this}; in AudioCapturerClient() 164 para = {.funcId = AUD_CAP_FUNC_SET_SURFACE, .ret = MEDIA_IPC_FAILED, .data = this}; in AudioCapturerClient() 191 CallBackPara para = {.funcId = AUD_CAP_FUNC_DISCONNECT, .ret = MEDIA_IPC_FAILED}; in ~AudioCapturerClient() 215 CallBackPara para = {.funcId in GetMinFrameCount() [all...] |
/foundation/multimedia/media_lite/frameworks/player_lite/binder/ |
H A D | player_client.cpp | 58 switch (para->funcId) { in Callback() 232 para.funcId = PLAYER_SERVER_SET_SOURCE; in SetSource() 250 para.funcId = PLAYER_SERVER_PREPARE; in Prepare() 266 para.funcId = PLAYER_SERVER_PLAY; in Play() 282 para.funcId = PLAYER_SERVER_IS_PLAYING; in IsPlaying() 298 para.funcId = PLAYER_SERVER_PAUSE; in Pause() 314 para.funcId = PLAYER_SERVER_STOP; in Stop() 331 para.funcId = PLAYER_SERVER_REWIND; in Rewind() 349 para.funcId = PLAYER_SERVER_SET_VOLUME; in SetVolume() 377 para.funcId in SetSurface() [all...] |
/foundation/communication/ipc/ipc/test/ipc/server/ |
H A D | ipc_test_server.c | 132 static int32_t Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument 134 RPC_LOG_INFO("[ipc_test_server]Invoke:RECEIVE FUNCID:%d", funcId); in Invoke() 137 if (funcId == g_serverInvokeCmdTbl[i].id) { in Invoke() 141 RPC_LOG_INFO("[ipc_test_server]not support func[%d]", funcId); in Invoke()
|
/foundation/multimedia/media_lite/services/recorder_lite/server/src/ |
H A D | recorder_samgr.cpp | 64 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument 66 MEDIA_DEBUG_LOG("Service Remote Invoke is called! <%d>", funcId); in Invoke() 69 mng->Dispatch(funcId, pid, req, reply); in Invoke()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan_sa/ |
H A D | wifi_scan_feature_lite.cpp | 78 static int Invoke(IServerProxy *proxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument 80 LOGI("[WifiScanFeature] begin to call Invoke, funcId is %{public}d", funcId); in Invoke() 82 return g_scanServiceImpl->OnRemoteRequest(funcId, req, reply); in Invoke()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta_sa/ |
H A D | wifi_device_feature_lite.cpp | 78 static int Invoke(IServerProxy *proxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument 80 LOGI("[WifiDeviceFeature] begin to call Invoke, funcId is %{public}d", funcId); in Invoke() 82 return g_devServiceImpl->OnRemoteRequest(funcId, req, reply); in Invoke()
|
/foundation/communication/dhcp/services/dhcp_client/src/ |
H A D | dhcp_client_feature_lite.cpp | 76 static int Invoke(IServerProxy *proxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument 78 LOGI("[DhcpClientFeature] begin to call Invoke, funcId is %{public}d", funcId); in Invoke() 80 return g_dhcpClientServiceImpl->OnRemoteRequest(funcId, req, reply); in Invoke()
|
/foundation/communication/dhcp/services/dhcp_server/src/ |
H A D | dhcp_server_feature_lite.cpp | 78 static int Invoke(IServerProxy *proxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument 80 DHCP_LOGI("[DhcpServerFeature] begin to call Invoke, funcId is %{public}d", funcId); in Invoke() 82 return g_dhcpServerServiceImpl->OnRemoteRequest(funcId, req, reply); in Invoke()
|
/foundation/systemabilitymgr/samgr_lite/interfaces/kits/registry/ |
H A D | iproxy_client.h | 65 int (*Invoke)(IClientProxy *proxy, int funcId, IpcIo *request, IOwner owner, INotify notify)
101 * by <b>funcId</b>. <b>notify</b> is a callback function used to process the response message. \n
104 * @param funcId Indicates the ID of the function implemented on the server.
114 int (*Invoke)(IClientProxy *proxy, int funcId, IpcIo *request, IOwner owner, INotify notify);
|
H A D | iproxy_server.h | 74 int32 (*Invoke)(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply)
95 * @param funcId Indicates the ID of the server function to be invoked by the client.
106 int32 (*Invoke)(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply);
|
/foundation/communication/wifi/wifi/frameworks/native/src/ |
H A D | wifi_device_proxy_lite.cpp | 234 switch (data->funcId) { in IpcCallback() 375 owner.funcId = static_cast<int32_t>(DevInterfaceCode::WIFI_SVR_CMD_ENABLE_WIFI); in EnableWifi() 408 owner.funcId = static_cast<int32_t>(DevInterfaceCode::WIFI_SVR_CMD_DISABLE_WIFI); in DisableWifi() 443 owner.funcId = static_cast<int32_t>(DevInterfaceCode::WIFI_SVR_CMD_INIT_WIFI_PROTECT); in InitWifiProtect() 478 owner.funcId = static_cast<int32_t>(DevInterfaceCode::WIFI_SVR_CMD_GET_WIFI_PROTECT); in GetWifiProtectRef() 512 owner.funcId = static_cast<int32_t>(DevInterfaceCode::WIFI_SVR_CMD_PUT_WIFI_PROTECT); in PutWifiProtectRef() 635 owner.funcId = static_cast<int32_t>(DevInterfaceCode::WIFI_SVR_CMD_ADD_DEVICE_CONFIG); in AddDeviceConfig() 670 owner.funcId = static_cast<int32_t>(DevInterfaceCode::WIFI_SVR_CMD_UPDATE_DEVICE_CONFIG); in UpdateDeviceConfig() 704 owner.funcId = static_cast<int32_t>(DevInterfaceCode::WIFI_SVR_CMD_REMOVE_DEVICE_CONFIG); in RemoveDevice() 737 owner.funcId in RemoveAllDevice() [all...] |
/foundation/multimedia/camera_lite/frameworks/binder/src/ |
H A D | camera_service_client.cpp | 75 switch (para->funcId) { in Callback() 161 MEDIA_ERR_LOG("unsupport funcId."); in Callback() 174 para.funcId = CAMERA_SERVER_GET_CAMERAIDLIST; in GetCameraIdList() 190 para.funcId = CAMERA_SERVER_GET_CAMERA_MODE_NUM; in GetCameraModeNum() 211 para.funcId = CAMERA_SERVER_GET_CAMERA_ABILITY; in GetCameraAbility() 240 para.funcId = CAMERA_SERVER_GET_CAMERA_INFO; in GetCameraInfo() 264 MEDIA_INFO_LOG("ServiceClientCallback, funcId=%d", code); in ServiceClientCallback() 290 para.funcId = CAMERA_SERVER_SET_CAMERA_MODE_NUM; in SetCameraMode() 309 para_->funcId = CAMERA_SERVER_CREATE_CAMERA; in CreateCamera()
|
H A D | camera_device_client.cpp | 75 switch (para->funcId) { in Callback() 98 para.funcId = CAMERA_SERVER_SET_CAMERA_CONFIG; in SetCameraConfig() 172 para.funcId = CAMERA_SERVER_TRIGGER_LOOPING_CAPTURE; in TriggerLoopingCapture() 201 para.funcId = CAMERA_SERVER_TRIGGER_SINGLE_CAPTURE; in TriggerSingleCapture() 223 para.funcId = CAMERA_SERVER_STOP_LOOPING_CAPTURE; in StopLoopingCapture() 250 para.funcId = CAMERA_SERVER_CLOSE_CAMERA; in Release() 281 para.funcId = CAMERA_SERVER_SET_CAMERA_CALLBACK; in SetCameraCallback() 300 MEDIA_INFO_LOG("DeviceCallback, funcId=%d", code); in DeviceClientCallback()
|
/foundation/ability/ability_lite/services/abilitymgr_lite/src/ |
H A D | ability_inner_feature.cpp | 72 int32 AbilityInnerFeature::Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply)
in Invoke() argument 78 if (funcId >= INNER_BEGIN && funcId < COMMAND_END) {
in Invoke() 79 return invokeFuncList[funcId - INNER_BEGIN](origin, req);
in Invoke()
|
/foundation/window/window_manager_lite/frameworks/wms/ |
H A D | lite_wm_requestor.cpp | 43 switch (para->funcId) { in Callback() 123 para.funcId = LiteWMS_GetLayerInfo; in GetLayerInfo() 140 para.funcId = LiteWMS_CreateWindow; in CreateWindow() 170 para.funcId = LiteWMS_GetEventData; in GetEventData() 241 para.funcId = LiteWMS_Screenshot; in Screenshot()
|