| /ide/tools/previewer/test/unittest/jsapp/ |
| H A D | StageContextTest.cpp | 116 OHOS::Ide::StageContext::GetInstance().ReadFileContents("abc"); in TEST_F() 119 OHOS::Ide::StageContext::GetInstance().ReadFileContents(testFile); in TEST_F() 131 OHOS::Ide::StageContext::GetInstance().SetLoaderJsonPath("aa"); in TEST_F() 132 EXPECT_EQ(OHOS::Ide::StageContext::GetInstance().loaderJsonPath, "aa"); in TEST_F() 133 OHOS::Ide::StageContext::GetInstance().SetLoaderJsonPath(testFile); in TEST_F() 134 EXPECT_EQ(OHOS::Ide::StageContext::GetInstance().loaderJsonPath, testFile); in TEST_F() 139 OHOS::Ide::StageContext::GetInstance().SetLoaderJsonPath(testFileError); in TEST_F() 140 OHOS::Ide::StageContext::GetInstance().GetModulePathMapFromLoaderJson(); in TEST_F() 141 OHOS::Ide::StageContext::GetInstance().SetLoaderJsonPath(testfileErrorMember); in TEST_F() 142 OHOS::Ide in TEST_F() [all...] |
| /ide/tools/previewer/test/fuzztest/jsonparse_fuzzer/ |
| H A D | GetModulePathMapFuzzer.cpp | 71 OHOS::Ide::StageContext::GetInstance().SetLoaderJsonPath(""); in TEST() 72 OHOS::Ide::StageContext::GetInstance().GetModulePathMapFromLoaderJson(); in TEST() 73 OHOS::Ide::StageContext::GetInstance().SetLoaderJsonPath(filePath); in TEST() 74 OHOS::Ide::StageContext::GetInstance().GetModulePathMapFromLoaderJson(); in TEST() 76 OHOS::Ide::StageContext::GetInstance().GetModulePathMapFromLoaderJson(); in TEST() 78 OHOS::Ide::StageContext::GetInstance().GetModulePathMapFromLoaderJson(); in TEST()
|
| H A D | GetHspAceModuleBuildFuzzer.cpp | 46 OHOS::Ide::StageContext::GetInstance().GetHspAceModuleBuild("aaa"); in TEST() 48 OHOS::Ide::StageContext::GetInstance().GetHspAceModuleBuild(filePath); in TEST() 50 OHOS::Ide::StageContext::GetInstance().GetHspAceModuleBuild(filePath); in TEST() 59 OHOS::Ide::StageContext::GetInstance().GetHspAceModuleBuild(filePath); in TEST()
|
| H A D | GetModuleBufferFromHspFuzzer.cpp | 44 OHOS::Ide::StageContext::GetInstance().GetModuleBufferFromHsp("aaa", "bbb"); in TEST() 45 OHOS::Ide::StageContext::GetInstance().GetModuleBufferFromHsp(newFileName, "bbb.txt"); in TEST() 47 OHOS::Ide::StageContext::GetInstance().GetModuleBufferFromHsp(newFileName, "ets/modules.abc"); in TEST()
|
| H A D | ParseMockJsonFileFuzzer.cpp | 50 OHOS::Ide::StageContext::GetInstance().ParseMockJsonFile("aaa"); in TEST() 51 OHOS::Ide::StageContext::GetInstance().ParseMockJsonFile(filePath); in TEST() 53 OHOS::Ide::StageContext::GetInstance().ParseMockJsonFile(filePath); in TEST()
|
| H A D | ReadFileContentsFuzzer.cpp | 69 OHOS::Ide::StageContext::GetInstance().ReadFileContents("aaa"); in TEST() 71 OHOS::Ide::StageContext::GetInstance().ReadFileContents(filePath); in TEST() 73 OHOS::Ide::StageContext::GetInstance().ReadFileContents(filePath); in TEST()
|
| H A D | SetPkgContextInfoFuzzer.cpp | 101 OHOS::Ide::StageContext::GetInstance().SetPkgContextInfo(pkgContextMap, packageNameList); in TEST() 103 OHOS::Ide::StageContext::GetInstance().SetPkgContextInfo(pkgContextMap, packageNameList); in TEST() 105 OHOS::Ide::StageContext::GetInstance().SetPkgContextInfo(pkgContextMap, packageNameList); in TEST() 118 OHOS::Ide::StageContext::GetInstance().SetPkgContextInfo(pkgContextMap, packageNameList); in TEST()
|
| /ide/tools/previewer/util/ |
| H A D | NativeFileSystem.h | 21 namespace OHOS::Ide { namespace in OHOS
|
| H A D | FileSystem.cpp | 110 return OHOS::Ide::NativeFileSystem::FindSubfolderByName(parentFolderPath, subfolderName); in FindSubfolderByName()
|
| /ide/tools/previewer/util/unix/ |
| H A D | NativeFileSystem.cpp | 21 namespace OHOS::Ide { namespace in OHOS
|
| /ide/tools/previewer/test/unittest/util/ |
| H A D | NativeFileSystemTest.cpp | 59 std::string filePath = OHOS::Ide::NativeFileSystem::FindSubfolderByName(currDir, "mytestdirname"); in TEST_F()
|
| /ide/tools/previewer/util/windows/ |
| H A D | NativeFileSystem.cpp | 22 namespace OHOS::Ide { namespace in OHOS
|
| /ide/tools/previewer/jsapp/rich/ |
| H A D | JsAppImpl.cpp | 205 OHOS::Ide::StageContext::GetInstance().SetLoaderJsonPath(commandInfo.loaderJsonPath); in RunJsApp() 206 OHOS::Ide::StageContext::GetInstance().SetHosSdkPath(commandInfo.containerSdkPath); in RunJsApp() 207 OHOS::Ide::StageContext::GetInstance().GetModulePathMapFromLoaderJson(); in RunJsApp() 235 auto data = OHOS::Ide::StageContext::GetInstance().GetModuleBuffer(inputPath); in RunNormalAbility() 286 auto data = Ide::StageContext::GetInstance().GetModuleBuffer(inputPath); in RunDebugAbility() 324 std::optional<std::vector<uint8_t>> ctx = OHOS::Ide::StageContext::GetInstance().ReadFileContents(path); in SetSimulatorParams() 903 simulator->SetMockList(Ide::StageContext::GetInstance().ParseMockJsonFile(filePath)); in SetMockJsonInfo() 906 ability->SetMockModuleList(Ide::StageContext::GetInstance().ParseMockJsonFile(filePath)); in SetMockJsonInfo() 912 Ide::StageContext::GetInstance().SetPkgContextInfo(aceRunArgs.pkgContextInfoJsonStringMap, in SetPkgContextInfo() 1102 OHOS::Ide in StopAbility() [all...] |
| /ide/tools/previewer/jsapp/rich/external/ |
| H A D | StageContext.h | 28 namespace OHOS::Ide { namespace in OHOS
|
| H A D | StageContext.cpp | 28 namespace OHOS::Ide { namespace in OHOS
|