Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 25 of 76) sorted by relevance

1234

/test/testfwk/xdevice/src/xdevice/_core/executor/
Dsource.py303 filename, _ = get_filename_extension(file_path)
304 uid = unique_id("TestSource", filename)
307 os.path.join(os.path.dirname(file_path), filename))
309 module_name = _parse_module_name(config_file, filename)
311 desc = Descriptor(uuid=uid, name=filename,
312 source=TestSource(file_path, "", config_file, filename,
331 filename, ext = test_source.split()[0], "str"
333 filename, ext = get_filename_extension(test_source)
341 os.path.join(os.path.dirname(test_source), filename), ext, config)
351 os.path.join(os.path.dirname(test_source), filename),
[all …]
/test/xts/acts/arkui/ace_ets_web_dev_webviewController/entry/src/main/ets/MainAbility/pages/
DstoreWebArchive.ets66 … this.controller.storeWebArchive("/data/storage/el2/base/", true, (error, filename) => {
71 if (filename != null) {
72 console.info(`save web archive success: ${filename}`)
73 this.webFilename = filename
85 …s.controller.storeWebArchive("/data/storage/el2/base/index.html.mht", false, (error, filename) => {
90 if (filename != null) {
91 console.info(`save web archive success: ${filename}`)
92 this.webFilename = filename
105 .then(filename => {
106 if (filename != null) {
[all …]
DstoreWebArchiveSaveFail.ets66 … this.controller.storeWebArchive("/data/storage/el2/base/", true, (error, filename) => {
71 if (filename != null) {
72 console.info(`save web archive success: ${filename}`)
73 this.webFilename = filename
86 .then(filename => {
87 if (filename != null) {
88 this.webFilename = filename
90 console.info(`save web archive success: ${filename}`)
DwebViewONHttpErrorReceiveNumber.ets69 … this.controller.storeWebArchive("/data/storage/el2/base/test.html", false, (error, filename) => {
74 if (filename != null) {
75 console.info(`save web archive success: ${filename}`)
76 this.webFilename = filename
/test/xts/acts/arkui/ace_ets_web_dev_webviewControllerError/entry/src/main/ets/MainAbility/pages/
DwebViewContStoreWebArchiveError.ets67 … this.controllerTwo.storeWebArchive("/data/storage/el2/base/", true, (error, filename) => {
72 if (filename != null) {
73 console.info(`save web archive success: ${filename}`);
89 ….controller.storeWebArchive("/ErrorPath/Error/Err/E12345/Error.html", false, (error, filename) => {
99 if (filename != null) {
100 console.info(`save web archive success: ${filename}`);
112 … this.controller.storeWebArchive("/proc/sys/net/core/", true, (error, filename) => {
122 if (filename != null) {
123 console.info(`save web archive success: ${filename}`)
137 .then(filename => {
[all …]
/test/xts/acts/arkui/ace_ets_web_enhanced_stress/ace_ets_web_enhanced_stress_three/entry/src/main/ets/MainAbility/pages/
DWebViewControllerStoreWebArchiveTest.ets57 … this.controller.storeWebArchive("/data/storage/el2/base/", true, (error, filename) => {
62 if (filename != null) {
63 console.info(`save web archive success: ${filename}`)
82 .then(filename => {
83 if (filename != null) {
84 console.info(`save web archive success: ${filename}`)
106 …s.controller.storeWebArchive("/data/storage/el2/base/index.html.mht", false, (error, filename) => {
111 if (filename != null) {
112 console.info(`save web archive success: ${filename}`)
131 .then(filename => {
[all …]
/test/testfwk/developer_test/aw/python/distributed/common/
Dcommon.py79 def create_empty_result_file(savepath, filename, message=""): argument
85 if filename.endswith(".hap"):
86 filename = filename.split(".")[0]
100 (filename, message))
Ddevices.py47 filename = os.path.basename(hap_filepath)
52 "%s.bak" % filename))
Ddrivers.py51 def make_long_command_file(command, longcommand_path, filename): argument
52 sh_file_name = '%s.sh' % filename
/test/xts/acts/hiviewdfx/hidebugtest/hidebugtestjstest/src/main/js/test/
DHidebug.test.js145 let filename = 'cpuprofiler-' + timestamp.toString();
146 console.info(filename);
147 let path = '/data/app/el2/100/base/com.hidebug.test/files/' + filename + '.json'
148 hidebug.startProfiling(filename);
269 let filename = 'heap-' + timestamp.toString();
270 console.info(filename);
271 let path = '/data/app/el2/100/base/com.hidebug.test/files/' + filename + '.heapsnapshot'
272 hidebug.dumpHeapData(filename);
494 let filename = "cpuprofiler_" + timestamp.toString();
495 hidebug.startJsCpuProfiling(filename);
[all …]
/test/xts/acts/multimedia_lite/utils_posix/common/src/
DActsTestMediaUtils.cpp43 int32_t FileCheck(const char *filename) in FileCheck() argument
46 fileTmp.open(filename); in FileCheck()
77 const char *filename = filePath.data(); in SampleSaveCapture() local
78 int32_t ret = FileCheck(filename); in SampleSaveCapture()
/test/testfwk/developer_test/src/core/driver/
Ddrivers.py193 def _create_empty_result_file(filepath, filename, error_message): argument
199 if filename.endswith(".hap"):
200 filename = filename.split(".")[0]
214 (filename, error_message))
247 def _create_fuzz_crash_file(filepath, filename): argument
259 'errors="0" failures="1" tests="1">\n' % filename)
262 'status="run">\n' % (filename, filename))
273 def _create_fuzz_pass_file(filepath, filename): argument
285 'errors="0" failures="0" tests="1">\n' % filename)
288 'status="run"/>\n' % (filename, filename))
[all …]
/test/xts/acts/hiviewdfx/utils/native/
Dfile_utils.h33 std::string ReadFile(std::string filename);
39 int GetTxtLine(std::string filename);
40 std::string ReadFile(std::string filename);
Dfile_utils.cpp163 int GetTxtLine(std::string filename) in GetTxtLine() argument
165 FILE *fd = fopen(filename.c_str(), "r"); in GetTxtLine()
181 std::string ReadFile(std::string filename) in ReadFile() argument
183 std::ifstream ifile(filename); in ReadFile()
/test/xts/acts/multimedia/media/media_js_standard/
DAvVideoRecorderTestBase.js39 let filename = `avRecorder_${timestamp}.mp4`;
40 return filename;
/test/xts/tools/lite/reliability/
DNativePressTest.py92 for filename in filenames:
93 print("Get exception file " + filename)
95 filename + " " + testScriptPath + "\\faultlog\\")
97 filename + " " + testScriptPath + "\\faultlog\\")
/test/xts/acts/global/global_napi_test/entry/src/main/cpp/napi/
Dglobal_napi_test.cpp39 std::string filename(strBuf, strSize); in GetFileList() local
40 RawDir* rawDir = OH_ResourceManager_OpenRawDir(mNativeResMgr, filename.c_str()); in GetFileList()
92 std::string filename(strBuf, strSize); in GetRawFileContent() local
93 RawFile *rawFile = OH_ResourceManager_OpenRawFile(mNativeResMgr, filename.c_str()); in GetRawFileContent()
132 std::string filename(strBuf, strSize); in GetRawFileContent64() local
133 RawFile64 *rawFile = OH_ResourceManager_OpenRawFile64(mNativeResMgr, filename.c_str()); in GetRawFileContent64()
250 std::string filename(strBuf, strSize); in GetRawFileDescriptor() local
251 RawFile *rawFile = OH_ResourceManager_OpenRawFile(mNativeResMgr, filename.c_str()); in GetRawFileDescriptor()
277 std::string filename(strBuf, strSize); in GetRawFileDescriptor64() local
278 RawFile64 *rawFile = OH_ResourceManager_OpenRawFile64(mNativeResMgr, filename.c_str()); in GetRawFileDescriptor64()
/test/xts/acts/arkui/ace_ets_web_error_code/entry/src/main/ets/MainAbility/pages/
DwebViewControllerErrorCode.ets375 … this.controllerNull.storeWebArchive("/data/storage/el2/base/", false, (error, filename) => {
381 if (filename != null) {
382 console.info(`save web archive success: ${filename}`)
396 … this.controllerNull.storeWebArchive("/data/storage/el2/base/", true, (error, filename) => {
402 if (filename != null) {
403 console.info(`save web archive success: ${filename}`)
417 … this.controller.storeWebArchive("/data/storage/el2/,/base/", false, (error, filename) => {
423 if (filename != null) {
424 console.info(`save web archive success: ${filename}`)
438 … this.controller.storeWebArchive("/data/storage/el2/,/base/", true, (error, filename) => {
[all …]
/test/xts/acts/arkui/ace_ets_web_enhanced/ace_ets_web_enhanced_three/entry/src/main/ets/MainAbility/pages/
DwebViewControllerPart2.ets327 … this.controller.storeWebArchive("/data/storage/el2/base/", true, (error, filename) => {
332 if (filename != null) {
333 console.info(`save web archive success: ${filename}`)
334 Utils.emitEvent(filename, 37013)
348 .then(filename => {
349 if (filename != null) {
350 console.info(`save web archive success: ${filename}`)
351 Utils.emitEvent(filename, 37014)
367 …s.controller.storeWebArchive("/data/storage/el2/base/index.html.mht", false, (error, filename) => {
372 if (filename != null) {
[all …]
/test/testfwk/developer_test/src/core/
Dutils.py29 filename, ext = os.path.splitext(fullname)
30 return filename, ext
195 filename = os.path.basename(suite_file)
196 suitename = filename.split("FuzzTest")[0]
/test/xts/acts/multimedia_lite/utils_posix/common/include/
DActsTestMediaUtils.h49 int32_t FileCheck(const char *filename);
/test/xts/acts/multimedia/image/image_js_standard/imageGetImageProperty/src/main/js/test/
DgetPropertySecond.test.js105 async function getImagePropertyPromise(filename,done, testNum, key) { argument
106 await getFd(filename);
127 async function getImagePropertyCb(filename,done, testNum, key) { argument
128 await getFd(filename);
148 async function getImagePropertyCb2(filename,done, testNum, key) { argument
149 await getFd(filename);
/test/xts/acts/commonlibrary/ets_utils/threadWorker_lib_standard/entry/src/main/ets/workers/
Dnewworker.js50 …or " + data.lineno + ", msg = " + data.message + ", filename = " + data.filename + ", colno = " + …
/test/xts/acts/commonlibrary/ets_utils/worker_lib_standard/entry/src/main/ets/workers/
Dworker.js54 …or " + data.lineno + ", msg = " + data.message + ", filename = " + data.filename + ", colno = " + …
/test/testfwk/xdevice/src/xdevice/_core/config/
Dresource_manager.py96 filename, ext = os.path.splitext(fullname)
97 return filename, ext

1234