Home
last modified time | relevance | path

Searched refs:g_appMgrService (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/affwk/
H A Dservice_registry_mock.cpp24 static sptr<AppExecFwk::BundleMgrStub> g_appMgrService = nullptr; variable
37 if (!g_appMgrService) { in GetSystemAbility()
39 g_appMgrService = new AppExecFwk::BundleMgrStub(); in GetSystemAbility()
41 remote = g_appMgrService; in GetSystemAbility()
/ohos5.0/base/security/access_token/services/test/mock/aafwk/
H A Dmock_service_registry.cpp26 static sptr<AppExecFwk::MockAppMgrService> g_appMgrService = nullptr; variable
35 if (g_appMgrService == nullptr) { in SwitchForeOrBackGround()
38 g_appMgrService->SwitchForeOrBackGround(tokenId, flag); in SwitchForeOrBackGround()
71 if (!g_appMgrService) { in GetSystemAbility()
73 g_appMgrService = new AppExecFwk::MockAppMgrService(); in GetSystemAbility()
75 remote = g_appMgrService; in GetSystemAbility()