Home
last modified time | relevance | path

Searched refs:INIT_LOCAL_API (Results 1 – 25 of 32) sorted by relevance

12

/base/startup/init/services/param/include/
Dparam_manager.h116 INIT_LOCAL_API int AddWorkSpace(const char *name, uint32_t labelIndex, int onlyRead, uint32_t space…
117 INIT_LOCAL_API int OpenWorkSpace(uint32_t index, int readOnly);
119 INIT_LOCAL_API WorkSpace *GetNextWorkSpace(WorkSpace *curr);
120 INIT_LOCAL_API WorkSpace *GetWorkSpace(uint32_t labelIndex);
121 INIT_LOCAL_API WorkSpace *GetWorkSpaceByName(const char *name);
123 INIT_LOCAL_API int CheckParamValue(const ParamTrieNode *node, const char *name, const char *value, …
124 INIT_LOCAL_API int CheckParamName(const char *name, int paramInfo);
125 INIT_LOCAL_API uint8_t GetParamValueType(const char *name);
127 INIT_LOCAL_API ParamNode *SystemCheckMatchParamWait(const char *name, const char *value);
128 INIT_LOCAL_API int WriteParam(const char *name, const char *value, uint32_t *dataIndex, int onlyAdd…
[all …]
Dparam_trie.h33 INIT_LOCAL_API int InitWorkSpace(WorkSpace *workSpace, int onlyRead, uint32_t spaceSize);
34 INIT_LOCAL_API void CloseWorkSpace(WorkSpace *workSpace);
42 INIT_LOCAL_API void SaveIndex(uint32_t *index, uint32_t offset);
44 INIT_LOCAL_API ParamTrieNode *AddTrieNode(WorkSpace *workSpace, const char *key, uint32_t keyLen);
45 INIT_LOCAL_API ParamTrieNode *FindTrieNode(
49 INIT_LOCAL_API int TraversalTrieNode(const WorkSpace *workSpace,
52 INIT_LOCAL_API uint32_t AddParamSecurityNode(WorkSpace *workSpace, const ParamAuditData *auditData);
53 INIT_LOCAL_API uint32_t AddParamNode(WorkSpace *workSpace, uint8_t type,
56 INIT_LOCAL_API uint32_t GetParamMaxLen(uint8_t type);
57 INIT_LOCAL_API ParamNode *GetParamNode(uint32_t index, const char *name);
[all …]
Dparam_osadp.h125 INIT_LOCAL_API void paramMutexEnvInit(void);
126 INIT_LOCAL_API int ParamRWMutexCreate(ParamRWMutex *lock);
127 INIT_LOCAL_API int ParamRWMutexWRLock(ParamRWMutex *lock);
128 INIT_LOCAL_API int ParamRWMutexRDLock(ParamRWMutex *lock);
129 INIT_LOCAL_API int ParamRWMutexUnlock(ParamRWMutex *lock);
130 INIT_LOCAL_API int ParamRWMutexDelete(ParamRWMutex *lock);
132 INIT_LOCAL_API int ParamMutexCreate(ParamMutex *mutex);
133 INIT_LOCAL_API int ParamMutexPend(ParamMutex *mutex);
134 INIT_LOCAL_API int ParamMutexPost(ParamMutex *mutex);
135 INIT_LOCAL_API int ParamMutexDelete(ParamMutex *mutex);
[all …]
Dparam_security.h126 INIT_LOCAL_API int RegisterSecuritySelinuxOps(ParamSecurityOps *ops, int isInit);
129 INIT_LOCAL_API ParamSecurityOps *GetParamSecurityOps(int type);
130 INIT_LOCAL_API void LoadGroupUser(void);
131 INIT_LOCAL_API int RegisterSecurityDacOps(ParamSecurityOps *ops, int isInit);
132 INIT_LOCAL_API int RegisterSecurityOps(int onlyRead);
Dparam_utils.h102 INIT_LOCAL_API void ParamWorBaseLog(InitLogLevel logLevel, uint32_t domain, const char *tag, const …
144 INIT_LOCAL_API int SplitParamString(char *line, const char *exclude[], uint32_t count,
/base/startup/init/interfaces/innerkits/syspara/
Dparam_comm.h35 INIT_LOCAL_API const char *GetProperty(const char *key, const char **paramHolder);
36 INIT_LOCAL_API PropertyValueProcessor SetPropertyGetProcessor(PropertyValueProcessor processor);
37 INIT_LOCAL_API int GetParameter_(const char *key, const char *def, char *value, uint32_t len);
39 INIT_LOCAL_API const char *GetProductModel_(void);
40 INIT_LOCAL_API const char *GetManufacture_(void);
41 INIT_LOCAL_API const char *GetSerial_(void);
42 INIT_LOCAL_API int GetDevUdid_(char *udid, int size);
43 INIT_LOCAL_API int IsValidParamValue(const char *value, uint32_t len);
45 INIT_LOCAL_API const char *GetFullName_(void);
46 INIT_LOCAL_API int GetSystemError(int err);
Dparam_comm.c27 INIT_LOCAL_API int GetSystemError(int err) in GetSystemError()
55 INIT_LOCAL_API int IsValidParamValue(const char *value, uint32_t len) in IsValidParamValue()
63 INIT_LOCAL_API int GetParameter_(const char *key, const char *def, char *value, uint32_t len) in GetParameter_()
90 INIT_LOCAL_API const char *GetProperty(const char *key, const char **paramHolder) in GetProperty()
114 INIT_LOCAL_API PropertyValueProcessor SetPropertyGetProcessor(PropertyValueProcessor processor) in SetPropertyGetProcessor()
121 INIT_LOCAL_API const char *GetProductModel_(void) in GetProductModel_()
127 INIT_LOCAL_API const char *GetManufacture_(void) in GetManufacture_()
133 INIT_LOCAL_API const char *GetFullName_(void) in GetFullName_()
/base/startup/init/services/param/linux/
Dparam_osadp.c23 INIT_LOCAL_API void paramMutexEnvInit(void) in paramMutexEnvInit()
27 INIT_LOCAL_API int ParamRWMutexCreate(ParamRWMutex *lock) in ParamRWMutexCreate()
37 INIT_LOCAL_API int ParamRWMutexWRLock(ParamRWMutex *lock) in ParamRWMutexWRLock()
43 INIT_LOCAL_API int ParamRWMutexRDLock(ParamRWMutex *lock) in ParamRWMutexRDLock()
49 INIT_LOCAL_API int ParamRWMutexUnlock(ParamRWMutex *lock) in ParamRWMutexUnlock()
56 INIT_LOCAL_API int ParamRWMutexDelete(ParamRWMutex *lock) in ParamRWMutexDelete()
64 INIT_LOCAL_API int ParamMutexCreate(ParamMutex *mutex) in ParamMutexCreate()
68 INIT_LOCAL_API int ParamMutexPend(ParamMutex *mutex) in ParamMutexPend()
72 INIT_LOCAL_API int ParamMutexPost(ParamMutex *mutex) in ParamMutexPost()
76 INIT_LOCAL_API int ParamMutexDelete(ParamMutex *mutex) in ParamMutexDelete()
[all …]
/base/startup/init/services/param/liteos/
Dparam_osadp.c113 INIT_LOCAL_API void *GetSharedMem(const char *fileName, MemHandle *handle, uint32_t spaceSize, int … in GetSharedMem()
134 INIT_LOCAL_API void FreeSharedMem(const MemHandle *handle, void *mem, uint32_t dataSize) in FreeSharedMem()
141 INIT_LOCAL_API void paramMutexEnvInit(void) in paramMutexEnvInit()
146 INIT_LOCAL_API int ParamRWMutexCreate(ParamRWMutex *lock) in ParamRWMutexCreate()
156 INIT_LOCAL_API int ParamRWMutexWRLock(ParamRWMutex *lock) in ParamRWMutexWRLock()
162 INIT_LOCAL_API int ParamRWMutexRDLock(ParamRWMutex *lock) in ParamRWMutexRDLock()
168 INIT_LOCAL_API int ParamRWMutexUnlock(ParamRWMutex *lock) in ParamRWMutexUnlock()
175 INIT_LOCAL_API int ParamRWMutexDelete(ParamRWMutex *lock) in ParamRWMutexDelete()
183 INIT_LOCAL_API int ParamMutexCreate(ParamMutex *mutex) in ParamMutexCreate()
192 INIT_LOCAL_API int ParamMutexPend(ParamMutex *mutex) in ParamMutexPend()
[all …]
Dparam_litedac.c69 INIT_LOCAL_API int RegisterSecurityDacOps(ParamSecurityOps *ops, int isInit) in RegisterSecurityDacOps()
85 INIT_LOCAL_API void LoadGroupUser(void) in LoadGroupUser()
/base/startup/init/services/loopevent/socket/
Dle_socket.h27 INIT_LOCAL_API
29 INIT_LOCAL_API
/base/startup/init/services/modules/udid/
Dudid_comm.c25 INIT_LOCAL_API const char *GetSerial_(void) in GetSerial_()
41 INIT_LOCAL_API int GetUdidFromParam(char *udid, uint32_t size) in GetUdidFromParam()
53 INIT_LOCAL_API int GetDevUdid_(char *udid, int size) in GetDevUdid_()
Dudid.h24 #define INIT_UDID_LOCAL_API INIT_LOCAL_API
/base/startup/init/services/param/base/
Dparam_comm.c22 INIT_LOCAL_API WorkSpace *GetWorkSpaceByName(const char *name) in GetWorkSpaceByName()
40 INIT_LOCAL_API WorkSpace *GetWorkSpace(uint32_t labelIndex) in GetWorkSpace()
70 INIT_LOCAL_API ParamSecurityOps *GetParamSecurityOps(int type) in GetParamSecurityOps()
78 INIT_LOCAL_API ParamSecurityLabel *GetParamSecurityLabel() in GetParamSecurityLabel()
85 INIT_LOCAL_API int SplitParamString(char *line, const char *exclude[], uint32_t count, in SplitParamString()
Dparam_trie.c89 INIT_LOCAL_API int InitWorkSpace(WorkSpace *workSpace, int onlyRead, uint32_t spaceSize) in InitWorkSpace()
102 INIT_LOCAL_API void CloseWorkSpace(WorkSpace *workSpace) in CloseWorkSpace()
216 INIT_LOCAL_API int TraversalTrieNode(const WorkSpace *workSpace, in TraversalTrieNode()
236 INIT_LOCAL_API uint32_t AddParamSecurityNode(WorkSpace *workSpace, const ParamAuditData *auditData) in AddParamSecurityNode()
260 INIT_LOCAL_API uint32_t AddParamNode(WorkSpace *workSpace, uint8_t type, in AddParamNode()
292 INIT_LOCAL_API void SaveIndex(uint32_t *index, uint32_t offset) in SaveIndex()
297 INIT_LOCAL_API ParamTrieNode *FindTrieNode(WorkSpace *workSpace, in FindTrieNode()
320 INIT_LOCAL_API uint32_t GetParamMaxLen(uint8_t type) in GetParamMaxLen()
331 INIT_LOCAL_API ParamNode *GetParamNode(uint32_t index, const char *name) in GetParamNode()
342 INIT_LOCAL_API int AddParamEntry(uint32_t index, uint8_t type, const char *name, const char *value) in AddParamEntry()
[all …]
/base/startup/init/services/log/
Dinit_log.h41 INIT_LOCAL_API void OpenLogDevice(void);
42 INIT_LOCAL_API void InitLog(int logLevel, unsigned int domain, const char *tag, const char *fmt, va…
43 INIT_LOCAL_API void SetInitCommLog(InitCommLog logFunc);
65 INIT_LOCAL_API void EnableInitLog(InitLogLevel level);
Dinit_log.c64 INIT_LOCAL_API void OpenLogDevice(void) in OpenLogDevice()
126 INIT_LOCAL_API void InitLog(int logLevel, unsigned int domain, const char *tag, const char *fmt, va… in InitLog()
142 INIT_LOCAL_API void EnableInitLog(InitLogLevel level) in EnableInitLog()
Dinit_commlog.c19 INIT_LOCAL_API void SetInitCommLog(InitCommLog logFunc) in SetInitCommLog()
/base/startup/init/services/include/
Dinit_utils.h85 INIT_LOCAL_API uint32_t IntervalTime(struct timespec *startTime, struct timespec *endTime);
87 INIT_LOCAL_API int StringToULL(const char *str, unsigned long long int *out);
88 INIT_LOCAL_API int StringToLL(const char *str, long long int *out);
/base/startup/init/device_info/
Ddevice_info_proxy.h25 class INIT_LOCAL_API DeviceInfoProxy : public IRemoteProxy<IDeviceInfo> {
Ddevice_info_kits.h25 class INIT_LOCAL_API DeviceInfoKits final : public DelayedRefSingleton<DeviceInfoKits> {
/base/startup/init/services/param/manager/
Dparam_persist.c124 INIT_LOCAL_API int InitPersistParamWorkSpace(void) in InitPersistParamWorkSpace()
135 INIT_LOCAL_API void ClosePersistParamWorkSpace(void) in ClosePersistParamWorkSpace()
171 INIT_LOCAL_API int WritePersistParam(const char *name, const char *value) in WritePersistParam()
Dparam_manager.c218 INIT_LOCAL_API int SysCheckParamExist(const char *name) in SysCheckParamExist()
313 INIT_LOCAL_API int GetServiceCtrlInfo(const char *name, const char *value, ServiceCtrlInfo **ctrlIn… in GetServiceCtrlInfo()
350 INIT_LOCAL_API int CheckParameterSet(const char *name, in CheckParameterSet()
449 INIT_LOCAL_API int WriteParam(const char *name, const char *value, uint32_t *dataIndex, int mode) in WriteParam()
497 INIT_LOCAL_API WorkSpace *GetNextWorkSpace(WorkSpace *curr) in GetNextWorkSpace()
512 INIT_LOCAL_API uint8_t GetParamValueType(const char *name) in GetParamValueType()
559 INIT_LOCAL_API int CheckParamValue(const ParamTrieNode *node, const char *name, const char *value, … in CheckParamValue()
600 INIT_LOCAL_API int CheckParamName(const char *name, int info) in CheckParamName()
657 INIT_LOCAL_API int CheckParamPermission(const ParamSecurityLabel *srcLabel, const char *name, uint3… in CheckParamPermission()
/base/startup/init/services/param/watcher/agent/
Dwatcher_manager_proxy.h25 class INIT_LOCAL_API WatcherManagerProxy : public IRemoteProxy<IWatcherManager> {
/base/startup/init/interfaces/innerkits/include/
Dbeget_ext.h40 #define INIT_LOCAL_API __attribute__((visibility("hidden"))) macro
44 #define INIT_LOCAL_API

12