/packages/modules/Bluetooth/system/test/suite/gatt/ |
D | gatt_unittest.cc | 32 bluetooth::os::GenerateRandom<bluetooth::Uuid::kNumBytes128>()); in TEST_F() 45 bluetooth::os::GenerateRandom<bluetooth::Uuid::kNumBytes128>()); in TEST_F() 58 bluetooth::os::GenerateRandom<bluetooth::Uuid::kNumBytes128>()); in TEST_F() 66 bluetooth::os::GenerateRandom<bluetooth::Uuid::kNumBytes128>()); in TEST_F() 70 bluetooth::os::GenerateRandom<bluetooth::Uuid::kNumBytes128>()); in TEST_F() 74 bluetooth::os::GenerateRandom<bluetooth::Uuid::kNumBytes128>()); in TEST_F()
|
/packages/modules/Bluetooth/system/gd/security/ |
D | pairing_handler_le_secure_connections.cc | 26 using bluetooth::os::GenerateRandom; 258 Na = GenerateRandom<16>(); in SecureConnectionsOutOfBand() 271 Nb = GenerateRandom<16>(); in SecureConnectionsOutOfBand() 297 passkey = GenerateRandom(); in SecureConnectionsPasskeyEntry() 330 Nai = GenerateRandom<16>(); in SecureConnectionsPasskeyEntry() 362 Nbi = GenerateRandom<16>(); in SecureConnectionsPasskeyEntry() 443 Na = GenerateRandom<16>(); in SecureConnectionsJustWorks() 470 Nb = GenerateRandom<16>(); in SecureConnectionsJustWorks()
|
D | pairing_handler_le_legacy.cc | 25 using bluetooth::os::GenerateRandom; 96 passkey = GenerateRandom(); in LegacyPasskeyEntry() 136 mrand = GenerateRandom<16>(); in DoLegacyStage2() 195 srand = GenerateRandom<16>(); in DoLegacyStage2()
|
D | ecdh_keys.cc | 37 static std::array<uint8_t, SIZE> GenerateRandom() { in GenerateRandom() function 56 std::array<uint8_t, 32> private_key = GenerateRandom<32>(); in GenerateECDHKeyPair()
|
D | pairing_handler_le.cc | 35 data.r = bluetooth::os::GenerateRandom<16>(); in GenerateOobData() 348 Octet16 my_ltk = bluetooth::os::GenerateRandom<16>(); in DistributeKeys() 349 uint16_t my_ediv = bluetooth::os::GenerateRandom(); in DistributeKeys() 350 std::array<uint8_t, 8> my_rand = bluetooth::os::GenerateRandom<8>(); in DistributeKeys()
|
D | pairing_handler_le_unittest.cc | 35 using bluetooth::os::GenerateRandom; 223 Octet16 Nb = GenerateRandom<16>(); in TEST_F()
|
/packages/modules/Bluetooth/system/gd/os/ |
D | rand.h | 31 std::array<uint8_t, SIZE> GenerateRandom() { in GenerateRandom() function 39 inline uint32_t GenerateRandom() { in GenerateRandom() function
|
/packages/modules/Bluetooth/system/bta/groups/ |
D | groups_test.cc | 174 Uuid::From128BitBE(bluetooth::os::GenerateRandom<Uuid::kNumBytes128>()); in TEST_F() 176 Uuid::From128BitBE(bluetooth::os::GenerateRandom<Uuid::kNumBytes128>()); in TEST_F() 196 Uuid::From128BitBE(bluetooth::os::GenerateRandom<Uuid::kNumBytes128>()); in TEST_F() 198 Uuid::From128BitBE(bluetooth::os::GenerateRandom<Uuid::kNumBytes128>()); in TEST_F() 279 Uuid::From128BitBE(bluetooth::os::GenerateRandom<Uuid::kNumBytes128>()); in TEST_F() 281 Uuid::From128BitBE(bluetooth::os::GenerateRandom<Uuid::kNumBytes128>()); in TEST_F()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/ |
D | RtpDecoderNode.cpp | 181 uint32_t delay = ImsMediaTimer::GenerateRandom(DEBUG_JITTER_MAX_PACKET_INTERVAL); in OnDataFromFrontNode() 193 uint32_t seed = ImsMediaTimer::GenerateRandom(5); in OnDataFromFrontNode() 247 ImsMediaTimer::GenerateRandom( in OnDataFromFrontNode() 257 nCurrReorderSize = ImsMediaTimer::GenerateRandom(nCurrReorderSize + 1); in OnDataFromFrontNode()
|
/packages/modules/Bluetooth/system/gd/hci/ |
D | le_address_manager.cc | 431 std::array<uint8_t, 3> prand = os::GenerateRandom<3>(); in generate_rpa() 436 prand[0] = (uint8_t)(os::GenerateRandom() % 0xFE + 1); in generate_rpa() 464 std::array<uint8_t, 6> random = os::GenerateRandom<6>(); in generate_nrpa() 470 random[0] = (uint8_t)(os::GenerateRandom() % 0xFE + 1); in generate_nrpa() 478 address.address[0] = (uint8_t)(os::GenerateRandom() % 0xFE + 1); in generate_nrpa() 486 auto random_ms = std::chrono::milliseconds(os::GenerateRandom()) % (interval_random_part_max_ms); in GetNextPrivateAddressIntervalMs()
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/interface/utils/ |
D | ImsMediaTimer.h | 39 static uint32_t GenerateRandom(uint32_t nRange);
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/ |
D | ImsMediaTimer.cpp | 225 uint32_t ImsMediaTimer::GenerateRandom(uint32_t nRange) in GenerateRandom() function in ImsMediaTimer
|
/packages/modules/Bluetooth/system/stack/test/sdp/ |
D | stack_sdp_parse_test.cc | 145 bluetooth::os::GenerateRandom<bluetooth::Uuid::kNumBytes128>()),
|
/packages/modules/Bluetooth/system/stack/a2dp/ |
D | a2dp_aac_encoder_linux.cc | 192 .timestamp = bluetooth::os::GenerateRandom(), // (RFC 6416) in a2dp_aac_encoder_init()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sock_l2cap.cc | 519 Uuid::From128BitBE(bluetooth::os::GenerateRandom<Uuid::kNumBytes128>()); in on_srv_l2cap_psm_connect_l() 561 Uuid::From128BitBE(bluetooth::os::GenerateRandom<Uuid::kNumBytes128>()); in on_cl_l2cap_psm_connect_l()
|
/packages/modules/Bluetooth/system/stack/test/gatt/ |
D | stack_gatt_test.cc | 165 bluetooth::os::GenerateRandom<bluetooth::Uuid::kNumBytes128>()); in TEST_F()
|
/packages/modules/Bluetooth/system/bta/gatt/ |
D | bta_gattc_api.cc | 90 Uuid::From128BitBE(bluetooth::os::GenerateRandom<Uuid::kNumBytes128>()); in BTA_GATTC_AppRegister()
|
/packages/modules/Bluetooth/system/bta/ras/ |
D | ras_server.cc | 77 Uuid::From128BitBE(bluetooth::os::GenerateRandom<Uuid::kNumBytes128>()); in Initialize()
|
/packages/modules/Bluetooth/system/gd/security/internal/ |
D | security_manager_impl.cc | 90 auto rand16 = bluetooth::os::GenerateRandom<16>(); in Init()
|