/test/testfwk/developer_test/src/core/command/ |
D | distribute_utils.py | 108 output = device.execute_shell_command(command) 109 if "" == output: 111 packet_lose = re.findall(r"\d+%", output) 119 output = device.execute_shell_command("getprop ohos.boot.hardware") 120 if output == "": 123 isemulator = re.findall(r"read only", output) 124 output = device.execute_shell_command("ifconfig") 125 if output == "": 129 ipaddress = re.findall(r"\b10\.0\.2\.[0-9]{1,3}\b", output) 132 ipaddress = re.findall(ip_template, output)
|
/test/ostest/wukong/common/src/ |
D | app_manager.cpp | 83 std::string output; in StartAbilityByBundleInfo() local 86 output.append(HELP_MSG_NO_ABILITY_NAME_OPTION + "\n"); in StartAbilityByBundleInfo() 89 output.append(HELP_MSG_NO_BUNDLE_NAME_OPTION + "\n"); in StartAbilityByBundleInfo() 97 output = STRING_START_ABILITY_OK; in StartAbilityByBundleInfo() 99 output = STRING_START_ABILITY_NG; in StartAbilityByBundleInfo() 102 DEBUG_LOG_STR("%s", output.c_str()); in StartAbilityByBundleInfo()
|
/test/testfwk/developer_test/aw/python/distributed/distribute/ |
D | distribute.py | 132 output = device.shell_with_output(check_command) 133 if output == "": 136 print("thread info: %s" % output) 211 output = device.shell_with_output("getprop ro.hardware") 212 if output == "": 215 isemulator = re.findall(r"ranchu", output) 216 output = device.shell_with_output("ifconfig") 217 if output == "": 221 ipaddress = re.findall(r"\b10\.0\.2\.[0-9]{1,3}\b", output) 224 ipaddress = re.findall(ip_template, output) [all …]
|
/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/ |
D | plugin_render.cpp | 424 napi_value output; in TestGetXComponentId() local 425 NAPI_CALL(env, napi_create_string_utf8(env, idStr, id.length(), &output)); in TestGetXComponentId() 427 return output; in TestGetXComponentId() 434 napi_value output; in TestOnSurfaceCreated() local 435 NAPI_CALL(env, napi_get_boolean(env, isCreated_ == instance_.size(), &output)); in TestOnSurfaceCreated() 438 return output; in TestOnSurfaceCreated() 444 napi_value output; in TestGetXComponentSize_Height() local 445 NAPI_CALL(env, napi_create_uint32(env, xcHeight_, &output)); in TestGetXComponentSize_Height() 447 return output; in TestGetXComponentSize_Height() 453 napi_value output; in TestGetXComponentSize_Width() local [all …]
|
/test/testfwk/xdevice/src/xdevice/_core/driver/ |
D | parser_lite.py | 44 def _process_output(self, output, end_mark="\n"): argument 48 return method(self, output, end_mark) 50 content = output 69 def __read__(self, output): argument 70 lines = self._process_output(output)
|
/test/xts/device_attest_lite/services/core/utils/ |
D | attest_utils.c | 84 void URLSafeBase64ToBase64(const char* input, size_t inputLen, uint8_t** output, size_t* outputLen) in URLSafeBase64ToBase64() argument 87 if (input == NULL || inputLen == 0 || output == NULL || outputLen == NULL) { in URLSafeBase64ToBase64() 95 *output = (uint8_t *)ATTEST_MEM_MALLOC(*outputLen + 1); in URLSafeBase64ToBase64() 96 if (*output == NULL) { in URLSafeBase64ToBase64() 102 (*output)[i] = '+'; in URLSafeBase64ToBase64() 106 (*output)[i] = '/'; in URLSafeBase64ToBase64() 109 (*output)[i] = input[i]; in URLSafeBase64ToBase64() 112 (*output)[i] = '='; in URLSafeBase64ToBase64()
|
/test/xts/acts/ai/neural_network_runtime/common/ |
D | model.h | 36 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, TENSOR_SHAPE, outputValue, ADD_DATA_LENGTH}; member 38 .operands = {input0, input1, activation, output}, 59 …OHNNOperandTest output = {OH_NN_FLOAT32, OH_NN_TENSOR, {-1, -1, -1, -1}, outputValue, sizeof(outpu… member 62 … .operands = {dynamicInput, kernel, strides, padMode, activation, output}, 98 .operands = {{addModel.input0, addModel.input1, addModel.activation, addModel.output},
|
/test/xts/acts/arkui/ace_napi_test/entry/src/main/cpp/napi/ |
D | test_string.cpp | 43 napi_value output; in TestLatin1() local 44 NAPI_CALL(env, napi_create_string_latin1(env, buffer, copied, &output)); in TestLatin1() 46 return output; in TestLatin1()
|
D | napi_test.cpp | 302 napi_value output = NULL; in openAndCloseHandleScope() local 303 NAPI_CALL(env, napi_create_object(env, &output)); in openAndCloseHandleScope() 305 return output; in openAndCloseHandleScope() 312 napi_value output = NULL; in openAndCloseEscapableHandleScope() local 314 NAPI_CALL(env, napi_create_object(env, &output)); in openAndCloseEscapableHandleScope() 315 NAPI_CALL(env, napi_escape_handle(env, scope, output, &escapee)); in openAndCloseEscapableHandleScope() 562 napi_value output; in createAndGetInt32() local 563 NAPI_CALL(env, napi_create_int32(env, value, &output)); in createAndGetInt32() 565 return output; in createAndGetInt32() 577 napi_value output; in createAndGetUInt32() local [all …]
|
/test/xts/device_attest/services/core/utils/ |
D | attest_utils.c | 93 void URLSafeBase64ToBase64(const char* input, size_t inputLen, uint8_t** output, size_t* outputLen) in URLSafeBase64ToBase64() argument 96 if (input == NULL || inputLen == 0 || output == NULL || outputLen == NULL) { in URLSafeBase64ToBase64() 104 *output = (uint8_t *)ATTEST_MEM_MALLOC(*outputLen + 1); in URLSafeBase64ToBase64() 105 if (*output == NULL) { in URLSafeBase64ToBase64() 111 (*output)[i] = '+'; in URLSafeBase64ToBase64() 115 (*output)[i] = '/'; in URLSafeBase64ToBase64() 118 (*output)[i] = input[i]; in URLSafeBase64ToBase64() 121 (*output)[i] = '='; in URLSafeBase64ToBase64()
|
/test/xts/device_attest_lite/services/core/attest/ |
D | attest_service_device.c | 189 …ergePcid(char *osPcid, int32_t osPcidLen, char *privatePcid, int32_t privatePcidLen, char **output) in MergePcid() argument 191 if (output == NULL || osPcid == NULL || osPcidLen == 0) { in MergePcid() 216 *output = pcidBuff; in MergePcid() 220 static int32_t EncodePcid(char *buff, int32_t bufLen, char **output) in EncodePcid() argument 222 if (output == NULL || buff == NULL || bufLen == 0) { in EncodePcid() 240 *output = pcidSha256; in EncodePcid()
|
/test/xts/device_attest/services/core/attest/ |
D | attest_service_device.c | 188 …ergePcid(char *osPcid, int32_t osPcidLen, char *privatePcid, int32_t privatePcidLen, char **output) in MergePcid() argument 190 if (output == NULL || osPcid == NULL || osPcidLen == 0) { in MergePcid() 215 *output = pcidBuff; in MergePcid() 219 static int32_t EncodePcid(char *buff, int32_t bufLen, char **output) in EncodePcid() argument 221 if (output == NULL || buff == NULL || bufLen == 0) { in EncodePcid() 239 *output = pcidSha256; in EncodePcid()
|
/test/xts/hats/ai/nnrt/hdi/common/ |
D | hdi_nnrt_test_utils.cpp | 53 OH_NN_Tensor output{OH_NN_FLOAT32, 3, dimensions, nullptr, OH_NN_TENSOR}; in BuildAddGraph() local 56 ASSERT_EQ(OH_NN_SUCCESS, OH_NNModel_AddTensor(*model, &output)); in BuildAddGraph() 92 OH_NN_Tensor output{OH_NN_FLOAT32, 3, dimensions, nullptr, OH_NN_TENSOR}; in BuildAddGraphDynamic() local 95 ASSERT_EQ(OH_NN_SUCCESS, OH_NNModel_AddTensor(*model, &output)); in BuildAddGraphDynamic() 263 bool CheckExpectOutput(const std::vector<float> &output, const std::vector<float> &expect) in CheckExpectOutput() argument 265 if (output.empty() || expect.empty()) { in CheckExpectOutput() 269 int outputSize = output.size(); in CheckExpectOutput() 276 if (std::abs(float(output[i]) - float(expect[i])) > 1e-8) { in CheckExpectOutput() 278 float(output[i])); in CheckExpectOutput()
|
/test/xts/tools/lite/build/ |
D | suite.py | 82 utils.copy_file(output=_out_file, 86 utils.copy_file(output=_out_file, 93 utils.copy_file(output=_out_file, 114 utils.copy_file(output=_config_file, sources=_test_xml, 192 exc.returncode, exc.cmd, exc.output)) 203 utils.copy_file(output=tool_dir, source_dirs=dist_dir, 205 utils.copy_file(output=tool_dir, source_dirs=ohos_dist_dir, 208 utils.copy_file(output=root_dir, sources=run_scripts, 211 utils.copy_file(output=to_dir, source_dirs=config_dir,
|
D | utils.py | 117 def copy_file(output, sources="", source_dirs="", to_dir=True): argument 132 _output = output.strip() 155 def _copy_files(sources, output): argument 162 new_output = os.path.join(output, os.path.dirname(source_file). 168 file_util.copy_file(source_file, output) 172 def _copy_dir(sources, output): argument 176 dir_util.copy_tree(source_file, output)
|
/test/xts/tools/build/ |
D | utils.py | 91 def copy_file(output, sources="", source_dirs="", to_dir=True): argument 106 _output = output.strip() 127 def _copy_files(sources, output): argument 131 file_util.copy_file(source_file, output) 134 def _copy_dir(sources, output): argument 138 dir_util.copy_tree(source_file, output)
|
D | suite.py | 91 exc.returncode, exc.cmd, exc.output)) 98 utils.copy_file(output=dist_tools_dir, source_dirs=gen_dir0, 100 utils.copy_file(output=dist_tools_dir, source_dirs=gen_dir1, 102 utils.copy_file(output=self.args.suite_out_dir, sources=run_scripts, 107 utils.copy_file(output=acts_validator_tools_dir, source_dirs=gen_dir0, 109 utils.copy_file(output=acts_validator_tools_dir, source_dirs=gen_dir1, 111 utils.copy_file(output=acts_validator_dir, sources=run_scripts, 117 utils.copy_file(output=dist_configs_dir, 119 utils.copy_file(output=acts_validator_config_dir, 124 utils.copy_file(output=dist_resources_dir, [all …]
|
/test/xts/acts/security/cryptoFramework/js_api_test_one/src/main/js/test/utils/digestalgorithm/ |
D | publicDigestCallback.js | 73 macGenerator.doFinal((err, output) => { 79 "[Callback]macGenerator doFinal success! output is: " + output 81 resolve(output); 103 mdGenerator.digest((err, output) => { 109 "[Callback]mdGenerator digest success! output is: " + output 111 resolve(output);
|
/test/xts/acts/ability/ability_runtime/aacommand/AACommandPrintOneTest/entry/src/main/ets/test/ |
D | Ability.test.ets | 46 … Verify that the test framework can be started normally and the logs can be output normally through 60 … Verify that the test framework can be started normally and the logs can be output normally through 84 … Verify that the test framework can be started normally and the logs can be output normally through 110 … Verify that the test framework can be started normally and the logs can be output normally through 124 … Verify that the test framework can be started normally and the logs can be output normally through 138 …tc.desc: Verify that the test framework can be started normally and the logs can be output normally 162 … Verify that the test framework can be started normally and the logs can be output normally through 188 …tc.desc: Verify that the test framework can be started normally and the logs can be output normally
|
/test/testfwk/arkxtest/uitest/record/ |
D | offset.h | 133 std::string output = ss.str(); in ToString() local 134 return output; in ToString()
|
/test/xts/acts/ability/ability_runtime/aacommand/AACommandRelyHap/entry/src/main/ets/test/ |
D | AACommandPrintOne.test.ets | 25 … Verify that the test framework can be started normally and the logs can be output normally through 48 … Verify that the test framework can be started normally and the logs can be output normally through 77 … Verify that the test framework can be started normally and the logs can be output normally through 106 … Verify that the test framework can be started normally and the logs can be output normally through 124 … Verify that the test framework can be started normally and the logs can be output normally through 143 …tc.desc: Verify that the test framework can be started normally and the logs can be output normally 171 … Verify that the test framework can be started normally and the logs can be output normally through 200 …tc.desc: Verify that the test framework can be started normally and the logs can be output normally
|
/test/xts/acts/ability/ability_runtime/aacommand/AACommandPrintSync/entry/src/main/ets/test/ |
D | AACommandPrint.test.ets | 24 … Verify that the test framework can be started normally and the logs can be output normally through 45 … Verify that the test framework can be started normally and the logs can be output normally through 73 … Verify that the test framework can be started normally and the logs can be output normally through 102 … Verify that the test framework can be started normally and the logs can be output normally through
|
/test/xts/acts/ability/ability_runtime/aacommand/AACommandPrintSyncTest/entry/src/main/ets/test/ |
D | Ability.test.ets | 44 … Verify that the test framework can be started normally and the logs can be output normally through 58 … Verify that the test framework can be started normally and the logs can be output normally through 82 … Verify that the test framework can be started normally and the logs can be output normally through 107 … Verify that the test framework can be started normally and the logs can be output normally through
|
/test/xts/tools/lite/checksum/src/ |
D | checksum_file.c | 135 unsigned char *output = NULL; in CalcSingleFileSha256() local 153 output = GetChecksumResult(&mesgd); in CalcSingleFileSha256() 154 HexArrayToString(output, outputLen, outputStr); in CalcSingleFileSha256()
|
/test/xts/device_attest_lite/services/core/include/utils/ |
D | attest_utils.h | 44 void URLSafeBase64ToBase64(const char* input, size_t inputLen, uint8_t** output, size_t* outputLen);
|