/developtools/profiler/device/plugins/hilog_plugin/test/unittest/ |
D | hilog_plugin_unittest.cpp | 62 HilogInfo info; in WriteFunc() local 63 if (info.ParseFromArray(data, size) <= 0) { in WriteFunc() 66 g_proto.push_back(info); in WriteFunc() 246 HilogLine info; variable 250 plugin.ParseLogLineInfo(data, 0, info); 251 EXPECT_EQ(info.mutable_detail()->tv_sec(), (uint64_t)0); 252 EXPECT_EQ(info.mutable_detail()->tv_nsec(), (uint64_t)0); 253 EXPECT_EQ(info.mutable_detail()->pid(), (uint32_t)0); 254 EXPECT_EQ(info.mutable_detail()->tid(), (uint32_t)0); 255 EXPECT_EQ(info.mutable_detail()->level(), (uint32_t)0); [all …]
|
/developtools/profiler/hidebug/test/unittest/js/ |
D | ExampleJsunit.test.js | 27 console.info('HidebugJsTest beforeAll called') 34 console.info('HidebugJsTest afterAll called') 41 console.info('HidebugJsTest beforeEach called') 48 console.info('HidebugJsTest afterEach called') 67 … console.info("---------------------------HidebugJsTest_001----------------------------------"); 96 … console.info("---------------------------HidebugJsTest_002----------------------------------"); 125 … console.info("---------------------------HidebugJsTest_003----------------------------------"); 133 console.info(error.code); 134 console.info(error.message); 146 … console.info("---------------------------HidebugJsTest_004----------------------------------"); [all …]
|
/developtools/profiler/device/services/shared_memory/src/ |
D | share_memory_block.cpp | 134 header_->info.readOffset_ = 0; in CreateBlock() 135 header_->info.writeOffset_ = 0; in CreateBlock() 136 header_->info.memorySize_ = size - sizeof(BlockHeader); in CreateBlock() 137 header_->info.bytesCount_ = 0; in CreateBlock() 138 header_->info.chunkCount_ = 0; in CreateBlock() 144 pthread_mutex_init(&header_->info.mutex_, &muAttr); in CreateBlock() 188 uint32_t wp = header_->info.writeOffset_.load(); in GetCurrentFreeMemory() 189 if (wp + realSize > header_->info.memorySize_) { // 后面部分放不下,从头开始放 in GetCurrentFreeMemory() 190 if (header_->info.readOffset_.load() == 0) { in GetCurrentFreeMemory() 196 …if (wp < header_->info.readOffset_.load() && header_->info.readOffset_.load() < wp + realSize) { … in GetCurrentFreeMemory() [all …]
|
/developtools/integration_verification/tools/deps_guard/elf_file_mgr/module_info/ |
D | compile_info_loader.py | 27 info = CompileInfoLoader.__load_output_module_info(product_out_path) 31 if info: 32 for item in info: 112 info = {} 113 info["name"] = item["dest"][0] 114 if info["name"].startswith("updater/"): 116 info["name"] = item["dest"][1] 121 info["labelPath"] = item["label"] 123 info["labelPath"] = "" 124 if info["labelPath"].find("(") > 0: [all …]
|
/developtools/hiperf/interfaces/kits/js/napi/ |
D | hiperf_client_napi.cpp | 75 static std::string GetJsStringFromOption(const napi_env &env, const napi_callback_info &info) in GetJsStringFromOption() argument 79 NAPI_CALL_BASE(env, napi_get_cb_info(env, info, &argc, args, nullptr, nullptr), ""); in GetJsStringFromOption() 93 static bool GetBoolFromOption(const napi_env &env, const napi_callback_info &info) in GetBoolFromOption() argument 97 NAPI_CALL_BASE(env, napi_get_cb_info(env, info, &argc, args, nullptr, nullptr), false); in GetBoolFromOption() 110 static uint32_t GetUintFromOption(const napi_env &env, const napi_callback_info &info) in GetUintFromOption() argument 114 NAPI_CALL_BASE(env, napi_get_cb_info(env, info, &argc, args, nullptr, nullptr), 0); in GetUintFromOption() 127 static napi_value ResetOption(napi_env env, napi_callback_info info) in ResetOption() argument 138 static napi_value SetOutputFilename(napi_env env, napi_callback_info info) in SetOutputFilename() argument 142 const std::string option = GetJsStringFromOption(env, info); in SetOutputFilename() 150 static napi_value GetOutputFileName(napi_env env, napi_callback_info info) in GetOutputFileName() argument [all …]
|
/developtools/ace_js2bundle/ace-loader/sample/ServiceAbility/ |
D | service.js | 18 console.info('ServiceAbility onStart'); 21 console.info('ServiceAbility onStop'); 24 console.info('ServiceAbility onConnect'); 27 console.info('ServiceAbility onReconnect'); 30 console.info('ServiceAbility onDisconnect'); 33 console.info('ServiceAbility onCommand'); 36 console.info('ServiceAbility onRemoteRequest');
|
/developtools/integration_verification/DeployDevice/src/func/liteOsUpgrade/ |
D | liteOsUpgrade_L3_app.py | 63 logger.info(status) 64 logger.info(type(status)) 65 logger.info(f'升级状态:{str(status)}') 107 logger.info("download hash string:%s, hash value:%s" % (save_file_str, save_file_name)) 153 logger.info("Get lock. Start to ") 163 logger.info(f'modify path:{source_path}') 201 logger.info('path is errror.check the link_path is right,please') 202 logger.info(str(e)) 236 logger.info('enter fastboot status'.center(50,'*')) 255 … logger.info('adb -s %s reboot fastboot retcode: %s'% (self.params_dict.get('sn'),str(retcode))) [all …]
|
D | liteOsUpgrade_RK3568_app.py | 107 logger.info(logFilePath) 113 logger.info(report_path) 115 logger.info(scriptpath) 117 logger.info(local_image_path) 122 logger.info(loader_tool_path) 128 logger.info(f) 133 logger.info("3568 board is connected.") 139 logger.info(h) 148 logger.info(j) 158 logger.info(k) [all …]
|
D | liteOsUpgrade_L2_app.py | 109 logger.info("download hash value:%s" % (save_file_name)) 147 logger.info("Get lock. Start to ") 227 logger.info("hiburn tool path is: %s" % hiburntoolpath) 234 logger.info("copy %s to %s" % (toolpath, hiburntoolpath)) 239 logger.info("unzip to %s succ" % (hiburntoolpath)) 248 logger.info("replace line: %s " % line) 280 logger.info(f'scriptfile:{scriptfile}') 287 logger.info("cmd is: %s" % cmd) 289 logger.info("usb upgrade result: %s " % ret) 290 logger.info("print console: %s " % outpri) [all …]
|
D | liteOsUpgrade_linux_app.py | 110 logger.info("download hash value:%s" % (save_file_name)) 147 logger.info("Get lock. Start to ") 221 logger.info("hiburn tool path is: %s" % hiburntoolpath) 228 logger.info("copy %s to %s" % (toolpath, hiburntoolpath)) 233 logger.info("unzip to %s succ" % (hiburntoolpath)) 242 logger.info("replace line: %s " % line) 265 logger.info(f'scriptfile:{scriptfile}') 268 logger.info("before excute hiburn,current path is: %s" % current_path) 270 logger.info("excute hiburn path is: %s" % os.getcwd()) 281 logger.info("cmd is: %s" % cmd) [all …]
|
D | liteOsUpgrade_L1_shequ_app copy.py | 107 logger.info("download hash value:%s" % (save_file_name)) 144 logger.info("Get lock. Start to ") 218 logger.info("hiburn tool path is: %s" % hiburntoolpath) 225 logger.info("copy %s to %s" % (toolpath, hiburntoolpath)) 230 logger.info("unzip to %s succ" % (hiburntoolpath)) 239 logger.info("replace line: %s " % line) 266 logger.info(f'scriptfile:{scriptfile}') 269 logger.info("before excute hiburn,current path is: %s" % current_path) 271 logger.info("excute hiburn path is: %s" % os.getcwd()) 280 logger.info("cmd is: %s" % cmd) [all …]
|
D | liteOsUpgrade_L1_shequ_app.py | 108 logger.info("download hash value:%s" % (save_file_name)) 145 logger.info("Get lock. Start to ") 219 logger.info("hiburn tool path is: %s" % hiburntoolpath) 226 logger.info("copy %s to %s" % (toolpath, hiburntoolpath)) 231 logger.info("unzip to %s succ" % (hiburntoolpath)) 240 logger.info("replace line: %s " % line) 267 logger.info(f'scriptfile:{scriptfile}') 270 logger.info("before excute hiburn,current path is: %s" % current_path) 272 logger.info("excute hiburn path is: %s" % os.getcwd()) 281 logger.info("cmd is: %s" % cmd) [all …]
|
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/testdata/expect/ |
D | expect_EntryAbility.ts | 21 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onCreate'); 25 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onDestroy'); 30 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageCreate'); 37 …hilog.info(0x0000, 'testTag', 'Succeeded in loading the content. Data: %{public}s', JSON.stringify… 43 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageDestroy'); 48 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onForeground'); 53 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onBackground');
|
D | terser_processed_expected_code.txt | 7 hilog.info(0, "testTag", "%{public}s", "Ability onCreate"); 10 hilog.info(0, "testTag", "%{public}s", "Ability onDestroy"); 13 hilog.info(0, "testTag", "%{public}s", "Ability onWindowStageCreate"); 16 …ic}s", null !== (t = JSON.stringify(o)) && void 0 !== t ? t : "") : hilog.info(0, "testTag", "Succ… 20 hilog.info(0, "testTag", "%{public}s", "Ability onWindowStageDestroy"); 23 hilog.info(0, "testTag", "%{public}s", "Ability onForeground"); 26 hilog.info(0, "testTag", "%{public}s", "Ability onBackground");
|
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/testdata/testcase_def/entry/src/main/entryability/ |
D | EntryAbility.ts | 21 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onCreate'); 25 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onDestroy'); 30 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageCreate'); 37 …hilog.info(0x0000, 'testTag', 'Succeeded in loading the content. Data: %{public}s', JSON.stringify… 43 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageDestroy'); 48 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onForeground'); 53 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onBackground');
|
D | EntryAbility.js | 19 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onCreate'); 22 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onDestroy'); 26 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageCreate'); 33 …hilog.info(0x0000, 'testTag', 'Succeeded in loading the content. Data: %{public}s', (_b = JSON.str… 38 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageDestroy'); 42 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onForeground'); 46 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onBackground');
|
/developtools/profiler/device/plugins/ftrace_plugin/src/ |
D | kernel_symbols_parser.cpp | 76 KernelSymbol info; in Parse() local 86 if (ss >> addrStr >> info.type >> info.name) { in Parse() 87 info.addr = strtoull(addrStr.c_str(), nullptr, ADDR_VALUE_BASE); in Parse() 89 if (info.addr == 0) { in Parse() 92 if (StringUtils::EndsWith(info.name, ".cfi")) { in Parse() 93 info.name = info.name.substr(0, info.name.size() - (sizeof(".cfi") - 1)); in Parse() 95 if (IsValidTextSymbol(info)) { in Parse() 99 kernelSymbols_[count] = info; in Parse()
|
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/testdata/testcase_def/entry/build/entry/src/main/entryability/ |
D | EntryAbility.js | 19 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onCreate'); 22 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onDestroy'); 26 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageCreate'); 33 …hilog.info(0x0000, 'testTag', 'Succeeded in loading the content. Data: %{public}s', (_b = JSON.str… 38 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onWindowStageDestroy'); 42 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onForeground'); 46 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onBackground');
|
/developtools/integration_verification/DeployDevice/src/aw/Download/ |
D | Download.py | 61 logger.info(torrent_exist_url) 73 logger.info("The torrent of %s created seccessfully" % source_path) 77 … logger.info("The torrent of %s is creating , please wait for a moment" % source_path) 79 logger.info(ret) 81 logger.info("The torrent of %s created failed" % source_path) 90 logger.info("The torrent of %s downloaded successed" % source_path) 96 logger.info("The torrent of %s downloaded failed" % source_path) 129 logger.info("wait other process download") 134 logger.info("%s exists. Package has been download successfully" \ 158 logger.info("%s has been download by other process." % download_dir) [all …]
|
D | Downloadold.py | 61 logger.info(torrent_exist_url) 73 logger.info("The torrent of %s created seccessfully" % source_path) 77 … logger.info("The torrent of %s is creating , please wait for a moment" % source_path) 79 logger.info(ret) 81 logger.info("The torrent of %s created failed" % source_path) 90 logger.info("The torrent of %s downloaded successed" % source_path) 96 logger.info("The torrent of %s downloaded failed" % source_path) 128 logger.info("wait other process download") 133 logger.info("%s exists. Package has been download successfully" \ 156 logger.info("%s has been download by other process." % download_dir) [all …]
|
/developtools/integration_verification/DeployDevice/src/aw/Telnet/ |
D | TelnetClient.py | 24 logger.info("init telnet %s:%s" % (telip, telport)) 31 logger.info("telnet login") 33 logger.info("cmd result: %s" % rets) 35 logger.info("Noneed login") 49 logger.info(send_cmd) 59 logger.info("send enter to board") 66 logger.info("retry send Enter") 76 logger.info("result: %s" % rets) 89 logger.info("result: %s" % rets) 101 logger.info("cmd is: %s" % sendcmd) [all …]
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/item/ |
D | NetWork.ts | 37 connection.getNetCapabilities(netHandle).then(function (info) { 38 if (info !== undefined) { 62 connection.getNetCapabilities(netHandle).then(function (info) { 63 SPLogger.DEBUG(NetWork.name, 'networkInfo up:' + info.linkUpBandwidthKbps); 64 SPLogger.DEBUG(NetWork.name, 'networkInfo down:' + info.linkDownBandwidthKbps); 65 this.catchNetDown = info.linkDownBandwidthKbps.toString(); 66 this.catchNetUp = info.linkUpBandwidthKbps.toString();
|
/developtools/smartperf_host/ide/src/trace/component/ |
D | SpInfoAndStas.ts | 19 import { info } from '../../log/Log'; 42 info(`InfoAndStatsData query time is: ${durTime}ms`); 48 info('metaData(metric) size is: ', this.metaData.length); 61 info('infoData(metric) size is: ', this.infoData.length); 110 let info = await querySelectTraceStats(); 111 if (info) { 112 for (let index = 0; index < info.length; index++) { 114 eventName: info[index].event_name, 115 statType: info[index].stat_type, 116 count: info[index].count,
|
/developtools/profiler/device/plugins/api/test/unittest/ |
D | buffer_write_test.cpp | 64 header_->info.readOffset_ = 0; in InitShareMemory1() 65 header_->info.writeOffset_ = 0; in InitShareMemory1() 66 header_->info.memorySize_ = SMB1_SIZE - sizeof(ShareMemoryBlock::BlockHeader); in InitShareMemory1() 67 header_->info.bytesCount_ = 0; in InitShareMemory1() 68 header_->info.chunkCount_ = 0; in InitShareMemory1() 101 header_->info.readOffset_ = 0; in InitShareMemory2() 102 header_->info.writeOffset_ = 0; in InitShareMemory2() 103 header_->info.memorySize_ = SMB2_SIZE - sizeof(ShareMemoryBlock::BlockHeader); in InitShareMemory2() 104 header_->info.bytesCount_ = 0; in InitShareMemory2() 105 header_->info.chunkCount_ = 0; in InitShareMemory2() [all …]
|
/developtools/profiler/device/plugins/hiebpf_plugin/tools/src/ |
D | ebpf_converter.cpp | 241 SymbolInfo info = {}; in SymbolInfoParsing() local 242 CHK(Read(reinterpret_cast<void*>(&info), EVENT_SYM_FIXED_SIZE)); in SymbolInfoParsing() 244 info.strTab = new char[info.strTabLen + 1]; in SymbolInfoParsing() 245 if (memset_s(info.strTab, info.strTabLen + 1, 0, info.strTabLen + 1) != EOK) { in SymbolInfoParsing() 249 if (info.strTabLen > 0) { in SymbolInfoParsing() 254 CHK(Read(reinterpret_cast<void*>(info.strTab), info.strTabLen)); in SymbolInfoParsing() 256 info.symTab = new char[info.symTabLen + 1]; in SymbolInfoParsing() 257 if (memset_s(info.symTab, info.symTabLen + 1, 0, info.symTabLen + 1) != EOK) { in SymbolInfoParsing() 261 if (info.symTabLen > 0) { in SymbolInfoParsing() 266 CHK(Read(reinterpret_cast<void*>(info.symTab), info.symTabLen)); in SymbolInfoParsing() [all …]
|