Home
last modified time | relevance | path

Searched refs:int32 (Results 1 - 25 of 49) sorted by relevance

12

/foundation/ability/ability_lite/services/abilitymgr_lite/include/
H A Dability_mgr_feature.h30 typedef int32 (*InvokeFunc)(const void *origin, IpcIo *req);
35 static int32 StartAbility(const Want *want);
36 static int32 TerminateAbility(uint64_t token);
37 static int32 ConnectAbility(const Want *want, SvcIdentity *svc, uint64_t token);
38 static int32 DisconnectAbility(SvcIdentity *svc, uint64_t token);
39 static int32 StopAbility(const Want *want);
41 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply);
52 static int32 StartAbilityInner(const Want *want, pid_t callingUid);
53 static int32 StartRemoteAbilityInner(const Want *want, const char *deviceId,
55 static int32 ConnectAbilityInne
[all...]
H A Dability_inner_feature.h27 typedef int32 (*InvokeFunc)(const void *origin, IpcIo *req);
31 static int32 StartKeepAliveApps();
32 static int32 TerminateApp(const char *bundleName);
34 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply);
45 static int32 TerminateAppInvoke(const void *origin, IpcIo *req);
46 static int32 DumpAbilityInvoke(const void *origin, IpcIo *req);
/foundation/ability/ability_lite/interfaces/inner_api/abilitymgr_lite/
H A Dability_service_interface.h72 int32 (*StartAbility)(const Want *want);
73 int32 (*TerminateAbility)(uint64_t token);
74 int32 (*ConnectAbility)(const Want *want, SvcIdentity *svc, uint64_t token);
75 int32 (*DisconnectAbility)(SvcIdentity *svc, uint64_t token);
76 int32 (*StopAbility)(const Want *want);
81 int32 (*StartKeepAliveApps)();
82 int32 (*TerminateApp)(const char *bundleName);
/foundation/ability/ability_lite/services/abilitymgr_lite/src/
H A Dability_mgr_feature.cpp88 int32 AbilityMgrFeature::Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke()
147 int32 AbilityMgrFeature::StartAbilityInvoke(const void *origin, IpcIo *req) in StartAbilityInvoke()
164 int32 retVal; in StartAbilityInvoke()
174 int32 AbilityMgrFeature::StartAbilityWithCbInvoke(const void *origin, IpcIo *req) in StartAbilityWithCbInvoke()
198 int32 retVal = EC_FAILURE; in StartAbilityWithCbInvoke()
206 int32 AbilityMgrFeature::StartAbility(const Want *want) in StartAbility()
211 int32 AbilityMgrFeature::StartRemoteAbilityInner(const Want *want, const char *deviceId, in StartRemoteAbilityInner()
219 int32 retVal = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void**) &dmsInterface); in StartRemoteAbilityInner()
239 int32 AbilityMgrFeature::StartAbilityInner(const Want *want, pid_t callingUid) in StartAbilityInner()
262 int32 propRe in StartAbilityInner()
[all...]
H A Dability_inner_feature.cpp72 int32 AbilityInnerFeature::Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke()
112 int32 AbilityInnerFeature::TerminateAppInvoke(const void *origin, IpcIo *req) in TerminateAppInvoke()
123 int32 AbilityInnerFeature::StartKeepAliveApps() in StartKeepAliveApps()
131 int32 AbilityInnerFeature::TerminateApp(const char *bundleName) in TerminateApp()
146 int32 propRet = SAMGR_SendRequest(&(GetInstance()->identity_), &request, nullptr); in TerminateApp()
155 int32 AbilityInnerFeature::DumpAbilityInvoke(const void *origin, IpcIo *req) in DumpAbilityInvoke()
169 int32 propRet = SAMGR_SendRequest(&(GetInstance()->identity_), &request, nullptr); in DumpAbilityInvoke()
/foundation/systemabilitymgr/samgr_lite/samgr/adapter/
H A Dtime_adapter.h26 int32 WDT_Start(uint32 ms);
28 int32 WDT_Reset(uint32 ms);
30 int32 WDT_Stop(void);
/foundation/systemabilitymgr/samgr_lite/samgr/source/
H A Dmessage.c30 static int32 SharedSend(MQueueId queueId, Exchange *exchange, int initRef);
33 int32 SAMGR_SendRequest(const Identity *identity, const Request *request, Handler handler) in SAMGR_SendRequest()
49 int32 SAMGR_SendResponse(const Request *request, const Response *response) in SAMGR_SendResponse()
79 int32 ret = SharedSend(exchange->id.queueId, exchange, 1); in SAMGR_SendResponse()
87 int32 SAMGR_MsgRecv(MQueueId queueId, uint8 *interMsg, uint32 size) in SAMGR_MsgRecv()
100 int32 SAMGR_FreeMsg(Exchange *exchange) in SAMGR_FreeMsg()
126 int32 err = SharedSend(identity->queueId, &exchange, 0); in SAMGR_SendSharedRequest()
134 int32 SAMGR_SendSharedDirectRequest(const Identity *id, const Request *req, const Response *resp, uint32 **ref, in SAMGR_SendSharedDirectRequest()
155 int32 err = SharedSend(id->queueId, &exchange, 0); in SAMGR_SendSharedDirectRequest()
164 int32 SAMGR_SendResponseByIdentit
[all...]
H A Dmessage_inner.h47 int32 SAMGR_MsgRecv(MQueueId queueId, uint8 *interMsg, uint32 size);
56 int32 SAMGR_FreeMsg(Exchange *exchange);
H A Dtask_manager.h48 int32 SAMGR_StartTaskPool(TaskPool *pool, const char *name);
49 int32 SAMGR_ReleaseTaskPool(TaskPool *pool);
H A Dsamgr_lite.c45 static int32 AddSystemCapability(const char *sysCap);
47 static int32 GetSystemAvailableCapabilities(char sysCaps[MAX_SYSCAP_NUM][MAX_SYSCAP_NAME_LEN], int32 *sysCapNum);
56 static int32 SendBootRequest(int msgId, uint32 msgValue);
60 static int32 InitCompleted(void);
137 int32 err = InitCompleted(); in SAMGR_Bootstrap()
157 static int32 InitCompleted(void) in InitCompleted()
366 static int32 AddSystemCapability(const char *sysCap) in AddSystemCapability()
382 static int32 GetSystemAvailableCapabilities(char sysCaps[MAX_SYSCAP_NUM][MAX_SYSCAP_NAME_LEN], int32 *sysCapNu
[all...]
/foundation/systemabilitymgr/samgr_lite/interfaces/kits/samgr/
H A Dmessage.h139 int32 SAMGR_SendRequest(const Identity *identity, const Request *request, Handler handler);
193 int32 SAMGR_SendSharedDirectRequest(const Identity *id, const Request *req, const Response *resp, uint32 **ref,
216 int32 SAMGR_SendResponse(const Request *request, const Response *response);
242 int32 SAMGR_SendResponseByIdentity(const Identity *id, const Request *request, const Response *response);
H A Dsamgr_lite.h261 int32 (*AddSystemCapability)(const char *sysCap);
287 int32 (*GetSystemAvailableCapabilities)(char sysCaps[MAX_SYSCAP_NUM][MAX_SYSCAP_NAME_LEN], int32 *sysCapNum);
/foundation/systemabilitymgr/samgr_lite/samgr/adapter/cmsis/
H A Dtime_adapter.c21 int32 WDT_Start(uint32 ms) in WDT_Start()
26 int32 WDT_Reset(uint32 ms) in WDT_Reset()
32 int32 WDT_Stop(void) in WDT_Stop()
/foundation/systemabilitymgr/samgr_lite/samgr/adapter/posix/
H A Dtime_adapter.c22 int32 WDT_Start(uint32 ms) in WDT_Start()
27 int32 WDT_Reset(uint32 ms) in WDT_Reset()
33 int32 WDT_Stop(void) in WDT_Stop()
/foundation/systemabilitymgr/samgr_lite/samgr/registry/
H A Dservice_registry.h30 int32 SAMGR_RegisterSystemCapabilityApi(const char *sysCap, BOOL isReg);
32 int32 SAMGR_GetSystemCapabilitiesApi(char sysCaps[MAX_SYSCAP_NUM][MAX_SYSCAP_NAME_LEN], int32 *size);
H A Dservice_registry.c35 int32 __attribute__((weak)) SAMGR_RegisterSystemCapabilityApi(const char *sysCap, BOOL isReg) in SAMGR_RegisterSystemCapabilityApi()
48 int32 __attribute__((weak)) SAMGR_GetSystemCapabilitiesApi(char sysCaps[MAX_SYSCAP_NUM][MAX_SYSCAP_NAME_LEN], in SAMGR_GetSystemCapabilitiesApi()
49 int32 *size) in SAMGR_GetSystemCapabilitiesApi()
/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/
H A Dendpoint.h74 int32 SAMGR_AddSysCap(const Endpoint *endpoint, const char *sysCap, BOOL isReg);
75 int32 SAMGR_GetSysCap(const Endpoint *endpoint, const char *sysCap, BOOL *isReg);
76 int32 SAMGR_GetSystemCapabilities(const Endpoint *endpoint,
77 char sysCaps[MAX_SYSCAP_NUM][MAX_SYSCAP_NAME_LEN], int32 *sysCapNum);
/foundation/systemabilitymgr/samgr_lite/samgr_server/source/
H A Dsamgr_server_rpc.c46 typedef int(*ProcFunc)(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply);
58 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply);
60 static int ProcEndpoint(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply);
61 static int32 ProcPutFeature(SamgrServer *server, const void *origin, IpcIo *req, IpcIo *reply, SvcIdentity *identity);
62 static int32 ProcGetFeature(SamgrServer *server, const void *origin, IpcIo *req, IpcIo *reply, SvcIdentity *identity);
63 static int ProcFeature(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply);
69 static int ProcSysCap(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply);
242 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke()
261 static int ProcEndpoint(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply) in ProcEndpoint()
272 SvcIdentity identity = {(int32)INVALID_INDE in ProcEndpoint()
[all...]
H A Dsamgr_server.c41 typedef int(*ProcFunc)(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply);
52 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply);
54 static int ProcEndpoint(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply);
55 static int32 ProcPutFeature(SamgrServer *server, const void *origin, IpcIo *req, IpcIo *reply, SvcIdentity *identity);
56 static int32 ProcGetFeature(SamgrServer *server, const void *origin, IpcIo *req, IpcIo *reply, SvcIdentity *identity);
57 static int ProcFeature(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply);
63 static int ProcSysCap(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply);
147 static int32 Invoke(IServerProxy *iProxy, int funcId, void *origin, IpcIo *req, IpcIo *reply) in Invoke()
159 static int ProcEndpoint(SamgrServer *server, int32 option, void *origin, IpcIo *req, IpcIo *reply) in ProcEndpoint()
198 static int32 ProcPutFeatur
[all...]
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/
H A Dbundlems_client.cpp26 int32 BundleMsClient::SendReply(int32 result) in SendReply()
/foundation/systemabilitymgr/samgr_lite/samgr_client/source/
H A Dremote_register_rpc.c53 int32 token = SAMGR_AddRouter(g_remoteRegister.endpoint, &saName, identity, iUnknown); in SAMGR_RegisterServiceApi()
101 int32 SAMGR_RegisterSystemCapabilityApi(const char *sysCap, BOOL isReg) in SAMGR_RegisterSystemCapabilityApi()
117 int32 SAMGR_GetSystemCapabilitiesApi(char sysCaps[MAX_SYSCAP_NUM][MAX_SYSCAP_NAME_LEN], int32 *size) in SAMGR_GetSystemCapabilitiesApi()
H A Dremote_register.c47 int32 token = SAMGR_AddRouter(g_remoteRegister.endpoint, &saName, identity, iUnknown); in SAMGR_RegisterServiceApi()
84 int32 SAMGR_RegisterSystemCapabilityApi(const char *sysCap, BOOL isReg) in SAMGR_RegisterSystemCapabilityApi()
100 int32 SAMGR_GetSystemCapabilitiesApi(char sysCaps[MAX_SYSCAP_NUM][MAX_SYSCAP_NAME_LEN], int32 *size) in SAMGR_GetSystemCapabilitiesApi()
/foundation/systemabilitymgr/samgr_lite/interfaces/kits/registry/
H A 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);
/foundation/ability/ability_lite/frameworks/abilitymgr_lite/src/
H A Dability_self_callback.cpp68 int32 AbilitySelfCallback::GenerateLocalServiceId() in GenerateLocalServiceId()
91 int32 ret = GenerateLocalServiceId(); in RegisterAbilitySelfCallback()
/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/src/
H A Dbundle_self_callback.cpp70 int32 BundleSelfCallback::GenerateLocalServiceId() in GenerateLocalServiceId()
93 int32 ret = GenerateLocalServiceId(); in RegisterBundleSelfCallback()

Completed in 8 milliseconds

12