Home
last modified time | relevance | path

Searched defs:rand (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/noising/
DImpressionNoiseUtilTest.java93 Random rand = new Random(/* seed= */ 12); in selectRandomStateAndGenerateReportConfigs_event() local
116 Random rand = new Random(/* seed= */ 12); in selectRandomStateAndGenerateReportConfigs_eventWithInstallAttribution() local
138 Random rand = new Random(/* seed= */ 12); in selectRandomStateAndGenerateReportConfigs_navigation() local
312 Random rand = new Random(12); in selectFlexEventReportRandomStateAndGenerateReportConfigs_singleDestinationType_equal() local
329 Random rand = new Random(12); in selectFlexEventReportRandomStateAndGenerateReportConfigs_doubleDestinationType_equal() local
334 rand); in selectFlexEventReportRandomStateAndGenerateReportConfigs_doubleDestinationType_equal() local
339 rand); in selectFlexEventReportRandomStateAndGenerateReportConfigs_doubleDestinationType_equal() local
/packages/modules/Bluetooth/system/stack/smp/
Dsmp_keys.cc90 void smp_proc_passkey(tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_proc_passkey()
203 [](tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_generate_csrk()
320 tSMP_STATUS smp_calculate_comfirm(tSMP_CB* p_cb, const Octet16& rand, in smp_calculate_comfirm()
401 [](tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_generate_srand_mrand_confirm()
406 [](tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_generate_srand_mrand_confirm()
488 static void smp_generate_y(tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_generate_y()
552 [](tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_generate_ltk()
616 [](tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_create_private_key()
619 [](tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_create_private_key()
622 [](tSMP_CB* p_cb, BT_OCTET8 rand) { in smp_create_private_key()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DMacAddressUtilTest.java65 Random rand = new Random(); in testCalculatePersistentMacForSta() local
101 Random rand = new Random(); in testCalculatePersistentMacForSap() local
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/noising/
DImpressionNoiseUtil.java108 ImpressionNoiseParams noiseParams, Random rand) { in selectRandomStateAndGenerateReportConfigs()
170 ReportSpec reportSpec, int destinationMultiplier, Random rand) { in selectFlexEventReportRandomStateAndGenerateReportConfigs()
DSourceNoiseHandler.java78 Random rand = new Random(); in assignAttributionModeAndGenerateFakeReports() local
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
DBlockingHttpClientTests.java112 final Random rand = new Random(); in testSuccess_emptyRequest() local
128 final Random rand = new Random(); in testSuccess() local
/packages/modules/Bluetooth/system/osi/src/
Dosi.cc37 int rand; in osi_rand() local
/packages/modules/Bluetooth/system/gd/security/
Dpairing_handler_le.cc385 std::optional<std::array<uint8_t, 8>> rand; /* Legacy only */ in ReceiveKeys() local
455 std::array<uint8_t, 8> rand, Octet16 irk, Address identity_address, in SendKeys()
Dpairing_handler_le.h136 …tEncryption(const InitialInformations& i, uint16_t conn_handle, const std::array<uint8_t, 8>& rand, in SendHciLeStartEncryption()
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DSettings.java136 Random rand = new Random(); in generateAndSetId() local
147 Random rand = new Random(); in getId() local
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DModelTest.java80 Random rand = new Random(); in setUp() local
/packages/modules/NeuralNetworks/runtime/test/
DTestOpenmpSettings.cpp69 std::uniform_int_distribution<> rand(1, 20); in TEST_F() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiChipAidlImplTest.java152 Random rand = new Random(); in testGetWlanWakeReasonCount() local
DWifiChipHidlImplTest.java229 Random rand = new Random(); in testGetWlanWakeReasonCount() local
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble.cc2075 btsnd_hcic_ble_rand(base::Bind([](BT_OCTET8 rand) { in btm_ble_reset_id()
2079 [](reset_id_data tmp, BT_OCTET8 rand) { in btm_ble_reset_id()
2082 [](reset_id_data tmp, BT_OCTET8 rand) { in btm_ble_reset_id()
2085 [](reset_id_data tmp, BT_OCTET8 rand) { in btm_ble_reset_id()
Dbtm_ble_addr.cc120 uint8_t rand[3]; in rpa_matches_irk() local
/packages/modules/Virtualization/pvmfw/src/
Dmain.rs37 mod rand; module
/packages/services/Telephony/src/com/android/phone/callcomposer/
DDigestAuthUtils.java117 SecureRandom rand = new SecureRandom(); in makeClientNonce() local
/packages/modules/Connectivity/service/native/libs/libclat/
Dclatutils_test.cpp106 uint32_t rand = arc4random_uniform(0xffffffff); in TEST_F() local
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaTimer.cpp292 uint32_t rand; in GenerateRandom() local
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sorting/
DSortingCursorWrapperTest.java116 Random rand = new Random(); in setUp() local
/packages/apps/Dialer/java/com/android/incallui/spam/
DSpamCallListListener.java82 Context context, Random rand, @NonNull DialerExecutorFactory factory) { in SpamCallListListener()
/packages/modules/Bluetooth/system/bta/csis/
Dcsis_types.h459 uint8_t rand[3]; in is_rsi_match_sirk() local
/packages/modules/Bluetooth/system/gd/hci/
Dhci_layer_test.cc475 uint64_t rand = 0x0123456789abcdef; in TEST_F() local
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/
Dmigrate.rs43 rand: u64, field

12