Home
last modified time | relevance | path

Searched refs:rand (Results 1 – 25 of 102) sorted by relevance

12345

/device/google/sunfish/vibrator/drv2624/tests/
Dtest-hwcal.cpp83 uint32_t expect = std::rand(); in TEST_F()
148 uint32_t expect = std::rand(); in TEST_F()
174 uint32_t expect = std::rand(); in TEST_F()
200 uint32_t expect = std::rand(); in TEST_F()
226 uint32_t expect = std::rand(); in TEST_F()
252 uint32_t expect = std::rand(); in TEST_F()
289 uint32_t expect = std::rand(); in TEST_F()
314 std::string expect = std::to_string(std::rand()) + " " + std::to_string(std::rand()) + " " + in TEST_F()
315 std::to_string(std::rand()); in TEST_F()
335 uint32_t expect = std::rand(); in TEST_F()
[all …]
Dtest-vibrator.cpp102 mCloseLoopThreshold = std::rand(); in SetUp()
108 mShortLraPeriod = std::rand(); in SetUp()
110 mLongFrequencyShift = std::rand(); in SetUp()
113 mShortVoltageMax = std::rand(); in SetUp()
114 mLongVoltageMax = std::rand(); in SetUp()
117 mEffectDurations[Effect::CLICK] = std::rand(); in SetUp()
118 mEffectDurations[Effect::TICK] = std::rand(); in SetUp()
119 mEffectDurations[Effect::DOUBLE_CLICK] = std::rand(); in SetUp()
120 mEffectDurations[Effect::HEAVY_CLICK] = std::rand(); in SetUp()
254 std::string autocalVal = std::to_string(std::rand()) + " " + std::to_string(std::rand()) + in TEST_P()
[all …]
Dtest-hwapi.cpp266 int8_t value = std::rand(); in TEST_P()
277 int8_t value = std::rand(); in TEST_P()
299 uint8_t value = std::rand(); in TEST_P()
310 uint8_t value = std::rand(); in TEST_P()
331 uint32_t value = std::rand(); in TEST_P()
342 uint32_t value = std::rand(); in TEST_P()
/device/google/barbet/vibrator/drv2624/tests/
Dtest-hwcal.cpp82 uint32_t expect = std::rand(); in TEST_F()
147 uint32_t expect = std::rand(); in TEST_F()
173 uint32_t expect = std::rand(); in TEST_F()
199 uint32_t expect = std::rand(); in TEST_F()
225 uint32_t expect = std::rand(); in TEST_F()
251 uint32_t expect = std::rand(); in TEST_F()
288 uint32_t expect = std::rand(); in TEST_F()
313 std::string expect = std::to_string(std::rand()) + " " + std::to_string(std::rand()) + " " + in TEST_F()
314 std::to_string(std::rand()); in TEST_F()
334 uint32_t expect = std::rand(); in TEST_F()
[all …]
Dtest-vibrator.cpp98 mCloseLoopThreshold = std::rand(); in SetUp()
104 mShortLraPeriod = std::rand(); in SetUp()
106 mLongFrequencyShift = std::rand(); in SetUp()
109 mShortVoltageMax = std::rand(); in SetUp()
110 mLongVoltageMax = std::rand(); in SetUp()
113 mEffectDurations[Effect::CLICK] = std::rand(); in SetUp()
114 mEffectDurations[Effect::TICK] = std::rand(); in SetUp()
115 mEffectDurations[Effect::DOUBLE_CLICK] = std::rand(); in SetUp()
116 mEffectDurations[Effect::HEAVY_CLICK] = std::rand(); in SetUp()
250 std::string autocalVal = std::to_string(std::rand()) + " " + std::to_string(std::rand()) + in TEST_P()
[all …]
Dtest-hwapi.cpp265 int8_t value = std::rand(); in TEST_P()
276 int8_t value = std::rand(); in TEST_P()
298 uint8_t value = std::rand(); in TEST_P()
309 uint8_t value = std::rand(); in TEST_P()
330 uint32_t value = std::rand(); in TEST_P()
341 uint32_t value = std::rand(); in TEST_P()
/device/google/redfin/vibrator/drv2624/tests/
Dtest-hwcal.cpp82 uint32_t expect = std::rand(); in TEST_F()
147 uint32_t expect = std::rand(); in TEST_F()
173 uint32_t expect = std::rand(); in TEST_F()
199 uint32_t expect = std::rand(); in TEST_F()
225 uint32_t expect = std::rand(); in TEST_F()
251 uint32_t expect = std::rand(); in TEST_F()
288 uint32_t expect = std::rand(); in TEST_F()
313 std::string expect = std::to_string(std::rand()) + " " + std::to_string(std::rand()) + " " + in TEST_F()
314 std::to_string(std::rand()); in TEST_F()
334 uint32_t expect = std::rand(); in TEST_F()
[all …]
Dtest-vibrator.cpp98 mCloseLoopThreshold = std::rand(); in SetUp()
104 mShortLraPeriod = std::rand(); in SetUp()
106 mLongFrequencyShift = std::rand(); in SetUp()
109 mShortVoltageMax = std::rand(); in SetUp()
110 mLongVoltageMax = std::rand(); in SetUp()
113 mEffectDurations[Effect::CLICK] = std::rand(); in SetUp()
114 mEffectDurations[Effect::TICK] = std::rand(); in SetUp()
115 mEffectDurations[Effect::DOUBLE_CLICK] = std::rand(); in SetUp()
116 mEffectDurations[Effect::HEAVY_CLICK] = std::rand(); in SetUp()
250 std::string autocalVal = std::to_string(std::rand()) + " " + std::to_string(std::rand()) + in TEST_P()
[all …]
Dtest-hwapi.cpp265 int8_t value = std::rand(); in TEST_P()
276 int8_t value = std::rand(); in TEST_P()
298 uint8_t value = std::rand(); in TEST_P()
309 uint8_t value = std::rand(); in TEST_P()
330 uint32_t value = std::rand(); in TEST_P()
341 uint32_t value = std::rand(); in TEST_P()
/device/google/felix/vibrator/cs40l26/tests/
Dtest-hwcal.cpp74 uint32_t randInput = std::rand(); in TEST_F()
95 uint32_t randInput = std::rand(); in TEST_F()
116 uint32_t randInput = std::rand(); in TEST_F()
142 e = std::rand(); in TEST_F()
155 e = std::rand(); in TEST_F()
168 e = std::rand(); in TEST_F()
284 uint32_t randInput = std::rand(); in TEST_F()
287 randInput = std::rand(); in TEST_F()
290 randInput = std::rand(); in TEST_F()
297 e = std::rand(); in TEST_F()
[all …]
Dtest-hwapi.cpp160 uint32_t expect = std::rand(); in TEST_P()
231 uint32_t value = std::rand(); in TEST_P()
241 uint32_t value = std::rand(); in TEST_P()
Dtest-vibrator.cpp327 std::string f0Val = std::to_string(std::rand()); in TEST_F()
328 std::string redcVal = std::to_string(std::rand()); in TEST_F()
329 std::string qVal = std::to_string(std::rand()); in TEST_F()
383 uint16_t duration = std::rand() + 1; in TEST_F()
420 EffectAmplitude amplitude = static_cast<float>(std::rand()) / RAND_MAX ?: 1.0f; in TEST_F()
/device/google/cuttlefish/host/commands/secure_env/
Dtpm_hmac.cpp67 sequence_auth.size = sizeof(rand()); in SegmentedHmac()
68 *reinterpret_cast<decltype(rand())*>(sequence_auth.buffer) = rand(); in SegmentedHmac()
/device/google/barbet/vibrator/drv2624/bench/
Dbenchmark.cpp103 uint32_t duration = std::rand() ?: 1;
117 uint8_t amplitude = std::rand() ?: 1;
/device/google/redfin/vibrator/drv2624/bench/
Dbenchmark.cpp103 uint32_t duration = std::rand() ?: 1;
117 uint8_t amplitude = std::rand() ?: 1;
/device/google/cuttlefish_vmm/x86_64-linux-gnu/
DCargo.lock22 "rand",
240 "rand",
764 "rand",
806 "rand",
965 "rand",
1042 "rand",
1138 "rand",
1341 "rand",
2247 name = "rand"
2381 "rand",
[all …]
/device/google/cuttlefish_vmm/aarch64-linux-gnu/
DCargo.lock22 "rand",
240 "rand",
764 "rand",
806 "rand",
965 "rand",
1042 "rand",
1138 "rand",
1341 "rand",
2247 name = "rand"
2381 "rand",
[all …]
/device/google/sunfish/vibrator/drv2624/bench/
Dbenchmark.cpp109 uint32_t duration = std::rand() ?: 1;
129 uint8_t amplitude = std::rand() ?: 1;
/device/google/cuttlefish/host/libs/config/
Dconfig_utils.cpp102 str[i] = hex_characters[rand() % strlen(hex_characters)]; in RandomSerialNumber()
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dreference-ril.c2528 char *rand = NULL, *autn = NULL; local
2563 rand = (char *)malloc(sizeof(char) * (randLen * 2 + sizeof(char)));
2564 if (rand == NULL) {
2567 memcpy(rand, hexAuthData + 2, randLen * 2);
2568 memcpy(rand + randLen * 2, "\0", 1);
2582 ret = asprintf(&cmd, "AT^MBAU=\"%s\"", rand);
2584 ret = asprintf(&cmd, "AT^MBAU=\"%s,%s\"", rand, autn);
2686 free(rand);
2695 free(rand);
/device/google/cuttlefish/host/commands/secure_env/storage/
Dtpm_storage.cpp157 handle = rand(); in GenerateRandomHandle()
/device/google/cuttlefish_prebuilts/bootloader/crosvm_aarch64/
DSystem.map1829 0000000000057960 T rand
/device/google/cuttlefish_prebuilts/bootloader/qemu_arm/
DSystem.map1835 00057310 T rand
/device/google/cuttlefish_prebuilts/bootloader/qemu_aarch64/
DSystem.map1826 0000000000057fcc T rand
/device/google/cuttlefish_prebuilts/bootloader/crosvm_x86_64/
DSystem.map2103 fff46cb1 T rand

12345