/test/xts/acts/global/i18n_standard/intljs/src/main/js/test/ |
D | PhoneNumberFormatInI18n.test.js | 67 let ran = Math.ceil(Math.random(1) * 9); 82 let ran = Math.ceil(Math.random(1) * 9); 97 let ran = Math.ceil(Math.random(1) * 9); 112 let ran = Math.ceil(Math.random(1) * 9); 140 let ran = Math.ceil(Math.random(1) * 9); 155 let ran = Math.ceil(Math.random(1) * 9); 170 let ran = Math.ceil(Math.random(1) * 9); 185 let ran = Math.ceil(Math.random(1) * 9); 200 let ran = Math.ceil(Math.random(1) * 9); 215 let ran = Math.ceil(Math.random(1) * 9); [all …]
|
/test/xts/acts/ability/ability_runtime/formmanager/fa/formsystemtest_ets/formfuzztest/entry/src/main/ets/test/ |
D | getParam.ets | 37 // Return integer random, the range is: [iStart, iEnd) 39 var decimal = iStart + (iEnd - iStart) * Math.random(); 43 // return string random, the string length is: [0, 2064) 72 console.log('The stringTest of this fuzzTest random:' + res); 76 // return number random, the number length is: [Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER] 79 console.log('The numberTest of this fuzzTest random:' + res); 83 // return boolean random, the boolean value is: 0->(false), 1->(true) 85 console.log('The booleanTest of this fuzzTest random'); 91 console.log('The nullTest of this fuzzTest random'); 97 console.log('The undefinedTest of this fuzzTest random'); [all …]
|
/test/xts/acts/security_lite/huks/liteos_a_adapter/ |
D | hks_generate_random_test.cpp | 69 struct HksBlob *random = NULL; variable 71 ret = TestConstructBlobOut(&random, 78 ret = HksGenerateRandomRun(random, 1); 84 TestFreeBlob(&random);
|
/test/xts/acts/arkui/ace_ets_component_ui/entry/src/main/ets/MainAbility/pages/ |
D | animationAdd.ets | 91 new Point(50, Math.random() * 200), 92 new Point(100, Math.random() * 200), 93 new Point(150, Math.random() * 200), 94 new Point(200, Math.random() * 200), 95 new Point(250, Math.random() * 200), 109 new Point(50, Math.random() * 200), 110 new Point(100, Math.random() * 200), 111 new Point(150, Math.random() * 200), 112 new Point(200, Math.random() * 200), 113 new Point(250, Math.random() * 200),
|
/test/ostest/wukong/ |
D | README.md | 13 4. Random event generation: Generate a random sequence with a specified number of seeds through the… 21 | └── common # Provides application control capabilities, random event i… 29 │ ├── random_test_flow.cpp # Inherited from TestFlow, is the execution flow of random … 97 ### wukong random description 104 … | Set the Random Seed. | No | Configuring the same random seed results in the same random ev… 108 | -a,--appswitch | Set the app random pull-up test scale. | No | The default 10%. | 109 | -t,--touch | Set the screen random touch test ratio. | No | The default 10%. | 110 | -S,--swap | Set the screen random swap test scale. | No | The default 3%. | 112 | -k,--keyboard | Set the screen random keyboard test ratio. | No | The default 2%. | 113 | -H,--hardkey | Set the random hardkey test scale. | No | The default 2%. | [all …]
|
D | README_zh.md | 13 4. 随机事件生成:通过random函数生成指定种子数的随机序列,生成事件。<br> 99 ### wukong random描述
|
/test/xts/acts/security_lite/huks/liteos_m_adapter/ |
D | hks_generate_random_test.c | 93 struct HksBlob *random = NULL; in ExecHksGenerateRandomTest001() local 96 ret = TestConstructBlobOut(&random, in ExecHksGenerateRandomTest001() 103 ret = HksGenerateRandomRun(random, 1); in ExecHksGenerateRandomTest001() 109 TestFreeBlob(&random); in ExecHksGenerateRandomTest001()
|
/test/xts/acts/validator/acts_validator/src/main/ets/pages/Bluetooth/BleBluetooth/util/ |
D | MathUtils.ets | 26 return Math.floor(Math.random() * (max - min + 1) + min); 36 let random = Math.random() * (max - min) + min; 37 return parseFloat(random.toFixed(precision));
|
/test/xts/acts/security_lite/huks/common/ |
D | hks_test_api_performance.c | 149 int32_t HksGenerateRandomRun(struct HksBlob *random, uint32_t performTimes) in HksGenerateRandomRun() argument 153 if (random != NULL) { in HksGenerateRandomRun() 154 oriRandomSize = random->size; in HksGenerateRandomRun() 158 if (random != NULL) { in HksGenerateRandomRun() 159 (void)memset_s(random->data, oriRandomSize, 0, oriRandomSize); in HksGenerateRandomRun() 160 random->size = oriRandomSize; in HksGenerateRandomRun() 162 ret = HksGenerateRandom(NULL, random); in HksGenerateRandomRun()
|
/test/xts/tools/lite/reliability/ |
D | JSPressTest.js | 83 var index = this.random(0, itsTmp.length - 1); 105 random(min, max) { method in PressureTest 106 return parseInt(Math.random()*(max - min) + min);
|
/test/xts/device_attest_lite/services/core/utils/ |
D | attest_utils.c | 44 unsigned char* random = (unsigned char *)ATTEST_MEM_MALLOC(RANDOM_BYTES); in GetRandomNum() local 45 if (random == NULL) { in GetRandomNum() 61 ret = mbedtls_ctr_drbg_random(&randomContext, random, RANDOM_BYTES); in GetRandomNum() 65 result = random[RANDOM_BYTES - 1]; in GetRandomNum() 68 result |= random[i]; in GetRandomNum()
|
/test/xts/device_attest/services/core/utils/ |
D | attest_utils.c | 44 unsigned char* random = (unsigned char *)ATTEST_MEM_MALLOC(RANDOM_BYTES); in GetRandomNum() local 45 if (random == NULL) { in GetRandomNum() 54 ret = mbedtls_ctr_drbg_random(&randomContext, random, RANDOM_BYTES); in GetRandomNum() 59 result = random[RANDOM_BYTES - 1]; in GetRandomNum() 62 result |= random[i]; in GetRandomNum() 67 ATTEST_MEM_FREE(random); in GetRandomNum()
|
/test/xts/acts/account/appaccount/sceneProject/actsaccountoauthtoken/entry/src/main/js/default/pages/index/ |
D | index.js | 23 var randNumber = Math.ceil(Math.random()*10000) 38 var randNumber = Math.ceil(Math.random()*10000)
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/ets/test/ |
D | RandomNdk1.test.ets | 16 import random from 'librandomndk1.so' 30 expect(random.getrandom()).assertEqual(0)
|
D | RandomNdk.test.ets | 16 import random from 'librandomndk.so' 32 let ret:number = random.getrandom();
|
/test/testfwk/arkxtest/jsunit/src/module/config/ |
D | configService.js | 24 this.random = false; 131 this.random = params.random === 'true' ? true : false; 236 return this.random || false;
|
/test/xts/acts/multimedia/media/media_js_standard/avPlayer/entry/src/main/ets/test/ |
D | AVPlayerAudioEffectModeTest.test.js | 385 … avPlayer.audioEffectMode = audioEffectMode[Math.floor((Math.random()*audioEffectMode.length))]; 392 … avPlayer.audioEffectMode = audioEffectMode[Math.floor((Math.random()*audioEffectMode.length))]; 402 … avPlayer.audioEffectMode = audioEffectMode[Math.floor((Math.random()*audioEffectMode.length))]; 408 … avPlayer.audioEffectMode = audioEffectMode[Math.floor((Math.random()*audioEffectMode.length))]; 456 … avPlayer.audioEffectMode = audioEffectMode[Math.floor((Math.random()*audioEffectMode.length))];
|
/test/testfwk/developer_test/src/core/testkit/ |
D | kit_lite.py | 21 import random 140 random_str = random.sample(string.ascii_letters + string.digits,
|
/test/xts/acts/storage/storagefilejstest/src/main/js/test/ |
D | Common.js | 86 pwd += $chars.charAt(Math.floor(Math.random() * maxPos));
|
/test/xts/acts/security_lite/huks/common/include/ |
D | hks_test_api_performance.h | 46 int32_t HksGenerateRandomRun(struct HksBlob *random, uint32_t performTimes);
|
/test/xts/acts/storage/storagefileiov9jstest/src/main/js/test/ |
D | Common.js | 81 pwd += $chars.charAt(Math.floor(Math.random() * maxPos));
|
/test/xts/acts/storage/storagefileiojstest/src/main/js/test/ |
D | Common.js | 98 pwd += $chars.charAt(Math.floor(Math.random() * maxPos));
|
/test/xts/acts/security/cryptoFramework/js_api_test_oh40/src/main/js/test/ |
D | DigestAlgorithmSm3.test.js | 79 globalText += t.charAt(Math.floor(Math.random() * n)); 349 globalText += t.charAt(Math.floor(Math.random() * n));
|
/test/xts/acts/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/ |
D | WaterflowDemo.ets | 29 let ret = Math.floor(Math.random() * this.maxSize)
|
/test/xts/acts/arkui/ace_ets_component_seven/ace_ets_component_common_seven_attrs_defaultFocus/entry/src/main/ets/MainAbility/view/position/ |
D | WaterFlowView.ets | 29 let ret = Math.floor(Math.random() * this.maxSize)
|