Home
last modified time | relevance | path

Searched refs:util (Results 1 – 25 of 204) sorted by relevance

123456789

/test/xts/acts/global/i18n_standard/intljs/src/main/js/test/
DUtilInI18n.test.js66 let util = new I18n.Util();
67 let value = util.unitConvert({unit: 'cup', measureSystem: 'US'},
83 let util = new I18n.Util();
84 let value = util.unitConvert({unit: 'cup', measureSystem: 'US'},
100 let util = new I18n.Util();
101 let value = util.unitConvert({unit: 'cup', measureSystem: 'US'},
117 let util = new I18n.Util();
118 let value = util.unitConvert({unit: 'cup', measureSystem: 'US'},
134 let util = new I18n.Util();
135 let value = util.unitConvert({unit: 'cup', measureSystem: 'US'},
[all …]
/test/xts/acts/commonlibrary/ets_utils/util_lib_standard/src/main/js/test/
Dutil.test.js16 import util from '@ohos.util'
179 var range = new util.Scope(tempLower, tempUpper);
180 var rangeFir = new util.Scope(tempMiDF, tempMidS);
181 var rangeSec = new util.Scope(tempLess, tempMore);
182 var rangeThi = new util.Scope(tempLess, tempMiDF);
183 var rangeFif = new util.Scope(tempMiDF, tempMore);
197 var result = util.printf(format, value1, value2, value3);
208 var result = util.printf(format, value);
219 var result = util.printf(format, value);
232 var result = util.printf(format, value1, value2);
[all …]
/test/xts/acts/commonlibrary/ets_utils/util2_lib_standard/src/main/js/test/
Dutil.test.js16 import util from '@ohos.util'
39 var rangeHp = new util.ScopeHelper(tempLower, tempUpper);
40 var rangeHpFir = new util.ScopeHelper(tempMiDF, tempMidS);
41 var rangeHpSec = new util.ScopeHelper(tempLess, tempMore);
42 var rangeHpThi = new util.ScopeHelper(tempLess, tempMiDF);
43 var rangeHpFif = new util.ScopeHelper(tempMiDF, tempMore);
56 var proc = new util.types();
70 var proc = new util.types();
84 var proc = new util.types();
98 var proc = new util.types();
[all …]
/test/xts/acts/bundlemanager/bundle_standard/bundlemanager/actsbundlemanagerstagetest/entry/src/main/ets/test/
DPublicApiEightTest.test.ets18 import util from "./Utils";
37 util.info("getBundleInfoTest" + JSON.stringify(data));
40 util.info("getBundleInfoTest fail" + JSON.stringify(err));
44 util.info("getBundleInfoTest" + JSON.stringify(data));
45 util.info("getBundleInfoTest fail" + JSON.stringify(err));
59 util.info('getAbilityInfoTest promise data is: ' + JSON.stringify(data));
62 util.info('getAbilityInfoTest failed. Cause: ' + JSON.stringify(error));
66 util.info('getAbilityInfoTest promise data is: ' + JSON.stringify(data));
67 util.info('getAbilityInfoTest failed. Cause: ' + JSON.stringify(err));
81 util.info("getApplicationInfoTest result" + JSON.stringify(data));
[all …]
DPublicApiNineTest.test.ets18 import util from "./Utils";
39 util.info("getBundleInfoForSelfPro" + JSON.stringify(data));
42 util.info("getBundleInfoForSelf fail" + JSON.stringify(err));
59 util.info('getProfileByAbility promise data is: ' + JSON.stringify(data));
62 util.info('getProfileByAbility failed. Cause: ' + JSON.stringify(err));
66 util.info('getProfileByAbility failed. Cause: ' + JSON.stringify(err));
79 util.info('getProfileByExtensionAbility promise data is: ' + JSON.stringify(data));
82 util.info('getProfileByExtensionAbility failed. Cause: ' + JSON.stringify(err));
86 util.info('getProfileByExtensionAbility failed. Cause: ' + JSON.stringify(err));
104 util.info("isDefaultApplication_0100 data--- " + data)
[all …]
/test/ostest/wukong/component_event/src/
Dnormal_scene.cpp42 auto util = WuKongUtil::GetInstance(); in SetInputComponentList() local
43 std::vector<std::string> compIdBlock = util->GetCompIdBlockList(); in SetInputComponentList()
44 std::vector<std::string> compTypeBlock = util->GetCompTypeBlockList(); in SetInputComponentList()
84 auto util = WuKongUtil::GetInstance(); in SetInputComponent() local
85 std::vector<std::string> compIdBlock = util->GetCompIdBlockList(); in SetInputComponent()
86 std::vector<std::string> compTypeBlock = util->GetCompTypeBlockList(); in SetInputComponent()
119 auto util = WuKongUtil::GetInstance(); in SetInputComponentListForFocusInput() local
120 std::vector<std::string> compIdBlock = util->GetCompIdBlockList(); in SetInputComponentListForFocusInput()
121 std::vector<std::string> compTypeBlock = util->GetCompTypeBlockList(); in SetInputComponentListForFocusInput()
164 auto util = WuKongUtil::GetInstance(); in IsComponentBlock() local
[all …]
/test/ostest/wukong/input_factory/src/
Dhardkey_input.cpp40 auto util = WuKongUtil::GetInstance(); in OrderInput() local
43 util->runProcess(hCmdw); in OrderInput()
46 util->runProcess(hCmds); in OrderInput()
Dappswitch_input.cpp44 auto util = WuKongUtil::GetInstance(); in OrderInput() local
45 util->GetBundleList(bundleList, abilityList); in OrderInput()
50 uint32_t index = util->FindElement(bundleList, bundlename); in OrderInput()
/test/ostest/wukong/common/src/
Dapp_manager.cpp39 auto util = WuKongUtil::GetInstance(); in AllowAbilityStart() local
41 tempAllowList = util->GetTempAllowList(); in AllowAbilityStart()
44 orderFlag = util->GetOrderFlag(); in AllowAbilityStart()
54 util->GetBlockList(blocklist); in AllowAbilityStart()
/test/xts/tools/sample/ServerSampleE/java/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/sample/controller/
DBusinessController.java23 import org.apache.commons.math3.util.Precision;
28 import org.jeecg.common.util.oConvertUtils;
42 import java.util.Arrays;
43 import java.util.Collections;
44 import java.util.Comparator;
45 import java.util.List;
DGroupSiteController.java23 import org.apache.commons.math3.util.Precision;
28 import org.jeecg.common.util.oConvertUtils;
42 import java.util.Arrays;
43 import java.util.Collections;
44 import java.util.Comparator;
45 import java.util.List;
DBusinessCommentController.java43 import java.util.Arrays;
/test/xts/acts/security/asset/asset_ndk/src/main/ets/test/aw/
DAssetAwNdk.ets18 import util from '@ohos.util';
84 let textEncoder = new util.TextEncoder();
89 let textDecoder = util.TextDecoder.create("utf-8", {
/test/xts/acts/storage/storagefileiov9jstest/src/main/js/test/
DCommon.js17 import util from '@ohos.util';
113 util
/test/xts/acts/commonlibrary/ets_utils/xml_lib_standard/src/main/js/test/
Dxml.test.js17 import util from '@ohos.util'
1050 let textEncoder = new util.TextEncoder();
1089 let textEncoder = new util.TextEncoder();
1119 let textEncoder = new util.TextEncoder();
1147 let textEncoder = new util.TextEncoder();
1175 let textEncoder = new util.TextEncoder();
1203 let textEncoder = new util.TextEncoder();
1231 let textEncoder = new util.TextEncoder();
1259 let textEncoder = new util.TextEncoder();
1287 let textEncoder = new util.TextEncoder();
[all …]
/test/xts/acts/storage/crossplatform/storagefsetstest/src/main/ets/test/
DCommon.ets17 import util from "@ohos.util";
101 export { fileIO, isIntNum, isBigInt, isString, isBoolean, describe, it, expect, util };
/test/testfwk/arkxtest/jsunit/src/testrunner/
DOpenHarmonyTestRunner.ts23 import util from '@ohos.util';
79 …let mockStr: string = util.TextDecoder.create("utf-8", { ignoreBOM: true }).decodeWithStream(rawFi…
/test/testfwk/developer_test/third_party/lib/cpp/
DBUILD.gn52 "//third_party/googletest/googletest/include/gtest/internal/gtest-param-util-generated.h",
53 "//third_party/googletest/googletest/include/gtest/internal/gtest-param-util.h",
58 "//third_party/googletest/googletest/include/gtest/internal/gtest-type-util.h",
/test/xts/acts/distributeddatamgr/preferencesdatagroupidtest/src/main/ets/test/
DPreferencesSpecialCharacterPromiseJsunit.test.ets17 import util from '@ohos.util';
147 let uInt8Array = new util.TextEncoder().encodeInto("!@#$%^&*() _+-~");
172 let uInt8Array = new util.TextEncoder().encodeInto("abc123");
197 let uInt8Array = new util.TextEncoder().encodeInto("abc@#$%123");
278 let uInt8Array = new util.TextEncoder().encodeInto("!@#$%^&*() _+-~");
/test/ostest/wukong/test_flow/src/
Dspecial_test_flow.cpp216 auto util = WuKongUtil::GetInstance(); in ProtectRightAbility() local
217 util->GetBundleList(bundleList, abilityList); in ProtectRightAbility()
222 uint32_t index = util->FindElement(bundleList, lastBundleName); in ProtectRightAbility()
/test/xts/tools/lite/hcpptest/
DBUILD.gn58 "//third_party/googletest/googletest/include/gtest/internal/gtest-param-util-generated.h",
59 "//third_party/googletest/googletest/include/gtest/internal/gtest-param-util.h",
64 "//third_party/googletest/googletest/include/gtest/internal/gtest-type-util.h",
/test/xts/acts/security/asset/asset_js/src/main/ets/test/aw/
DAssetAw.ets20 import util from '@ohos.util';
88 let textEncoder = new util.TextEncoder();
93 let textDecoder = util.TextDecoder.create("utf-8", {
/test/xts/acts/multimedia/drm/drm_js_standard/avPlayer/src/main/ets/test/
DDrmPlayerAbility.test.ets18 import util from '@ohos.util';
686 let base64 = new util.Base64();
724 let base64 = new util.Base64();
755 let base64 = new util.Base64();
786 let base64 = new util.Base64();
847 let base64 = new util.Base64();
878 let base64 = new util.Base64();
916 let base64 = new util.Base64();
958 let base64 = new util.Base64();
999 let base64 = new util.Base64();
[all …]
/test/xts/tools/sample/AppSampleE/entry/src/ohosTest/ets/test/
DAbility.test.ets19 import Logger from '../util/Logger';
20 import { getString } from '../util/ResourceUtil'
/test/xts/tools/sample/ServerSampleD/java/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/sample/controller/
DVideoController.java42 import java.util.Arrays;

123456789