Home
last modified time | relevance | path

Searched refs:funcId (Results 1 – 25 of 61) sorted by relevance

123

/foundation/appexecfwk/appexecfwk_lite/services/bundlemgr_lite/include/
Dbundle_ms_feature.h30 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, IpcIo *req, IpcIo *reply);
Dbundle_inner_feature.h30 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/multimedia/media_lite/frameworks/recorder_lite/binder/
Drecorder_client.cpp44 RecFunc funcId; member
60 MEDIA_INFO_LOG("Callback, funcId = %d", para->funcId); in SimpleCallback()
75 uint32_t funcId; in RecorderCallbackSvc() local
76 (void)GetCode(ipcMsg, &funcId); in RecorderCallbackSvc()
77 MEDIA_INFO_LOG("DeviceCallback, funcId=%d", funcId); in RecorderCallbackSvc()
78 switch (funcId) { in RecorderCallbackSvc()
92 MEDIA_ERR_LOG("Unsupport callback service.(fundId=%d)", funcId); in RecorderCallbackSvc()
116 CallBackPara para = {.funcId = REC_FUNC_CONNECT, .ret = MEDIA_IPC_FAILED}; in RecorderImpl()
137 MEDIA_INFO_LOG("Callback, funcId = %d", para->funcId); in DisConnectCallback()
147 CallBackPara para = {.funcId = REC_FUNC_DISCONNECT, .ret = MEDIA_IPC_FAILED}; in ~RecorderImpl()
[all …]
/foundation/multimedia/audio_lite/frameworks/binder/
Daudio_capturer_client.cpp41 int funcId; member
65 AudioCapturerFuncId funcId = (AudioCapturerFuncId)para->funcId; in ProxyCallbackFunc() local
67 switch (funcId) { in ProxyCallbackFunc()
96 MEDIA_INFO_LOG("Callback, unkown funcId = %d", para->funcId); in ProxyCallbackFunc()
137 CallBackPara para = {.funcId = AUD_CAP_FUNC_CONNECT, .ret = MEDIA_IPC_FAILED, .data = this}; in AudioCapturerClient()
151 para = {.funcId = AUD_CAP_FUNC_SET_SURFACE, .ret = MEDIA_IPC_FAILED, .data = this}; in AudioCapturerClient()
178 CallBackPara para = {.funcId = AUD_CAP_FUNC_DISCONNECT, .ret = MEDIA_IPC_FAILED}; in ~AudioCapturerClient()
201 …CallBackPara para = {.funcId = AUD_CAP_FUNC_GET_MIN_FRAME_COUNT, .ret = MEDIA_IPC_FAILED, .data = … in GetMinFrameCount()
217 …CallBackPara para = {.funcId = AUD_CAP_FUNC_GET_FRAME_COUNT, .ret = MEDIA_IPC_FAILED, .data = &fra… in GetFrameCount()
232 … CallBackPara para = {.funcId = AUD_CAP_FUNC_GET_STATUS, .ret = MEDIA_IPC_FAILED, .data = &state}; in GetStatus()
[all …]
/foundation/appexecfwk/appexecfwk_lite/services/bundlemgr_lite/src/
Dbundle_ms_feature.cpp131 uint8_t BundleMsFeature::HasSystemCapability(const uint8_t funcId, IpcIo *req, IpcIo *reply) in HasSystemCapability() argument
149 uint8_t BundleMsFeature::GetSystemAvailableCapabilities(const uint8_t funcId, IpcIo *req, IpcIo *re… in GetSystemAvailableCapabilities() argument
169 uint8_t BundleMsFeature::QueryInnerAbilityInfo(const uint8_t funcId, IpcIo *req, IpcIo *reply) in QueryInnerAbilityInfo() argument
217 uint8_t BundleMsFeature::GetInnerBundleInfo(const uint8_t funcId, IpcIo *req, IpcIo *reply) in GetInnerBundleInfo() argument
255 uint8_t BundleMsFeature::GetInnerBundleSize(const uint8_t funcId, IpcIo *req, IpcIo *reply) in GetInnerBundleSize() argument
274 uint8_t BundleMsFeature::HandleGetBundleInfos(const uint8_t funcId, IpcIo *req, IpcIo *reply) in HandleGetBundleInfos() argument
284 if (funcId == GET_BUNDLE_INFOS) { in HandleGetBundleInfos()
286 } else if (funcId == QUERY_KEEPALIVE_BUNDLE_INFOS) { in HandleGetBundleInfos()
288 } else if (funcId == GET_BUNDLE_INFOS_BY_METADATA) { in HandleGetBundleInfos()
324 uint8_t BundleMsFeature::GetInnerBundleNameForUid(const uint8_t funcId, IpcIo *req, IpcIo *reply) in GetInnerBundleNameForUid() argument
[all …]
Dbundle_inner_feature.cpp110 uint8_t BundleInnerFeature::InstallInnerBundle(const uint8_t funcId, IpcIo *req, IpcIo *reply) in InstallInnerBundle() argument
199 uint8_t BundleInnerFeature::UninstallInnerBundle(const uint8_t funcId, IpcIo *req, IpcIo *reply) in UninstallInnerBundle() argument
263 uint8_t BundleInnerFeature::SetExternalInstallMode(const uint8_t funcId, IpcIo *req, IpcIo *reply) in SetExternalInstallMode() argument
275 uint8_t BundleInnerFeature::SetInnerDebugMode(const uint8_t funcId, IpcIo *req, IpcIo *reply) in SetInnerDebugMode() argument
287 uint8_t BundleInnerFeature::SetInnerSignMode(const uint8_t funcId, IpcIo *req, IpcIo *reply) in SetInnerSignMode() argument
300 int32 BundleInnerFeature::Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo … in Invoke() argument
305 IpcIoPushUint8(reply, static_cast<uint8_t>(funcId)); in Invoke()
308 if ((funcId >= BMS_INNER_BEGIN) && (funcId < BMS_CMD_END)) { in Invoke()
310 if ((funcId >= BMS_INNER_BEGIN) && (funcId <= UNINSTALL)) { in Invoke()
312 ret = BundleMsInvokeFuc[funcId - BMS_INNER_BEGIN](funcId, req, reply); in Invoke()
/foundation/aafwk/aafwk_lite/frameworks/ability_lite/example/entry/src/main/cpp/
Dservice_ability.cpp27 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()
Dmain_ability_slice.cpp38 int32_t IpcMsgHandler(int funcId, ElementName *elementName, SvcIdentity *serviceSid, void *storeArg) in IpcMsgHandler() argument
40 printf("IpcMsgHandler, funcId is %d, serviceSid is %p\n", funcId, serviceSid); in IpcMsgHandler()
/foundation/multimedia/media_lite/frameworks/player_lite/binder/
Dplayer_client.cpp73 switch (para->funcId) { in Callback()
247 para.funcId = PLAYER_SERVER_SET_SOURCE; in SetSource()
265 para.funcId = PLAYER_SERVER_PREPARE; in Prepare()
281 para.funcId = PLAYER_SERVER_PLAY; in Play()
297 para.funcId = PLAYER_SERVER_IS_PLAYING; in IsPlaying()
313 para.funcId = PLAYER_SERVER_PAUSE; in Pause()
329 para.funcId = PLAYER_SERVER_STOP; in Stop()
346 para.funcId = PLAYER_SERVER_REWIND; in Rewind()
364 para.funcId = PLAYER_SERVER_SET_VOLUME; in SetVolume()
392 para.funcId = PLAYER_SERVER_SET_VIDEO_SURFACE; in SetSurface()
[all …]
/foundation/aafwk/aafwk_lite/frameworks/abilitymgr_lite/src/
Dability_service_manager.cpp138 uint32_t funcId = 0; in ConnectAbilityCallBack() local
139 GetCode(ipcMsg, &funcId); in ConnectAbilityCallBack()
140 int resultCode = (funcId != SCHEDULER_ABILITY_CONNECT_FAIL) ? 0 : -1; in ConnectAbilityCallBack()
142 SvcIdentity *serviceSid = (funcId == SCHEDULER_ABILITY_CONNECT) ? IpcIoPopSvc(data) : nullptr; in ConnectAbilityCallBack()
143 if ((funcId == SCHEDULER_ABILITY_CONNECT) && (serviceSid == nullptr)) { in ConnectAbilityCallBack()
151 if (funcId == SCHEDULER_ABILITY_DISCONNECT) { in ConnectAbilityCallBack()
156 if (funcId != SCHEDULER_ABILITY_CONNECT || resultCode == -1) { in ConnectAbilityCallBack()
/foundation/multimedia/camera_lite/frameworks/binder/src/
Dcamera_device_client.cpp75 switch (para->funcId) { in Callback()
98 para.funcId = CAEMRA_SERVER_SET_CAMERA_CONFIG; in SetCameraConfig()
175 para.funcId = CAMERA_SERVER_TRIGGER_LOOPING_CAPTURE; in TriggerLoopingCapture()
204 para.funcId = CAMERA_SERVER_TRIGGER_SINGLE_CAPTURE; in TriggerSingleCapture()
225 para.funcId = CAMERA_SERVER_STOP_LOOPING_CAPTURE; in StopLoopingCapture()
249 para.funcId = CAMERA_SERVER_CLOSE_CAMERA; in Release()
274 para.funcId = CAMERA_SERVER_SET_CAMERA_CALLBACK; in SetCameraCallback()
293 uint32_t funcId; in DeviceClientCallback() local
294 (void)GetCode(ipcMsg, &funcId); in DeviceClientCallback()
295 MEDIA_INFO_LOG("DeviceCallback, funcId=%d", funcId); in DeviceClientCallback()
[all …]
Dcamera_service_client.cpp70 switch (para->funcId) { in Callback()
159 para.funcId = CAMERA_SERVER_GET_CAMERAIDLIST; in GetCameraIdList()
175 para.funcId = CAMERA_SERVER_GET_CAMERA_MODE_NUM; in GetCameraModeNum()
196 para.funcId = CAMERA_SERVER_GET_CAMERA_ABILITY; in GetCameraAbility()
225 para.funcId = CAMERA_SERVER_GET_CAMERA_INFO; in GetCameraInfo()
253 uint32_t funcId; in ServiceClientCallback() local
254 (void)GetCode(ipcMsg, &funcId); in ServiceClientCallback()
255 MEDIA_INFO_LOG("ServiceClientCallback, funcId=%d", funcId); in ServiceClientCallback()
256 switch (funcId) { in ServiceClientCallback()
280 para.funcId = CAMERA_SERVER_SET_CAMERA_MODE_NUM; in SetCameraMode()
/foundation/multimedia/media_lite/services/recorder_lite/server/src/
Drecorder_samgr.cpp65 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument
67 …MEDIA_DEBUG_LOG("Service Remote Invoke is called! <%p, %d, %p, %p, %p>", iProxy, funcId, origin, r… in Invoke()
70 mng->Dispatch(funcId, pid, req, reply); in Invoke()
/foundation/distributedschedule/samgr_lite/interfaces/kits/registry/
Diproxy_server.h74 int32 (*Invoke)(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply)
106 int32 (*Invoke)(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply);
Diproxy_client.h65 int (*Invoke)(IClientProxy *proxy, int funcId, IpcIo *request, IOwner owner, INotify notify)
114 int (*Invoke)(IClientProxy *proxy, int funcId, IpcIo *request, IOwner owner, INotify notify);
/foundation/aafwk/aafwk_lite/services/abilitymgr_lite/src/
Dability_inner_feature.cpp72 int32 AbilityInnerFeature::Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo… in Invoke() argument
78 if (funcId >= INNER_BEGIN && funcId < COMMAND_END) { in Invoke()
79 return invokeFuncList[funcId - INNER_BEGIN](origin, req); in Invoke()
/foundation/appexecfwk/appexecfwk_lite/services/bundlemgr_lite/bundle_daemon/src/
Dbundle_daemon.cpp102 int32_t BundleDaemon::Invoke(IServerProxy *iProxy, int32_t funcId, void *origin, IpcIo *req, IpcIo … in Invoke() argument
104 PRINTI("BundleDaemon", "bundle_daemon invoke start %{public}d", funcId); in Invoke()
115 if (funcId == REGISTER_CALLBACK) { in Invoke()
129 if (funcId >= EXTRACT_HAP && funcId < BDS_CMD_END) { in Invoke()
130 ret = (BundleDaemon::invokeFuncs[funcId])(req); in Invoke()
/foundation/graphic/wms/frameworks/wms/
Dlite_wm_requestor.cpp42 switch (para->funcId) { in Callback()
120 para.funcId = LiteWMS_GetLayerInfo; in GetLayerInfo()
137 para.funcId = LiteWMS_CreateWindow; in CreateWindow()
167 para.funcId = LiteWMS_GetEventData; in GetEventData()
240 para.funcId = LiteWMS_Screenshot; in Screenshot()
/foundation/multimedia/camera_lite/services/server/src/
Dsamgr_camera.cpp71 static int32 Invoke(IServerProxy* iProxy, int funcId, void* origin, IpcIo* req, IpcIo* reply) in Invoke() argument
73 Media::CameraServer::CameraServerRequestHandle(funcId, origin, req, reply); in Invoke()
/foundation/graphic/wms/services/wms/
Dsamgr_wms.cpp69 static int32 Invoke(IServerProxy* iProxy, int funcId, void* origin, IpcIo* req, IpcIo* reply) in Invoke() argument
71 LiteWMS::WMSRequestHandle(funcId, origin, req, reply); in Invoke()
/foundation/multimedia/media_lite/services/player_lite/server/src/
Dsamgr_player_server.cpp70 static int32 Invoke(IServerProxy* iProxy, int funcId, void* origin, IpcIo* req, IpcIo* reply) in Invoke() argument
72 Media::PlayerServer::PlayerServerRequestHandle(funcId, origin, req, reply); in Invoke()
/foundation/graphic/wms/services/ims/
Dsamgr_ims.cpp68 static int32 Invoke(IServerProxy* iProxy, int funcId, void* origin, IpcIo* req, IpcIo* reply) in Invoke() argument
70 InputEventClientProxy::GetInstance()->ClientRequestHandle(funcId, origin, req, reply); in Invoke()
/foundation/multimedia/audio_lite/services/server/src/
Daudio_capturer_samgr.cpp65 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke() argument
69 mng->Dispatch(funcId, pid, req, reply); in Invoke()
/foundation/aafwk/aafwk_lite/services/abilitymgr_lite/unittest/utils/
Dability_test_helper.cpp92 uint32_t funcId = 0; in AbilityCallback() local
93 GetCode(ipcMsg, &funcId); in AbilityCallback()
99 switch (funcId) in AbilityCallback()
122 printf("ams call back error, funcId: %u\n", funcId); in AbilityCallback()
/foundation/aafwk/aafwk_lite/services/abilitymgr_lite/tools/src/
Dability_tool.cpp249 uint32_t funcId = 0; in AaCallback() local
250 GetCode(ipcMsg, &funcId); in AaCallback()
253 switch (funcId) { in AaCallback()
300 printf("ams call back error, funcId: %u\n", funcId); in AaCallback()

123