/system/bt/stack/btm/ |
D | btm_ble_addr.cc | 41 BT_OCTET8 random) { in generate_rpa_from_irk_and_rand() argument 42 random[2] &= (~BLE_RESOLVE_ADDR_MASK); in generate_rpa_from_irk_and_rand() 43 random[2] |= BLE_RESOLVE_ADDR_MSB; in generate_rpa_from_irk_and_rand() 46 address.address[2] = random[0]; in generate_rpa_from_irk_and_rand() 47 address.address[1] = random[1]; in generate_rpa_from_irk_and_rand() 48 address.address[0] = random[2]; in generate_rpa_from_irk_and_rand() 51 Octet16 p = crypto_toolbox::aes_128(irk, random, 3); in generate_rpa_from_irk_and_rand() 89 [](base::Callback<void(const RawAddress&)> cb, BT_OCTET8 random) { in btm_gen_resolvable_private_addr() argument 91 cb.Run(generate_rpa_from_irk_and_rand(irk, random)); in btm_gen_resolvable_private_addr()
|
/system/extras/puncture_fs/ |
D | puncture_fs.c | 65 return start + (((u64)random() << 31) | (u64)random()) % (end - start); in get_random_num() 66 return start + (random() % (end - start)); in get_random_num() 70 return 'A' + random() % ('Z' - 'A'); in get_random_char() 81 base[random() % min(base_length, size)] = get_random_char(); in create_unique_file()
|
/system/bt/vendor_libs/test_vendor_lib/scripts/ |
D | simple_link_layer_socket.py | 52 import random 64 return ''.join(random.SystemRandom().choice(string.ascii_uppercase + \ 69 return ''.join(random.SystemRandom().choice(string.digits) for _ in \
|
D | send_simple_commands.py | 65 import random 78 return ''.join(random.SystemRandom().choice(string.ascii_uppercase + \ 83 return ''.join(random.SystemRandom().choice(string.digits) for _ in \
|
D | test_channel.py | 40 import random 52 return ''.join(random.SystemRandom().choice(string.ascii_uppercase + \ 57 return ''.join(random.SystemRandom().choice(string.digits) for _ in \
|
D | simple_stack.py | 65 import random
|
D | link_layer_socket.py | 66 import random
|
D | hci_socket.py | 66 import random
|
/system/core/gatekeeperd/ |
D | SoftGateKeeper.h | 82 virtual void GetRandom(void *random, uint32_t requested_length) const { in GetRandom() argument 83 if (random == NULL) return; in GetRandom() 84 RAND_pseudo_bytes((uint8_t *) random, requested_length); in GetRandom()
|
/system/extras/verity/fec/tests/ |
D | fec.py | 17 import random 40 offset = random.randrange(0, size - max_errors)
|
/system/gatekeeper/include/gatekeeper/ |
D | gatekeeper.h | 99 virtual void GetRandom(void *random, uint32_t requested_size) const = 0;
|
/system/core/rootdir/ |
D | ueventd.rc | 32 /dev/random 0666 root root
|
/system/extras/perfprofd/tests/ |
D | perfprofd_test.cc | 1340 I: random seed set to 12345678 in TEST_F() 1428 I: random seed set to 12345678 in TEST_F() 1449 I: random seed set to 12345678 in TEST_F() 1493 I: random seed set to 12345678 in TEST_F() 1559 I: random seed set to 12345678 in TEST_F() 1630 I: random seed set to 12345678 in TEST_F()
|
/system/core/adb/ |
D | test_adb.py | 25 import random 556 random.seed(0)
|
D | test_device.py | 24 import random 669 size = random.randrange(min_size, max_size, 1024) 686 size = random.randrange(min_size, max_size, 1024) 1598 random.seed(0)
|
D | protocol.txt | 88 connect to the sender. If type is TOKEN(1), data is a random token that 94 packet and a new random token, so that the recipient can retry signing
|
/system/extras/perfprofd/ |
D | perfprofd_config.proto | 22 // Use the specified fixed seed for random number generation (unit
|
/system/bt/stack/smp/ |
D | smp_utils.cc | 1339 uint8_t smp_calculate_random_input(uint8_t* random, uint8_t round) { in smp_calculate_random_input() argument 1344 SMP_TRACE_DEBUG("random: 0x%02x, round: %d, i: %d, j: %d", random[i], round, in smp_calculate_random_input() 1346 ri = ((random[i] >> j) & 1) | 0x80; in smp_calculate_random_input()
|
D | smp_int.h | 458 extern uint8_t smp_calculate_random_input(uint8_t* random, uint8_t round);
|
/system/core/libutils/ |
D | LruCache_test.cpp | 230 int index = random() % kNumKeys; in TEST_F()
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | dumpstate.te | 83 # Other random bits of data we want to collect
|
/system/sepolicy/prebuilts/api/28.0/public/ |
D | dumpstate.te | 95 # Other random bits of data we want to collect
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | dumpstate.te | 87 # Other random bits of data we want to collect
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | dumpstate.te | 109 # Other random bits of data we want to collect
|
/system/sepolicy/public/ |
D | dumpstate.te | 109 # Other random bits of data we want to collect
|