Home
last modified time | relevance | path

Searched defs:mgr (Results 1 – 11 of 11) sorted by relevance

/base/startup/appspawn/interfaces/innerkits_new/permission/
Dappspawn_mount_permission.c40 static int ParseAppSandboxConfig(const cJSON *root, PermissionManager *mgr) in ParseAppSandboxConfig()
70 static int ParsePermissionConfig(const cJSON *permissionConfigs, PermissionManager *mgr) in ParsePermissionConfig()
82 static int ParseAppSandboxConfig(const cJSON *appSandboxConfig, PermissionManager *mgr) in ParseAppSandboxConfig()
105 static int LoadPermissionConfig(PermissionManager *mgr) in LoadPermissionConfig()
114 static inline int32_t CheckPermissionManager(PermissionManager *mgr) in CheckPermissionManager()
124 PermissionManager *mgr = GetPermissionMgrByType(type); in PMGetPermissionIndex() local
131 PermissionManager *mgr = GetPermissionMgrByType(type); in PMGetMaxPermissionIndex() local
138 PermissionManager *mgr = GetPermissionMgrByType(type); in PMGetPermissionByIndex() local
151 PermissionManager *mgr = GetPermissionMgrByType(type); in LoadPermission() local
176 PermissionManager *mgr = GetPermissionMgrByType(type); in DeletePermission() local
/base/startup/appspawn/test/moduletest/threadpool/
Dthread_manager.c91 static TaskExecuteNode *PopTaskExecutor(ThreadManager *mgr) in PopTaskExecutor()
106 static int AddExecutor(ThreadManager *mgr, const TaskNode *task) in AddExecutor()
127 static void RunExecutor(ThreadManager *mgr, ThreadNode *threadNode, uint32_t maxCount) in RunExecutor()
152 static TaskNode *GetTask(ThreadManager *mgr, ListNode *queue, uint32_t taskId) in GetTask()
177 static TaskNode *PopTask(ThreadManager *mgr, ListNode *queue) in PopTask()
191 static void PushTask(ThreadManager *mgr, TaskNode *task, ListNode *queue) in PushTask()
199 static void SafeRemoveTask(ThreadManager *mgr, TaskNode *task) in SafeRemoveTask()
224 static void ExecuteTask(ThreadManager *mgr) in ExecuteTask()
237 static void CheckTaskComplete(ThreadManager *mgr) in CheckTaskComplete()
272 …ThreadManager *mgr = (ThreadManager *)malloc(sizeof(ThreadManager) + maxThreadCount * sizeof(Threa… in CreateThreadMgr() local
[all …]
/base/startup/appspawn/test/unittest/app_spawn_standard_test/
Dapp_spawn_sandboxmgr_test.cpp53 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
83 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
105 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
136 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
183 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
220 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
246 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
288 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
323 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
354 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
[all …]
Dapp_spawn_appmgr_test.cpp59 AppSpawnMgr *mgr = CreateAppSpawnMgr(i); variable
111 static void TestAppTraversal(const AppSpawnMgr *mgr, AppSpawnedProcess *appInfo, void *data) in TestAppTraversal()
117 AppSpawnMgr *mgr = CreateAppSpawnMgr(0); variable
160 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
202 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
225 static void TestProcessTraversal(const AppSpawnMgr *mgr, AppSpawningCtx *ctx, void *data) in TestProcessTraversal()
236 AppSpawnMgr *mgr = CreateAppSpawnMgr(0); variable
271 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
476 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
521 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
[all …]
Dapp_spawn_module_interface_test.cpp107 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
141 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
189 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
232 AppSpawnMgr *mgr = CreateAppSpawnMgr(MODE_FOR_NWEB_SPAWN); variable
/base/global/resource_management/frameworks/resmgr/src/
Dnative_resource_manager.cpp36 ResourceManager_ErrorCode OH_ResourceManager_GetMediaBase64(const NativeResourceManager *mgr, uint3… in OH_ResourceManager_GetMediaBase64()
64 ResourceManager_ErrorCode OH_ResourceManager_GetMediaBase64ByName(const NativeResourceManager *mgr, in OH_ResourceManager_GetMediaBase64ByName()
93 ResourceManager_ErrorCode OH_ResourceManager_GetMedia(const NativeResourceManager *mgr, uint32_t re… in OH_ResourceManager_GetMedia()
119 ResourceManager_ErrorCode OH_ResourceManager_GetMediaByName(const NativeResourceManager *mgr, const… in OH_ResourceManager_GetMediaByName()
145 ResourceManager_ErrorCode OH_ResourceManager_GetDrawableDescriptor(const NativeResourceManager *mgr, in OH_ResourceManager_GetDrawableDescriptor()
176 …eManager_ErrorCode OH_ResourceManager_GetDrawableDescriptorByName(const NativeResourceManager *mgr, in OH_ResourceManager_GetDrawableDescriptorByName()
Draw_file_manager.cpp126 static bool IsLoadHap(const NativeResourceManager *mgr, std::string &hapPath) in IsLoadHap()
131 RawDir *LoadRawDirFromHap(const NativeResourceManager *mgr, const std::string dirName) in LoadRawDirFromHap()
142 RawDir *OH_ResourceManager_OpenRawDir(const NativeResourceManager *mgr, const char *dirName) in OH_ResourceManager_OpenRawDir()
185 RawFile *LoadRawFileFromHap(const NativeResourceManager *mgr, const char *fileName, const std::stri… in LoadRawFileFromHap()
211 RawFile *OH_ResourceManager_OpenRawFile(const NativeResourceManager *mgr, const char *fileName) in OH_ResourceManager_OpenRawFile()
445 RawFile64 *LoadRawFileFromHap64(const NativeResourceManager *mgr, const char *fileName, const std::… in LoadRawFileFromHap64()
467 RawFile64 *OH_ResourceManager_OpenRawFile64(const NativeResourceManager *mgr, const char *fileName) in OH_ResourceManager_OpenRawFile64()
635 bool OH_ResourceManager_IsRawDir(const NativeResourceManager *mgr, const char *path) in OH_ResourceManager_IsRawDir()
/base/print/print_fwk/test/unittest/service_test/
Dprint_service_helper_test.cpp111 sptr<AppExecFwk::IBundleMgr> mgr; variable
126 sptr<AppExecFwk::IBundleMgr> mgr; variable
/base/print/print_fwk/services/print_service/src/
Dprint_service_helper.cpp129 bool PrintServiceHelper::QueryExtension(sptr<AppExecFwk::IBundleMgr> mgr, int userId, in QueryExtension()
140 bool PrintServiceHelper::QueryNameForUid(sptr<AppExecFwk::IBundleMgr> mgr, int32_t userId, std::str… in QueryNameForUid()
/base/startup/appspawn/standard/
Dappspawn_service.c56 static void AppQueueDestroyProc(const AppSpawnMgr *mgr, AppSpawnedProcess *appInfo, void *data) in AppQueueDestroyProc()
145 static void AppSpawningCtxOnClose(const AppSpawnMgr *mgr, AppSpawningCtx *ctx, void *data) in AppSpawningCtxOnClose()
Dappspawn_appmgr.c86 void DeleteAppSpawnMgr(AppSpawnMgr *mgr) in DeleteAppSpawnMgr()