/hardware/interfaces/wifi/1.5/default/tests/ |
D | hidl_struct_util_unit_tests.cpp | 137 legacy_stats.iface.beacon_rx = rand(); in TEST_F() 138 legacy_stats.iface.rssi_mgmt = rand(); in TEST_F() 139 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].rx_mpdu = rand(); in TEST_F() 140 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].tx_mpdu = rand(); in TEST_F() 141 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].mpdu_lost = rand(); in TEST_F() 142 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].retries = rand(); in TEST_F() 143 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].contention_time_min = rand(); in TEST_F() 144 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].contention_time_max = rand(); in TEST_F() 145 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].contention_time_avg = rand(); in TEST_F() 147 rand(); in TEST_F() [all …]
|
/hardware/google/pixel/vibrator/drv2624/tests/ |
D | test-hwcal.cpp | 82 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 …]
|
D | test-vibrator.cpp | 99 mCloseLoopThreshold = std::rand(); in SetUp() 105 mShortLraPeriod = std::rand(); in SetUp() 107 mLongFrequencyShift = std::rand(); in SetUp() 110 mShortVoltageMax = std::rand(); in SetUp() 111 mLongVoltageMax = std::rand(); in SetUp() 114 mEffectDurations[Effect::CLICK] = std::rand(); in SetUp() 115 mEffectDurations[Effect::TICK] = std::rand(); in SetUp() 116 mEffectDurations[Effect::DOUBLE_CLICK] = std::rand(); in SetUp() 117 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 …]
|
D | test-hwapi.cpp | 267 int8_t value = std::rand(); in TEST_P() 278 int8_t value = std::rand(); in TEST_P() 300 uint8_t value = std::rand(); in TEST_P() 311 uint8_t value = std::rand(); in TEST_P() 334 uint32_t value = std::rand(); in TEST_P() 345 uint32_t value = std::rand(); in TEST_P()
|
/hardware/google/pixel/vibrator/cs40l25/tests/ |
D | test-hwcal.cpp | 73 uint32_t expect = std::rand(); in TEST_F() 93 uint32_t expect = std::rand(); in TEST_F() 113 uint32_t expect = std::rand(); in TEST_F() 125 uint8_t value = std::rand(); in TEST_F() 165 e = std::rand(); in TEST_F() 233 uint32_t f0Expect = std::rand(); in TEST_F() 235 uint32_t redcExpect = std::rand(); in TEST_F() 237 uint32_t qExpect = std::rand(); in TEST_F() 243 e = std::rand(); in TEST_F() 265 uint32_t f0Expect = std::rand(); in TEST_F() [all …]
|
D | test-hwapi.cpp | 215 uint32_t expect = std::rand(); in TEST_P() 288 uint32_t value = std::rand(); in TEST_P() 298 uint32_t value = std::rand(); in TEST_P()
|
D | test-vibrator.cpp | 269 uint32_t f0Val = std::rand(); in TEST_F() 270 uint32_t redcVal = std::rand(); in TEST_F() 271 uint32_t qVal = std::rand(); in TEST_F() 320 uint16_t duration = std::rand() + 1; in TEST_F() 375 EffectAmplitude amplitude = static_cast<float>(std::rand()) / RAND_MAX ?: 1.0f; in TEST_F() 634 std::advance(scale, std::rand() % EFFECT_SCALE.size()); in TEST_P()
|
/hardware/google/pixel/vibrator/cs40l25/bench/ |
D | benchmark.cpp | 55 {"duration", std::to_string((uint32_t)std::rand() ?: 1)}, in SetUp() 104 uint32_t duration = std::rand() ?: 1; 118 uint8_t amplitude = std::rand() ?: 1;
|
/hardware/interfaces/security/sharedsecret/aidl/vts/functional/ |
D | SharedSecretAidlTest.cpp | 220 size_t param_to_tweak = rand() % params.size(); in TEST_F() 221 uint8_t byte_to_tweak = rand() % sizeof(params[param_to_tweak].nonce); in TEST_F() 222 uint8_t bit_to_tweak = rand() % 8; in TEST_F() 259 size_t param_to_tweak = rand() % params.size(); in TEST_F() 304 auto param_to_tweak = rand() % params.size(); in TEST_F() 345 auto param_to_tweak = rand() % params.size(); in TEST_F()
|
/hardware/interfaces/keymaster/4.0/vts/functional/ |
D | HmacKeySharingTest.cpp | 195 size_t param_to_tweak = rand() % params.size(); in TEST_P() 196 uint8_t byte_to_tweak = rand() % sizeof(params[param_to_tweak].nonce); in TEST_P() 197 uint8_t bit_to_tweak = rand() % 8; in TEST_P() 235 auto param_to_tweak = rand() % params.size(); in TEST_P()
|
/hardware/libhardware_legacy/ |
D | power_test.cpp | 52 std::string id = std::to_string(rand()); in TEST() 122 auto name = std::to_string(rand()); in TEST_F()
|
/hardware/google/pixel/vibrator/drv2624/bench/ |
D | benchmark.cpp | 104 uint32_t duration = std::rand() ?: 1; 118 uint8_t amplitude = std::rand() ?: 1;
|
/hardware/interfaces/biometrics/fingerprint/2.2/default/ |
D | BiometricsFingerprint.cpp | 59 return rand(); in preEnroll()
|
/hardware/interfaces/power/stats/1.0/vts/functional/ |
D | VtsHalPowerStatsV1_0TargetTest.cpp | 459 size_t sz = std::max(1, (int)(std::rand() % rails.size())); in TEST_P() 462 int j = std::rand() % rails.size(); in TEST_P() 518 uint32_t batch = std::max(1, (int)((std::rand() % totalSamples) * railsInSample)); in readEnergy() 555 std::thread thread1 = std::thread(readEnergy, service_, std::rand() % 5000); in TEST_P()
|
/hardware/interfaces/radio/1.0/vts/functional/ |
D | vts_test_util.cpp | 25 return rand(); in GetRandomSerialNumber()
|
/hardware/interfaces/wifi/supplicant/1.0/ |
D | ISupplicantStaNetworkCallback.hal | 36 uint8_t[16] rand;
|
/hardware/qcom/gps/msm8909w_3100/utils/ |
D | LocHeap.cpp | 319 int r = rand(); in main()
|
/hardware/qcom/gps/msm8996/utils/ |
D | LocHeap.cpp | 319 int r = rand(); in main()
|
/hardware/qcom/sdm845/gps/sdm845/utils/ |
D | LocHeap.cpp | 319 int r = rand(); in main()
|
/hardware/qcom/sdm845/gps/msm8909/utils/ |
D | LocHeap.cpp | 319 int r = rand(); in main()
|
/hardware/qcom/sm7150/gps/utils/ |
D | LocHeap.cpp | 319 int r = rand(); in main()
|
/hardware/qcom/sdm845/gps/msm8998/utils/ |
D | LocHeap.cpp | 319 int r = rand(); in main()
|
/hardware/qcom/gps/msm8909/utils/ |
D | LocHeap.cpp | 319 int r = rand(); in main()
|
/hardware/qcom/gps/msm8998/utils/ |
D | LocHeap.cpp | 319 int r = rand(); in main()
|
/hardware/qcom/sm8150p/gps/utils/ |
D | LocHeap.cpp | 319 int r = rand(); in main()
|